ffdb54696cfb059efb31f43ce2d58b73cb7675fa
[platform/upstream/glibc.git] / ChangeLog
1 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
2
3         [BZ #16545]
4         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5         model 1.
6
7 2014-02-12  Richard Henderson  <rth@redhat.com>
8
9         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11         * sysdeps/unix/sysv/linux/alpha: Move directory from
12         ports/sysdeps/unix/sysv/linux/alpha.
13         * README: Update listing for alpha-*-linux-gnu.
14
15 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16
17         * include/features.h: Update comment documenting feature test
18         macros.
19         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
20         _DEFAULT_SOURCE.
21         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22         (_SVID_SOURCE): Likewise.
23         (_DEFAULT_SOURCE): Update description of default features.
24         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25         with _GNU_SOURCE.
26         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27         (S_ISVTX): Likewise.
28         * manual/math.texi (Mathematical Constants): Likewise.
29         * manual/signal.texi (Interrupted Primitives): Likewise.
30         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33         Don't refer to _SVID_SOURCE in warning text.
34
35         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36
37         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38         already defined.
39         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40         * sysdeps/mips/dl-lookup.c: Remove.
41         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42
43 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44
45         [BZ #16447]
46         * math/auto-libm-test-in: Add testcase for expl.
47         * math/auto-libm-test-out: Regenerate.
48         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49         calculation of unsafe.
50         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51
52 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53
54         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55         * sysdeps/unix/sysv/linux/aarch64: Move directory from
56         ports/sysdeps/unix/sysv/linux/aarch64.
57         * README: Update listing for aarch64*-*-linux-gnu.
58
59 2014-02-11  Will Newton  <will.newton@linaro.org>
60
61         * manual/probes.texi (Mathematical Function Probes): Use
62         "triggered" instead of "hit".
63
64 2014-02-11  Will Newton  <will.newton@linaro.org>
65
66         * manual/probes.texi (Internal Probes): Add documentation
67         of setjmp, longjmp and longjmp_target probes.
68
69 2014-02-11  Will Newton  <will.newton@linaro.org>
70
71         * include/stap-probe.h: Add comment about probe argument
72         format.
73
74 2014-02-11  Will Newton  <will.newton@linaro.org>
75
76         * malloc/mtrace.c (attribute_hidden): Remove unused macro
77         definition.  (tr_where, tr_freehook, tr_mallochook,
78         tr_reallochook, tr_memalignhook): Use ANSI protoype.
79
80 2014-02-11  David S. Miller  <davem@davemloft.net>
81
82         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
83         processing int_tests.
84
85 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
86
87         * sysdeps/mips: Move directory from ports/sysdeps/mips.
88         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
89         * sysdeps/unix/sysv/linux/mips: Move directory from
90         ports/sysdeps/unix/sysv/linux/mips.
91         * README: Update listing for mips-*-linux-gnu and
92         mips64-*-linux-gnu.
93
94 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
95
96         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
97         * sysdeps/unix/sysv/linux/m68k: Move directory from
98         ports/sysdeps/unix/sysv/linux/m68k.
99         * README: Update listing for m68k-*-linux-gnu.
100
101 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
102
103         * sysdeps/tile: Move directory from ports/sysdeps/tile.
104         * sysdeps/unix/sysv/linux/generic: Move directory from
105         ports/sysdeps/unix/sysv/linux/generic.
106         * sysdeps/unix/sysv/linux/tile: Move directory from
107         ports/sysdeps/unix/sysv/linux/tile.
108         * README: Update listing for tile*-*-linux-gnu.
109
110 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
111
112         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
113         * benchtests/bench-memmem.c (simple_memmem): Likewise.
114         * catgets/open_catalog.c (__open_catalog): Likewise.
115         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
116         * debug/confstr_chk.c: Likewise.
117         * debug/fread_chk.c (__fread_chk): Likewise.
118         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
119         * debug/getgroups_chk.c: Likewise.
120         * debug/mbsnrtowcs_chk.c: Likewise.
121         * debug/mbsrtowcs_chk.c: Likewise.
122         * debug/mbstowcs_chk.c: Likewise.
123         * debug/memcpy_chk.c: Likewise.
124         * debug/memmove_chk.c: Likewise.
125         * debug/mempcpy_chk.c: Likewise.
126         * debug/memset_chk.c: Likewise.
127         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
128         * debug/strcat_chk.c (__strcat_chk): Likewise.
129         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
130         * debug/strncat_chk.c (__strncat_chk): Likewise.
131         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
132         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
133         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
134         * debug/wcpncpy_chk.c: Likewise.
135         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
136         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
137         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
138         * debug/wcsncpy_chk.c: Likewise.
139         * debug/wcsnrtombs_chk.c: Likewise.
140         * debug/wcsrtombs_chk.c: Likewise.
141         * debug/wcstombs_chk.c: Likewise.
142         * debug/wmemcpy_chk.c: Likewise.
143         * debug/wmemmove_chk.c: Likewise.
144         * debug/wmempcpy_chk.c: Likewise.
145         * debug/wmemset_chk.c: Likewise.
146         * dirent/scandirat.c (SCANDIRAT): Likewise.
147         * dlfcn/dladdr1.c (dladdr1): Likewise.
148         * dlfcn/dladdr.c (dladdr): Likewise.
149         * dlfcn/dlclose.c (dlclose_doit): Likewise.
150         * dlfcn/dlerror.c (__dlerror): Likewise.
151         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
152         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
153         * dlfcn/dlopen.c (dlopen_doit): Likewise.
154         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
155         * dlfcn/dlsym.c (dlsym_doit): Likewise.
156         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
157         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
158         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
159         Likewise.
160         * elf/dl-conflict.c: Likewise.
161         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
162         * elf/dl-dst.h: Likewise.
163         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
164         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
165         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
166         * elf/dl-init.c (call_init, _dl_init): Likewise.
167         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
168         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
169         _dl_map_object_from_fd, open_verify, open_path,
170         _dl_map_object): Likewise.
171         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
172         Likewise.
173         * elf/dl-minimal.c (__libc_memalign): Likewise.
174         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
175         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
176         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
177         * elf/dl-sym.c (do_sym): Likewise.
178         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
179         _dl_tls_get_addr_soft): Likewise.
180         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
181         * elf/dl-writev.h (_dl_writev): Likewise.
182         * elf/ldconfig.c (search_dir): Likewise.
183         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
184         dl_main): Likewise.
185         * elf/setup-vdso.h (setup_vdso): Likewise.
186         * grp/compat-initgroups.c (compat_call): Likewise.
187         * grp/fgetgrent.c (fgetgrent): Likewise.
188         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
189         * grp/putgrent.c (putgrent): Likewise.
190         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
191         Likewise.
192         * hurd/hurdinit.c: Likewise.
193         * iconvdata/8bit-gap.c (struct): Likewise.
194         * iconvdata/ansi_x3.110.c : Likewise.
195         * iconvdata/big5.c : Likewise.
196         * iconvdata/big5hkscs.c : Likewise.
197         * iconvdata/cp1255.c: Likewise.
198         * iconvdata/cp1258.c : Likewise.
199         * iconvdata/cp932.c : Likewise.
200         * iconvdata/euc-cn.c: Likewise.
201         * iconvdata/euc-jisx0213.c : Likewise.
202         * iconvdata/euc-jp.c: Likewise.
203         * iconvdata/euc-jp-ms.c : Likewise.
204         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
205         * iconvdata/gb18030.c : Likewise.
206         * iconvdata/gbbig5.c (const): Likewise.
207         * iconvdata/gbgbk.c: Likewise.
208         * iconvdata/gbk.c : Likewise.
209         * iconvdata/ibm1364.c : Likewise.
210         * iconvdata/ibm930.c : Likewise.
211         * iconvdata/ibm932.c: Likewise.
212         * iconvdata/ibm933.c : Likewise.
213         * iconvdata/ibm935.c : Likewise.
214         * iconvdata/ibm937.c : Likewise.
215         * iconvdata/ibm939.c : Likewise.
216         * iconvdata/ibm943.c: Likewise.
217         * iconvdata/iso_11548-1.c: Likewise.
218         * iconvdata/iso-2022-cn.c : Likewise.
219         * iconvdata/iso-2022-cn-ext.c : Likewise.
220         * iconvdata/iso-2022-jp-3.c: Likewise.
221         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
222         * iconvdata/iso-2022-kr.c : Likewise.
223         * iconvdata/iso646.c (gconv_end): Likewise.
224         * iconvdata/iso_6937-2.c : Likewise.
225         * iconvdata/iso_6937.c : Likewise.
226         * iconvdata/iso8859-1.c: Likewise.
227         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
228         * iconvdata/shift_jisx0213.c : Likewise.
229         * iconvdata/sjis.c : Likewise.
230         * iconvdata/t.61.c : Likewise.
231         * iconvdata/tcvn5712-1.c : Likewise.
232         * iconvdata/tscii.c: Likewise.
233         * iconvdata/uhc.c : Likewise.
234         * iconvdata/unicode.c (gconv_end): Likewise.
235         * iconvdata/utf-16.c (gconv_end): Likewise.
236         * iconvdata/utf-32.c (gconv_end): Likewise.
237         * iconvdata/utf-7.c (base64): Likewise.
238         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
239         * iconv/gconv_close.c (__gconv_close): Likewise.
240         * iconv/gconv_open.c (__gconv_open): Likewise.
241         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
242         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
243         internal_ucs4le_loop_single, ucs4le_internal_loop,
244         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
245         * iconv/iconv.c (iconv): Likewise.
246         * iconv/iconv_close.c: Likewise.
247         * iconv/loop.c (SINGLE): Likewise.
248         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
249         * include/atomic.h: Likewise.
250         * inet/inet6_option.c (option_alloc): Likewise.
251         * intl/bindtextdom.c (set_binding_values): Likewise.
252         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
253         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
254         * intl/localealias.c (read_alias_file): Likewise.
255         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
256         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
257         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
258         * libio/fmemopen.c (fmemopen): Likewise.
259         * libio/iofgets.c (_IO_fgets): Likewise.
260         * libio/iofgets_u.c (fgets_unlocked): Likewise.
261         * libio/iofgetws.c (fgetws): Likewise.
262         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
263         * libio/iogetdelim.c (_IO_getdelim): Likewise.
264         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
265         adjust_wide_data, _IO_wfile_seekoff): Likewise.
266         * locale/findlocale.c (_nl_find_locale): Likewise.
267         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
268         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
269         Likewise.
270         * locale/setlocale.c (setlocale): Likewise.
271         * login/programs/pt_chown.c (main): Likewise.
272         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
273         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
274         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
275         mmap, mmap64, mremap, munmap): Likewise.
276         * math/e_exp2l.c: Likewise.
277         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
278         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
279         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
280         * math/s_catan.c (__catan): Likewise.
281         * math/s_catanf.c (__catanf): Likewise.
282         * math/s_catanh.c (__catanh): Likewise.
283         * math/s_catanhf.c (__catanhf): Likewise.
284         * math/s_catanhl.c (__catanhl): Likewise.
285         * math/s_catanl.c (__catanl): Likewise.
286         * math/s_ccosh.c (__ccosh): Likewise.
287         * math/s_ccoshf.c (__ccoshf): Likewise.
288         * math/s_ccoshl.c (__ccoshl): Likewise.
289         * math/s_cexp.c (__cexp): Likewise.
290         * math/s_cexpf.c (__cexpf): Likewise.
291         * math/s_cexpl.c (__cexpl): Likewise.
292         * math/s_clog10.c (__clog10): Likewise.
293         * math/s_clog10f.c (__clog10f): Likewise.
294         * math/s_clog10l.c (__clog10l): Likewise.
295         * math/s_clog.c (__clog): Likewise.
296         * math/s_clogf.c (__clogf): Likewise.
297         * math/s_clogl.c (__clogl): Likewise.
298         * math/s_csin.c (__csin): Likewise.
299         * math/s_csinf.c (__csinf): Likewise.
300         * math/s_csinh.c (__csinh): Likewise.
301         * math/s_csinhf.c (__csinhf): Likewise.
302         * math/s_csinhl.c (__csinhl): Likewise.
303         * math/s_csinl.c (__csinl): Likewise.
304         * math/s_csqrt.c (__csqrt): Likewise.
305         * math/s_csqrtf.c (__csqrtf): Likewise.
306         * math/s_csqrtl.c (__csqrtl): Likewise.
307         * math/s_ctan.c (__ctan): Likewise.
308         * math/s_ctanf.c (__ctanf): Likewise.
309         * math/s_ctanh.c (__ctanh): Likewise.
310         * math/s_ctanhf.c (__ctanhf): Likewise.
311         * math/s_ctanhl.c (__ctanhl): Likewise.
312         * math/s_ctanl.c (__ctanl): Likewise.
313         * math/w_pow.c: Likewise.
314         * math/w_powf.c: Likewise.
315         * math/w_powl.c: Likewise.
316         * math/w_scalb.c (sysv_scalb): Likewise.
317         * math/w_scalbf.c (sysv_scalbf): Likewise.
318         * math/w_scalbl.c (sysv_scalbl): Likewise.
319         * misc/error.c (error_tail): Likewise.
320         * misc/pselect.c (__pselect): Likewise.
321         * nis/nis_callback.c (__nis_create_callback): Likewise.
322         * nis/nis_call.c (__nisfind_server): Likewise.
323         * nis/nis_creategroup.c (nis_creategroup): Likewise.
324         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
325         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
326         * nis/nis_getservlist.c (nis_getservlist): Likewise.
327         * nis/nis_lookup.c (nis_lookup): Likewise.
328         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
329         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
330         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
331         * nis/nis_xdr.c (xdr_endpoint): Likewise.
332         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
333         internal_getgrgid_r): Likewise.
334         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
335         Likewise.
336         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
337         internal_getpwuid_r): Likewise.
338         * nis/nss_compat/compat-spwd.c (getspent_next_file,
339         internal_getspnam_r): Likewise.
340         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
341         _nss_nis_getaliasbyname_r): Likewise.
342         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
343         _nss_nis_getntohost_r): Likewise.
344         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
345         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
346         Likewise.
347         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
348         internal_nis_gethostent_r, internal_gethostbyname2_r,
349         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
350         _nss_nis_gethostbyname4_r): Likewise.
351         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
352         initgroups_netid): Likewise.
353         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
354         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
355         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
356         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
357         _nss_nis_getprotobynumber_r): Likewise.
358         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
359         _nss_nis_getsecretkey): Likewise.
360         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
361         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
362         Likewise.
363         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
364         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
365         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
366         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
367         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
368         _nss_nis_getspnam_r): Likewise.
369         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
370         Likewise.
371         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
372         _nss_nisplus_getntohost_r): Likewise.
373         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
374         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
375         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
376         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
377         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
378         Likewise.
379         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
380         _nss_nisplus_getnetbyaddr_r): Likewise.
381         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
382         _nss_nisplus_getprotobynumber_r): Likewise.
383         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
384         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
385         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
386         Likewise.
387         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
388         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
389         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
390         _nss_nisplus_getspnam_r): Likewise.
391         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
392         * nscd/aicache.c (addhstaiX): Likewise.
393         * nscd/cache.c (cache_search, prune_cache): Likewise.
394         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
395         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
396         * nscd/grpcache.c (addgrbyX): Likewise.
397         * nscd/hstcache.c (addhstbyX): Likewise.
398         * nscd/initgrcache.c (addinitgroupsX): Likewise.
399         * nscd/mem.c (gc, mempool_alloc): Likewise.
400         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
401         Likewise.
402         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
403         Likewise.
404         * nscd/nscd_getai.c (__nscd_getai): Likewise.
405         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
406         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
407         Likewise.
408         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
409         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
410         * nscd/nscd_helper.c (__readvall, open_socket,
411         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
412         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
413         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
414         * nscd/pwdcache.c (addpwbyX): Likewise.
415         * nscd/selinux.c (preserve_capabilities): Likewise.
416         * nscd/servicescache.c (addservbyX): Likewise.
417         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
418         * posix/fnmatch.c (fnmatch): Likewise.
419         * posix/getopt.c (_getopt_internal_r): Likewise.
420         * posix/glob.c (glob, glob_in_dir): Likewise.
421         * posix/wordexp.c (exec_comm_child): Likewise.
422         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
423         gaih_getanswer_slice): Likewise.
424         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
425         * resolv/res_init.c: Likewise.
426         * resolv/res_mkquery.c (res_nmkquery): Likewise.
427         * resolv/res_query.c (__libc_res_nquery): Likewise.
428         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
429         Likewise.
430         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
431         * stdio-common/perror.c (perror): Likewise.
432         * stdio-common/printf_fp.c (___printf_fp): Likewise.
433         * stdio-common/tmpnam.c (tmpnam): Likewise.
434         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
435         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
436         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
437         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
438         * stdlib/putenv.c (putenv): Likewise.
439         * stdlib/setenv.c (__add_to_environ): Likewise.
440         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
441         * stdlib/strtol_l.c (INTERNAL): Likewise.
442         * string/memmem.c (memmem): Likewise.
443         * string/strerror.c (strerror): Likewise.
444         * string/strnlen.c (__strnlen): Likewise.
445         * string/test-memmem.c (simple_memmem): Likewise.
446         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
447         * sunrpc/pm_getport.c (__get_socket): Likewise.
448         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
449         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
450         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
451         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
452         Likewise.
453         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
454         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
455         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
456         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
457         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
458         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
459         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
460         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
461         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
462         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
463         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
464         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
466         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
467         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
468         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
469         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
470         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
471         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
472         Likewise.
473         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
474         Likewise.
475         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
476         Likewise.
477         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
478         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
479         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
480         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
481         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
482         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
483         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
484         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
486         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
487         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
488         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
489         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
490         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
492         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
493         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
494         Likewise.
495         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
496         Likewise.
497         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
498         Likewise.
499         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
501         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
502         Likewise.
503         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
504         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
505         * sysdeps/posix/opendir.c (__opendirat): Likewise.
506         * sysdeps/posix/sleep.c: Likewise.
507         * sysdeps/posix/tempname.c: Likewise.
508         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
509         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
510         Likewise.
511         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
512         elf_machine_rela): Likewise.
513         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
514         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
515         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
516         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
517         Likewise.
518         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
519         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
520         elf_machine_rela, elf_machine_lazy_rel): Likewise.
521         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
522         elf_machine_rela, elf_machine_lazy_rel): Likewise.
523         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
524         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
525         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
526         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
527         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
528         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
529         elf_machine_lazy_rel): Likewise.
530         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
531         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
532         elf_machine_lazy_rel): Likewise.
533         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
534         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
535         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
536         * sysdeps/unix/grantpt.c (grantpt): Likewise.
537         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
538         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
539         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
541         Likewise.
542         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
543         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
544         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
545         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
546         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
547         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
548         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
549         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
550         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
551         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
552         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
553         Likewise.
554         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
555         (__posix_fallocate64_l64): Likewise.
556         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
557         (posix_fallocate): Likewise.
558         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
559         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
560         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
561         getifaddrs_internal): Likewise.
562         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
563         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
564         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
565         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
566         * sysdeps/unix/sysv/linux/posix_fallocate64.c
567         (__posix_fallocate64_l64): Likewise.
568         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
569         Likewise.
570         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
571         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
572         Likewise.
573         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
574         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
575         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
576         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
577         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
578         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
579         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
580         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
581         Likewise.
582         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
583         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
584         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
585         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
586         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
587         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
588         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
589         Likewise.
590         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
591         (posix_fallocate): Likewise.
592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
593         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
594         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
595         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
596         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
597         Likewise.
598         * time/asctime.c (asctime_internal): Likewise.
599         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
600         * time/tzset.c (__tzset_parse_tz): Likewise.
601         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
602         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
603         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
604         * wcsmbs/wcsmbsload.h: Likewise.
605
606 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
607
608         [BZ #15894]
609         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
610
611 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
612
613         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
614         arena_get2): Remove THREAD_STATS conditionals.
615         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
616         __malloc_stats, int): Likewise.
617
618 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
619
620         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
621         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
622
623 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
624
625         * manual/setjmp.texi: Fix typos/grammar errors.
626
627 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
628
629         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
630         Only return early when n is <= 0.  Delete unused return statement.
631
632 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
633
634         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
635         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
636         * debug/tst-longjmp_chk3.c: New file.
637
638 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
639
640         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
641         (test_main): Replace code with set_fortify_handler call.
642         * debug/test-strcpy_chk.c: Likewise.
643         * debug/tst-chk1.c: Likewise.
644         * debug/tst-longjmp_chk.c: Likewise.
645         * test-skeleton.c: Include fcntl.h & paths.h
646         (set_fortify_handler): Define.
647
648 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
649
650         * debug/tst-longjmp_chk.c: Add header comment and include
651         ../test-skeleton.c.
652         (do_test): Mark static.
653         (TEST_FUNCTION): Define.
654
655 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
656
657         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
658         (IP_PMTUDISC_INTERFACE): Likewise.
659         (IP_MULTICAST_IF): Likewise.
660         (IP_MULTICAST_TTL): Likewise.
661         (IP_MULTICAST_LOOP): Likewise.
662         (IP_ADD_MEMBERSHIP): Likewise.
663         (IP_DROP_MEMBERSHIP): Likewise.
664         (IP_UNBLOCK_SOURCE): Likewise.
665         (IP_BLOCK_SOURCE): Likewise.
666         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
667         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
668         (IP_MSFILTER): Likewise.
669         (MCAST_JOIN_GROUP): Likewise.
670         (MCAST_BLOCK_SOURCE): Likewise.
671         (MCAST_UNBLOCK_SOURCE): Likewise.
672         (MCAST_LEAVE_GROUP): Likewise.
673         (MCAST_JOIN_SOURCE_GROUP): Likewise.
674         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
675         (MCAST_MSFILTER): Likewise.
676         (IP_MULTICAST_ALL): Likewise.
677         (IP_UNICAST_IF): Likewise.
678
679 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
680
681         * timezone/Makefile: Delete $(have-ksh) check.
682         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
683         * timezone/tzselect.ksh: Add +x mode bits.
684
685 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
686
687         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
688         (ANON_INODE_FS_MAGIC): Likewise.
689         (BDEVFS_MAGIC): Likewise.
690         (BINFMTFS_MAGIC): Likewise.
691         (BTRFS_TEST_MAGIC): Likewise.
692         (CRAMFS_MAGIC_WEND): Likewise.
693         (DEBUGFS_MAGIC): Likewise.
694         (ECRYPTFS_SUPER_MAGIC): Likewise.
695         (EXT3_SUPER_MAGIC): Likewise.
696         (EXT4_SUPER_MAGIC): Likewise.
697         (FUTEXFS_SUPER_MAGIC): Likewise.
698         (HOSTFS_SUPER_MAGIC): Likewise.
699         (HUGETLBFS_MAGIC): Likewise.
700         (MINIX3_SUPER_MAGIC): Likewise.
701         (MTD_INODE_FS_MAGIC): Likewise.
702         (NILFS_SUPER_MAGIC): Likewise.
703         (OPENPROM_SUPER_MAGIC): Likewise.
704         (PIPEFS_MAGIC): Likewise.
705         (PSTOREFS_MAGIC): Likewise.
706         (QNX6_SUPER_MAGIC): Likewise.
707         (RAMFS_MAGIC): Likewise.
708         (REISERFS_SUPER_MAGIC_STRING): Likewise.
709         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
710         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
711         (SECURITYFS_MAGIC): Likewise.
712         (SELINUX_MAGIC): Likewise.
713         (SMACK_MAGIC): Likewise.
714         (SOCKFS_MAGIC): Likewise.
715         (SQUASHFS_MAGIC): Likewise.
716         (STACK_END_MAGIC): Likewise.
717         (TMPFS_MAGIC): Likewise.
718         (USBDEVICE_SUPER_MAGIC): Likewise.
719         (V9FS_MAGIC): Likewise.
720         (XENFS_SUPER_MAGIC): Likewise.
721         (CRAMFS_MAGIC): Fix typo in comment.
722         (EXT2_SUPER_MAGIC): Update comment.
723         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
724
725 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
726
727         * sysdeps/arm: Move directory from ports/sysdeps/arm.
728         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
729         * sysdeps/unix/sysv/linux/arm: Move directory from
730         ports/sysdeps/unix/sysv/linux/arm.
731         * README: Update listing for arm-*-linux-gnueabi.
732
733         * README: Remove mention of am33.
734
735 2014-02-07  Roland McGrath  <roland@hack.frob.com>
736
737         * bits/sigset.h (__sigemptyset): Use a statement expression rather
738         than the comma operator, to avoid "rhs of comma has no effect"
739         compiler warnings.
740         (__sigfillset, __sigandset, __sigorset): Likewise.
741         * include/signal.h (__sigemptyset): Likewise.
742         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
743
744 2014-02-07  Allan McRae  <allan@archlinux.org>
745
746         * version.h (RELEASE): Set to "development".
747         (VERSION): Set to "2.19.90"
748         * NEWS: Add 2.20 section.
749
750 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
751
752         [BZ #16529]
753         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
754
755 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
756
757         * manual/contrib.texi: Update entry for Carlos O'Donell,
758         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
759
760 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
761
762         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
763
764         * sysdeps/unix/sysv/linux/kernel-features.h
765         [__LINUX_KERNEL_VERSION >= 0x020621]
766         (__ASSUME_PROC_PID_TASK_COMM): Define.
767
768 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
769
770         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
771         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
772         Leonard and Allan McRae.
773
774 2014-02-04  David S. Miller  <davem@davemloft.net>
775
776         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
777         32-bit.
778
779 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
780
781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
782         file
783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
784         New file
785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
786         file.
787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
788         file.
789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
790         New file.
791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
792         file.
793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
794         file.
795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
796         New file.
797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
798         New file.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
800         New file.
801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
802         New file.
803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
804         New file.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
806         New file.
807
808 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
809
810         * nptl/shlib-versions: Change powerpc*le start to 2.17.
811         * shlib-versions: Likewise.
812
813 2014-02-04  Roland McGrath  <roland@hack.frob.com>
814             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
815
816         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
817         (abilist-pattern): New variable, set to %-le.abilist.
818
819         * Makerules (abilist-pattern): New variable.
820         (vpath): Use $(abilist-pattern) in place of %.abilist.
821         (check-abi-% pattern rule): Likewise.
822         (check-abi, update-abi): Likewise.
823
824 2014-02-04  Eric Wong  <normalperson@yhbt.net>
825
826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
827
828 2014-02-04  Eric Wong  <normalperson@yhbt.net>
829
830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
831
832 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
833
834         * manual/startup.texi: Add next, previous, and top entries for
835         the `Program Arguments' and `Environment Variables' nodes.
836
837 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
838
839         * manual/macros.texi: Add comments before MTASC-safety macros.
840
841         * manual/users.texi: Document MTASC-safety properties.
842
843         * manual/threads.texi (pthread_key_create, pthread_key_delete,
844         pthread_getspecific, pthread_setspecific): Format with
845         @deftypefun, and add @safety note.
846         * manual/signal.texi: Move comments that analyze the above
847         functions to their home place.
848
849 2014-02-03  Allan McRae  <allan@archlinux.org>
850
851         * po/sl.po: Update Slovenian translation from translation project.
852
853 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
854
855         * manual/time.texi (timegm): Add missing blank after @c.
856         Reported by Joseph Myers <joseph@codesourcery.com>.
857
858 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
859
860         * manual/check-safety.sh: New.
861         * manual/Makefile ($(objpfx)stamp-summary): Run it.
862
863         * manual/terminal.texi: Document MTASC-safety properties.
864
865         * manual/filesys.texi: Document MTASC-safety properties.
866
867         * manual/errno.texi: Document MTASC-safety properties.
868
869         * manual/intro.texi: Document safety identifiers and
870         conditionals.
871
872         * manual/string.texi (wcstok): Fix prototype.
873         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
874
875         * manual/time.texi: Document MTASC-safety properties.
876
877         * manual/string.texi: Document MTASC-safety properties.
878
879         * manual/threads.texi: Document MTASC-safety properties.
880
881         * manual/stdio.texi: Document MTASC-safety properties.
882
883         * manual/syslog.texi: Document MTASC-safety properties.
884
885         * manual/sysinfo.texi: Document MTASC-safety properties.
886
887         * manual/startup.texi: Document MTASC-safety properties.
888
889         * manual/socket.texi: Document MTASC-safety properties.
890
891         * manual/signal.texi: Document MTASC-safety properties.
892
893 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
894
895         * manual/setjmp.texi: Document MTASC-safety properties.
896
897         * manual/search.texi: Document MTASC-safety properties.
898
899         * manual/resource.texi: Document MTASC-safety properties.
900
901         * manual/process.texi: Document MTASC-safety properties.
902
903         * manual/platform.texi: Document MTASC-safety properties.
904
905         * manual/pipe.texi: Document MTASC-safety properties.
906
907         * manual/pattern.texi: Document MTASC-safety properties.
908
909         * manual/message.texi: Document MTASC-safety properties.
910
911         [BZ #12751]
912         * manual/memory.texi: Document MTASC-safety properties.
913
914         * manual/math.texi: Document MTASC-safety properties.
915
916         * manual/locale.texi: Document MTASC-safety properties.
917
918         * manual/llio.texi: Document MTASC-safety properties.
919
920         * manual/libdl.texi: New.
921
922         * manual/lang.texi: Document MTASC-safety properties.
923
924         * manual/job.texi: Document MTASC-safety properties.
925
926         * manual/getopt.texi: Document MTASC-safety properties.
927
928         * manual/ctype.texi: Document MTASC-safety properties.
929
930 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
931
932         [BZ #16046]
933         * csu/libc-tls.c (static_map): Remove variable.
934         (__libc_setup_tls): Use main executable's link map for TLS data.
935         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
936         casing for LM_ID_BASE and GL(dl_nns).
937         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
938         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
939         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
940         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
941         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
942         member.
943         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
944         l_phnum members.
945
946 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
947
948         * manual/debug.texi: Document MTASC-safety properties.
949
950 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
951
952         [BZ #16510]
953         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
954         of __x86_64__ when disabling x87 inline functions.
955
956 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
957
958         * manual/charset.texi: Document MTASC-safety properties.
959
960         * manual/crypt.texi: Document MTASC-safety properties.
961
962         * manual/conf.texi: Document MTASC-safety properties.
963
964         * manual/arith.texi: Document MTASC-safety properties.
965
966         * manual/argp.texi: Document MTASC-safety properties.
967
968         * manual/macros.texi: Introduce macros to document multi
969         thread, asynchronous signal and asynchronous cancellation
970         safety properties.
971         * manual/intro.texi: Introduce the properties themselves.
972
973 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
974
975         * sysdeps/sh/sh4/Makefile: New file.
976
977 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
978
979         * math/gen-libm-test.pl ($srcdir): New variable.
980         ($auto_input): Use it.
981
982 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
983
984         [BZ #16506]
985         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
986         access beyond array bounds when parsing netgroups file.
987
988         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
989         the old buffer before realloc.
990
991 2014-01-27  Allan McRae  <allan@archlinux.org>
992
993         * po/fr.po: Update French translation from translation project.
994
995 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
996
997         * sysdeps/sh/libm-test-ulps: Regenerate.
998
999 2014-01-24  David S. Miller  <davem@davemloft.net>
1000
1001         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1002
1003 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1004
1005         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1006         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1007
1008 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1009
1010         [BZ #16474]
1011         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1012         string pointers after reallocation.
1013
1014 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1015
1016         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1017         __SH4A__ instead of __SH_FPU_ANY__.
1018
1019 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1020
1021         * sysdeps/sh/fpu_control.h: New file.
1022         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1023         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1024         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1025         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1026         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1027         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1028         * sysdeps/sh/sys/ucontext.h: Remove.
1029         * sysdeps/sh/sys: Remove directory.
1030
1031 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1032
1033         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1034         s390/sys/ucontext.h.
1035         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1036         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1037
1038 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
1039
1040         [BZ #15605]
1041         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1042
1043 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1044
1045         [BZ#16431]
1046         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1047         Adjust the vDSO correctly for internal calls.
1048         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1049
1050 2014-01-20  Allan McRae  <allan@archlinux.org>
1051
1052         * po/ca.po: Update Catalan translation from translation project.
1053
1054 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
1055
1056         * sysdeps/s390/sotruss-lib.c: New file.
1057
1058 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1059
1060         [BZ#16430]
1061         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1062         (__GI___gettimeofday): Alias for a different internal symbol to avoid
1063         local calls issues by not having a PLT stub required for IFUNC calls.
1064         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1065
1066 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1067
1068         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1069         * math/test-fpucw-static.c: Likewise.
1070
1071 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1072
1073         [BZ #16453]
1074         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1075
1076 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1077
1078         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1079         implementation for powerpc.
1080
1081 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1082
1083         [BZ #14782]
1084         * sysdeps/posix/system.c (__libc_system): Do not enable
1085         asynchronous cancellation.
1086
1087 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1088
1089         [BZ #16427]
1090         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1091         handling only for numbers special also in the IEEE case.
1092
1093 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1094
1095         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1096
1097 2014-01-11  Allan McRae  <allan@archlinux.org>
1098
1099         * po/bg.po: Update Bulgarian translation from translation project.
1100
1101         * po/de.po: Update German translation from translation project.
1102
1103 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1104
1105         * sysdeps/generic/gcc-compat.h: New file.
1106
1107 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1108
1109         * benchtests/asin-inputs: Correct slow inputs.
1110         * benchtests/acos-inputs: Likewise.
1111
1112 2014-01-10  Allan McRae  <allan@archlinux.org>
1113
1114         * po:sv.po: Update Swedish translation from translation project.
1115
1116         * po/vi.po: Update Vietnamese translation from translation project.
1117
1118         * po/eo.po: Update Esperanto translation from translation project.
1119
1120         * po/cs.po: Update Czech translation from translation project.
1121
1122         * po/nl.po: Update Dutch translation from translation project.
1123
1124         * po/pl.po: Update Polish translation from translation project.
1125
1126         * po/ru.po: Update Russian translation from translation project.
1127
1128         * po/uk.po: Update Ukrainian translation from translation project.
1129
1130 2014-01-08  Brooks Moses  <bmoses@google.com>
1131
1132         * elf/dl-load.c: Fix comment typo.
1133
1134 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1135
1136         * po/header.pot: Rename to...
1137         * po/pot.header: ... this.
1138         * po/Makefile: Use pot.header.
1139
1140 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1141             Maxim Kuvyrkov  <maxim@kugelworks.com>
1142
1143         [BZ #16394]
1144         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1145         SRC and DEST against LEN.
1146
1147 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1148
1149         [BZ #16414]
1150         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1151         implementation.
1152         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1153
1154 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1155
1156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1157
1158 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1159
1160         [BZ #16408]
1161         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1162         for large positive arguments.
1163
1164 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1165
1166         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1167
1168         * math/auto-libm-test-in: Mark various tests with
1169         xfail-rounding:ldbl-128ibm.
1170         * math/auto-libm-test-out: Regenerated.
1171
1172         [BZ #16407]
1173         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1174         Increase overflow threshold.
1175
1176 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1177
1178         [BZ #14286]
1179         * stdio-common/vfprintf.c: Check for integer overflow.
1180
1181 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1182
1183         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1184         the first argument and return value of __tls_get_addr_internal.
1185
1186 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1187
1188         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1189         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1190
1191 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1192
1193         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1194         * sysdeps/s390/rtld-global-offsets.sym: New file.
1195         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1196         GLIBC_2.19 symbol.
1197         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1198         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1199         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1200         ... this.
1201         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1202         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1203         ... this.
1204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1205         Regenerate.
1206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1207         Regenerate.
1208         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1209         halfs of GPRs for high_gprs contexts.
1210         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1211         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1212         field.
1213         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1214         uc_flags field.
1215         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1216         64 bit versions:
1217         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1218         for high GPRs (uc_high_gprs) and for future extensions
1219         (__reserved).
1220         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1221         for future extensions (__reserved).
1222         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1223         64 bit versions:
1224         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1225         SC_HIGHGPRS offset definition.
1226         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1227         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1228
1229 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1230
1231         * Versions.def: Add GLIBC_2.19 for libpthread.
1232         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1233         siglongjmp for libpthread with GLIBC_2.19 symver.
1234         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1235         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1236         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1237         * sysdeps/s390/__longjmp.c: New file.
1238         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1239         * sysdeps/s390/longjmp.c: New file.
1240         * sysdeps/s390/setjmp.S: New file.
1241         * sysdeps/s390/sigjmp.S: New file.
1242         * sysdeps/s390/v1-longjmp.c: New file.
1243         * sysdeps/s390/v1-setjmp.h: New file.
1244         * sysdeps/s390/v1-sigjmp.c: New file.
1245         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1246         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1247         GLIBC_2.19 version.
1248         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1249         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1250         versioned symbols for ____longjmp_chk.
1251         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1252         Likewise.
1253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1254         Regenerate.
1255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1256         Regenerate.
1257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1258         Regenerate.
1259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1260         Regenerate.
1261         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1262         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1263         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1264         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1265         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1266         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1267         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1268         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1269         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1270         * sysdeps/s390/rtld-__longjmp.c: New file.
1271         * sysdeps/s390/rtld-setjmp.S: New file.
1272
1273 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1274
1275         [BZ #16400]
1276         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1277         Return -__logl (x) for small positive arguments without evaluating
1278         a polynomial.
1279
1280 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1281
1282         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1283         Rename to ...
1284         (__ptrace_peeksiginfo_args): ... this.
1285         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1286         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1287         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1288
1289 2014-01-06  Allan McRae  <allan@archlinux.org>
1290
1291         * inet/netinet/in.h: Fix typo in comment.
1292
1293 2014-01-05  Andreas Jaeger  <aj@suse.de>
1294
1295         * sysdeps/i386/fpu/libm-test-ulps: Update.
1296
1297 2014-01-05  Allan McRae  <allan@archlinux.org>
1298
1299         * po/libc.pot: Regenerated.
1300
1301         * malloc/memusagestat.c: Fix gettext call formatting.
1302
1303 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
1304
1305         * nscd/nscd.c: Improve usage() output.
1306
1307 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
1308
1309         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1310         * sysdeps/unix/sysv/linux/configure: Regenerated.
1311         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1312         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1313
1314 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1315
1316         [BZ #16390]
1317         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1318         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1319
1320 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1321
1322         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1323         extra tokens at end of #undef directive.
1324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1325         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1326         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1327
1328 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1329
1330         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1331
1332         * math/auto-libm-test-in: Mark various tests with
1333         xfail-rounding:ldbl-128ibm.
1334         * math/auto-libm-test-out: Regenerated.
1335
1336 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1337
1338         [BZ #16386]
1339         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1340         numbers with subnormal high part when calculating exponent.
1341
1342         [BZ #16385]
1343         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1344         fabs.
1345
1346         [BZ #16384]
1347         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1348         M_LN2l.
1349         (__ieee754_acoshl): Use __log1pl not __log1p.
1350
1351 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1352
1353         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1354         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1355         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1356         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1357         Convert to GNU style.
1358         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1359         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1360         memalign_check, __malloc_set_state): Likewise.
1361         * malloc/mallocbug.c (main): Likewise.
1362         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1363         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1364         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1365         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1366         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1367         * malloc/malloc.h: Likewise.
1368         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1369         memalignhook, reallochook, mabort): Likewise.
1370         * malloc/mcheck.h: Likewise.
1371         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1372         mmap64, mremap, munmap, dest): Likewise.
1373         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1374         * malloc/morecore.c (__default_morecore): Likewise.
1375         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1376         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1377         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1378         print_and_abort): Likewise.
1379         * malloc/obstack.h: Likewise.
1380         * malloc/set-freeres.c (__libc_freeres): Likewise.
1381         * malloc/tst-mallocstate.c (main): Likewise.
1382         * malloc/tst-mtrace.c (main): Likewise.
1383         * malloc/tst-realloc.c (do_test): Likewise.
1384
1385 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1386
1387         [BZ #16366]
1388         * nscd/netgroupcache.c (do_notfound): New function.
1389         (addgetnetgrentX): Use it.
1390
1391         [BZ # 16365]
1392         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1393         NSS_STATUS_NOTFOUND.
1394
1395 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1396
1397         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1399
1400 2014-01-01  Allan McRae  <allan@archlinux.org>
1401
1402         * scripts/update-copyrights: Update configure input file suffix.
1403
1404         * NEWS: Update copyright year.
1405         * catgets/gencat.c: Likewise.
1406         * csu/version.c: Likewise.
1407         * debug/catchsegv.sh: Likewise.
1408         * debug/pcprofiledump.c: Likewise.
1409         * debug/xtrace.sh: Likewise.
1410         * elf/ldconfig.c: Likewise.
1411         * elf/ldd.bash.in: Likewise.
1412         * elf/pldd.c: Likewise.
1413         * elf/sotruss.ksh: Likewise.
1414         * elf/sprof.c: Likewise.
1415         * iconv/iconv_prog.c: Likewise.
1416         * iconv/iconvconfig.c: Likewise.
1417         * locale/programs/locale.c: Likewise.
1418         * locale/programs/localedef.c: Likewise.
1419         * login/programs/pt_chown.c: Likewise.
1420         * malloc/memusage.sh: Likewise.
1421         * malloc/memusagestat.c: Likewise.
1422         * malloc/mtrace.pl: Likewise.
1423         * manual/libc.texinfo: Likewise.
1424         * nscd/nscd.c: Likewise.
1425         * nss/getent.c: Likewise.
1426         * nss/makedb.c: Likewise.
1427         * posix/getconf.c: Likewise.
1428         * scripts/test-installation.pl: Likewise.
1429
1430         * All files with FSF copyright notices: Update copyright dates
1431         using scripts/update-copyrights.
1432         * intl/plural.c: Regenerated.
1433         * locale/programs/charmap-kw.h: Likewise.
1434         * locale/programs/locfile-kw.h: Likewise.
1435
1436 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1437
1438         * sysdeps/unix/sysv/linux/configure: Regenerated.
1439         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1440         the linux/fanotify.h header.
1441         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1442         HAVE_LINUX_FANOTIFY_H is defined.
1443
1444 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1445
1446         * benchtests/cos-inputs: New inputs.
1447         * benchtests/sin-inputs: Likewise.
1448
1449         * benchtests/atan-inputs: New inputs. Fix name of multiple
1450         precision fallback inputs.
1451
1452         * benchtests/atanh-inputs: New inputs.
1453         * benchtests/tanh-inputs: Likewise.
1454
1455         * benchtests/acosh-inputs: New inputs.
1456         * benchtests/asinh-inputs: Likewise.
1457
1458         * benchtests/cosh-inputs: New inputs.
1459         * benchtests/sinh-inputs: Likewise.
1460
1461         * benchtests/acos-inputs: Add more inputs.
1462         * benchtests/asin-inputs: Likewise.
1463
1464 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1465
1466         [BZ #16375]
1467         * manual/arith.texi: Fix spelling.
1468         * manual/charset.texi: Likewise.
1469         * manual/errno.texi: Likewise.
1470         * manual/filesys.texi: Likewise.
1471         * manual/lang.texi: Likewise.
1472         * manual/llio.texi: Likewise.
1473         * manual/locale.texi: Likewise.
1474         * manual/message.texi: Likewise.
1475         * manual/resource.texi: Likewise.
1476         * manual/search.texi: Likewise.
1477         * manual/setjmp.texi: Likewise.
1478         * manual/stdio.texi: Likewise.
1479         * manual/string.texi: Likewise.
1480         * manual/sysinfo.texi: Likewise.
1481         * manual/time.texi: Likewise.
1482
1483 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1484
1485         * po/sl.po: New file.
1486
1487 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1488
1489         * .gitignore: Add core/.gdbinit/.gdb_history.
1490
1491 2013-12-27  Allan McRae  <allan@archlinux.org>
1492
1493         [BZ #16369]
1494         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1495         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1496
1497 2013-12-24  Brooks Moses  <bmoses@google.com>
1498
1499         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1500         all compilers that claim C++98 compliance, not just GCC.
1501         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1502         Likewise.
1503
1504 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1505
1506         * NEWS: Restore accidentally deleted bug-fix entries.
1507
1508 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1509             Ondřej Bílka  <neleai@seznam.cz>
1510
1511         [BZ #15073]
1512         * malloc/malloc.c (_int_free): Perform sanity check only if we
1513         have_lock.
1514
1515 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1516
1517         [BZ #12986]
1518         * manual/stdio.texi (String Input Conversions): Clarify that character
1519         classes are not supported.
1520
1521 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1522
1523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1524
1525 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1526
1527         [BZ #16337]
1528         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1529         Calculate results for small negative arguments directly rather
1530         than using reflection formula with special underflow handling.
1531
1532         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1533         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1534         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1535         (fchflags): Likewise.
1536         (revoke): Likewise.
1537         (setlogin): Likewise.
1538         (sigaltstack): Likewise.
1539         (wait4): Likewise.
1540         (sigblock): Remove.
1541         (sigsetmask): Likewise.
1542         (wait3): Likewise.
1543         (waitpid): Likewise.
1544         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1545         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1546         file.
1547         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1548         * sysdeps/unix/bsd/Makefile: ... here.
1549         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1550         * sysdeps/unix/bsd/Versions: ... here.
1551         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1552         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1553         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1554         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1555         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1556         * sysdeps/unix/bsd/sigblock.c: ... here.
1557         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1558         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1559         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1560         * sysdeps/unix/bsd/sigvec.c: ... here.
1561         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1562         * sysdeps/unix/bsd/tcdrain.c: ... here.
1563         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1564         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1565         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1566         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1567         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1568         * sysdeps/unix/bsd/wait.c: ... here.
1569         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1570         * sysdeps/unix/bsd/wait3.c: ... here.
1571         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1572         * sysdeps/unix/bsd/waitpid.c: ... here.
1573
1574 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1575
1576         [BZ #16356]
1577         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1578         round-to-nearest for [!USE_AS_EXPM1L].
1579         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1580         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1581         more tests of exp and exp10.  Expect some exp10 tests to miss
1582         exceptions or fail in directed rounding modes.
1583         * math/auto-libm-test-out: Regenerated.
1584         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1585         (exp10_test_tonearest): New function.
1586         (exp10_towardzero_test_data): New array.
1587         (exp10_test_towardzero): New function.
1588         (exp10_downward_test_data): New array.
1589         (exp10_test_downward): New function.
1590         (exp10_upward_test_data): New array.
1591         (exp10_test_upward): New function.
1592         (main): Call the new functions.
1593         * sysdeps/i386/fpu/libm-test-ulps: Update.
1594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1595
1596 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1597
1598         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1599         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1600         * math/auto-libm-test-out: Regenerated.
1601         * math/libm-test.inc (acosh_test_data): Add more tests.
1602         (atanh_test_data): Likewise.
1603         (ceil_test_data): Likewise.
1604         (copysign_test_data): Likewise.
1605         * sysdeps/i386/fpu/libm-test-ulps: Update.
1606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1607
1608         * timezone/checktab.awk: Update from tzcode 2013i.
1609         * timezone/private.h: Likewise.
1610         * timezone/scheck.c: Likewise.
1611         * timezone/tzfile.h: Likewise.
1612         * timezone/tzselect.ksh: Likewise.
1613         * timezone/zdump.c: Likewise.
1614         * timezone/zic.c: Likewise.
1615
1616         * math/auto-libm-test-in: Add tests of cpow.
1617         * math/auto-libm-test-out: Regenerated.
1618         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1619         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1620         mpc_cc_c.
1621         (func_calc_desc): Add mpc_cc_c union field.
1622         (test_functions): Add cpow.
1623         (special_fill_2pi): New function.
1624         (special_real_inputs): Add 2pi.
1625         (calc_generic_results): Handle mpc_cc_c.
1626         * sysdeps/i386/fpu/libm-test-ulps: Update.
1627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1628
1629         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1630         csqrt, ctan and ctanh.
1631         * math/auto-libm-test-out: Regenerated.
1632         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1633         (TEST_COND_x86): Likewise.
1634         (ccos_test_data): Use AUTO_TESTS_c_c.
1635         (ccosh_test_data): Likewise.
1636         (cexp_test_data): Likewise.
1637         (clog_test_data): Likewise.
1638         (csqrt_test_data): Likewise.
1639         (ctan_test_data): Likewise.
1640         (ctan_tonearest_test_data): Likewise.
1641         (ctan_towardzero_test_data): Likewise.
1642         (ctan_downward_test_data): Likewise.
1643         (ctan_upward_test_data): Likewise.
1644         (ctanh_test_data): Likewise.
1645         (ctanh_tonearest_test_data): Likewise.
1646         (ctanh_towardzero_test_data): Likewise.
1647         (ctanh_downward_test_data): Likewise.
1648         (ctanh_upward_test_data): Likewise.
1649         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1650         mpc_c_c.
1651         (func_calc_desc): Add mpc_c_c union field.
1652         (FUNC_mpc_c_c): New macro.
1653         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1654         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1655         ctanh.
1656         (special_fill_min_subnorm_p120): New function.
1657         (special_real_inputs): Add min_subnorm_p120.
1658         (calc_generic_results): Handle mpc_c_c.
1659         * sysdeps/i386/fpu/libm-test-ulps: Update.
1660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1661
1662 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1663
1664         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1665         do_sin_slow): New functions.
1666         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1667         cslow2, csloww1, csloww2): Use the new functions.
1668
1669         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1670         Use M to change sign of result instead of X.  Assume X is
1671         positive.
1672         (csloww1): Likewise.
1673         (__sin): Adjust.
1674         (__cos): Adjust.
1675
1676         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1677         arguments A and DA.
1678         (__sin): Adjust.
1679         (__cos): Likewise.
1680
1681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1682         (__cos): Likewise.
1683         (sloww1): Don't adjust sign of DX.
1684         (csloww1): Likewise.
1685         (sloww2): Use X directly and don't adjust sign of DX.
1686         (csloww2): Likewise.
1687
1688 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1689
1690         * math/auto-libm-test-in: Add tests of cabs and carg.
1691         * math/auto-libm-test-out: Regenerated.
1692         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1693         (carg_test_data): Likewise.
1694         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1695         mpc_c_f.
1696         (func_calc_desc): Add mpc_c_f union field.
1697         (test_functions): Add cabs and carg.
1698         (calc_generic_results): Handle mpc_c_f.
1699
1700         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1701         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1702         as a macro and a compat symbol.
1703         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1704         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1705         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1706         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1707         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1708         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1709         not use .hidden.
1710         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1711         Likewise.
1712         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1713         Likewise.
1714         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1715         Likewise.
1716         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1717         Likewise.
1718         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1719         Likewise.
1720         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1721         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1722         from GLIBC_2.3.2.
1723
1724 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1725
1726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1727
1728 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1729
1730         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1731         trailing whitespace removed.
1732         * scripts/config.guess: Update to version 2013-11-29.
1733         * scripts/config.sub: Update to version 2013-10-01.
1734
1735         * math/auto-libm-test-in: Add tests of sincos.
1736         * math/auto-libm-test-out: Regenerated.
1737         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1738         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1739         mpfr_f_11.
1740         (func_calc_desc): Add mpfr_f_11 union field.
1741         (test_functions): Add sincos.
1742         (calc_generic_results): Handle mpfr_f_11.
1743         * sysdeps/i386/fpu/libm-test-ulps: Update.
1744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1745
1746 2013-12-19  Andreas Schwab  <schwab@suse.de>
1747
1748         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1749         CALL_MCOUNT.
1750         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1751         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1752         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1753
1754 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1755
1756         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1757         * sysdeps/i386/fpu/libm-test-ulps: Update.
1758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1759
1760         [BZ #16293]
1761         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1762         round-to-nearest mode when using frndint.
1763         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1764         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1765         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1766         Likewise.
1767         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1768         sinh test to fail.
1769         * math/auto-libm-test-out: Regenerated.
1770         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1771         (TEST_COND_x86): Likewise.
1772         (expm1_tonearest_test_data): New array.
1773         (expm1_test_tonearest): New function.
1774         (expm1_towardzero_test_data): New array.
1775         (expm1_test_towardzero): New function.
1776         (expm1_downward_test_data): New array.
1777         (expm1_test_downward): New function.
1778         (expm1_upward_test_data): New array.
1779         (expm1_test_upward): New function.
1780         (main): Run the new test functions.
1781         * sysdeps/i386/fpu/libm-test-ulps: Update.
1782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1783
1784         * include/features.h: Update comment documenting feature test
1785         macros.  Mention _DEFAULT_SOURCE in comment.
1786         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1787         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1788         _BSD_SOURCE and _SVID_SOURCE.
1789         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1790         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1791         !_SVID_SOURCE]: Likewise.
1792         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1793         (__USE_POSIX_IMPLICITLY): Define.
1794         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1795         (_POSIX_SOURCE): Undefine and redefine.
1796         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1797         (_POSIX_C_SOURCE): Likewise.
1798         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1799         (Feature Test Macros): Update documentation of default features.
1800
1801 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1802
1803         * benchtests/Makefile: Add bench-strtok.
1804         * benchtests/bench-strtok.c: New file: strtok benchtest.
1805
1806 2013-12-19  Allan McRae  <allan@archlinux.org>
1807
1808         * manual/install.texi: Suppress menu for plain text output.
1809         * INSTALL: Regenerated.
1810
1811 2013-12-18  Brooks Moses  <bmoses@google.com>
1812
1813         [BZ #15846]
1814         * misc/getauxval.c: Include errno.h.
1815         (__getauxval): Set errno to ENOENT if the requested type is not
1816         found.
1817         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1818         don't declare with __attribute_const__.
1819         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1820         * manual/startup.texi: Document that getauxval sets errno.
1821
1822 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1823
1824         * math/auto-libm-test-in: Add tests of jn and yn.
1825         * math/auto-libm-test-out: Regenerated.
1826         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1827         (yn_test_data): Likewise.
1828         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1829         mpfr_if_f.
1830         (func_calc_desc): Add mpfr_if_f union field.
1831         (FUNC_mpfr_if_f): New macro.
1832         (test_functions): Add jn and yn.
1833         (calc_generic_results): Assert type of second input for
1834         mpfr_ff_f.  Handle mpfr_if_f.
1835         (output_for_one_input_case): Disable all checking for arguments
1836         fitting floating-point types in case of an integer argument.
1837         * sysdeps/i386/fpu/libm-test-ulps: Update.
1838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1839
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1841         Don't expect fegetround reference in libm.so.
1842
1843 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1844
1845         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1846         $(config-cflags-nofma).
1847
1848 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1849
1850         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1851         * math/auto-libm-test-out: Regenerated.
1852
1853         [BZ #16338]
1854         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1855         to determine exponent and adjust argument to have exponent of -1.
1856         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1857         log2.
1858         * math/auto-libm-test-out: Regenerated.
1859         * sysdeps/i386/fpu/libm-test-ulps: Update.
1860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1861
1862 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1863
1864         * manual/probes.texi: Remove cases when per-thread arenas are
1865         disabled.
1866
1867 2013-12-18  Andreas Schwab  <schwab@suse.de>
1868
1869         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1870         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1871         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1872         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1873         * sysdeps/i386/i686/multiarch/Makefile: Update.
1874         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1875
1876 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1877
1878         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1879         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1880
1881 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1882
1883         [BZ #15968]
1884         Support TZ transition times < 00:00:00.
1885         This is needed for version-3 tz-format files; it supports time
1886         stamps past 2037 for America/Godthab (the only entry in the tz
1887         database for which this change is relevant).
1888         * manual/time.texi (TZ Variable): Document transition times
1889         from -167:59:59 through -00:00:01.
1890         * time/tzset.c (tz_rule): Time of day is now signed.
1891         (__tzset_parse_tz): Parse negative time of day.
1892
1893         Document TZ transition times >= 25:00:00.
1894         * manual/time.texi (TZ Variable): Document transition times from
1895         25:00:00 through 167:59:59.  These are already supported, and this
1896         support will help with version-3 tz-format files.
1897
1898         * manual/time.texi (TZ Variable): Modernize North America example
1899         to reflect current (i.e., 2007-and-later) daylight saving rules.
1900
1901         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1902
1903 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1904
1905         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1906         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1907         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1909         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1910         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1911         * sysdeps/unix/bsd/clock.c: Likewise.
1912         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1913         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1914         * sysdeps/unix/bsd/init-posix.c: Likewise.
1915         * sysdeps/unix/bsd/poll.c: Likewise.
1916         * sysdeps/unix/bsd/ptsname.c: Likewise.
1917         * sysdeps/unix/bsd/seekdir.c: Likewise.
1918         * sysdeps/unix/bsd/setegid.c: Likewise.
1919         * sysdeps/unix/bsd/seteuid.c: Likewise.
1920         * sysdeps/unix/bsd/setgid.c: Likewise.
1921         * sysdeps/unix/bsd/setrgid.c: Likewise.
1922         * sysdeps/unix/bsd/setruid.c: Likewise.
1923         * sysdeps/unix/bsd/setsid.c: Likewise.
1924         * sysdeps/unix/bsd/setuid.c: Likewise.
1925         * sysdeps/unix/bsd/sigaction.c: Likewise.
1926         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1927         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1928         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1929         * sysdeps/unix/bsd/telldir.c: Likewise.
1930         * sysdeps/unix/bsd/times.c: Likewise.
1931         * sysdeps/unix/bsd/usleep.c: Likewise.
1932
1933         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1934         ($(objpfx)libbsd-compat.a): Remove rule.
1935
1936         * include/features.h (__FAVOR_BSD): Do not define.
1937         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1938         features conflicting with POSIX.
1939         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1940         (_BSD_SOURCE): Remove description of not being a subset of other
1941         feature test macros.
1942         * manual/job.texi (getpgrp): Do not document BSD version.
1943         (getpgid): Do not document by reference to BSD getpgrp.
1944         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1945         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1946         * signal/signal.h [__FAVOR_BSD]: Likewise.
1947         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1948         instead of making contents conditional on [__FAVOR_BSD].
1949         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1950
1951 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1952
1953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1954
1955 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1956
1957         [BZ #16314]
1958         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1959         values below 2**-450, not 2**-500.
1960         * math/auto-libm-test-in: Don't allow spurious underflow from
1961         hypot.
1962         * math/auto-libm-test-out: Regenerated.
1963
1964         [BZ #16316]
1965         [BZ #16330]
1966         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1967         values of ha and hb and sort them after adjusting subnormal
1968         arguments.
1969         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1970         Likewise.
1971         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1972         values of ea and eb and sort them after adjusting subnormal
1973         arguments.
1974         * math/auto-libm-test-in: Do not expect some hypot tests of
1975         subnormals to fail.  Add more hypot tests.
1976         * math/auto-libm-test-out: Regenerated.
1977
1978 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1979
1980         [BZ #13304]
1981         * sysdeps/sh/s_fma.c: New file.
1982         * sysdeps/sh/s_fmaf.c: New file.
1983         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1984         version.
1985         * sysdeps/sh/Implies: Add sh/soft-fp.
1986
1987 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1988
1989         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1990         level of indirection to members `objname', `errstring', `malloced'.
1991         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1992         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1993         it as the __longjmp argument (just pass 1 instead).
1994         (_dl_catch_error): Initialize C with argument pointers and address of
1995         volatile local ERRCODE rather than copying values out of C at return.
1996
1997 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1998
1999         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2000         * math/auto-libm-test-out: Regenerated.
2001         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2002         (hypot_test_data): Likewise.
2003         (pow_test_data): Likewise.
2004         (pow_tonearest_test_data): Likewise.
2005         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2006         mpfr_ff_f.
2007         (func_calc_desc): Add mpfr_ff_f union field.
2008         (FUNC_mpfr_ff_f): New macro.
2009         (test_functions): Add atan2, hypot and pow.
2010         (special_fill_min): New function.
2011         (special_fill_minus_min): Likewise.
2012         (special_fill_min_subnorm): Likewise.
2013         (special_fill_minus_min_subnorm): Likewise.
2014         (special_real_inputs): Add min, -min, min_subnorm and
2015         -min_subnorm.
2016         (calc_generic_results): Handle mpfr_ff_f.
2017         * sysdeps/i386/fpu/libm-test-ulps: Update.
2018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2019
2020 2013-12-16  Will Newton  <will.newton@linaro.org>
2021
2022         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2023         (Aligned Memory Blocks): Add documentation for aligned_alloc
2024         and suggest it as an alternative to posix_memalign.
2025         (Hooks for Malloc): Document __memalign_hook is also called
2026         for aligned_alloc.  (Summary of Malloc): Add summary for
2027         aligned alloc.  Document __memalign_hook is also called
2028         for aligned_alloc.
2029
2030 2013-12-16  Will Newton  <will.newton@linaro.org>
2031
2032         * manual/memory.texi (Malloc Examples): Clarify default
2033         alignment documentation.  Suggest posix_memalign rather
2034         than memalign or valloc.
2035         (Aligned Memory Blocks): Remove suggestion to use memalign
2036         or valloc.  Remove obsolete comment about BSD.
2037         Document memalign errno values and mark the function obsolete.
2038         Document posix_memalign returned error codes.  Mark valloc
2039         as obsolete.  (Hooks for Malloc): __memalign_hook is also
2040         called for posix_memalign and valloc.
2041         (Summary of Malloc): Add posix_memalign to function summary.
2042         __memalign_hook is also called for posix_memalign and valloc.
2043
2044 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2045
2046         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2047         TAYLOR_SIN.
2048         (__sin): Adjust.
2049         (__cos): Likewise.
2050         (sloww): Use mynumber union.  Expand ternary operator into
2051         if-else statements.
2052         (cslow): use mynumber union.
2053
2054 2013-12-16  Allan McRae  <allan@archlinux.org>
2055
2056         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2057         * configure: Regenerated.
2058
2059         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2060
2061         [BZ #14120]
2062         * configure.ac: Added --enable-maintainer-mode. Check for
2063         autoconf when enabled.
2064         * configure: Regenerated.
2065
2066         * nscd/nscd.service: New file.
2067         * nscd/nscd.tmpfiles: New file.
2068
2069 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2070
2071         [BZ #12100]
2072         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2073         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2074         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2075         (strstr): Add __strstr_sse2_unaligned ifunc.
2076         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2077         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2078         (strcasestr): Remove __strcasestr_sse42 ifunc.
2079         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2082
2083 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2084
2085         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2086         * sysdeps/sh/bits/fenv.h: ... here.
2087         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2088
2089 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2090
2091         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2092
2093 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2094
2095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2096         hypotf multiarch implementations.
2097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2099         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2100         multiarch hypot for PPC64.
2101         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2103         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2104         multiarch hypotf for PPC64.
2105
2106 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2107
2108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2109         modff multiarch implementations.
2110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2113         multiarch modf for PPC64.
2114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2117         multiarch modff for PPC64.
2118
2119 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2120
2121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2122         and logl multiarch implementations.
2123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2126         multiarch logb for PPC64.
2127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2130         multiarch logb for PPC64.
2131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2134         multiarch logb for PPC64.
2135
2136 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2137
2138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2139         isinff multiarch implementation.
2140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2141         file.
2142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2144         multiarch isinf for PPC64.
2145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2146         file.
2147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2148         multiarch isinff for PPC64.
2149
2150 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2151
2152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2153         finitef multiarch implementation.
2154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2155         file.
2156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2158         multiarch finite for PPC64.
2159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2160         file.
2161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2162         multiarch finitef for PPC64.
2163
2164 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2165
2166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2167         lrint multiarch implementation.
2168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2169         file.
2170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2172         multiarch llrint for PPC64.
2173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2174         multiarch lrint for PPC64.
2175
2176 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2177
2178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2179         copysignf multiarch implementation.
2180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2181         file.
2182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2183         file.
2184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2185         multiarch copysign for PPC64.
2186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2187         multiarch copysignf for PPC64.
2188
2189 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2190
2191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2192         multiarch implementation.
2193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2194         file.
2195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2196         file.
2197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2198         file.
2199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2200         file.
2201         multiarch llround for PPC64.
2202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2203         multiarch trunc for PPC64.
2204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2205         multiarch truncf for PPC64.
2206
2207 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2208
2209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2210         multiarch implementation.
2211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2212         file.
2213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2214         file.
2215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2216         file.
2217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2218         file.
2219         multiarch llround for PPC64.
2220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2221         multiarch round for PPC64.
2222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2223         multiarch roundf for PPC64.
2224
2225 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2226
2227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2228         multiarch implementation.
2229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2230         file.
2231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2232         file.
2233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2234         file.
2235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2236         file.
2237         multiarch llround for PPC64.
2238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2239         multiarch floor for PPC64.
2240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2241         multiarch floorf for PPC64.
2242
2243 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2244
2245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2246         multiarch implementation.
2247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2248         file.
2249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2250         file.
2251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2252         file.
2253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2254         file.
2255         multiarch llround for PPC64.
2256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2257         multiarch ceil for PPC64.
2258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2259         multiarch ceilf for PPC64.
2260
2261 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2262
2263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2264         multiarch implementation.
2265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2266         file.
2267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2268         file.
2269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2270         file.
2271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2272         multiarch llround for PPC64.
2273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2274         multiarch lround for PPC64.
2275
2276 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2277
2278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2279         multiarch implementation.
2280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2283         file.
2284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2287         multiarch isnan for PPC64.
2288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2289         multiarch isnanf for PPC64.
2290
2291 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2292
2293         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2294         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2295         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2296         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2297         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2299
2300 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2301
2302         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2303         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2304         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2305         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2306
2307 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2308
2309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2310         multiarch implementations.
2311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2312         (__libc_ifunc_impl_list): Likewise.
2313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2314         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2315         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2316         multiarch stpcpy for PPC64.
2317
2318 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2319
2320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2321         multiarch implementations.
2322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2323         (__libc_ifunc_impl_list): Likewise.
2324         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2325         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2326         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2327         multiarch strcpy for PPC64.
2328
2329 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2330
2331         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2332         redefine function name.
2333         (_wordcopy_fwd_dest_aligned): Likewise.
2334         (_wordcopy_bwd_aligned): Likewise.
2335         (_wordcopy_bwd_dest_aligned): Likewise.
2336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2337         multiarch implementations.
2338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2339         (__libc_ifunc_impl_list): Likewise.
2340         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2341         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2342         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2343         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2344         multiarch wcscpy for PPC64.
2345
2346 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2347
2348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2349         multiarch implementations.
2350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2351         (__libc_ifunc_impl_list): Likewise.
2352         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2353         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2354         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2356         multiarch wcscpy for PPC64.
2357
2358 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2359
2360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2361         multiarch implementations.
2362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2363         (__libc_ifunc_impl_list): Likewise.
2364         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2365         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2366         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2367         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2368         multiarch wcsrchr for PPC64.
2369
2370 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2371
2372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2373         multiarch implementations.
2374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2375         (__libc_ifunc_impl_list): Likewise.
2376         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2377         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2378         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2379         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2380         multiarch wcschr for PPC64.
2381
2382 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2383
2384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2385         multiarch implementations.
2386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2387         (__libc_ifunc_impl_list): Likewise.
2388         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2389         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2390         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2391         multiarch strchrnul for PPC64.
2392
2393 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2394
2395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2396         implementations.
2397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2398         (__libc_ifunc_impl_list): Likewise.
2399         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2400         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2401         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2402         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2403         strchr for PPC64.
2404
2405 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2406
2407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2408         implementations.
2409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2410         (__libc_ifunc_impl_list): Likewise.
2411         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2412         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2413         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2414         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2415         strncmp for PPC64.
2416
2417 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2418
2419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2420         multiarch implementations.
2421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2422         (__libc_ifunc_impl_list): Likewise.
2423         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2424         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2425         strncasecmp for PPC64.
2426         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2427         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2428         multiarch strncasecmp_l for PPC64.
2429
2430 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2431
2432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2433         multiarch implementations.
2434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2435         (__libc_ifunc_impl_list): Likewise.
2436         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2437         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2438         multiarch strcasecmp for PPC64.
2439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2440         file.
2441         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2442         multiarch strcasecmp_l for PPC64.
2443
2444 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2445
2446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2447         implementations.
2448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2449         (__libc_ifunc_impl_list): Likewise.
2450         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2451         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2452         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2453         strnlen for PPC64.
2454
2455 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2456
2457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2458         implementations.
2459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2460         (__libc_ifunc_impl_list): Likewise.
2461         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2462         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2463         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2464         strlen for PPC64.
2465
2466 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2467
2468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2469         implementations.
2470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2471         (__libc_ifunc_impl_list): Likewise.
2472         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2473         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2474         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2475         rawmemrchr for PPC64.
2476
2477 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2478
2479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2480         implementation.
2481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2482         (__libc_ifunc_impl_list): Likewise.
2483         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2484         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2485         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2486         memrchr for PPC64.
2487
2488 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2489
2490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2491         implementation.
2492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2493         (__libc_ifunc_impl_list): Likewise.
2494         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2495         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2496         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2497         memchr for PPC64.
2498
2499 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2500
2501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2502         implementation.
2503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2504         (__libc_ifunc_impl_list): Likewise.
2505         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2506         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2507         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2508         mempcpy for PPC64.
2509
2510 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2511
2512         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2513         avoid cretion of __bzero symbol.
2514         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2515         Likewise.
2516         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2517         Likewise.
2518         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2519         Likewise.
2520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2521         multiarch implementations.
2522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2523         (__libc_ifunc_impl_list): Likewise.
2524         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2525         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2526         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2527         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2528         bzero for PPC32.
2529         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2530         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2531         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2532         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2533         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2534         memset for PPC64.
2535         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2536
2537 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2538
2539         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2541         implementations.
2542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2543         (__libc_ifunc_impl_list): Likewise.
2544         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2545         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2546         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2547         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2548         memcmp for PPC64.
2549
2550 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2551
2552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2553         multiarch for POWER/PPC64.
2554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2555         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2556         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2557         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2558         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2560         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2561         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2562         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2563         memcpy for PPC64.
2564
2565 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2566
2567         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2568         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2569         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2570         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2571         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2572         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2573         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2574         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2575         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2576         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2577         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2578         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2579         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2580         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2581         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2589
2590 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2591
2592         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2593
2594 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2595
2596         * benchtests/Makefile (bench): Add exp2 and log2.
2597         (LDLIBS-bench-exp2): Add -lm.
2598         (LDLIBS-bench-log2): Likewise.
2599         * benchtests/exp2-inputs: New inputs file.
2600         * benchtests/log2-inputs: New inputs file.
2601         * benchtests/log-inputs: Add new inputs.
2602         * benchtests/tan-inputs: Likewise.
2603
2604 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2605
2606         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2607         definition...
2608         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2609         csloww1, csloww2): ... from here.
2610
2611         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2612         instead of structures.
2613         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2614         (POLYNOMIAL): Likewise.
2615         (TAYLOR_SLOW): Likewise.
2616         (__sin): Likewise.
2617         (__cos): Likewise.
2618         (slow1): Likewise.
2619         (slow2): Likewise.
2620         (sloww): Likewise.
2621         (sloww1); Likewise.
2622         (sloww2): Likewise.
2623         (bsloww1): Likewise.
2624         (bsloww2): Likewise.
2625         (cslow2): Likewise.
2626         (csloww): Likewise.
2627         (csloww1): Likewise.
2628         (csloww2): Likewise.
2629
2630 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2631
2632         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2633         (__malloc_assert, __libc_realloc, __libc_calloc,
2634         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2635         memcpy and memset.
2636         * malloc/hooks.c (realloc_check): Likewise.
2637
2638 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2639
2640         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2641         * malloc/arena.c: Remove PER_THREAD conditional.
2642         [!PER_THREAD]: Remove code.
2643         (ptmalloc_unlock_all2): Likewise.
2644         (ptmalloc_init): Likewise.
2645         (_int_new_arena): Likewise.
2646         (arena_get2): Likewise.
2647         * malloc/hooks.c (__malloc_get_state): Likewise.
2648         (__malloc_set_state): Likewise.
2649         * malloc/malloc.c: Likewise.
2650         (struct malloc_state): Likewise.
2651         (struct malloc_par): Likewise.
2652         (__libc_realloc): Likewise.
2653         (__libc_mallopt): Likewise.
2654
2655 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2656
2657         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2658
2659 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2660
2661         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2662         macro to a function.  Check for zero perturb_byte.
2663         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2664
2665 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2666
2667         * malloc/malloc.c: (force_reg): Remove.
2668         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2669         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2670         force_reg by atomic_forced_read.
2671         * malloc/arena.c (ptmalloc_init): Likewise.
2672         * malloc/hooks.c (top_check): Likewise.
2673
2674 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2675
2676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2677
2678 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2679
2680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2681
2682 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2683
2684         * math/auto-libm-test-in: Add tests of lgamma.
2685         * math/auto-libm-test-out: Regenerated.
2686         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2687         (M_LOG_2_SQRT_PIl): Likewise.
2688         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2689         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2690         mpfr_f_f1.
2691         (func_calc_desc): Add mpfr_f_f1 union field.
2692         (ARGS1): New macro.
2693         (ARGS2): Likewise.
2694         (ARGS3): Likewise.
2695         (ARGS4): Likewise.
2696         (RET1): Likewise.
2697         (RET2): Likewise.
2698         (CALC): Likewise.
2699         (FUNC): Likewise.
2700         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2701         (test_functions): Add lgamma.
2702         (calc_generic_results): Handle mpfr_f_f1.
2703         * sysdeps/i386/fpu/libm-test-ulps: Update.
2704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2705
2706 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2707
2708         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2709         __mpn_add_n for PowerPC64/POWER7.
2710         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2711         __mpn_sub_n for PowerPC64/POWER7.
2712
2713 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2714
2715         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2716         __mpn_addmul_1 for PowerPC64.
2717         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2718         __mpn_submul_1 for PowerPC64.
2719         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2720         for PowerPC64.
2721         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2722         for PowerPC64.
2723
2724 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2725
2726         [BZ #15089]
2727         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2728
2729 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2730
2731         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2732
2733 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2734
2735         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2736         add multiarch folders.
2737         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2738         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2739         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2740         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2741         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2742         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2743         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2744         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2745         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2746         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2747         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2754
2755 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2756
2757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2758         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2760         New file.
2761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2762         New file.
2763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2764         multiarch __ieee754_hypot for PowerPC32.
2765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2766         New file.
2767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2768         New file.
2769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2770         multiarch __ieee754_hypotf for PowerPC32.
2771
2772 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2773
2774         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2775         long_double_symbol only if __logbl is defined.
2776         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2777         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2778         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2779         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2780         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2781         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2782         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2783         path for implementation.
2784         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2785         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2787         logb, and logbl multiarch implementations for PowerPC32.
2788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2789         file.
2790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2791         file.
2792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2793         multiarch logb for PowerPC32.
2794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2795         file.
2796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2797         file.
2798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2799         multiarch logbf for PowerPC32.
2800         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2802         file.
2803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2804         multiarch logbl implementation for PowerPC32.
2805
2806 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2807
2808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2809         and modff multiarch implementations.
2810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2811         New file.
2812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2813         New file.
2814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2815         multiarch modf for PowerPC32.
2816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2817         New file.
2818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2819         New file.
2820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2821         multiarch modff for PowerPC32.
2822
2823 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2824
2825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2826         and lrintf multiarch implementations.
2827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2828         New file.
2829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2830         New file.
2831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2832         multiarch lrint for PowerPC32.
2833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2834         file: multiarch lrintf for PowerPC32.
2835
2836 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2837
2838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2839         and lroundf multiarch implementations.
2840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2841         New file.
2842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2843         New file.
2844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2845         New file.
2846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2847         multiarch lround for PowerPC32.
2848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2849         file: multiarch lroundf for PowerPC32.
2850
2851 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2852
2853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2854         copysign and copysignf multiarch implementations.
2855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2856         New file.
2857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2858         New file.
2859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2860         file: multiarch copysign for PowerPC32.
2861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2862         file: multiarch copysignf for PowerPC32.
2863
2864 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2865
2866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2867         and truncf multiarch implementations.
2868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2869         New file.
2870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2871         file.
2872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2873         multiarch trunc for PowerPC32.
2874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2875         New file.
2876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2877         New file.
2878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2879         multiarch truncf for PowerPC32.
2880
2881 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2882
2883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2884         and roundf multiarch implementations.
2885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2886         New file.
2887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2888         file.
2889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2890         multiarch round for PowerPC32.
2891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2892         New file.
2893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2894         New file.
2895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2896         multiarch roundf for PowerPC32.
2897
2898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2899
2900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2901         and floorf multiarch implementations.
2902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2903         New file.
2904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2905         file.
2906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2907         multiarch floor for PowerPC32.
2908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2909         New file.
2910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2911         New file.
2912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2913         multiarch floorf for PowerPC32.
2914
2915 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2916
2917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2918         and ceilf multiarch implementations.
2919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2920         New file.
2921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2922         file.
2923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2924         multiarch ceil for PowerPC32.
2925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2926         New file.
2927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2928         file.
2929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2930         multiarch ceilf for PowerPC32.
2931
2932 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2933
2934         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2935         is defined.
2936         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2937         FINITEF is defined.
2938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2939         and finitef multiarch implementations.
2940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2941         New file.
2942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2943         file.
2944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2945         multiarch finite for PowerPC32.
2946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2947         New file.
2948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2949         file: multiarch finitef for PowerPC32.
2950
2951 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2952
2953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2954         and isinff multiarch implementations.
2955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2956         file.
2957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2958         file.
2959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2960         multiarch isinf for PowerPC32.
2961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2962         New file.
2963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2964         multiarch isinff for PowerPC32.
2965
2966 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2967
2968         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2969         alias when __isnan is defined.
2970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2971         and isnanf multiarch implementations.
2972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2973         file.
2974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2975         file.
2976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2977         file.
2978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2979         file.
2980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2981         multiarch isnan for PowerPC32.
2982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2983         New file.
2984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2985         New file.
2986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2987         multiarch isnanf for PowerPC32.
2988
2989 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2990
2991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2992         and sqrtf multiarch implementations.
2993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2994         file.
2995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2996         file.
2997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2998         multiarch sqrt for PowerPC32.
2999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3000         file.
3001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3002         file.
3003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3004         multiarch sqrtf for PowerPC32.
3005
3006 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3007
3008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3009         and llroundf multiarch implementations.
3010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3011         New file.
3012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3013         New file.
3014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3015         New file.
3016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3017         file: multiarch llround for PowerPC32.
3018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3019         file: multiarch llroundf for PowerPC32.
3020
3021 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3022
3023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3024         multiarch PowerPC32 fpu implementations.
3025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3026         New file.
3027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3028         New file.
3029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3030         multiarch llrint for PowerPC32.
3031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3032         New file.
3033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3034         New file.
3035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3036         file.
3037
3038 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3039
3040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3041
3042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3043
3044         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3045         file.
3046         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3047         file.
3048         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3049         file.
3050         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3051         multiarch wordcopy for PPC32.
3052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3053         wordcopy objects.
3054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3055         (__libc_ifunc_impl_list): Likewise.
3056         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3057         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3058         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3059         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3060         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3061         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3062
3063 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3064
3065         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3067         file.
3068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3069         file.
3070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3071         file.
3072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3073         multiarch wcscpy for PPC32.
3074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3075         multiarch objects.
3076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3077         (__libc_ifunc_impl_list): Likewise.
3078         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3079         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3080         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3081         sysdeps/powerpc/power6/wcscpy.c.
3082
3083 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3084
3085         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3087         file.
3088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3089         file.
3090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3091         file.
3092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3093         multiarch wcsrchr for PPC32.
3094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3095         multiarch objects.
3096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3097         (__libc_ifunc_impl_list): Likewise.
3098         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3099         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3100         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3101         sysdeps/powerpc/power6/wcsrchr.c.
3102
3103 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3104
3105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3106         file.
3107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3108         file.
3109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3111         multiarch wcschr for PPc32.
3112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3113         multiarch objects.
3114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3115         (__libc_ifunc_impl_list): Likewise.
3116         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3117         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3118         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3119         sysdeps/powerpc/power6/wcschr.c.
3120
3121 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3122
3123         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3124         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3125         file.
3126         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3127         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3128         file: multiarch strchr for PPC32.
3129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3130         multiarch objects.
3131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3132         (__libc_ifunc_impl_list): Likewise.
3133
3134 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3135
3136         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3137         name.
3138         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3139         file.
3140         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3141         file.
3142         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3143         multiarch strchrnul for PPC32.
3144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3145         multiarch objects.
3146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3147         (__libc_ifunc_impl_list): Likewise.
3148
3149 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3150
3151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3152         file.
3153         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3154         multiarch strncasecmp for PPC32.
3155         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3156         file.
3157         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3158         multiarch strncasecmp_l for PPC32.
3159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3160         strncasecmp multiarch objects.
3161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3162         (__libc_ifunc_impl_list): Likewise.
3163
3164 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3165
3166         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3167         file.
3168         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3169         multiarch strncasecmp for PPC32.
3170         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3171         New file.
3172         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3173         multiarch strcasecmp_l for PPC32.
3174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3175         multiarch objects.
3176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3177         (__libc_ifunc_impl_list): Likewise.
3178
3179 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3180
3181         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3182         file.
3183         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3184         file.
3185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3186         multiarch strncmp for PPC32.
3187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3188         multiarch objects.
3189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3190         (__libc_ifunc_impl_list): Likewise.
3191
3192 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3193
3194         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3195         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3196         file.
3197         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3198         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3200         multiarch objects.
3201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3202         (__libc_ifunc_impl_list): Likewise.
3203
3204 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3205
3206         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3207         file.
3208         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3209         file.
3210         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3212         multiarch objects.
3213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3214         (__libc_ifunc_impl_list): Likewise.
3215
3216 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3217
3218         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3219         file.
3220         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3221         file.
3222         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3223         multiarch rawmemchr for PPC32.
3224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3225         multiarch objects.
3226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3227         (__libc_ifunc_impl_list): Likewise.
3228
3229 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3230
3231         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3232         file.
3233         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3234         file.
3235         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3236         file: memrchr multiarch for PPC32.
3237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3238         multiarch objects.
3239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3240         (__libc_ifunc_impl_list): Likewise.
3241
3242 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3243
3244         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3246         file.
3247         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3248         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3249         multiarch memchr for PPC32.
3250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3251         multiarch objects.
3252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3253         (__libc_ifunc_impl_list): Likewise.
3254
3255 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3256
3257         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3258         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3259         file.
3260         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3261         file.
3262         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3263         file: multiarch mempcpy for PPC32.
3264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3265         multiarch objects.
3266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3267         (__libc_ifunc_impl_list): Likewise.
3268
3269 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3270
3271         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3272         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3273         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3274         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3275         multiarch bzero for PPC32.
3276         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3277         file.
3278         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3279         file.
3280         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3281         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3282         file: multiarch memset for PPC32.
3283         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3285         memset multiarch objects.
3286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3287         (__libc_ifunc_impl_list): Likewise.
3288
3289 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3290
3291         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3292         file.
3293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3295         memcmp for PPC32.
3296         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3298         multiarch objects.
3299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3300         (__libc_ifunc_impl_list): Likewise.
3301
3302 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3303
3304         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3305         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3307         file.
3308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3309         file.
3310         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3311         file.
3312         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3313         multiarch memcpy for PPC32.
3314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3315         multiarch objects.
3316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3317         (__libc_ifunc_impl_list): Likewise.
3318
3319 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3320
3321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3322         support multiarch for POWER/PPC32.
3323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3324         Likewise.
3325         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3327         Implies file to make multiarch folder appers before the fpu and
3328         default folder for power4 configuration.
3329
3330 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3331
3332         * scripts/bench.pl: Append volatile keyword to type.
3333
3334 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3335
3336         * sysdeps/sh/sotruss-lib.c: New file.
3337         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3338
3339 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3340
3341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3342
3343 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3344
3345         [BZ #6810]
3346         * math/w_tgamma.c: Include <errno.h>.
3347         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3348         * math/w_tgammaf.c: Include <errno.h>.
3349         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3350         * math/w_tgammal.c: Include <errno.h>.
3351         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3352         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3353         underflow.  Add more tgamma tests.
3354         * math/auto-libm-test-out: Regenerated.
3355         * sysdeps/i386/fpu/libm-test-ulps: Update.
3356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3357
3358         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3359         sin, sinh, tan, tanh, tgamma, y0 and y1.
3360         * math/auto-libm-test-out: Regenerated.
3361         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3362         (TEST_COND_x86): Likewise.
3363         (M_E2l): Remove macro.
3364         (M_E3l): Likewise.
3365         (M_2_SQRT_PIl): Likewise.
3366         (M_SQRT_PIl): Likewise.
3367         (M_1_DIV_El): Likewise.
3368         (log_test_data): Use AUTO_TESTS_f_f.
3369         (log10_test_data): Likewise.
3370         (log1p_test_data): Likewise.
3371         (log2_test_data): Likewise.
3372         (sin_test_data): Likewise.
3373         (sin_tonearest_test_data): Likewise.
3374         (sin_towardzero_test_data): Likewise.
3375         (sin_downward_test_data): Likewise.
3376         (sin_upward_test_data): Likewise.
3377         (sinh_test_data): Likewise.
3378         (sinh_tonearest_test_data): Likewise.
3379         (sinh_towardzero_test_data): Likewise.
3380         (sinh_downward_test_data): Likewise.
3381         (sinh_upward_test_data): Likewise.
3382         (tan_test_data): Likewise.
3383         (tan_tonearest_test_data): Likewise.
3384         (tan_towardzero_test_data): Likewise.
3385         (tan_downward_test_data): Likewise.
3386         (tan_upward_test_data): Likewise.
3387         (tanh_test_data): Likewise.
3388         (tgamma_test_data): Likewise.
3389         (y0_test_data): Likewise.
3390         (y1_test_data): Likewise.
3391         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3392         (special_real_inputs): Add pi/4.
3393         * sysdeps/i386/fpu/libm-test-ulps: Update.
3394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3395
3396 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3397
3398         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3399         "longjmp_target" static probes.
3400         (__longjmp): Rename to __longjmp_symbol.
3401         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3402         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3403         on which longjmp to generate.
3404         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3405         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3406         probe.
3407         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3408         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3409         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3410         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3411         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3412         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3414         __longjmp_symbol based on which __longjmp to generate.
3415         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3416         probe.
3417         (setjmp): Rename to setjmp_symbol.
3418         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3419         (_setjmp): Rename to _setjmp_symbol.
3420         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3421         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3422         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3423         which setjmp to generate.
3424         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3425         "longjmp_target" static probes.
3426
3427 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3428
3429         * benchtests/README: Add note about output arguments.
3430         * benchtests/bench-sincos.c: Remove file.
3431         * benchtests/sincos-inputs: New file.
3432         * scripts/bench.pl: Identify output arguments and define
3433         static variables for them.
3434
3435         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3436
3437         [BZ #15941]
3438         * Makefile (INSTALL): Add install-plain.texi as the primary
3439         dependency.
3440         * manual/install-plain.texi: New file.
3441         * manual/install.texi: Include node directive only for
3442         non-plaintext output.
3443
3444 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3445
3446         * stdlib/longlong.h: Update from GCC.
3447
3448         [BZ #6807]
3449         [BZ #15901]
3450         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3451         * math/w_j0f.c (y0f): Likewise.
3452         * math/w_j0l.c (__y0l): Likewise.
3453         * math/w_j1.c (y1): Likewise.
3454         * math/w_j1f.c (y1f): Likewise.
3455         * math/w_j1l.c (__y1l): Likewise
3456         * math/w_jn.c (yn): Likewise.
3457         * math/w_jnf.c (ynf): Likewise.
3458         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3459         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3460         value for Bessel function domain errors outside _SVID_ mode.
3461         Adjust sign of return value for yn (negative integer, 0).
3462         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3463         by zero in return for negative x and set sign appropriately for
3464         negative n.
3465         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3466         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3467         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3468         expectations in error cases.
3469         (y1_test_data): Likewise.
3470         (yn_test_data): Likewise.
3471         * sysdeps/i386/fpu/libm-test-ulps: Update.
3472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3473
3474 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3475
3476         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3477         "64" to "64-v1".  Add "64-v2".
3478         (abi-64-options): Rename to ...
3479         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3480         (abi-64-condition): Rename to ...
3481         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3482         (abi-64-ld-soname): Rename to ...
3483         (abi-64-v1-ld-soname): ... this.
3484         (abi-64-v2-options): Define.
3485         (abi-64-v2-condition): Likewise.
3486         (abi-64-v2-ld-soname): Likewise.
3487         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3488         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3492
3493 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3494             Alan Modra  <amodra@gmail.com>
3495
3496         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3497         New versions for use with the ELFv2 ABI.
3498         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3499         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3500         declaration.
3501         (struct La_ppc64v2_retval): Likewise.
3502         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3503         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3504         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3505         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3506         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3507         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3508         Do not save or restore CR.
3509         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3510         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3511         return values for ELFv2 ABI.  Fix location of FPR return registers.
3512         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3513         updated values for _CALL_ELF == 2.
3514         (La_regs, La_retval, int_retval): Likewise.
3515
3516 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3517
3518         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3519         (FRAME_MIN_SIZE_PARM): Likewise.
3520         (FRAME_BACKCHAIN): Likewise.
3521         (FRAME_CR_SAVE): Likewise.
3522         (FRAME_LR_SAVE): Likewise.
3523         (FRAME_TOC_SAVE): Likewise.
3524         (FRAME_PARM_SAVE): Likewise.
3525         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3526         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3527         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3528         (call_mcount_parm_offset): New macro.
3529         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3530         (PROF): Use symbolic stack frame offsets.
3531         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3532         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3533         Redefine in terms of FRAME_MIN_SIZE.
3534         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3535         (_dl_profile_resolve): Likewise.  Update comment.
3536         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3537         symbols stack frame offsets.
3538         (__sigsetjmp): Likewise.
3539         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3540         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3541         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3542         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3543
3544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3545         (FRAME_BACKCHAIN): Remove.
3546         (FRAME_CR_SAVE): Likewise.
3547         (FRAME_LR_SAVE): Likewise.
3548         (FRAME_COMPILER_DW): Likewise.
3549         (FRAME_LINKER_DW): Likewise.
3550         (FRAME_TOC_SAVE): Likewise.
3551         (FRAME_PARM_SAVE): Likewise.
3552         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3553         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3554         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3556         (CHECK_SP): Use symbolic stack frame offsets.
3557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3558         zone" instead of caller's parameter save area for temp storage.
3559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3560         Likewise.  Also, use symbolic stack frame offsets.
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3562         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3563         our own stack frame instead of the caller's.
3564         (__socket): Use symbolic stack frame offsets.
3565
3566 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3567             Alan Modra  <amodra@gmail.com>
3568
3569         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3570         Define.
3571         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3572         PPC64_LOCAL_ENTRY_OFFSET): Define.
3573         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3574         New function.
3575         (elf_machine_fixup_plt): Call it.
3576         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3577         reloc arguments.
3578         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3579         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3580         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3581         r2 before calling target.
3582
3583 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3584             Alan Modra  <amodra@gmail.com>
3585
3586         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3587         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3588         versions of macros to support ELFv2 ABI.
3589         (LOCALENTRY): New macro.
3590         (ENTRY, EALIGN): Use it.
3591         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3592         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3593         fall through into ENTRY entry point.
3594         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3595         Only define if _CALL_ELF != 2.
3596
3597         (elf_machine_matches_host): Verify ABI version matches.
3598         (RTLD_START): Use LOCALENTRY.
3599         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3600         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3601         (PLT_ENTRY_WORDS): New macro.
3602         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3603         (elf_machine_runtime_setup): Support ELFv2 ABI.
3604         (elf_machine_fixup_plt): Likewise.
3605         (elf_machine_plt_conflict): Likewise.
3606         (resolve_ifunc): Likewise.
3607         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3608         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3609         Likewise.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3611         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3613         (makecontext): Support ELFv2 ABI.
3614         * elf/elf.h (EF_PPC64_ABI): Define.
3615
3616 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3617
3618         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3619         New assembler macro.
3620         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3621         [ASSEMBLER] (ENTRY): ... but instead here ...
3622         [ASSEMBLER] (EALIGN): ... and here.
3623         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3624         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3625         [!ASSEMBLER] (ENTRY_2): Use it.
3626         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3627         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3628         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3629         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3630         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3632         Use PPC64_LOAD_FUNCPTR.
3633
3634 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3635
3636         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3637
3638 2013-12-04  Alan Modra  <amodra@gmail.com>
3639
3640         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3641         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3642         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3643         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3644
3645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3646         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3647         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3648         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3649         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3650         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3651
3652 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3653
3654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3655         (__makecontext): Fix incorrect CFI when backtracing out of
3656         context created via makecontext.
3657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3658         (__setcontext): Fix incorrect CFI during switch to new context.
3659         (__novec_setcontext): Likewise.
3660
3661 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3662
3663         [BZ #4772]
3664         * time/strptime_l.c (__strptime_internal): Allow modifiers
3665         in strptime.
3666         * time/tst-strptime.c (day_tests): Add testcase.
3667
3668
3669 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3670
3671         * scripts/bench.pl: Skip over blank lines.
3672
3673 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3674
3675         [BZ #926]
3676         * manual/time.texi (Calendar Time): Clarify what timezone functions
3677         use.
3678
3679 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3680
3681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3682
3683 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3684
3685         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3686         implementation.
3687         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3688         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3689         * debug/memset_chk.c (__memset_chk): Likewise.
3690         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3691         * debug/strncpy_chk.c: Likewise.
3692
3693 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3694
3695         [BZ #15268]
3696         [BZ #15425]
3697         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3698         (__ieee754_exp): For possibly underflowing results, check size of
3699         result and force underflow exception if required.
3700         * math/auto-libm-test-in: Add more tests of exp.
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         [BZ #16283]
3706         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3707         * math/w_exp2f.c (__exp2f): Likewise.
3708         * math/w_exp2l.c (__exp2l): Likewise.
3709         * math/auto-libm-test-in: Do not allow missing errno on exp2
3710         underflow.
3711         * math/auto-libm-test-out: Regenerated.
3712
3713 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3714
3715         [BZ #16274]
3716         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3717         handle filename validation.
3718         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3719         (do_open): Delete.
3720
3721 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3722
3723         [BZ #6786]
3724         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3725         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3726         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3727         <float.h>.
3728         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3729         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3730         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3731         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3732         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3733         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3734         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3735         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3736         Add more erfc tests.
3737         * math/auto-libm-test-out: Regenerated.
3738         * sysdeps/i386/fpu/libm-test-ulps: Update.
3739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3740
3741         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3742         exp2, expm1, j0 and j1.
3743         * math/auto-libm-test-out: Regenerated.
3744         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3745         (erfc_test_data): Likewise.
3746         (exp_test_data): Likewise.
3747         (exp_tonearest_test_data): Likewise.
3748         (exp_towardzero_test_data): Likewise.
3749         (exp_downward_test_data): Likewise.
3750         (exp_upward_test_data): Likewise.
3751         (exp10_test_data): Likewise.
3752         (exp2_test_data): Likewise.
3753         (expm1_test_data): Likewise.
3754         (j0_test_data): Likewise.
3755         (j1_test_data): Likewise.
3756         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3757         (input_flag_type): Add flag_xfail_rounding.
3758         (input_flags): Add xfail-rounding.
3759         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3760         (output_for_one_input_case): Handle flag_xfail_rounding.
3761         * sysdeps/i386/fpu/libm-test-ulps: Update.
3762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3763
3764 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3765
3766         [BZ #16289]
3767         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3768         division by 0.
3769
3770 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3771
3772         [BZ #16195]
3773         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3774         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3775         (STAP_PROBE0): New macro.
3776         (STAP_PROBE1): Likewise.
3777         (STAP_PROBE2): Likewise.
3778         (STAP_PROBE3): Likewise.
3779         (STAP_PROBE4): Likewise.
3780
3781 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3782
3783         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3784
3785 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3786
3787         * benchtests/Makefile (bench): Add sqrt.
3788         (LDLIBS-bench-sqrt): New.
3789         * benchtests/sqrt-input: New.
3790
3791 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3792
3793         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3794         (GAIH_EAI): Likewise.
3795         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3796         (gaih_inet): Likewise.
3797         (getaddrinfo): Don't use GAIH_EAI.
3798
3799         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3800         (struct gaih): Remove definition.
3801
3802 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3803
3804         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3805         Use HERRNOP directly.
3806
3807 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3808
3809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3810
3811 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3812
3813         * math/gen-auto-libm-tests.c (test_functions): Add more
3814         single-argument functions.
3815         (special_fill_pi_2): New function.
3816         (special_fill_minus_pi_2): Likewise.
3817         (special_fill_pi_6): Likewise.
3818         (special_fill_minus_pi_6): Likewise.
3819         (special_fill_pi_3): Likewise.
3820         (special_fill_2pi_3): Likewise.
3821         (special_fill_e): Likewise.
3822         (special_fill_1_e): Likewise.
3823         (special_fill_e_minus_1): Likewise.
3824         (special_real_inputs): Add more special inputs.
3825         (output_for_one_input_case): Do not require ERANGE on underflow to
3826         zero if round-to-nearest result does not underflow to zero, unless
3827         exact results required.
3828         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3829         atan, atanh, cbrt, cos and cosh.
3830         * math/auto-libm-test-out: Regenerated.
3831         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3832         (acos_tonearest_test_data): Likewise.
3833         (acos_towardzero_test_data): Likewise.
3834         (acos_downward_test_data): Likewise.
3835         (acos_upward_test_data): Likewise.
3836         (acosh_test_data): Likewise.
3837         (asin_test_data): Likewise.
3838         (asin_tonearest_test_data): Likewise.
3839         (asin_towardzero_test_data): Likewise.
3840         (asin_upward_test_data): Likewise.
3841         (asinh_test_data): Likewise.
3842         (atan_test_data): Likewise.
3843         (atanh_test_data): Likewise.
3844         (cbrt_test_data): Likewise.
3845         (cos_test_data): Likewise.
3846         (cos_tonearest_test_data): Likewise.
3847         (cos_towardzero_test_data): Likewise.
3848         (cos_downward_test_data): Likewise.
3849         (cos_upward_test_data): Likewise.
3850         (cosh_test_data): Likewise.
3851         (cosh_tonearest_test_data): Likewise.
3852         (cosh_towardzero_test_data): Likewise.
3853         (cosh_downward_test_data): Likewise.
3854         (cosh_upward_test_data): Likewise.
3855         * sysdeps/i386/fpu/libm-test-ulps: Update.
3856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3857
3858 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3859
3860         [BZ #6787]
3861         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3862         * math/w_exp10f.c (__exp10f): Likewise.
3863         * math/w_exp10l.c (__exp10l): Likewise.
3864         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3865         errno settings in existing tests.
3866
3867         [BZ #14032]
3868         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3869         precision control set to double precision.
3870         * sysdeps/i386/fpu/w_sqrt.c: New file.
3871         * math/auto-libm-test-in: Add more tests.
3872         * math/auto-libm-test-out: Update.
3873
3874         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3875         (sqrt_test_tonearest): New function.
3876         (sqrt_towardzero_test_data): New variable.
3877         (sqrt_test_towardzero): New function.
3878         (sqrt_downward_test_data): New variable.
3879         (sqrt_test_downward): New function.
3880         (sqrt_upward_test_data): New variable.
3881         (sqrt_test_upward): New function.
3882         (main): Call the new functions.
3883
3884         * math/gen-auto-libm-tests.c: New file.
3885         * math/auto-libm-test-in: Likewise.
3886         * math/auto-libm-test-out: New generated file.
3887         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3888         variables.
3889         (%beautify): Add generated representations of zero.
3890         (top level): Set $auto_input and call parse_auto_input.
3891         (beautify): Remove trailing "f" from hex float constants.
3892         (parse_args): Handle XFAIL_TEST.
3893         (convert_condition): New function.
3894         (or_value): Likewise.
3895         (or_cond_value): Likewise.
3896         (generate_testfile): Handle AUTO_TESTS_* lines.
3897         (parse_auto_input): New function.
3898         * math/libm-test.inc (XFAIL_TEST): New macro.
3899         (ERRNO_UNCHANGED): Update value.
3900         (ERRNO_EDOM): Likewise.
3901         (ERRNO_ERANGE): Likewise.
3902         (IGNORE_RESULT): Likewise.
3903         (TEST_COND_flt_32): New macro.
3904         (TEST_COND_dbl_64): Likewise.
3905         (TEST_COND_ldbl_96_intel): Likewise.
3906         (TEST_COND_ldbl_96_m68k): Likewise.
3907         (TEST_COND_ldbl_128): Likewise.
3908         (TEST_COND_ldbl_128ibm): Likewise.
3909         (TEST_COND_long32): Likewise.
3910         (TEST_COND_long64): Likewise.
3911         (TEST_COND_before_rounding): Likewise.
3912         (TEST_COND_after_rounding): Likewise.
3913         (enable_test): Handle XFAIL_TEST flag.
3914         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3915         with finite results.
3916         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3917         auto-libm-test-out.
3918
3919 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3920             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3921
3922         [BZ #16214]
3923         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3924         __tls_get_addr_internal instead of __tls_get_offset in order to
3925         avoid GOT pointer dependency.  Make rtld export
3926         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3927         __tls_get_addr since we are a __tls_get_offset platform.
3928         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3929         GOT pointer being set up before.
3930         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3931
3932 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3933
3934         * manual/math.texi (Errors in Math Functions): Document accuracy
3935         goals.
3936
3937         [BZ #15004]
3938         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3939         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3940         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3941         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3942         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3943         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3944         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3945         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3946         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3947         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3948         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3949         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3950         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3951         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3952         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3953         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3954
3955         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3956         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3957         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3958         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3959         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3960         Likewise.
3961         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3962         Likewise.
3963         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3964         Likewise.
3965         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3966         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3967         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3968         atomic-feupdateenv and flt-rounds.
3969         * sysdeps/powerpc/nofpu/Versions (libc): Add
3970         __atomic_feholdexcept, __atomic_feclearexcept,
3971         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3972         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3973         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3974         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3975         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3976         here.
3977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3978         Update.
3979
3980         * manual/arith.texi (FP Exceptions): Document that exceptions may
3981         not be raised when matherr is used.
3982         (Math Error Reporting): Document overflow in directed rounding
3983         modes.  Document that errno may not be set when finite values are
3984         returned on overflow.  Document intent to set errno on underflow
3985         only for underflow to zero.
3986
3987         [BZ #16271]
3988         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3989         round-to-nearest then adjust result for other rounding modes.
3990         * include/fenv.h (fegetround): Use libm_hidden_proto.
3991         * math/fegetround.c (fegetround): Use libm_hidden_def.
3992         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3993         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3994         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3995         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3996         Likewise.
3997         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3998         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3999         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4000         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4001
4002 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4003
4004         [BZ #16077]
4005         * nss/Versions (libnss_files): Add
4006         _nss_files_gethostbyname3_r.
4007         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4008         New function.
4009         (HOST_DB_LOOKUP): Remove macro.
4010         (_nss_files_gethostbyname_r): Implement function without the
4011         HOST_DB_LOOKUP macro.
4012         (_nss_files_gethostbyname2_r): Likewise.
4013
4014 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
4015
4016         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4017
4018 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
4019
4020         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4021         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4022         warning.
4023
4024 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4025
4026         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4027         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4028         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4029         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4030         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4031         __fe_nomask_env_priv and attribute_hidden.
4032         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4033         (libc_feupdateenv_test_ppc): Likewise.
4034         (libc_feresetround_ppc): Likewise.
4035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4036         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4037         compat_symbol macro.
4038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4039         (__fe_nomask_env): Likewise.
4040         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4041
4042 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4043
4044         * string/Makefile: Remove ifunc tests.
4045         * string/test-string.h: Define TEST_IFUNC.
4046         * string/test-bcopy-ifunc.c: Remove.
4047         * string/test-bzero-ifunc.c: Likewise.
4048         * string/test-memccpy-ifunc.c: Likewise.
4049         * string/test-memchr-ifunc.c: Likewise.
4050         * string/test-memcmp-ifunc.c: Likewise.
4051         * string/test-memcpy-ifunc.c: Likewise.
4052         * string/test-memmem-ifunc.c: Likewise.
4053         * string/test-memmove-ifunc.c: Likewise.
4054         * string/test-mempcpy-ifunc.c: Likewise.
4055         * string/test-memrchr-ifunc.c: Likewise.
4056         * string/test-memset-ifunc.c: Likewise.
4057         * string/test-rawmemchr-ifunc.c: Likewise.
4058         * string/test-stpcpy-ifunc.c: Likewise.
4059         * string/test-stpncpy-ifunc.c: Likewise.
4060         * string/test-strcasecmp-ifunc.c: Likewise.
4061         * string/test-strcasestr-ifunc.c: Likewise.
4062         * string/test-strcat-ifunc.c: Likewise.
4063         * string/test-strchr-ifunc.c: Likewise.
4064         * string/test-strchrnul-ifunc.c: Likewise.
4065         * string/test-strcmp-ifunc.c: Likewise.
4066         * string/test-strcpy-ifunc.c: Likewise.
4067         * string/test-strcspn-ifunc.c: Likewise.
4068         * string/test-strlen-ifunc.c: Likewise.
4069         * string/test-strncasecmp-ifunc.c: Likewise.
4070         * string/test-strncat-ifunc.c: Likewise.
4071         * string/test-strncmp-ifunc.c: Likewise.
4072         * string/test-strncpy-ifunc.c: Likewise.
4073         * string/test-strnlen-ifunc.c: Likewise.
4074         * string/test-strpbrk-ifunc.c: Likewise.
4075         * string/test-strrchr-ifunc.c: Likewise.
4076         * string/test-strspn-ifunc.c: Likewise.
4077         * string/test-strstr-ifunc.c: Likewise.
4078
4079 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4080
4081         * benchtests/Makefile: Remove ifunc tests.
4082         * benchtests/bench-string.h: Define TEST_IFUNC.
4083         * benchtests/bench-bcopy-ifunc.c: Remove.
4084         * benchtests/bench-bzero-ifunc.c: Likewise.
4085         * benchtests/bench-memccpy-ifunc.c: Likewise.
4086         * benchtests/bench-memchr-ifunc.c: Likewise.
4087         * benchtests/bench-memcmp-ifunc.c: Likewise.
4088         * benchtests/bench-memcpy-ifunc.c: Likewise.
4089         * benchtests/bench-memmem-ifunc.c: Likewise.
4090         * benchtests/bench-memmove-ifunc.c: Likewise.
4091         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4092         * benchtests/bench-memrchr-ifunc.c: Likewise.
4093         * benchtests/bench-memset-ifunc.c: Likewise.
4094         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4095         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4096         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4097         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4098         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4099         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4100         * benchtests/bench-strcat-ifunc.c: Likewise.
4101         * benchtests/bench-strchr-ifunc.c: Likewise.
4102         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4103         * benchtests/bench-strcmp-ifunc.c: Likewise.
4104         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4105         * benchtests/bench-strcpy-ifunc.c: Likewise.
4106         * benchtests/bench-strcspn-ifunc.c: Likewise.
4107         * benchtests/bench-strlen-ifunc.c: Likewise.
4108         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4109         * benchtests/bench-strncat-ifunc.c: Likewise.
4110         * benchtests/bench-strncmp-ifunc.c: Likewise.
4111         * benchtests/bench-strncpy-ifunc.c: Likewise.
4112         * benchtests/bench-strnlen-ifunc.c: Likewise.
4113         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4114         * benchtests/bench-strrchr-ifunc.c: Likewise.
4115         * benchtests/bench-strsep-ifunc.c: Likewise.
4116         * benchtests/bench-strspn-ifunc.c: Likewise.
4117         * benchtests/bench-strstr-ifunc.c: Likewise.
4118
4119 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4120
4121         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4122
4123 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4124
4125         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4126         * rt/aio.h: Likewise.
4127         * sysdeps/gnu/bits/utmp.h: Likewise.
4128         * sysdeps/gnu/bits/utmpx.h: Likewise.
4129         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4130         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4131         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4132         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4133         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4134         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4135         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4136         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4137         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4138         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4139         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4140         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4141         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4143         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4144         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4145         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4146         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4147         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4148         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4149         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4150         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4151         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4152         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4153         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4154         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4155         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4156         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4157         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4158         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4159         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4160         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4161         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4162         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4163         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4164         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4165         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4166         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4167         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4168         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4169         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4170         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4171
4172 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4173
4174         [BZ #16245]
4175         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4176         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4177
4178 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4179
4180         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4181         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4182         Likewise.
4183
4184 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4185
4186         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4187         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4188         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4189         (__fesetround): Remove define.
4190         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4191         rounding and exceptions handling.
4192         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4193         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4194         (__fe_nomask_env): Likewise.
4195         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4196         __fegetround instead of fegetround.
4197         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4198         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4199
4200 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4201
4202         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4203         it's there.
4204
4205         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4206
4207 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4208
4209         [BZ #11157]
4210         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4211         (encrypt_r): Likewise.
4212         * malloc/obstack.h (obstack_free): Likewise.
4213         * posix/unistd.h (encrypt): Likewise.
4214
4215 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4216
4217         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4218         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4219         DL_CALL_DT_FINI() that call the functions directly.
4220         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4221         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4222         * elf/dl-fini.c: Likewise.
4223
4224 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4225
4226         * malloc/hooks.c (memalign_check): Add alignment rounding.
4227         * malloc/malloc.c (_mid_memalign): New function.
4228         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4229         Implement by calling _mid_memalign.
4230         * manual/probes.texi (Memory Allocation Probes): Remove
4231         memory_valloc_retry and memory_pvalloc_retry.
4232
4233 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4234
4235         * locale/programs/locarchive.c (open_archive): Add const
4236         qualifier to ARCHIVEFNAME and copy default fname to
4237         DEFAULT_FNAME.
4238
4239         [BZ #15601]
4240         * libio/tst-widetext.input: Rename Oriya to Odia.
4241         * locale/iso-639.def: Likewise.
4242
4243         * manual/probes.texi (Mathematical Function Probes): Add
4244         documentation for sin, cos, asin and acos probes.
4245         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4246         (__sin32): Add slowasin probe.
4247         (__cos32): Add slowacos probe.
4248         (__mpsin): Add slowsin probe.
4249         (__mpcos): Add slowcos probe.
4250
4251 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4252
4253         [BZ #15483]
4254         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4255         thread-local __sim_exceptions_thread and global
4256         __sim_exceptions_global.
4257         (__sim_disabled_exceptions): Change to thread-local
4258         __sim_disabled_exceptions_thread and global
4259         __sim_disabled_exceptions_global.
4260         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4261         and global __sim_round_mode_global.
4262         (__simulate_exceptions): Use thread-local floating-point state and
4263         set global state from it as needed.
4264         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4265         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4266         __sim_round_mode_thread.
4267         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4268         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4269         and global __sim_exceptions_global.
4270         (__sim_disabled_exceptions): Change to thread-local
4271         __sim_disabled_exceptions_thread and global
4272         __sim_disabled_exceptions_global.
4273         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4274         and global __sim_round_mode_global.
4275         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4276         (SIM_SET_GLOBAL): Likewise.
4277         * sysdeps/powerpc/soft-fp/sfp-machine.h
4278         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4279         __sim_round_mode_thread.
4280         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4281         __sim_disabled_exceptions_thread.
4282         (__sim_exceptions): Change to __sim_exceptions_thread.
4283         (__sim_disabled_exceptions): Change to
4284         __sim_disabled_exceptions_thread.
4285         (__sim_round_mode): Change to __sim_round_mode_thread.
4286         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4287         thread-local floating-point state and set global state from it as
4288         needed.
4289         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4290         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4291         (__sim_disabled_exceptions): Remove extern declaration.
4292         (feenableexcept): Use thread-local floating-point state and set
4293         global state from it as needed.
4294         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4295         extern declaration.
4296         (__sim_disabled_exceptions): Likewise.
4297         (__sim_round_mode): Likewise.
4298         (__fegetenv): Use thread-local floating-point state.
4299         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4300         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4301         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4302         floating-point state and set global state from it as needed.
4303         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4304         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4305         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4306         Likewise.
4307         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4308         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4309         Likewise.
4310         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4311         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4312         Use __sim_round_mode_thread.
4313         * math/test-fenv-tls.c: New file.
4314         * math/Makefile (tests): Add test-fenv-tls.
4315         ($(objpfx)test-fenv-tls): Depend on
4316         $(common-objpfx)nptl/libpthread.so.
4317
4318 2013-11-19  Andreas Schwab  <schwab@suse.de>
4319
4320         * locale/programs/locale.c (show_info): Decode wordarray elements.
4321         * locale/categories.def (LC_MONETARY): Add element for
4322         _NL_MONETARY_CRNCYSTR.
4323         * locale/C-monetary.c (conversion_rate): New variable.
4324         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4325         element.
4326
4327 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
4328
4329         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4330         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4331
4332 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4333
4334         * elf/Makefile (tst-auxv): New test.
4335         * elf/tst-auxv.c: New
4336         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4337
4338 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4339
4340         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4341         (hidden_proto): Caller changed.
4342         (hidden_tls_proto): New macro.
4343         (libc_hidden_tls_proto): Likewise.
4344         (rtld_hidden_tls_proto): Likewise.
4345         (libm_hidden_tls_proto): Likewise.
4346         (libresolv_hidden_tls_proto): Likewise.
4347         (librt_hidden_tls_proto): Likewise.
4348         (libdl_hidden_tls_proto): Likewise.
4349         (libnss_files_hidden_tls_proto): Likewise.
4350         (libnsl_hidden_tls_proto): Likewise.
4351         (libnss_nisplus_hidden_tls_proto): Likewise.
4352         (libutil_hidden_tls_proto): Likewise.
4353
4354 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4355
4356         [BZ #10253]
4357         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4358         (decompose_rpath): Defer expansion to fillin_rpath.
4359         (_dl_init_paths): Pass linkmap to fillin_rpath.
4360
4361 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4362
4363         * benchtests/Makefile: Add strsep.
4364         * benchtests/bench-strsep.c: New file: strsep benchtest.
4365         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4366
4367 2013-11-18  Andreas Schwab  <schwab@suse.de>
4368
4369         * locale/programs/locale.c (show_info) [case byte]: Check for
4370         '\377' instead of '\177'.
4371         * locale/C-monetary.c (not_available): Always use "\377".
4372         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4373         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4374         detect unavailable sign_posn locale elements.
4375         * locale/localeconv.c (__localeconv): For grouping and
4376         mon_grouping handle "\177" and "\377" like no grouping.
4377         (INT_ELEM): New macro.  Use it to set all numeric members.
4378         * locale/programs/ld-monetary.c (monetary_read)
4379         <tok_mon_grouping>: Normalize single -1 to the empty string.
4380         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4381         Likewise.
4382
4383 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4384
4385         [BZ #16055]
4386         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4387         when we match (nil).
4388         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4389
4390 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4391
4392         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4393         (NO_TEST_INLINE): Update value.
4394         (ERRNO_UNCHANGED): Likewise.
4395         (ERRNO_EDOM): Likewise.
4396         (ERRNO_ERANGE): Likewise.
4397         (IGNORE_RESULT): Likewise.
4398         (check_float_internal): Check signs of NaN results if
4399         TEST_NAN_SIGN used.
4400         (check_complex): Pass TEST_NAN_SIGN flag through to second
4401         check_float_internal call.
4402         (copysign_test_data): Add tests with quiet NaNs as second
4403         argument.  Use TEST_NAN_SIGN.
4404         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4405         TEST_NAN_SIGN.
4406         (signbit_test_data): Add tests of quiet NaN argument.
4407         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4408
4409         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4410         $ignore_result.
4411         (parse_args): Handle function results specified as IGNORE.
4412         * math/libm-test.inc (IGNORE_RESULT): New macro.
4413         (check_float_internal): Do not check numerical result if flag
4414         IGNORE_RESULT set.
4415         (check_complex): Pass through IGNORE_RESULT to second
4416         check_float_internal call.
4417         (check_int): Do not check numerical result if flag IGNORE_RESULT
4418         set.
4419         (check_long): Likewise.
4420         (check_bool): Likewise.
4421         (check_longlong): Likewise.
4422         (lrint_test_data): Add tests of infinite and NaN arguments.
4423         (lrint_tonearest_test_data): Likewise.
4424         (lrint_towardzero_test_data): Likewise.
4425         (lrint_downward_test_data): Likewise.
4426         (lrint_upward_test_data): Likewise.
4427         (llrint_test_data): Likewise.
4428         (llrint_tonearest_test_data): Likewise.
4429         (llrint_towardzero_test_data): Likewise.
4430         (llrint_downward_test_data): Likewise.
4431         (llrint_upward_test_data): Likewise.
4432         (lround_test_data): Likewise.
4433         (llround_test_data): Likewise.
4434
4435         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4436         (ERRNO_UNCHANGED): Update value.
4437         (ERRNO_EDOM): Likewise.
4438         (ERRNO_ERANGE): Likewise.
4439         (NO_TEST_INLINE_FLOAT): New macro.
4440         (NO_TEST_INLINE_DOUBLE): Likewise.
4441         (enable_test): New function.
4442         (RUN_TEST_f_f): Check enable_test before running test.
4443         (RUN_TEST_2_f): Likewise.
4444         (RUN_TEST_fff_f): Likewise.
4445         (RUN_TEST_c_f): Likewise.
4446         (RUN_TEST_f_f1): Likewise.
4447         (RUN_TEST_fF_f1): Likewise.
4448         (RUN_TEST_fI_f1): Likewise.
4449         (RUN_TEST_ffI_f1): Likewise.
4450         (RUN_TEST_c_c): Likewise.
4451         (RUN_TEST_cc_c): Likewise.
4452         (RUN_TEST_f_i): Likewise.
4453         (RUN_TEST_f_i_tg): Likewise.
4454         (RUN_TEST_ff_i_tg): Likewise.
4455         (RUN_TEST_f_b): Likewise.
4456         (RUN_TEST_f_b_tg): Likewise.
4457         (RUN_TEST_f_l): Likewise.
4458         (RUN_TEST_f_L): Likewise.
4459         (RUN_TEST_fFF_11): Likewise.
4460         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4461         conditionals.
4462         (cosh_test_data): Likewise.
4463         (exp_test_data): Likewise.
4464         (expm1_test_data): Likewise.
4465         (hypot_test_data): Likewise.
4466         (pow_test_data): Likewise.
4467         (sinh_test_data): Likewise.
4468         (tanh_test_data): Likewise.
4469         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4470         flags argument.
4471
4472         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4473         tests with quiet NaN input and output.
4474         (acosh_test_data): Likewise.
4475         (asin_test_data): Likewise.
4476         (asinh_test_data): Likewise.
4477         (atan_test_data): Likewise.
4478         (atanh_test_data): Likewise.
4479         (atan2_test_data): Likewise.
4480         (cbrt_test_data): Likewise.
4481         (cos_test_data): Likewise.
4482         (cosh_test_data): Likewise.
4483         (erf_test_data): Likewise.
4484         (erfc_test_data): Likewise.
4485         (exp_test_data): Likewise.
4486         (exp10_test_data): Likewise.
4487         (exp2_test_data): Likewise.
4488         (expm1_test_data): Likewise.
4489         (hypot_test_data): Likewise.
4490         (j0_test_data): Likewise.
4491         (j1_test_data): Likewise.
4492         (jn_test_data): Likewise.
4493         (lgamma_test_data): Likewise.
4494         (log_test_data): Likewise.
4495         (log10_test_data): Likewise.
4496         (log1p_test_data): Likewise.
4497         (log2_test_data): Likewise.
4498         (pow_test_data): Likewise.
4499         (scalb_test_data): Likewise.
4500         (sin_test_data): Likewise.
4501         (sincos_test_data): Likewise.
4502         (sinh_test_data): Likewise.
4503         (tan_test_data): Likewise.
4504         (tanh_test_data): Likewise.
4505         (tgamma_test_data): Likewise.
4506         (y0_test_data): Likewise.
4507         (y1_test_data): Likewise.
4508         (yn_test_data): Likewise.
4509
4510         [BZ #16167]
4511         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4512         argument being NaN and avoid computations with second argument in
4513         that case.
4514         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4515         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4516         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4517
4518 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4519
4520         * locale/iso-639.def: Add Chitwani Tharu (the).
4521
4522 2013-11-14  Andreas Schwab  <schwab@suse.de>
4523
4524         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4525         word instead of empty string.
4526
4527 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4528
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4530         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4532         (__fe_nomask_env): Likewise.
4533
4534 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4535
4536         * benchtests/bench-timing.h: Include time.h.
4537
4538 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4539
4540         [BZ #15997]
4541         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4542         to 3.4.0 for x32.
4543         * sysdeps/unix/sysv/linux/configure: Regenerated.
4544
4545 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4546
4547         [BZ #16151]
4548         * stdlib/strtod_l.c (round_and_return): Do not consider
4549         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4550         exponent one less than half the least subnormal exponent.
4551         * stdlib/test-strtod-round-data: Add more tests.
4552         * stdlib/tst-strtod-round.c (tests): Regenerated.
4553
4554 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4555
4556         [BZ #14143]
4557         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4558         (__fe_mask_env): Likewise.
4559         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4560         libm_hidden_proto and add function prototype.
4561         (__fe_mask_env): Add function prototype.
4562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4563         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4565         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4567         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4568
4569 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4570
4571         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4572         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4573
4574 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4575
4576         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4577         of htab_find_slot().
4578
4579 2013-11-11  David S. Miller  <davem@davemloft.net>
4580
4581         [BZ #16150]
4582         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4583         symbol in the non-vis3 case in static builds.
4584         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4585         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4586         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4587         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4588
4589 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4590
4591         [BZ #387]
4592         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4593         it is empty.
4594
4595 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4596
4597         * benchtests/Makefile: Add bench-strtod.
4598         * benchtests/bench-strtod.c: New file: strtod benchtest
4599
4600 2013-11-11  Andreas Schwab  <schwab@suse.de>
4601
4602         [BZ #16153]
4603         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4604         terminating NUL in key length.
4605
4606 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4607
4608         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4609         Add artificial ODP entry for vDSO symbol for PPC64.
4610         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4611         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4612
4613 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4614
4615         [BZ #15374]
4616         * nss/getent.c (services_keys): Recognize services starting with digit.
4617
4618 2013-11-06  David S. Miller  <davem@davemloft.net>
4619
4620         [BZ #15985]
4621         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4622         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4623
4624 2013-11-06  Will Newton  <will.newton@linaro.org>
4625
4626         * manual/memory.texi (Malloc Examples): Remove register
4627         keyword from examples.
4628
4629 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4630
4631         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4632
4633 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4634
4635         [BZ #6981]
4636         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4637         depending on [__GCC_IEC_559 > 0].
4638         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4639         depending on [__GCC_IEC_559_COMPLEX > 0].
4640
4641 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4642
4643         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4644         to iso-639.def.
4645
4646 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4647
4648         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4649
4650 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4651
4652         [BZ #16112]
4653         * malloc/malloc (malloc_info): Do not handle first bin as
4654         special case.
4655
4656 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4657
4658         * locale/iso-639.def: Add Central Nahuatl (nhn).
4659
4660 2013-11-01  Bruno Haible  <bruno@clisp.org>
4661
4662         [BZ #7003]
4663         * manual/math.texi (BSD Random): Specify range upper bound as
4664         in POSIX.
4665
4666 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4667
4668         * locale/iso-639.def: Add Meadow Mari (mhr).
4669
4670 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4671
4672         [BZ #14752], [BZ #15763]
4673         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4674         Validate name.
4675         * rt/tst_shm.c: Add test for escaping directory.
4676
4677 2013-10-31  Andreas Schwab  <schwab@suse.de>
4678
4679         [BZ #15917]
4680         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4681         followed by 'x' as part of digit sequence.
4682         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4683
4684 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4685
4686         [BZ #16037]
4687         * configure.ac: allow GNU Make 4.0 and greater.
4688         * configure: Regenerated.
4689
4690 2013-10-30  Will Newton  <will.newton@linaro.org>
4691
4692         [BZ #16038]
4693         * malloc/hooks.c (memalign_check): Limit alignment to the
4694         maximum representable power of two.
4695         * malloc/malloc.c (__libc_memalign): Likewise.
4696         * malloc/tst-memalign.c (do_test): Add test for very
4697         large alignment values.
4698         * malloc/tst-posix_memalign.c (do_test): Likewise.
4699
4700 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4701
4702         [BZ #11087]
4703         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4704         (munmap_chunk): Likewise.
4705         (mremap_chunk): Likewise.
4706
4707 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4708
4709         [BZ #15799]
4710         * stdlib/div.c (div): Remove obsolete code.
4711         * stdlib/ldiv.c (ldiv): Likewise.
4712         * stdlib/lldiv.c (lldiv): Likewise.
4713
4714 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4715
4716         [BZ #16071]
4717         * nss/nss_files/files-XXX.c (get_contents_ret): New
4718         enumerator.
4719         (get_contents): New function.
4720         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4721
4722 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4723
4724         * configure.in: Moved to ...
4725         * configure.ac: ... here. Change reference to configure.in
4726         to configure.ac.
4727         * sysdeps/arm/preconfigure.ac: ... here.
4728         configure.in to configure.ac.
4729         * sysdeps/gnu/configure.in: Moved to ...
4730         * sysdeps/gnu/configure.ac: ... here.
4731         * sysdeps/i386/configure.in: Moved to ...
4732         * sysdeps/i386/configure.ac: ... here.
4733         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4734         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4735         * sysdeps/mach/configure.in: Moved to ...
4736         * sysdeps/mach/configure.ac: ... here.
4737         * sysdeps/mach/hurd/configure.in: Moved to ...
4738         * sysdeps/mach/hurd/configure.ac: ... here.
4739         * sysdeps/powerpc/configure.in: Moved to ...
4740         * sysdeps/powerpc/configure.ac: ... here.
4741         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4742         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4743         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4744         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4745         * sysdeps/s390/s390-32/configure.in: Moved to ...
4746         * sysdeps/s390/s390-32/configure.ac: ... here.
4747         * sysdeps/s390/s390-64/configure.in: Moved to ...
4748         * sysdeps/s390/s390-64/configure.ac: ... here.
4749         * sysdeps/sh/configure.in: Moved to ...
4750         * sysdeps/sh/configure.ac: ... here.
4751         * sysdeps/sparc/configure.in: Moved to ...
4752         * sysdeps/sparc/configure.ac: ... here.
4753         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4754         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4755         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4756         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4757         * sysdeps/x86_64/configure.in: Moved to ...
4758         * sysdeps/x86_64/configure.ac: ... here.
4759         * sysdeps/x86_64/preconfigure.in: Moved to ...
4760         * sysdeps/x86_64/preconfigure.ac: ... here.
4761         * aclocal.m4: Change reference to configure.in to configure.ac.
4762         * config.h.in: Likewise.
4763         * manual/install.texi: Likewise.
4764         * manual/maint.texi: Likewise.
4765         * Makefile: Likewise.
4766         * malloc/Makefile: Likewise.
4767         * nscd/Makefile: Likewise.
4768         * Makeconfig: Change reference to configure.in and
4769         preconfigure.in to configure.ac and preconfigure.ac
4770         respectively.
4771         * INSTALL: Regenerated.
4772         * configure: Likewise.
4773         * sysdeps/gnu/configure: Likewise.
4774         * sysdeps/i386/configure: Likewise.
4775         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4776         * sysdeps/mach/configure: Likewise.
4777         * sysdeps/mach/hurd/configure: Likewise.
4778         * sysdeps/powerpc/configure: Likewise.
4779         * sysdeps/powerpc/powerpc32/configure: Likewise.
4780         * sysdeps/powerpc/powerpc64/configure: Likewise.
4781         * sysdeps/s390/s390-32/configure: Likewise.
4782         * sysdeps/s390/s390-64/configure: Likewise.
4783         * sysdeps/sh/configure: Likewise.
4784         * sysdeps/sparc/configure: Likewise.
4785         * sysdeps/unix/sysv/linux/configure: Likewise.
4786         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4787         * sysdeps/x86_64/configure: Likewise.
4788         * sysdeps/x86_64/preconfigure: Likewise.
4789
4790 2013-10-29  Andreas Schwab  <schwab@suse.de>
4791
4792         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4793
4794 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4795
4796         * benchtests/pow-inputs: Add new inputs.
4797
4798         * benchtests/exp-inputs: Add new inputs.
4799
4800         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4801         conditional check for return value.
4802         (__cos32): Likewise.
4803
4804 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4805
4806         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4807         to provide a boost for large inputs with word alignment.
4808         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4809         implementation based on optimized PPC64 strcpy.
4810         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4811         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4812         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4813         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4814
4815 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4816
4817         [BZ #2801]
4818         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4819
4820 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4821
4822         [BZ #14876]
4823         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4824         * time/tst-strptime.c (day_tests): Add testcase.
4825
4826 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4827
4828         [BZ #14029]
4829         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4830
4831 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4832
4833         [BZ #16074]
4834         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4835         MAP_FAILED on error.
4836
4837 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4838
4839         [BZ #16072]
4840         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4841         heap for large requests.
4842
4843 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4844
4845         [BZ #9954]
4846         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4847         result if the result has no associated interface.
4848         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4849         interface for all 127.X.Y.Z addresses.
4850
4851 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4852
4853         * locale/iso-639.def: Add Ligurian (lij)
4854
4855 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4856
4857         [BZ #15825]
4858         * sunrpc/rpc_main.c: Document rpcgen -5.
4859
4860 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4861
4862         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4863
4864 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4865
4866         [BZ #10278]
4867         * posix/glob.c: Match only directories when trailing slash is present.
4868         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4869         (main): Add testcase.
4870
4871 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4872
4873         [BZ #15670]
4874         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4875
4876 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4877
4878         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4879         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4880         AUTH_DES and cindex for FIPS 140-2.
4881         (DES Encryption): Add cindex FIPS 46-3.
4882
4883         * locale/locarchive.h (struct locarhandle): Add fname.
4884         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4885         if an optional argument was specified to --list-archive,
4886         otherwise NULL.
4887         * locale/programs/locarchive.c (show_archive_content): Take new
4888         argument fname and pass it via ah.fname to open_archive.
4889         * locale/programs/localedef.h: Update decl.
4890         (open_archive): If AH->fname is non-null, open that file
4891         rather than the default file name, and don't ignore ENOENT.
4892         (create_archive): Set AH.fname to NULL.
4893         (delete_locales_from_archive): Likewise.
4894         (add_locales_to_archive): Likewise.
4895         * locale/programs/locfile.c (write_all_categories): Likewise.
4896
4897 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4898             Aldy Hernandez  <aldyh@redhat.com>
4899
4900         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4901         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4902         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4903         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4904         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4905         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4906         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4907         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4908         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4909         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4910         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4911         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4912         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4913         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4914         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4915         Likewise.
4916         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4917         Likewise.
4918         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4919         Likewise.
4920         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4921         Likewise.
4922         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4923         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4924         Likewise.
4925         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4926         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4927         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4928         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4929         Likewise.
4930         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4931         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4932         * sysdeps/powerpc/preconfigure: Likewise.
4933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4934         Likewise.
4935         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4936         Replace contents of file by #include of <fenv_libc.h>.
4937         * sysdeps/powerpc/soft-fp/sfp-machine.h
4938         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4939         and <sys/prctl.h>.
4940         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4941         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4942         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4943         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4944         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4945         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4948         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4949         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4950         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4951         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4953         Allow copysignl PLT reference to be missing.
4954
4955 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4956             Joseph Myers  <joseph@codesourcery.com
4957
4958         [BZ #15948]
4959         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4960         single character.
4961         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4962
4963 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4964
4965         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4966         * elf/tst-tls1.c: Likewise.
4967         * elf/tst-tls10.h: Likewise.
4968         * elf/tst-tls14.c: Likewise.
4969         * elf/tst-tls2.c: Likewise.
4970         * elf/tst-tls3.c: Likewise.
4971         * elf/tst-tls4.c: Likewise.
4972         * elf/tst-tls5.c: Likewise.
4973         * elf/tst-tls6.c: Likewise.
4974         * elf/tst-tls7.c: Likewise.
4975         * elf/tst-tls8.c: Likewise.
4976         * elf/tst-tls9.c: Likewise.
4977         * elf/tst-tlsmod1.c: Likewise.
4978         * elf/tst-tlsmod13.c: Likewise.
4979         * elf/tst-tlsmod13a.c: Likewise.
4980         * elf/tst-tlsmod14a.c: Likewise.
4981         * elf/tst-tlsmod16a.c: Likewise.
4982         * elf/tst-tlsmod16b.c: Likewise.
4983         * elf/tst-tlsmod2.c: Likewise.
4984         * elf/tst-tlsmod3.c: Likewise.
4985         * elf/tst-tlsmod4.c: Likewise.
4986         * elf/tst-tlsmod5.c: Likewise.
4987         * elf/tst-tlsmod6.c: Likewise.
4988
4989 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4990
4991         [BZ #12486]
4992         * malloc/malloc.c: remove checks for statistics.
4993
4994 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4995
4996         [BZ #15277]
4997         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4998         * inet/tst-network.c: Add testcase.
4999
5000 2013-10-17  Andreas Schwab  <schwab@suse.de>
5001
5002         [BZ #15218]
5003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5004         to determine canonical name.
5005
5006 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5007
5008         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5009         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5011         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5013         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5014         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5015         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5016         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5017         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5018         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5019         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5020         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5021         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5022         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5023         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5024         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5025         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5026         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5027         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5028         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5029         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5030         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5031         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5032         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5033         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5034         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5035         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5036         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5037         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5038         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5039         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5040         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5041         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5042         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5043         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5044         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5045         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5046         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5047         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5048         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5049         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5050         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5051         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5052         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5053         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5054         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5055         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5056         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5057         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5058         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5059         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5060         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5061         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5062         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5063         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5064         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5065         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5066
5067 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5068
5069         [BZ #16041]
5070         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5071         make result into a quiet NaN.
5072
5073 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5074
5075         * soft-fp/adddf3.c: Fix horizontal whitespace.
5076         * soft-fp/addsf3.c: Likewise.
5077         * soft-fp/addtf3.c: Likewise.
5078         * soft-fp/divdf3.c: Likewise.
5079         * soft-fp/divsf3.c: Likewise.
5080         * soft-fp/divtf3.c: Likewise.
5081         * soft-fp/double.h: Likewise.
5082         * soft-fp/eqdf2.c: Likewise.
5083         * soft-fp/eqsf2.c: Likewise.
5084         * soft-fp/eqtf2.c: Likewise.
5085         * soft-fp/extenddftf2.c: Likewise.
5086         * soft-fp/extended.h: Likewise.
5087         * soft-fp/extendsfdf2.c: Likewise.
5088         * soft-fp/extendsftf2.c: Likewise.
5089         * soft-fp/extendxftf2.c: Likewise.
5090         * soft-fp/fixdfdi.c: Likewise.
5091         * soft-fp/fixdfsi.c: Likewise.
5092         * soft-fp/fixdfti.c: Likewise.
5093         * soft-fp/fixsfdi.c: Likewise.
5094         * soft-fp/fixsfsi.c: Likewise.
5095         * soft-fp/fixsfti.c: Likewise.
5096         * soft-fp/fixtfdi.c: Likewise.
5097         * soft-fp/fixtfsi.c: Likewise.
5098         * soft-fp/fixtfti.c: Likewise.
5099         * soft-fp/fixunsdfdi.c: Likewise.
5100         * soft-fp/fixunsdfsi.c: Likewise.
5101         * soft-fp/fixunsdfti.c: Likewise.
5102         * soft-fp/fixunssfdi.c: Likewise.
5103         * soft-fp/fixunssfsi.c: Likewise.
5104         * soft-fp/fixunssfti.c: Likewise.
5105         * soft-fp/fixunstfdi.c: Likewise.
5106         * soft-fp/fixunstfsi.c: Likewise.
5107         * soft-fp/fixunstfti.c: Likewise.
5108         * soft-fp/floatdidf.c: Likewise.
5109         * soft-fp/floatdisf.c: Likewise.
5110         * soft-fp/floatditf.c: Likewise.
5111         * soft-fp/floatsidf.c: Likewise.
5112         * soft-fp/floatsisf.c: Likewise.
5113         * soft-fp/floatsitf.c: Likewise.
5114         * soft-fp/floattidf.c: Likewise.
5115         * soft-fp/floattisf.c: Likewise.
5116         * soft-fp/floattitf.c: Likewise.
5117         * soft-fp/floatundidf.c: Likewise.
5118         * soft-fp/floatundisf.c: Likewise.
5119         * soft-fp/floatunditf.c: Likewise.
5120         * soft-fp/floatunsidf.c: Likewise.
5121         * soft-fp/floatunsisf.c: Likewise.
5122         * soft-fp/floatunsitf.c: Likewise.
5123         * soft-fp/floatuntidf.c: Likewise.
5124         * soft-fp/floatuntisf.c: Likewise.
5125         * soft-fp/floatuntitf.c: Likewise.
5126         * soft-fp/fmadf4.c: Likewise.
5127         * soft-fp/fmasf4.c: Likewise.
5128         * soft-fp/fmatf4.c: Likewise.
5129         * soft-fp/gedf2.c: Likewise.
5130         * soft-fp/gesf2.c: Likewise.
5131         * soft-fp/getf2.c: Likewise.
5132         * soft-fp/ledf2.c: Likewise.
5133         * soft-fp/lesf2.c: Likewise.
5134         * soft-fp/letf2.c: Likewise.
5135         * soft-fp/muldf3.c: Likewise.
5136         * soft-fp/mulsf3.c: Likewise.
5137         * soft-fp/multf3.c: Likewise.
5138         * soft-fp/negdf2.c: Likewise.
5139         * soft-fp/negsf2.c: Likewise.
5140         * soft-fp/negtf2.c: Likewise.
5141         * soft-fp/op-1.h: Likewise.
5142         * soft-fp/op-2.h: Likewise.
5143         * soft-fp/op-4.h: Likewise.
5144         * soft-fp/op-8.h: Likewise.
5145         * soft-fp/op-common.h: Likewise.
5146         * soft-fp/quad.h: Likewise.
5147         * soft-fp/single.h: Likewise.
5148         * soft-fp/soft-fp.h: Likewise.
5149         * soft-fp/sqrtdf2.c: Likewise.
5150         * soft-fp/sqrtsf2.c: Likewise.
5151         * soft-fp/sqrttf2.c: Likewise.
5152         * soft-fp/subdf3.c: Likewise.
5153         * soft-fp/subsf3.c: Likewise.
5154         * soft-fp/subtf3.c: Likewise.
5155         * soft-fp/truncdfsf2.c: Likewise.
5156         * soft-fp/trunctfdf2.c: Likewise.
5157         * soft-fp/trunctfsf2.c: Likewise.
5158         * soft-fp/trunctfxf2.c: Likewise.
5159         * soft-fp/unorddf2.c: Likewise.
5160         * soft-fp/unordsf2.c: Likewise.
5161         * soft-fp/unordtf2.c: Likewise.
5162
5163 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5164
5165         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5166         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5167
5168 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5169
5170         * elf/dl-libc.c: Clear initfini list after freeing.
5171
5172 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5173
5174         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5175         * soft-fp/addsf3.c: Likewise.
5176         * soft-fp/addtf3.c: Likewise.
5177         * soft-fp/divdf3.c: Likewise.
5178         * soft-fp/divsf3.c: Likewise.
5179         * soft-fp/divtf3.c: Likewise.
5180         * soft-fp/double.h: Likewise.
5181         * soft-fp/eqdf2.c: Likewise.
5182         * soft-fp/eqsf2.c: Likewise.
5183         * soft-fp/eqtf2.c: Likewise.
5184         * soft-fp/extenddftf2.c: Likewise.
5185         * soft-fp/extended.h: Likewise.
5186         * soft-fp/extendsfdf2.c: Likewise.
5187         * soft-fp/extendsftf2.c: Likewise.
5188         * soft-fp/extendxftf2.c: Likewise.
5189         * soft-fp/fixdfdi.c: Likewise.
5190         * soft-fp/fixdfsi.c: Likewise.
5191         * soft-fp/fixdfti.c: Likewise.
5192         * soft-fp/fixsfdi.c: Likewise.
5193         * soft-fp/fixsfsi.c: Likewise.
5194         * soft-fp/fixsfti.c: Likewise.
5195         * soft-fp/fixtfdi.c: Likewise.
5196         * soft-fp/fixtfsi.c: Likewise.
5197         * soft-fp/fixtfti.c: Likewise.
5198         * soft-fp/fixunsdfdi.c: Likewise.
5199         * soft-fp/fixunsdfsi.c: Likewise.
5200         * soft-fp/fixunsdfti.c: Likewise.
5201         * soft-fp/fixunssfdi.c: Likewise.
5202         * soft-fp/fixunssfsi.c: Likewise.
5203         * soft-fp/fixunssfti.c: Likewise.
5204         * soft-fp/fixunstfdi.c: Likewise.
5205         * soft-fp/fixunstfsi.c: Likewise.
5206         * soft-fp/fixunstfti.c: Likewise.
5207         * soft-fp/floatdidf.c: Likewise.
5208         * soft-fp/floatdisf.c: Likewise.
5209         * soft-fp/floatditf.c: Likewise.
5210         * soft-fp/floatsidf.c: Likewise.
5211         * soft-fp/floatsisf.c: Likewise.
5212         * soft-fp/floatsitf.c: Likewise.
5213         * soft-fp/floattidf.c: Likewise.
5214         * soft-fp/floattisf.c: Likewise.
5215         * soft-fp/floattitf.c: Likewise.
5216         * soft-fp/floatundidf.c: Likewise.
5217         * soft-fp/floatundisf.c: Likewise.
5218         * soft-fp/floatunsidf.c: Likewise.
5219         * soft-fp/floatunsisf.c: Likewise.
5220         * soft-fp/floatuntidf.c: Likewise.
5221         * soft-fp/floatuntisf.c: Likewise.
5222         * soft-fp/floatuntitf.c: Likewise.
5223         * soft-fp/fmadf4.c: Likewise.
5224         * soft-fp/fmasf4.c: Likewise.
5225         * soft-fp/fmatf4.c: Likewise.
5226         * soft-fp/gedf2.c: Likewise.
5227         * soft-fp/gesf2.c: Likewise.
5228         * soft-fp/getf2.c: Likewise.
5229         * soft-fp/ledf2.c: Likewise.
5230         * soft-fp/lesf2.c: Likewise.
5231         * soft-fp/letf2.c: Likewise.
5232         * soft-fp/muldf3.c: Likewise.
5233         * soft-fp/mulsf3.c: Likewise.
5234         * soft-fp/multf3.c: Likewise.
5235         * soft-fp/negdf2.c: Likewise.
5236         * soft-fp/negsf2.c: Likewise.
5237         * soft-fp/negtf2.c: Likewise.
5238         * soft-fp/op-1.h: Likewise.
5239         * soft-fp/op-2.h: Likewise.
5240         * soft-fp/op-4.h: Likewise.
5241         * soft-fp/op-8.h: Likewise.
5242         * soft-fp/op-common.h: Likewise.
5243         * soft-fp/quad.h: Likewise.
5244         * soft-fp/single.h: Likewise.
5245         * soft-fp/soft-fp.h: Likewise.
5246         * soft-fp/sqrtdf2.c: Likewise.
5247         * soft-fp/sqrtsf2.c: Likewise.
5248         * soft-fp/sqrttf2.c: Likewise.
5249         * soft-fp/subdf3.c: Likewise.
5250         * soft-fp/subsf3.c: Likewise.
5251         * soft-fp/subtf3.c: Likewise.
5252         * soft-fp/truncdfsf2.c: Likewise.
5253         * soft-fp/trunctfdf2.c: Likewise.
5254         * soft-fp/trunctfsf2.c: Likewise.
5255         * soft-fp/trunctfxf2.c: Likewise.
5256         * soft-fp/unorddf2.c: Likewise.
5257         * soft-fp/unordsf2.c: Likewise.
5258         * soft-fp/unordtf2.c: Likewise.
5259
5260 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5261
5262         [BZ #15672]
5263         * misc/error.c (error_tail): Fix possible buffer overflow.
5264
5265 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5266
5267         [BZ #13028]
5268         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5269         address.
5270
5271 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5272
5273         [BZ #832]
5274         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5275         testing pipefail option.
5276
5277 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5278
5279         * soft-fp/double.h: Indent preprocessor directives inside #if.
5280         * soft-fp/extended.h: Likewise.
5281         * soft-fp/op-2.h: Likewise.
5282         * soft-fp/op-4.h: Likewise.
5283         * soft-fp/op-common.h: Likewise.
5284         * soft-fp/quad.h: Likewise.
5285         * soft-fp/single.h: Likewise.
5286         * soft-fp/soft-fp.h: Likewise.
5287
5288 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5289
5290         * iconv/iconv_prog.c: Fix typos.
5291         * stdio-common/psiginfo-data.h: Likewise.
5292
5293 2013-10-12   Reuben Thomas <rrt@sc3d.org>
5294
5295         [BZ #15764]
5296         * locale/setlocale.c: Fix typo.
5297
5298 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5299
5300         [BZ #16036]
5301         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5302         signaling NaN arguments.
5303         * soft-fp/unordsf2.c (__unordsf2): Likewise.
5304         * soft-fp/unordtf2.c (__unordtf2): Likewise.
5305
5306         [BZ #14910]
5307         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5308         unordered operands.
5309         * soft-fp/gesf2.c (__gesf2): Likewise.
5310         * soft-fp/getf2.c (__getf2): Likewise.
5311         * soft-fp/ledf2.c (__ledf2): Likewise.
5312         * soft-fp/lesf2.c (__lesf2): Likewise.
5313         * soft-fp/letf2.c (__letf2): Likewise.
5314
5315         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5316         * soft-fp/eqsf2.c (__eqsf2): Likewise.
5317         * soft-fp/eqtf2.c (__eqtf2): Likewise.
5318         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5319         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5320         * soft-fp/fixdfti.c (__fixdfti): Likewise.
5321         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5322         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5323         * soft-fp/fixsfti.c (__fixsfti): Likewise.
5324         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5325         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5326         * soft-fp/fixtfti.c (__fixtfti): Likewise.
5327         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5328         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5329         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5330         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5331         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5332         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5333         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5334         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5335         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5336         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5337         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5338         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5339         * soft-fp/floattidf.c (__floattidf): Likewise.
5340         * soft-fp/floattisf.c (__floattisf): Likewise.
5341         * soft-fp/floattitf.c (__floattitf): Likewise.
5342         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5343         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5344         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5345         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5346         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5347         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5348         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5349         * soft-fp/gesf2.c (__gesf2): Likewise.
5350         * soft-fp/getf2.c (__getf2): Likewise.
5351         * soft-fp/ledf2.c (__ledf2): Likewise.
5352         * soft-fp/lesf2.c (__lesf2): Likewise.
5353         * soft-fp/letf2.c (__letf2): Likewise.
5354
5355         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5356         Undefine and redefine.
5357         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5358         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5359         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5360         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5361         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5362         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5363         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5364         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5365         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5366         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5367         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5368         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5369         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5370         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5371         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5372
5373         [BZ #16032]
5374         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5375         without decrementing exponent if mantissa >= that for the
5376         denominator, not >.
5377         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5378         denominator, not >.  Decrement exponent in < case instead of
5379         incrementing in >= case.
5380         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5381         without decrementing exponent if mantissa >= that for the
5382         denominator, not >.
5383
5384         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5385         computing saturated result for unsigned overflow.
5386
5387 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5388             Jeff Law  <law@redhat.com>
5389
5390         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5391         (atan2Mp): Add systemtap probe marker.
5392         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5393         (__ieee754_log): Add systemtap probe marker.
5394         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5395         (atanMp): Add systemtap probe marker.
5396         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5397         (tanMp): Add systemtap probe marker.
5398         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5399         (__slowexp): Add systemtap probe marker.
5400         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5401         (__slowpow): Add systemtap probe marker.
5402         * manual/probes.texi: Document probes.
5403
5404 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5405
5406         [BZ #15362]
5407         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5408         written.
5409         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5410         written.
5411         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5412         written to buffer but not flushed.
5413         * libio/iofwrite_u.c:  Likewise.
5414         * libio/iopadn.c:  Return bytes returned even if EOF was
5415         encountered.
5416         * libio/iowpadn.c:  Likewise.
5417         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5418         if _IO_padn does not write the whole buffer.
5419         [!COMPILE_WPRINTF] (PAD): Likewise.
5420
5421 2013-10-10  David S. Miller  <davem@davemloft.net>
5422
5423         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5424         directory block.
5425
5426 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5427
5428         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5429         instead of FSF address.
5430         * soft-fp/fixdfti.c: Likewise.
5431         * soft-fp/fixsfti.c: Likewise.
5432         * soft-fp/fixtfti.c: Likewise.
5433         * soft-fp/fixunsdfti.c: Likewise.
5434         * soft-fp/fixunssfti.c: Likewise.
5435         * soft-fp/fixunstfti.c: Likewise.
5436         * soft-fp/floattidf.c: Likewise.
5437         * soft-fp/floattisf.c: Likewise.
5438         * soft-fp/floattitf.c: Likewise.
5439         * soft-fp/floatuntidf.c: Likewise.
5440         * soft-fp/floatuntisf.c: Likewise.
5441         * soft-fp/floatuntitf.c: Likewise.
5442         * soft-fp/trunctfxf2.c: Likewise.
5443
5444         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5445         * soft-fp/fixdfti.c: Likewise.
5446         * soft-fp/fixsfti.c: Likewise.
5447         * soft-fp/fixtfti.c: Likewise.
5448         * soft-fp/fixunsdfti.c: Likewise.
5449         * soft-fp/fixunssfti.c: Likewise.
5450         * soft-fp/fixunstfti.c: Likewise.
5451         * soft-fp/floattidf.c: Likewise.
5452         * soft-fp/floattisf.c: Likewise.
5453         * soft-fp/floattitf.c: Likewise.
5454         * soft-fp/floatuntidf.c: Likewise.
5455         * soft-fp/floatuntisf.c: Likewise.
5456         * soft-fp/floatuntitf.c: Likewise.
5457         * soft-fp/trunctfxf2.c: Likewise.
5458
5459 2013-10-10  David S. Miller  <davem@davemloft.net>
5460
5461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5462
5463 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5464
5465         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5466         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5467         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5468         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5469         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5470         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5471         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5472
5473         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5474         for NaNs before doing comparisons on argument.
5475         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5476         Likewise.
5477
5478 2013-10-10  Will Newton  <will.newton@linaro.org>
5479
5480         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5481         passed to _int_memalign does not overflow.
5482
5483 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5484
5485         * scripts/bench.pl: Add include-sources directive.
5486         * benchtests/README: Update documentation.
5487
5488 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5489
5490         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5491         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5492         instead of FP_INIT_ROUNDMODE.
5493         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5494         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5495
5496         [BZ #16034]
5497         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5498         copy class of input value.
5499         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5500         not handle exceptions.
5501         * soft-fp/negsf2.c (__negsf2): Likewise.
5502         * soft-fp/negtf2.c (__negtf2): Likewise.
5503         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5504
5505 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5506
5507         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5508         semicolon.  From Linux kernel.
5509
5510 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5511
5512         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5513
5514 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5515
5516         [BZ #156]
5517         * manual/socket.texi: Added statement about buffer
5518         for gethostbyname2_r.
5519
5520 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5521
5522         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5523         Use .p2align directive instead, throughout.
5524         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5525         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5526         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5527         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5528         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5529         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5530         * sysdeps/x86_64/strchr.S: Likewise.
5531         * sysdeps/x86_64/strrchr.S: Likewise.
5532
5533 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5534
5535         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5536
5537         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5538
5539         * sysdeps/generic/math_private.h (__mpsin1): Remove
5540         declaration.
5541         (__mpcos1): Likewise.
5542         (__mpsin): New argument __range_reduce.
5543         (__mpcos): Likewise.
5544         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5545         (slow): Use __mpsin and __mpcos.
5546         (slow1): Likewise.
5547         (slow2): Likewise.
5548         (sloww): Likewise.
5549         (sloww1): Likewise.
5550         (sloww2): Likewise.
5551         (bsloww): Likewise.
5552         (bsloww1): Likewise.
5553         (bsloww2): Likewise.
5554         (cslow2): Likewise.
5555         (csloww): Likewise.
5556         (csloww1): Likewise.
5557         (csloww2): Likewise.
5558         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5559         range_reduce.  Merge in __mpsin1.
5560         (__mpcos): Likewise.
5561         (__mpsin1): Remove.
5562         (__mpcos1): Likewise.
5563
5564 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5565
5566         * locale/loadlocale.c (_nl_intern_locale_data): Use
5567         LOCFILE_ALIGNED_P.
5568         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5569         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5570         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5571         obstack data is appropriately aligned.
5572         (obstack_int32_grow_fast): Likewise.
5573         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5574         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5575         (add_locale_uint32_array): Likewise.
5576
5577 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5578
5579         * benchtests/Makefile: Remove ARGLIST and RET variables.
5580         ($(objpfx)bench-%.c): Pass only function name to the script.
5581         * benchtests/README: Update documentation.
5582         * benchtests/acos-inputs: Add new directives.
5583         * benchtests/acosh-inputs: Likewise.
5584         * benchtests/asin-inputs: Likewise.
5585         * benchtests/asinh-inputs: Likewise.
5586         * benchtests/atan-inputs: Likewise.
5587         * benchtests/atanh-inputs: Likewise.
5588         * benchtests/cos-inputs: Likewise.
5589         * benchtests/cosh-inputs: Likewise.
5590         * benchtests/exp-inputs: Likewise.
5591         * benchtests/log-inputs: Likewise.
5592         * benchtests/pow-inputs: Likewise.
5593         * benchtests/rint-inputs: Likewise.
5594         * benchtests/sin-inputs: Likewise.
5595         * benchtests/sinh-inputs: Likewise.
5596         * benchtests/tan-inputs: Likewise.
5597         * benchtests/tanh-inputs: Likewise.
5598         * scripts/bench.pl: Add support for new directives.
5599
5600 2013-10-07  Alan Modra  <amodra@gmail.com>
5601
5602         * README: Fix careless merge.
5603
5604 2013-10-05  Alan Modra  <amodra@gmail.com>
5605
5606         * NEWS: Mention powerpc64le support and bugs fixed.
5607         * README: Both big-endian and little-endian powerpc64 supported.
5608
5609 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5610
5611         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5612         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5613         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5614         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5615
5616 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5617
5618         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5619         match prototype.
5620
5621 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5622
5623         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5624         Move -mhard-float appending from
5625         ports/sysdeps/powerpc/powerpc32/Makefile.
5626         [$(with-fp) = yes] (ASFLAGS): Likewise.
5627         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5628         * sysdeps/powerpc/nofpu: Move directory from
5629         ports/sysdeps/powerpc/nofpu.
5630         * sysdeps/powerpc/soft-fp: Move directory from
5631         ports/sysdeps/powerpc/soft-fp.
5632         * sysdeps/powerpc/powerpc32/405: Move directory from
5633         ports/sysdeps/powerpc/powerpc32/405.
5634         * sysdeps/powerpc/powerpc32/440: Move directory from
5635         ports/sysdeps/powerpc/powerpc32/440.
5636         * sysdeps/powerpc/powerpc32/464: Move directory from
5637         ports/sysdeps/powerpc/powerpc32/464.
5638         * sysdeps/powerpc/powerpc32/476: Move directory from
5639         ports/sysdeps/powerpc/powerpc32/476.
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5641         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5643         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5645         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5647         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5649         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5650         * README: Update for powerpc-*-linux-gnu software floating point
5651         support in libc.
5652
5653         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5654         case to powerpc/powerpc32*.
5655         * sysdeps/unix/sysv/linux/configure: Regenerated.
5656
5657         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5658         (_FPU_MASK_OM): Define as 0x04.
5659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5660         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5661         0x00c10080.
5662         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5663         0x0000003c.
5664         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5665
5666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5667         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5668         getcontext_e500.
5669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5670         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5671         setcontext_e500.
5672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5673         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5674         and setcontext_e500.
5675
5676 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5677
5678         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5679
5680 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5681
5682         * manual/threads.texi (Default Thread Attributes): Fix typo.
5683
5684 2013-10-04  Will Newton  <will.newton@linaro.org>
5685
5686         * malloc/Makefile: Add tst-memalign.
5687         * malloc/tst-memalign.c: New file.
5688
5689         * malloc/tst-posix_memalign.c: Add comments.
5690         (do_test): Add comments and call free on all potentially
5691         allocated pointers. Add space after cast.
5692
5693         * malloc/tst-pvalloc.c: Add comments.
5694         (do_test): Add comments and call free on all potentially
5695         allocated pointers. Remove duplicate check for NULL pointer.
5696         Add space after cast.
5697
5698         * malloc/tst-valloc.c: Add comments.
5699         (do_test): Add comments and call free on all potentially
5700         allocated pointers. Remove duplicate check for NULL pointer.
5701         Add space after cast.
5702
5703 2013-10-04  Alan Modra  <amodra@gmail.com>
5704
5705         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5706         Use stdint types in rather than __attribute__((mode())).
5707         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5708
5709 2013-10-04  Alan Modra  <amodra@gmail.com>
5710
5711         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5712         Correct handling of unaligned relocs for little-endian.
5713         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5714
5715 2013-10-04  Alan Modra  <amodra@gmail.com>
5716
5717         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5718         * configure: Regenerate.
5719         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5720         * shlib-versions: Likewise.
5721
5722 2013-10-04  Alan Modra  <amodra@gmail.com>
5723
5724         * string/tester.c (test_memrchr): Increment reported test cycle.
5725
5726 2013-10-04  Alan Modra  <amodra@gmail.com>
5727
5728         * string/test-memcpy.c (do_one_test): When reporting errors, print
5729         string address and don't overrun end of string.
5730
5731 2013-10-04  Alan Modra  <amodra@gmail.com>
5732
5733         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5734         insrdi.  Make better use of reg selection to speed exit slightly.
5735         Schedule entry path a little better.  Remove useless "are we done"
5736         checks on entry to main loop.  Handle wrapping around zero address.
5737         Correct main loop count.  Handle single left-over word from main
5738         loop inline rather than by using loop_small.  Remove extra word
5739         case in loop_small caused by wrong loop count.  Add little-endian
5740         support.
5741         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5742         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5743         cache hint.
5744         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5745         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5746         support.  Avoid rlwimi.
5747         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5748
5749 2013-10-04  Alan Modra  <amodra@gmail.com>
5750
5751         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5752         insrdi.  Formatting.
5753         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5754         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5755         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5756         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5757         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5758         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5759
5760 2013-10-04  Alan Modra  <amodra@gmail.com>
5761
5762         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5763         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5764         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5765         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5766         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5767         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5768         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5769         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5770         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5771         use of regs.  Use power7 mtocrf.  Tidy function tails.
5772
5773 2013-10-04  Alan Modra  <amodra@gmail.com>
5774
5775         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5776         Formatting.  Consistently use rXXX register defines or rN defines.
5777         Use early exit labels that avoid restoring unused non-volatile regs.
5778         Make cr field use more consistent with rWORDn compares.  Rename
5779         regs used as shift registers for unaligned loop, using rN defines
5780         for short lifetime/multiple use regs.
5781         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5782         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5783         addi 1,1,64 to pop stack frame.  Simplify return value code.
5784         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5785
5786 2013-10-04  Alan Modra  <amodra@gmail.com>
5787
5788         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5789         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5790         rather than rlwimi.
5791         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5792         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5793         little-endian support.  Correct typos.
5794         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5795         rather than rlwimi.
5796         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5797         in loop and entry code to keep "and." results.
5798         (strchr): Add little-endian support.  Comment.  Move cntlzd
5799         earlier in tail.
5800         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5801
5802 2013-10-04  Alan Modra  <amodra@gmail.com>
5803
5804         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5805         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5806         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5807         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5808
5809 2013-10-04  Alan Modra  <amodra@gmail.com>
5810
5811         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5812         (rTMP): Define as r11.
5813         (strcmp): Add little-endian support.  Optimise tail.
5814         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5815         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5816         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5817         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5818         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5819         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5820         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5821
5822 2013-10-04  Alan Modra  <amodra@gmail.com>
5823
5824         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5825         little-endian support.  Remove unnecessary "are we done" tests.
5826         Handle "s" wrapping around zero and extremely large "size".
5827         Correct main loop count.  Handle single left-over word from main
5828         loop inline rather than by using small_loop.  Correct comments.
5829         Delete "zero" tail, use "end_max" instead.
5830         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5831
5832 2013-10-04  Alan Modra  <amodra@gmail.com>
5833
5834         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5835         support.  Don't branch over align.
5836         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5837         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5838         support.  Rearrange tmp reg use to suit.  Comment.
5839         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5840
5841 2013-10-04  Alan Modra  <amodra@gmail.com>
5842
5843         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5844
5845 2013-10-04  Alan Modra  <amodra@gmail.com>
5846
5847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5848         conditional form of branch and link when obtaining pc.
5849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5850
5851 2013-10-04  Alan Modra  <amodra@gmail.com>
5852
5853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5854         HIWORD/LOWORD.
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5857
5858 2013-10-04  Alan Modra  <amodra@gmail.com>
5859
5860         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5861         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5862         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5863         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5864         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5865         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5866         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5867         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5868         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5869         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5870
5871 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5872             Alistair Popple <alistair@ozlabs.au.ibm.com>
5873             Alan Modra <amodra@gmail.com>
5874
5875         [BZ #15723]
5876         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5877         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5878         _dl_hwcap access for little-endian.
5879         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5880         destroy vmx regs when saving unaligned.
5881         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5882         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5883         destroy vmx regs when saving unaligned.
5884
5885 2013-10-04  Alan Modra  <amodra@gmail.com>
5886
5887         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5888         Don't use a union to pack hi/low value.
5889
5890 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5891
5892         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5893         for little-endian.
5894         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5895         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5896         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5897         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5898         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5899
5900 2013-10-04  Alan Modra  <amodra@gmail.com>
5901
5902         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5903         constants to usual value for .cst8 section, and remove redundant
5904         high address load.
5905         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5906         constant for 0x1p52.  Load little-endian words of double from
5907         correct stack offsets.
5908
5909 2013-10-04  Alan Modra  <amodra@gmail.com>
5910
5911         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5912         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5913         words of double from correct stack offsets.
5914         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5915         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5916         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5917         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5918         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5920         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5921         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5922         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5925         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5926         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5927         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5928         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5929         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5930         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5931
5932 2013-10-04  Alan Modra  <amodra@gmail.com>
5933
5934         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5935         64-bit int/double union.
5936         (_FPU_SETCW): Likewise.
5937         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5938         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5939
5940 2013-10-04  Alan Modra  <amodra@gmail.com>
5941
5942         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5943         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5944
5945 2013-10-04  Alan Modra  <amodra@gmail.com>
5946
5947         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5948         use vector int constants.
5949         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5950
5951 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5952
5953         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5954         array with long long.
5955         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5956         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5957         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5958         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5959         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5960         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5961         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5962         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5963         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5964         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5965         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5966         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5967         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5968
5969 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5970
5971         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5972         (__signbit): Likewise.  Correct for little-endian.
5973         (__signbitl): Call __signbit.
5974         (lrint): Correct for little-endian.
5975         (lrintf): Call lrint.
5976
5977 2013-10-04  Alan Modra  <amodra@gmail.com>
5978
5979         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5980         union 32-bit int array member with 64-bit int array.
5981         (t515, tm256): Double rather than long double.
5982         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5983
5984 2013-10-04  Alan Modra  <amodra@gmail.com>
5985
5986         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5987         Delete.
5988         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5989         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5990         version of math_ldbl.h.
5991
5992 2013-10-04  Alan Modra  <amodra@gmail.com>
5993
5994         [BZ #15734], [BZ #15735]
5995         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5996         all uses of ieee875 long double macros and unions.  Simplify test
5997         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5998         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5999         normalize after ldbl_extract_mantissa, and don't add hidden bit
6000         already handled.  Don't treat low word of ieee854 mantissa like
6001         low word of IBM long double and mask off bit when testing for
6002         zero.
6003         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6004         all uses of ieee875 long double macros and unions.  Simplify tests
6005         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
6006         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
6007         two1022, instead use their values.  Recognise that tests for large
6008         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
6009         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6010         Rewrite all uses of ieee875 long double macros and unions.  Simplify
6011         test for 0.0L and nan.  Correct negation.
6012         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6013         ieee875 long double macros and unions.  Correct output for large
6014         magnitude x.  Correct absolute value calculation.
6015         (__erfcl): Likewise.
6016         * math/libm-test.inc: Add tests for errors discovered in IBM long
6017         double versions of fmodl, remainderl, erfl and erfcl.
6018
6019 2013-10-04  Alan Modra  <amodra@gmail.com>
6020
6021         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6022         all uses of ieee854 long double macros and unions.  Simplify tests
6023         for long doubles that are fully specified by the high double.
6024         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6025         Likewise.
6026         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6027         Remove dead code too.
6028         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6029         (__ieee754_ynl): Likewise.
6030         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6031         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6032         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6033         Remove dead code too.
6034         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6035         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6036         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6037         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6038         Simplify.
6039         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6040         Simplify.
6041         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6042         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6043         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6044         Comment on variable precision.
6045         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6046         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6047         Likewise.
6048         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6049         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6050         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6051         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6052         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6053
6054 2013-10-04  Alan Modra  <amodra@gmail.com>
6055
6056         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6057         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6058         all uses of ieee854 long double macros and unions.
6059         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6060         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6061         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6062         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6063         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6064         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6065         Likewise.
6066         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6067         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6068         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6069         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6070         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6071         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6072         Simplify sign and nan test too.
6073         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6074         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6075         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6076         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6077         Likewise.
6078         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6079         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6080         Likewise.
6081         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6082         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6083         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6084         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6085         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6086         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6087
6088 2013-10-04  Alan Modra  <amodra@gmail.com>
6089
6090         * stdio-common/printf_size.c (__printf_size): Don't use
6091         union ieee854_long_double in fpnum union.
6092         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6093         signbit macro to retrieve sign from long double.
6094         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6095         retrieve sign from long double.
6096         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6097         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6098         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6099         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6100         * math/test-misc.c (main): Don't use union ieee854_long_double.
6101
6102 2013-10-04  Alan Modra  <amodra@gmail.com>
6103
6104         [BZ #15680]
6105         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6106         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6107         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6108         calculation.  Remove unnecessary test for denormal exponent.
6109         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6110         Correct handling of denormals.  Avoid undefined shift behaviour.
6111         Correct normalisation of low mantissa when low double is denormal.
6112         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6113         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6114         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6115         Correct normalisation of low mantissa.  Test for overflow of high
6116         mantissa and normalise.
6117         (ldbl_nearbyint): Use more readable constant for two52.
6118         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6119         (__mpn_construct_long_double): Fix test for overflow of high
6120         mantissa and correct normalisation.  Avoid undefined shift.
6121
6122 2013-10-04  Alan Modra  <amodra@gmail.com>
6123
6124         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6125         (union ibm_extended_long_double): Define as an array of ieee754_double.
6126         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6127         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6128         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6129         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6130         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6131         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6132         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6133         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6134         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6135         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6136         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6137
6138 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6139
6140         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6141         page size instead of calling getpagesize.
6142
6143         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6144         (LOCFILE_ALIGN_MASK): Likewise.
6145         (LOCFILE_ALIGN_UP): Likewise.
6146         (LOCFILE_ALIGNED_P): Likewise.
6147         * locale/programs/ld-collate.c (collate_output): Use the new
6148         macros instead of __alignof__ (int32_t).
6149         * locale/weight.h (findidx): Likewise.
6150
6151 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6152
6153         [BZ #431]
6154         * manual/string.texi: Fix strncat and wcsncat.
6155
6156 2013-10-03  Brooks Moses  <bmoses@google.com>
6157
6158         [BZ #15915]
6159         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6160         * Makerules: ...here, and adjust associated comments.
6161
6162 2013-10-02  Will Newton  <will.newton@linaro.org>
6163
6164         * malloc/Makefile: Add tst-pvalloc.
6165         * malloc/tst-pvalloc.c: New file.
6166
6167 2013-10-02  Will Newton  <will.newton@linaro.org>
6168
6169         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6170         improve test coverage.
6171
6172 2013-10-02  Will Newton  <will.newton@linaro.org>
6173
6174         * malloc/Makefile: Add tst-posix_memalign.
6175         * malloc/tst-posix_memalign.c: New file.
6176
6177 2013-10-01  Eric Blake  <eblake@redhat.com>
6178
6179         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6180         Use __THROWNL rather than __THROW on static functions.
6181
6182 2013-09-30  Petr Machata  <pmachata@redhat.com>
6183
6184         * elf/elf.h (R_AARCH64_ABS16): New macro.
6185         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6186         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6187         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6188         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6189         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6190         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6191         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6192         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6193         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6194         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6195         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6196         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6197         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6198         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6199         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6200         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6201         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6202         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6203         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6204         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6205         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6206         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6207         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6208         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6209         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6210         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6211         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6212         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6213         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6214         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6215         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6216         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6217         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6218         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6219         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6220         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6221         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6222         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6223         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6224         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6225         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6226         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6227         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6228         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6229         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6230         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6231         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6232         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6233         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6234         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6235         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6236         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6237         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6238         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6239         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6240         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6241         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6242         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6243         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6244         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6245         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6246         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6247         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6248         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6249         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6250         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6251         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6252         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6253         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6254         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6255         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6256         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6257         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6258         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6259         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6260         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6261         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6262         (R_AARCH64_TLSDESC_LDR): Likewise.
6263         (R_AARCH64_TLSDESC_ADD): Likewise.
6264         (R_AARCH64_TLSDESC_CALL): Likewise.
6265
6266 2013-09-30  Andreas Schwab  <schwab@suse.de>
6267
6268         [BZ #15048]
6269         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6270         the nss database lookup.
6271         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6273
6274 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6275
6276         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6277
6278 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6279
6280         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6281         ${Bash-specific parameter/pattern/string} parameter expansion.
6282         * sysdeps/unix/make-syscalls.sh: Likewise.
6283
6284 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6285
6286         * sysdeps/sh/stackguard-macros.h: New file.
6287
6288 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6289
6290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6291         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6292         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6293         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6294         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6295         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6296
6297 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6298
6299         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6300         Fix thread ID register.
6301
6302 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
6303
6304         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6305         [POSIX || UNIX98]: Require rather than permitting all symbols from
6306         <time.h>.
6307         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6308         element of struct sched_param.
6309         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6310         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6311         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6312         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6313         constant.
6314
6315 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
6316
6317         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6318         argument calculation.
6319
6320 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6321
6322         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6323         Expect macro.
6324         [POSIX] (pthread_attr_t): Do not require type.
6325         [POSIX] (pthread_cond_t): Likewise.
6326         [POSIX] (pthread_condattr_t): Likewise.
6327         [POSIX] (pthread_key_t): Likewise.
6328         [POSIX] (pthread_mutex_t): Likewise.
6329         [POSIX] (pthread_mutexattr_t): Likewise.
6330         [POSIX] (pthread_once_t): Likewise.
6331         [POSIX] (pthread_t): Likewise.
6332         [POSIX-based standards] (pthread_atfork): Expect function.
6333
6334 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6335             Richard Sandiford  <richard@codesourcery.com>
6336
6337         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6338         (swap_endianness_p): New extern variable.
6339         (set_big_endian): New inline function.
6340         (maybe_swap_uint32): Likewise.
6341         (maybe_swap_uint32_array): Likewise.
6342         (maybe_swap_uint32_obstack): Likewise.
6343         * locale/programs/locfile.c: Include <stdbool.h>.
6344         (swap_endianness_p): New variable.
6345         (add_locale_uint32): Call maybe_swap_uint32.
6346         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6347         (write_locale_data): Call maybe_swap_uint32_array.
6348         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6349         maybe_swap_uint32.
6350         (obstack_int32_grow_fast): Likewise.
6351         (output_weightwc): Call maybe_swap_uint32_obstack.
6352         (collate_output): Likewise.
6353         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6354         (OPT_LITTLE_ENDIAN): Likewise.
6355         (options): Add --little-endian and --big-endian options.
6356         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6357         * locale/programs/locarchive.c: Include "locfile.h".
6358         (GET): New macro.
6359         (SET): Likewise.
6360         (INC): Likewise.
6361         (create_archive): Use the new macros to access fields of
6362         structures directly mapped from or written to locale archives.
6363         (oldlocrecentcmp): Likewise.
6364         (enlarge_archive): Likewise.
6365         (insert_name): Likewise.
6366         (add_alias): Likewise.
6367         (add_locale): Likewise.
6368         (delete_locales_from_archive): Likewise.
6369         (show_archive_content): Likewise.
6370         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6371         locale data.
6372
6373 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6374
6375         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6376         http://www.gnu.org/doc/freemanuals.texi.
6377         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6378
6379 2013-09-24  Will Newton  <will.newton@linaro.org>
6380
6381         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6382         macro.
6383
6384 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6385
6386         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6387         unsigned char.
6388
6389 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6390
6391         * manual/threads.texi (POSIX Threads): Fix a typo.
6392
6393 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6394
6395         [BZ #14547]
6396         * string/tst-strcoll-overflow.c: New test case.
6397         * string/Makefile (xtests): Add tst-strcoll-overflow.
6398         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6399         cache if string sizes may cause integer overflow.
6400
6401         [BZ #14547]
6402         * string/strcoll_l.c (coll_seq): New members rule, idx,
6403         save_idx and back_us.
6404         (get_next_seq_nocache): New function.
6405         (do_compare_nocache): New function.
6406         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6407         when malloc fails.
6408
6409 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6410
6411         [BZ #15754]
6412         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6413         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6414         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6415
6416         [BZ #15754]
6417         * elf/Makefile (tests): Add tst-ptrguard1.
6418         (tests-static): Add tst-ptrguard1-static.
6419         (tst-ptrguard1-ARGS): Define.
6420         (tst-ptrguard1-static-ARGS): Define.
6421         * elf/tst-ptrguard1.c: New file.
6422         * elf/tst-ptrguard1-static.c: New file.
6423         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6424         * sysdeps/i386/stackguard-macros.h: Likewise.
6425         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6426         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6427         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6428         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6429         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6430         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6431
6432 2013-09-23  Hector Marco  <hecmargi@upv.es>
6433             Ismael Ripoll  <iripoll@disca.upv.es>
6434             Carlos O'Donell  <carlos@redhat.com>
6435
6436         [BZ #15754]
6437         * sysdeps/generic/stackguard-macros.h: Define
6438         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6439         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6440         Define __pointer_chk_guard_local.
6441         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6442         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6443
6444 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6445
6446         [BZ #15859]
6447         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6448
6449 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6450
6451         * include/string.h (__ffs): Declare as hidden.
6452         * string/ffs.c (__ffs): Define as hidden.
6453         * sysdeps/i386/ffs.c (__ffs): Likewise.
6454         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6455         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6456         * sysdeps/s390/ffs.c (__ffs): Likewise.
6457         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6458
6459 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6460
6461         * NEWS: Mention malloc probes.
6462
6463         * malloc/arena.c (new_heap): New memory_heap_new probe.
6464         (grow_heap): New memory_heap_more probe.
6465         (shrink_heap): New memory_heap_less probe.
6466         (heap_trim): New memory_heap_free probe.
6467         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6468         (systrim): New memory_sbrk_less probe.
6469         * manual/probes.texi: Document them.
6470
6471         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6472         * manual/probes.texi: Document it.
6473
6474         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6475         (__libc_realloc): Add memory_realloc_retry probe.
6476         (__libc_memalign): Add memory_memalign_retry probe.
6477         (__libc_valloc): Add memory_valloc_retry probe.
6478         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6479         (__libc_calloc): Add memory_calloc_retry probe.
6480         * manual/probes.texi: Document them.
6481
6482         * malloc/arena.c (get_free_list): Add probe
6483         memory_arena_reuse_free_list.
6484         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6485         and memory_arena_reuse.
6486         (arena_get2) [!PER_THREAD]: Likewise.
6487         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6488         memory_arena_reuse_realloc.
6489         * manual/probes.texi: Document them.
6490
6491         * malloc/malloc.c (__libc_free): Add
6492         memory_mallopt_free_dyn_thresholds probe.
6493         (__libc_mallopt): Add multiple memory_mallopt probes.
6494         * manual/probes.texi: Document them.
6495
6496         * malloc/malloc.c: Include stap-probe.h.
6497         (__libc_mallopt): Add memory_mallopt probe.
6498         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6499         * manual/probes.texi: New.
6500         * manual/Makefile (chapters): Add probes.
6501         * manual/threads.texi: Set next node.
6502
6503 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6504
6505         [BZ #15963, #13985]
6506         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6507         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6508         Add `Chinese' to `nan' entry name.
6509
6510 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6511
6512         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6513         (POLYNOMIAL): Likewise.
6514         (TAYLOR_SINCOS): Likewise.
6515         (TAYLOR_SLOW): Likewise.
6516         (__sin): Use TAYLOR_SINCOS.
6517         (__cos): Likewise.
6518         (slow): Use TAYLOR_SLOW.
6519         (sloww): Likewise.
6520         (bsloww): Likewise.
6521         (csloww): Likewise.
6522
6523 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6524
6525         * stdlib/strtod_l.c: Fix buffer overrun.
6526
6527 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6528
6529         * benchtests/Makefile (bench): Add sincos.
6530         * benchtests/bench-sincos.c: New file.
6531
6532         * math/libm-test.inc (cos_test_data): New test inputs.
6533         (sin_test_data): Likewise.
6534
6535         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6536         macro.
6537         (__sin): Use it.
6538         (__cos): Likewise.
6539         (slow1): Likewise.
6540         (slow2): Likewise.
6541         (sloww1): Likewise.
6542         (sloww2): Likewise.
6543         (bsloww1): Likewise.
6544         (bsloww2): Likewise.
6545         (cslow2): Likewise.
6546         (csloww1): Likewise.
6547         (csloww2): Likewise.
6548
6549         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6550         function.
6551         (__sin): Use it.
6552         (__cos): Likewise.
6553
6554         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6555         gotos.
6556         (__cos): Likewise.
6557
6558 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6559
6560         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6561         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6562         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6563         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6564         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6565         * elf/cache.c (print_entry): Handle the new cache flags.
6566
6567 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6568             Aldy Hernandez  <aldyh@redhat.com>
6569
6570         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6571         Change condition to [_SOFT_FLOAT].
6572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6584         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6587         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6588         declaration.
6589
6590 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6591
6592         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6593         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6594         (__longjmp): Use LOAD_GP to load saved GPRs.
6595         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6596         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6597         (__sigsetjmp): Use SAVE_GP to save GPRs.
6598
6599         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6600         Do not append -msoft-float.
6601         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6602
6603 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6604
6605         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6606
6607 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6608
6609         [BZ #15966]
6610         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6611         (_FPU_GETCW): Use initial "__" on variable and field names but not
6612         on macro parameter name.
6613         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6614         parentheses around reference to macro parameter.
6615
6616 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6617
6618         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6619         prototype.
6620         (ctype_startup): Use uint32_t in cast and sizeof for
6621         ctype->charnames.
6622
6623 2013-09-11  Jia Liu  <proljc@gmail.com>
6624
6625         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6626         __daddr_t_defined.
6627         [__FreeBSD__]: Likewise.
6628
6629 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6630
6631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6632         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6633         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6634         (strchr): Remove __strchr_sse42 ifunc selection.
6635         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6636         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6637
6638 2013-09-11  Will Newton  <will.newton@linaro.org>
6639
6640         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6641         parameter to RES. Remove hardcoded 1000 value.
6642         * benchtests/bench-skeleton.c (main): Pass RES parameter
6643         to TIMING_INIT and multiply result by 1000.
6644
6645 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6646
6647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6648
6649 2013-09-11  Andreas Schwab  <schwab@suse.de>
6650
6651         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6652         if not defined.
6653         (O_TMPFILE) [__USE_GNU]: Define.
6654         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6655         Define.
6656
6657 2013-09-11  Will Newton  <will.newton@linaro.org>
6658
6659         [BZ #15857]
6660         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6661         does not overflow.
6662
6663 2013-09-11  Will Newton  <will.newton@linaro.org>
6664
6665         [BZ #15856]
6666         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6667         does not overflow.
6668
6669 2013-09-11  Will Newton  <will.newton@linaro.org>
6670
6671         [BZ #15855]
6672         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6673         does not overflow.
6674
6675 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6676
6677         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6678         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6679         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6680         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6681         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6682
6683 2013-09-10  Allan McRae  <allan@archlinux.org>
6684
6685         [BZ #15748]
6686         * manual/arith.texi (Parsing of Floats): Clarify
6687         cross-reference.
6688
6689         [BZ #15849]
6690         * manual/install.texi (Running make install): Mention
6691         --enable-pt-chown.
6692         * INSTALL: Regenerated.
6693
6694 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6695
6696         * csu/init-first.c (_init): Remove the !SHARED condition around
6697         FPU control word initialization.
6698         * elf/dl-support.c (_dl_fpu_control): New variable.
6699         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6700         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6701         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6702         * math/test-fpucw-static.c: New file.
6703         * math/test-fpucw-ieee.c: New file.
6704         * math/test-fpucw-ieee-static.c: New file.
6705         * math/Makefile (tests): Add `test-fpucw-ieee' and
6706         `$(tests-static)'.
6707         (tests-static): New variable.
6708         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6709         dependency to...
6710         [($(build-shared),yes)]
6711         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6712         ... this.
6713         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6714         New dependency.
6715
6716 2013-09-09  Allan McRae  <allan@archlinux.org>
6717
6718         [BZ #15939]
6719         * manual/string.texi (Collation Functions): Fix typo in
6720         strcoll example.
6721         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6722
6723         [BZ #15893]
6724         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6725
6726         [BZ #15892]
6727         * libio/memstream.c (open_memstream): Fix memory leak.
6728         * libio/wmemstream.c (open_wmemstream): Likewise.
6729
6730         [BZ #15895]
6731         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6732
6733 2013-09-09  Will Newton  <will.newton@linaro.org>
6734
6735         * malloc/Makefile: Add tst-realloc to tests.
6736         * malloc/tst-realloc.c: New file.
6737
6738 2013-09-09  Allan McRae  <allan@archlinux.org>
6739
6740         [BZ #15844]
6741         * COPYING: Update from GNU website to fix FSF address.
6742         * COPYING.LIB: Likewise.
6743
6744 2013-09-06  David S. Miller  <davem@davemloft.net>
6745
6746         * po/zh_TW.po: Update Chinese (traditional) translation from
6747         translation project.
6748
6749 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6750             Joseph Myers  <joseph@codesourcery.com>
6751
6752         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6753         "localeinfo.h".
6754         (obstack_chunk_alloc): New macro.
6755         (obstack_chunk_free): Likewise.
6756         (record_offset): New function.
6757         (init_locale_data): Likewise.
6758         (align_locale_data): Likewise.
6759         (add_locale_empty): Likewise.
6760         (add_locale_raw_data): Likewise.
6761         (add_locale_raw_obstack): Likewise.
6762         (add_locale_string): Likewise.
6763         (add_locale_wstring): Likewise.
6764         (add_locale_uint32): Likewise.
6765         (add_locale_uint32_array): Likewise.
6766         (add_locale_char): Likewise.
6767         (start_locale_structure): Likewise.
6768         (end_locale_structure): Likewise.
6769         (start_locale_prelude): Likewise.
6770         (end_locale_prelude): Likewise.
6771         (write_locale_data): Take locale_file structure rather than an
6772         iovec.
6773         * locale/programs/locfile.h: Include "obstack.h".
6774         (struct locale_file): Change to store locale file contents instead
6775         of header.
6776         (init_locale_data): New prototype.
6777         (align_locale_data): Likewise.
6778         (add_locale_empty): Likewise.
6779         (add_locale_raw_data): Likewise.
6780         (add_locale_raw_obstack): Likewise.
6781         (add_locale_string): Likewise.
6782         (add_locale_wstring): Likewise.
6783         (add_locale_uint32): Likewise.
6784         (add_locale_uint32_array): Likewise.
6785         (add_locale_char): Likewise.
6786         (start_locale_structure): Likewise.
6787         (end_locale_structure): Likewise.
6788         (start_locale_prelude): Likewise.
6789         (end_locale_prelude): Likewise.
6790         (write_locale_data): Update prototype.
6791         * locale/programs/3level.h (struct TABLE): Remove result field.
6792         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6793         Use new locale_file interface.
6794         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6795         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6796         * locale/programs/ld-address.c (address_output): Use new
6797         locale_file interface.
6798         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6799         NO_ADD_LOCALE.
6800         (collate_finish): Don't call collseq_table_finalize.
6801         (collate_output): Use new locale_file interface.
6802         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6803         in file.
6804         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6805         (TABLE): Move defines earlier in file.
6806         (ELEMENT): Likewise.
6807         (DEFAULT): Likewise.
6808         (wctrans_table_add): Move macro and inline function earlier in
6809         file.
6810         (struct wctype_table): Move type earlier in file.
6811         (add_locale_wctype_table): New static prototype.
6812         (struct locale_ctype_t): Use logical types instead of struct iovec
6813         pointers for members.
6814         (ctype_output): Use new locale_file interface.
6815         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6816         new locale_file interface.
6817         (allocate_arrays): Update for use of new locale_file interface.
6818         * locale/programs/ld-identification.c (identification_output): Use
6819         new locale_file interface.
6820         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6821         * locale/programs/ld-messages.c (messages_output): Likewise.
6822         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6823         * locale/programs/ld-name.c (name_output): Likewise.
6824         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6825         * locale/programs/ld-paper.c (paper_output): Likewise.
6826         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6827         * locale/programs/ld-time.c (time_output): Likewise.
6828
6829 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6830
6831         * benchtests/Makefile: Add memrchr benchmark.
6832         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6833         benchmark as memrchr.
6834         * benchtests/bench-memrchr-ifunc.c: New file.
6835         * benchtests/bench-memrchr.c: New file.
6836
6837 2013-09-06   Will Newton  <will.newton@linaro.org>
6838
6839         * benchtests/Makefile (string-bench): Add memcpy.
6840
6841 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6842             Cong Wang  <amwang@redhat.com>
6843
6844         [BZ #15850]
6845         * sysdeps/unix/sysv/linux/bits/in.h
6846         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6847         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6848         before __USE_KERNEL_IPV6_DEFS uses.
6849         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6850         IPPROTO_BEETPH.
6851         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6852         sockaddr_in6, or ipv6_mreq.
6853
6854 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6855
6856         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6857         memory access for final bytes in some large inputs.
6858         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6859
6860 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6861
6862         * string/test-memrchr.c: New file.
6863         * string/test-memrchr-ifunc.c: New file.
6864         * string/Makefile: Add new memrchr testcase.
6865
6866 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6867
6868         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6869         fanotify_init returns EPERM.
6870
6871 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6872
6873         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6874         errors.
6875         (top level): Treat second token from macro or constant entries for
6876         allowed headers as allowed.
6877         * include/complex.h: Condition internal declarations on
6878         [!_ISOMAC].
6879         * include/fenv.h: Condition include of <stdbool.h> and internal
6880         declarations on [!_ISOMAC].
6881
6882 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6883
6884         [BZ #15923]
6885         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6886
6887 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6888
6889         * configure.in (--enable-versioning): Remove configure option.
6890         (libc_cv_asm_symver_directive): Remove configure test.
6891         (libc_cv_ld_version_script_option): Likewise.
6892         (VERSIONING): Remove variable and AC_SUBST.
6893         (DO_VERSIONING): Remove AC_DEFINE.
6894         * configure: Regenerated.
6895         * config.h.in (DO_VERSIONING): Remove macro.
6896         * Makerules [$(versioning) = yes]: Change conditionals to
6897         [$(build-shared) = yes].
6898         * config.make.in (versioning): Remove variable.
6899         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6900         [$(build-shared) = yes].
6901         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6902         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6903         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6904         [$(build-shared) = yes].
6905         * extra-lib.mk [$(versioning) = yes]: Likewise.
6906         * hurd/Makefile [$(versioning) = yes]: Likewise.
6907         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6908         [SHARED].
6909         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6910         [SHARED].
6911         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6912         [SHARED && !NO_HIDDEN].
6913         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6914         [SHARED].
6915         [SHARED && DO_VERSIONING]: Likewise..
6916         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6917         [$(build-shared) = yes].
6918         * manual/install.texi (--disable-versioning): Remove
6919         documentation.
6920         * INSTALL: Regenerated.
6921         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6922         to [SHARED].
6923         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6924         [$(build-shared) = yes].
6925         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6926         * sysdeps/i386/i686/multiarch/strstr-c.c
6927         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6928         [SHARED && !NO_HIDDEN].
6929         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6930         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6931         * sysdeps/powerpc/powerpc32/dl-machine.c
6932         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6933         * sysdeps/powerpc/powerpc32/sysdep.h
6934         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6935         to [SHARED && PIC && !NO_HIDDEN].
6936         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6937         conditional to [SHARED].
6938
6939 2013-09-04   Will Newton  <will.newton@linaro.org>
6940
6941         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6942         * benchtests/bench-string.h: Include bench-timing.h instead
6943         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6944         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6945         call to HP_TIMING_DIFF_INIT.
6946         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6947         instead of hp-timing.h macros.
6948         * benchtests/bench-memchr.c: Likewise.
6949         * benchtests/bench-memcmp.c: Likewise.
6950         * benchtests/bench-memcpy.c: Likewise.
6951         * benchtests/bench-memmem.c: Likewise.
6952         * benchtests/bench-memmove.c: Likewise.
6953         * benchtests/bench-memset.c: Likewise.
6954         * benchtests/bench-rawmemchr.c: Likewise.
6955         * benchtests/bench-strcasecmp.c: Likewise.
6956         * benchtests/bench-strcasestr.c: Likewise.
6957         * benchtests/bench-strcat.c: Likewise.
6958         * benchtests/bench-strchr.c: Likewise.
6959         * benchtests/bench-strcmp.c: Likewise.
6960         * benchtests/bench-strcpy.c: Likewise.
6961         * benchtests/bench-strcpy_chk.c: Likewise.
6962         * benchtests/bench-strlen.c: Likewise.
6963         * benchtests/bench-strncasecmp.c: Likewise.
6964         * benchtests/bench-strncat.c: Likewise.
6965         * benchtests/bench-strncmp.c: Likewise.
6966         * benchtests/bench-strncpy.c: Likewise.
6967         * benchtests/bench-strnlen.c: Likewise.
6968         * benchtests/bench-strpbrk.c: Likewise.
6969         * benchtests/bench-strrchr.c: Likewise.
6970         * benchtests/bench-strspn.c: Likewise.
6971         * benchtests/bench-strstr.c: Likewise.
6972
6973 2013-09-04  Will Newton  <will.newton@linaro.org>
6974
6975         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6976
6977 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6978
6979         [BZ #15427]
6980         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6981         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6982         * math/libm-test.inc (lgamma_test_data): Add more tests.
6983         * sysdeps/i386/fpu/libm-test-ulps: Update.
6984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6985
6986 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6987
6988         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6990         Add ifunc.
6991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6992         Add strcmp-sse2-unaligned
6993         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6994
6995 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6996
6997         * Versions.def (libc): Add GLIBC_2.19.
6998
6999 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7000
7001         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7002         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7003
7004 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
7005
7006         [BZ #14155]
7007         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7008         intermediate calculations in recurrence.
7009         (__ieee754_ynf): Likewise.
7010         * math/libm-test.inc (jn_test_data): Do not allow spurious
7011         underflow exception.  Add more tests.
7012         (yn_test_data): Add more tests.
7013         * sysdeps/i386/fpu/libm-test-ulps: Update.
7014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7015
7016 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
7017
7018         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7019
7020 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7021
7022         * csu/init-first.c: Fix then/than typos.
7023         * locale/programs/ld-collate.c: Likewise.
7024         * locale/programs/linereader.h: Likewise.
7025         * manual/charset.texi: Likewise.
7026         * manual/filesys.texi: Likewise.
7027         * manual/stdio.texi: Likewise.
7028         * manual/string.texi: Likewise.
7029         * stdlib/fmtmsg.c: Likewise.
7030         * sysdeps/i386/stpncpy.S: Likewise.
7031         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7032         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7033         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7034         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7035
7036 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7037
7038         * elf/dl-open.c: Fix typos.
7039         * iconvdata/gbbig5.c: Likewise.
7040         * iconvdata/iso-2022-jp.c: Likewise.
7041         * iconv/gconv_int.h: Likewise.
7042         * iconv/loop.c: Likewise.
7043         * nis/rpcsvc/nis.h: Likewise.
7044         * resolv/ns_name.c: Likewise.
7045         * stdio-common/vfscanf.c: Likewise.
7046         * streams/stropts.h: Likewise.
7047         * sunrpc/rpc_thread.c: Likewise.
7048         * sysdeps/i386/strpbrk.S: Likewise.
7049         * sysdeps/ieee754/k_standard.c: Likewise.
7050         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7051         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7052         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7053         * sysdeps/mach/hurd/profil.c: Likewise.
7054         * sysdeps/s390/dl-procinfo.h: Likewise.
7055         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7056         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7057         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7058         * sysdeps/x86_64/dl-trampoline.S: Likewise.
7059         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7060
7061 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
7062
7063         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7065
7066 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7067
7068         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7069         aix specific files.
7070         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7071         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7072         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7073         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7074         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7075         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7076         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7077         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7078
7079 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7080             Roland McGrath  <roland@hack.frob.com>
7081
7082         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7083         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7084
7085 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7086
7087         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7088         __executable_start symbol instead of _start.
7089
7090 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7091
7092         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7093         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7094         Move macros to...
7095         * sysdeps/gnu/ldsodefs.h: ... this new file.
7096
7097         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7098         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7099         instead of ELFOSABI_LINUX.
7100
7101         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7102         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7103         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7104         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7105         Likewise.
7106         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7107         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7108         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7109         Likewise.
7110         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7111         (ibm_extended_long_double): Add ieee_nan member.
7112         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7113         (do_test): New function.
7114
7115         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7116         TEST_TRUNC.
7117         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7118         functions, renamed from truncdfsf_test, trunctfsf_test,
7119         trunctfdf_test.
7120         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7121         functions.
7122         (do_test): Run all these.
7123
7124 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7125
7126         * argp/argp-help.c: Fix typos.
7127         * argp/argp-parse.c: Likewise.
7128         * debug/backtracesyms.c: Likewise.
7129         * elf/elf.h: Likewise.
7130         * malloc/malloc.c: Likewise.
7131         * nis/nis_print.c: Likewise.
7132         * resolv/res_comp.c: Likewise.
7133         * stdlib/stdlib.h: Likewise.
7134         * sunrpc/clnt_tcp.c: Likewise.
7135         * sunrpc/clnt_udp.c: Likewise.
7136         * sunrpc/clnt_unix.c: Likewise.
7137         * sysdeps/unix/bsd/ptsname.c: Likewise.
7138         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7139         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7141         Likewise.
7142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7143         Likewise.
7144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7145         Likewise.
7146         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7147
7148 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7149
7150         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7152
7153 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7154
7155         [BZ #15897]
7156         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7157         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7158         ($(objpfx)bug-dl-leaf): New rule.
7159         ($(objpfx)bug-dl-leaf.so): Likewise.
7160         ($(objpfx)bug-dl-leaf.out): Likewise.
7161         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7162         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7163         * dlfcn/bug-dl-leaf.c: New test.
7164         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7165         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7166         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7167         (dlclose): Likewise.
7168         (dlmopen): Likewise.
7169
7170 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7171
7172         * include/netdb.h [!_ISOMAC]:
7173         Don't include <tls.h>.
7174         (h_errno, __libc_h_errno): Move declaration and macros out of
7175         [_LIBC_REENTRANT].
7176
7177         * include/resolv.h [_RESOLV_H_]:
7178         Don't include <tls.h>.
7179         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7180         * resolv/res_libc.c: Don't include <tls.h>.
7181         (_res): Use __attribute__ ((nocommon)) in place of
7182         __attribute__ ((section (".bss"))).
7183
7184         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7185         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7186
7187         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7188
7189         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7190         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7191
7192         * resolv/res_mkquery.c: Include <sys/time.h>.
7193
7194         * inet/ifreq.c: Moved to ...
7195         * sysdeps/unix/ifreq.c: ... here.
7196         * inet/ifreq.c: New file, true stub version.
7197
7198         * socket/sa_len.c: New file.
7199         * socket/Makefile (aux): Add it.
7200         * sysdeps/unix/sysv/linux/Makefile
7201         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7202         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7203         and #include <socket/sa_len.c>.
7204         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7205         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7206
7207         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7208         * bits/socket.h: ... here.
7209
7210         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7211         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7212         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7213
7214 2013-08-27  Andreas Schwab  <schwab@suse.de>
7215
7216         [BZ #15736]
7217         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7218         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7219         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7220         * string/test-strcasecmp.c (test_main): Run tests in several
7221         locales.
7222         * string/test-strncasecmp.c (test_main): Likewise.
7223
7224         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7225         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7226         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7228         (__strncasecmp_ssse3) [PIC]: Likewise.
7229
7230 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7231
7232         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7233
7234         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7235         instead of explicitly declaring xdecrypt.
7236         * nis/nss_nis/nis-publickey.c: Likewise.
7237
7238 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7239
7240         [BZ #15890]
7241         * nscd/aicache.c: Include res_hconf.h.
7242         (addhstaiX): Initialize res_hconf.
7243
7244 2013-08-26  Andreas Schwab  <schwab@suse.de>
7245
7246         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7247         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7248
7249 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7250
7251         * nscd/aicache.c (addhstaiX): Fix indentation.
7252
7253 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7254
7255         * configure.ac: Quote $build_pt_chown test.
7256         * configure: Regenerated.
7257
7258 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7259
7260         [BZ #15532]
7261         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7262         * math/s_cexpf.c (__cexpf): Likewise.
7263         * math/s_cexpl.c (__cexpl): Likewise.
7264         * math/libm-test.inc (cexp_test_data): Correct expected return
7265         value for NaN + i0.  Add another test.
7266
7267 2013-08-22  David S. Miller  <davem@davemloft.net>
7268
7269         * po/ca.po: Update Catalan translation from translation project.
7270         * po/uk.po: Add Ukrainian translations from translation project.
7271
7272 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7273
7274         [BZ #15797]
7275         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7276         is infinite, not alongside NaN test.
7277         * math/s_fdimf.c (__fdimf): Likewise.
7278         * math/s_fdiml.c (__fdiml): Likewise.
7279         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7280         errno is unchanged.
7281
7282 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7283
7284         * argp/argp-help.c: Fix typos.
7285         * crypt/speeds.c: Likewise.
7286         * csu/check_fds.c: Likewise.
7287         * elf/dl-load.c: Likewise.
7288         * elf/dl-open.c: Likewise.
7289         * elf/reldep3.c: Likewise.
7290         * elf/reldep.c: Likewise.
7291         * elf/sprof.c: Likewise.
7292         * iconv/iconv_charmap.c: Likewise.
7293         * iconv/skeleton.c: Likewise.
7294         * iconv/strtab.c: Likewise.
7295         * io/lockf64.c: Likewise.
7296         * libio/libioP.h: Likewise.
7297         * resolv/gai_notify.c: Likewise.
7298         * resolv/ns_name.c: Likewise.
7299         * resolv/ns_samedomain.c: Likewise.
7300         * resolv/res_send.c: Likewise.
7301         * stdlib/random.c: Likewise.
7302         * sunrpc/rpc/xdr.h: Likewise.
7303         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7304         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7305         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7306         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7307         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7308         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7309         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7310         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7311         * sysdeps/mach/hurd/check_fds.c: Likewise.
7312         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7313         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7314         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7315         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7316         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7317         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7318         * sysdeps/pthread/aio_notify.c: Likewise.
7319         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7320         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7321         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7322         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7323         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7324
7325 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7326
7327         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7328         version if bit_Slow_SSE4_2 is set.
7329         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7330         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7331
7332 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7333
7334         [BZ #15867]
7335         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7336         trampoline stack frame information.
7337         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7338         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7339         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7340         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7341         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7342         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7343         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7344         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7345         sa_flags value.
7346         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7347         interrupting a syscall and set with option SA_SIGINFO.
7348
7349 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7350
7351         [BZ #15531]
7352         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7353         argument is infinite.
7354         * math/s_cprojf.c (__cprojf): Likewise.
7355         * math/s_cprojl.c (__cprojl): Likewise.
7356         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7357         * math/libm-test.inc (cproj_test_data): Add more tests.
7358
7359         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7360
7361         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7362         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7363         size.  Use __ffs to determine corresponding shift.
7364
7365 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7366             Roland McGrath  <roland@hack.frob.com>
7367
7368         * Makefile (INSTALL): Remove trailing blank lines from output of
7369         makeinfo.
7370
7371 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7372
7373         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7374         Align 32 bit compat elf_greg to 8 bytes.
7375
7376 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7377
7378         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7379
7380 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7381
7382         * string/strcoll_l.c (coll_seq): New structure.
7383         (get_next_seq_cached): New function.
7384         (get_next_seq): New function.
7385         (do_compare): New function.
7386         (STRCOLL): Use GNU style definition.  Simplify implementation
7387         by using get_next_seq, get_next_seq_cached and do_compare.
7388
7389 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7390
7391         [BZ #14699]
7392         CVE-2013-4237
7393         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7394         member.
7395         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7396         member.
7397         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7398         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7399         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7400         conditional.
7401         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7402         GETDENTS_64BIT_ALIGNED.
7403         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7404         * manual/filesys.texi (Reading/Closing Directory): Document
7405         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7406         strongly.
7407         * manual/conf.texi (Limits for Files): Add portability note to
7408         NAME_MAX, PATH_MAX.
7409         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7410
7411 2013-08-13  Andreas Schwab  <schwab@suse.de>
7412
7413         [BZ #15749]
7414         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7415         of fabs.
7416         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7417         LDBL_MAX_EXP >= 16384]: Add tests for it.
7418
7419 2013-08-12  David S. Miller  <davem@davemloft.net>
7420
7421         * version.h (RELEASE): Set to "development".
7422         (VERSION): Set to "2.18.90".
7423         * NEWS: Add 2.19 section.
7424
7425 2013-08-03  David S. Miller  <davem@davemloft.net>
7426
7427         * po/ko.po: Update Korean translation from translation project.
7428
7429 2013-08-01  David S. Miller  <davem@davemloft.net>
7430
7431         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7432         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7433         Bilka.
7434
7435 2013-07-30  David S. Miller  <davem@davemloft.net>
7436
7437         * po/fr.po: Update French translation from translation project.
7438
7439 2013-07-28  David S. Miller  <davem@davemloft.net>
7440
7441         * po/cs.po: Update Czech translation from translation project.
7442
7443         * po/sv.po: Update Swedish translation from translation project.
7444
7445 2013-07-27  David S. Miller  <davem@davemloft.net>
7446
7447         * po/eo.po: Update Esperanto translation from translation project.
7448
7449         * po/vi.po: Update Vietnamese translation from translation project.
7450
7451         * po/de.po: Update German translation from translation project.
7452
7453 2013-07-26  David S. Miller  <davem@davemloft.net>
7454
7455         * po/bg.po: Update Bulgarian translation from translation project.
7456
7457         * po/nl.po: Update Dutch translation from translation project.
7458         * po/pl.po: Update Polish translation from translation project.
7459         * po/ru.po: Update Russian translation from translation project.
7460
7461 2013-07-24  David S. Miller  <davem@davemloft.net>
7462
7463         * po/libc.pot: Update.
7464
7465 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7466
7467         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7468         variable page size.
7469         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7470         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7471         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7472
7473 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7474
7475         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7476
7477 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7478             Andreas Schwab  <schwab@suse.de>
7479             Roland McGrath  <roland@hack.frob.com>
7480             Joseph Myers  <joseph@codesourcery.com>
7481             Carlos O'Donell  <carlos@redhat.com>
7482
7483         [BZ #15755]
7484         * config.h.in: Define HAVE_PT_CHOWN.
7485         * config.make.in (build-pt-chown): New variable.
7486         * configure.in (--enable-pt_chown): New configure option.
7487         * configure: Regenerate.
7488         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7489         build-pt-chown is enabled.
7490         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7491         pt_chown to fix pty ownership.
7492         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7493         CLOSE_ALL_FDS.
7494         * manual/install.texi (Configuring and compiling): Mention
7495         --enable-pt_chown. Add @findex for grantpt.
7496         * INSTALL: Regenerate.
7497
7498 2013-07-20  David S. Miller  <davem@davemloft.net>
7499
7500         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7501         difference between 32-bit and 64-bit.
7502
7503 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7504
7505         [BZ #15711]
7506         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7507         Avoid system header dependency with -ffreestanding.
7508         ($(objpfx)bits/syscall%d): Likewise.
7509
7510 2013-07-13  David S. Miller  <davem@davemloft.net>
7511
7512         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7513         underflows from atanl/atan2l due to bug 15319.
7514         (casinh_test_data): Likewise.
7515
7516 2013-07-07  David S. Miller  <davem@davemloft.net>
7517
7518         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7519
7520 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7521
7522         * sysdeps/i386/fpu/libm-test-ulps: Update.
7523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7524
7525 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7526
7527         * configure.in (--enable-lock-elision): Fix message text.
7528         * INSTALL: Regenerate.
7529         * configure: Regenerate.
7530
7531 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7532
7533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7534
7535 2013-07-03  Andreas Jaeger  <aj@suse.de>
7536
7537         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7538         define.
7539         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7540         (ptrace_peeksiginfo_args): Add.
7541         (__ptrace_peeksiginfo_flags): Add.
7542         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7543         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7544         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7545
7546 2013-07-03  Allan McRae  <allan@archlinux.org>
7547
7548         * sysdeps/i386/fpu/libm-test-ulps: Update.
7549
7550 2013-07-02  David S. Miller  <davem@davemloft.net>
7551
7552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7553
7554 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7555
7556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7557
7558 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7559
7560         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7562
7563 2013-07-02  Andi Kleen <ak@linux.intel.com>
7564
7565         * config.h.in (ENABLE_LOCK_ELISION): Add.
7566         * configure.in (--enable-lock-elision): Add option.
7567         * manual/install.texi: Document --enable lock elision.
7568         * configure: Regenerate
7569         * INSTALL: Regenerate.
7570
7571 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7572
7573         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7574         SSE4.2 strcasecmp for libc.a.
7575         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7576
7577 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7578
7579         [BZ #13304]
7580         * soft-fp/op-common.h (_FP_FMA): New macro.
7581         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7582         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7583         (_FP_MUL_MEAT_1_imm): ... here.
7584         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7585         (_FP_MUL_MEAT_1_wide): ... here.
7586         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7587         (_FP_MUL_MEAT_1_hard): ... here.
7588         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7589         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7590         (_FP_MUL_MEAT_2_wide): ... here.
7591         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7592         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7593         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7594         (_FP_MUL_MEAT_2_gmp): ... here.
7595         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7596         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7597         (_FP_MUL_MEAT_4_wide): ... here.
7598         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7599         (_FP_MUL_MEAT_4_gmp): ... here.
7600         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7601         (_FP_WFRACBITS_DW_S): Likewise.
7602         (_FP_WFRACXBITS_DW_S): Likewise.
7603         (_FP_HIGHBIT_DW_S): Likewise.
7604         (FP_FMA_S): Likewise.
7605         (_FP_FRAC_HIGH_DW_S): Likewise.
7606         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7607         (_FP_WFRACBITS_DW_D): Likewise.
7608         (_FP_WFRACXBITS_DW_D): Likewise.
7609         (_FP_HIGHBIT_DW_D): Likewise.
7610         (FP_FMA_D): Likewise.
7611         (_FP_FRAC_HIGH_DW_D): Likewise.
7612         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7613         (_FP_WFRACBITS_DW_E): Likewise.
7614         (_FP_WFRACXBITS_DW_E): Likewise.
7615         (_FP_HIGHBIT_DW_E): Likewise.
7616         (FP_FMA_E): Likewise.
7617         (_FP_FRAC_HIGH_DW_E): Likewise.
7618         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7619         (_FP_WFRACBITS_DW_Q): Likewise.
7620         (_FP_WFRACXBITS_DW_Q): Likewise.
7621         (_FP_HIGHBIT_DW_Q): Likewise.
7622         (FP_FMA_Q): Likewise.
7623         (_FP_FRAC_HIGH_DW_Q): Likewise.
7624         * soft-fp/fmasf4.c: New file.
7625         * soft-fp/fmadf4.c: Likewise.
7626         * soft-fp/fmatf4.c: Likewise.
7627
7628 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7629
7630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7631         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7632         Silvermont.
7633         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7634         macro.
7635         (index_Slow_SSE4_2): Likewise.
7636         (index_Prefer_PMINUB_for_stringop): Likewise.
7637         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7638         bit_Slow_SSE4_2 is set.
7639         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7640         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7641
7642 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7643
7644         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7645         rtld_global._dl_hwcap2.
7646         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7647         POWER8.
7648         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7649         POWER8 feature descriptions defined in _dl_hwcap2.
7650         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7651         string handling for POWER8 feature bits.
7652         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7653         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7654         _dl_powerpc_cap_flags.
7655         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7656         * sysdeps/powerpc/rtld-global-offsets.sym
7657         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7658         _dl_hwcap2 in the rtld_global_ro structure.
7659
7660 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7661
7662         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7663         hardware capabilities in support of AT_HWCAP2.
7664         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7665         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7666         GLRO(dl_hwcap2).
7667         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7668         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7669         explicitly the unknown a_type display mechanism is used.
7670         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7671         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7672         struct member.
7673         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7674         to macro prototype for AT_HWCAP2 support.
7675         * sysdeps/i386/dl-procinfo.h: Likewise.
7676         * sysdeps/s390/dl-procinfo.h: Likewise.
7677         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7678         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7679         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7680         return -1 for unknown a_type display fallback.
7681         * sysdeps/sparc/dl-procinfo.h: Likewise.
7682         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7683         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7684
7685 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7686
7687         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7688         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7689
7690 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7691
7692         [BZ #12492]
7693         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7694         mprotect making __stack_prot writable.
7695
7696 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7697             Joseph Myers  <joseph@codesourcery.com>
7698
7699         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7700         as being properly aligned.
7701
7702 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7703
7704         * dlfcn/modstatic5.c: New file.
7705         * dlfcn/tststatic5.c: New file.
7706         * dlfcn/Makefile (tests): Add tststatic5.
7707         (tests-static): Likewise.
7708         (modules-names): Add modstatic5.
7709         (tststatic5-ENV): New variable.
7710         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7711
7712         [BZ #15022]
7713         * elf/dl-support.c (_dl_main_map): New variable.
7714         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7715         (_dl_nns, _dl_load_adds): Set to 1.
7716         (_dl_initial_searchlist): Refer to _dl_main_map.
7717         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7718         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7719         call to _dl_get_origin.
7720         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7721         around call_map.
7722         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7723         * dlfcn/modstatic3.c: New file.
7724         * dlfcn/tststatic3.c: New file.
7725         * dlfcn/tststatic4.c: New file.
7726         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7727         (tests-static): Likewise.
7728         (modules-names): Add modstatic3.
7729         (tststatic3-ENV, tststatic4-ENV): New variables.
7730         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7731         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7732
7733 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7734
7735         * configure.in (CC): Require GCC version 4.4 or later.
7736         * configure: Regenerated.
7737         * manual/install.texi (Tools for Compilation): Update GCC version
7738         requirement.
7739         * INSTALL: Regenerated.
7740
7741 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7742
7743         [BZ #15674]
7744         * string/test-memcmp.c (check2): New.
7745         (main): Call check2.
7746
7747         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7748
7749 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7750
7751         [BZ #15022]
7752         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7753         over to...
7754         (dl_open_worker) [!SHARED]: ... here.
7755
7756 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7757
7758         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7759
7760 2013-06-25  Richard Henderson  <rth@redhat.com>
7761
7762         * locale/programs/locarchive.c: Include <libc-internal.h>
7763
7764 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7765
7766         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7767         trailing whitespace removed.
7768
7769 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7770
7771         [BZ #10283]
7772         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7773         * locale/programs/locarchive.c: Include libc-mmap.h.
7774         (prepare_address_space): Take two new outputs (the mmap base and len).
7775         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7776         values.
7777         (create_archive): Declare new mmap base and len values for
7778         prepare_address_space, and store the result in ah.
7779         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7780         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7781         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7782         Declare new mmap base and len values for
7783         prepare_address_space, and store the result in new_ah.
7784         (open_archive): Declare new mmap base and len values for
7785         prepare_address_space, and store the result in ah.
7786         (close_archive): If ah->mmap_base is not NULL, use that and
7787         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7788         * sysdeps/generic/libc-mmap.h: New file.
7789
7790 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7791
7792         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7793         (ALIGN_UP): Likewise.
7794         (PTR_ALIGN_DOWN): Likewise.
7795         (PTR_ALIGN_UP): Likewise.
7796
7797 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7798
7799         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7800         entry mapped to PPC_PLATFORM_POWER8.
7801         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7802         POWER8.
7803         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7804         (_dl_string_platform): Add case for exporting platform position for
7805         POWER8.
7806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7807         search path to sysdeps/powerpc/powerpc32/power8 directory.
7808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7809         search path to sysdeps/powerpc/powerpc64/power8 directory.
7810         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7811         power7 directories.
7812         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7813         power7 directories.
7814
7815 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7816
7817         * INSTALL: Regenerate.
7818
7819         * nscd/connections.c (nscd_init): Fix comment.
7820
7821 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7822
7823         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7824
7825         [BZ #15667]
7826         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7827         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7828
7829 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7830
7831         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7832         DL_DST_REQ_STATIC.
7833         (DL_DST_REQ_STATIC): Remove macro.
7834
7835 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7836
7837         [BZ #7006]
7838         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7839         with a shift of 0 bits.
7840
7841 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7842
7843         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7844         $(tststatic-ENV).
7845
7846 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7847
7848         [BZ #15655]
7849         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7850
7851 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7852
7853         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7854         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7855         accepts -fno-tree-loop-distribute-patterns.
7856         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7857         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7858         recursive call.
7859         * string/memset.c (memset): Likewise.
7860         * string/test-memmove.c (simple_memmove): Disable loop transformation
7861         to library calls.
7862         * string/test-memset.c (simple_memset): Likewise.
7863         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7864         * benchtests/bench-memset.c (simple_memset): Likewise.
7865         * configure: Regenerated.
7866
7867 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7868
7869         * math/test-misc.c (main): Ignore fesetround failure when failures
7870         of subsequent rounding tests would be ignored.
7871
7872         [BZ #15654]
7873         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7874         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7875         * math/fegetenv.c (__fegetenv): Return 0.
7876         * math/fegetexcept.c (fegetexcept): Return 0.
7877         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7878         FE_TONEAREST.
7879         * math/feholdexcpt.c (feholdexcept): Return 0.
7880         * math/fesetenv.c (__fesetenv): Return 0.
7881         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7882         argument FE_TONEAREST.
7883         * math/feupdateenv.c (__feupdateenv): Return 0.
7884         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7885
7886 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7887
7888         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7889         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7890         ($(objpfx)rtld-%.os rules): Use them.
7891
7892 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7893
7894         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7895         fields.
7896
7897 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7898
7899         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7900         length of target pattern, then descending length of dependency pattern.
7901         * configure.in (AWK): Require gawk 3.1.2 or newer.
7902         * manual/install.texi (Tools for Compilation): Say that we do.
7903         * configure: Regenerated.
7904
7905         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7906         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7907         * scripts/sysd-rules.awk: ... this new script.
7908         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7909         than a glob-style pattern.
7910
7911 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7912
7913         * math/test-misc.c (main): Do not treat incorrectly rounded
7914         conversions as failure unless ROUNDING_TESTS passes.
7915
7916 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7917
7918         [BZ #15631]
7919         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7920         restore exception state around main square root computation, then
7921         check for inexactness explicitly.
7922
7923         * math/libm-test.inc (fma_test_data): Add another test.
7924
7925 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7926
7927         * manual/threads.texi (Non-POSIX Extensions): New document
7928         node.  Document pthread_getattr_default_np and
7929         pthread_setattr_default_np.
7930
7931         * Versions.def (libpthread): Add GLIBC_2.18.
7932         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7934         Likewise.
7935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7936         Likewise.
7937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7938         Likewise.
7939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7940         Likewise.
7941         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7942         Likewise.
7943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7944         Likewise.
7945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7946         Likewise.
7947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7948         Likewise.
7949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7950         Likewise.
7951
7952 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7953
7954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7955         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7956
7957 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7958             H.J. Lu  <hjl.tools@gmail.com>
7959
7960         [BZ #15627]
7961         * sysdeps/x86_64/rtld-memset.c: Remove file.
7962         * sysdeps/x86_64/rtld-memset.S: New file.
7963
7964 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7965
7966         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7967         (test_in_one_mode): Take arguments for whether the rounding mode
7968         is supported for each floating-point type.
7969         (do_test): Pass new arguments to test_in_one_mode using
7970         ROUNDING_TESTS.
7971
7972 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7973
7974         * posix/tst-waitid.c (do_test): Distinguish different instances of
7975         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7976         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7977         before entering the kernel for waitpid.
7978
7979 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7980
7981         * NEWS: Fix note on clock function precision.  Text by Roland
7982         McGrath.
7983
7984 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7985
7986         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7987         it into place only when and if the sanity check passes.
7988
7989 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7990
7991         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7992         output for whether conversion result is exact.  Take argument
7993         indicating whether type is IBM long double.
7994         (round_for_all): Change need_exact field to ibm_ld.
7995         * stdlib/tst-strtod-round.c (struct exactness): New type.
7996         (struct test): Change bool ld_ok field to struct exactness exact.
7997         (TEST): Update all definitions for change to field.
7998         (tests): Regenerate array contents.
7999         (test_in_one_mode): Take pointer to new field instead of old ld_ok
8000         field value.  Check for IBM long double here.
8001         (do_test): Update calls to test_in_one_mode.
8002
8003 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8004
8005         [BZ #12515]
8006         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8007         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8008
8009 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8010
8011         [BZ #15605]
8012         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8013         generated by the compiler on loop optimizations.
8014         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8015         general definitions.
8016
8017 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
8018
8019         * math/bug-nextafter.c: Include <math-tests.h>.
8020         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8021         the relevant type.
8022         * math/bug-nexttoward.c: Include <math-tests.h>.
8023         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8024         the relevant type.
8025         * math/test-misc.c: Include <math-tests.h>.
8026         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8027         the relevant type.
8028
8029 2013-06-12  Andreas Jaeger  <aj@suse.de>
8030
8031         * po/ia.po: Update Interlingua translation from translation
8032         project.
8033
8034 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8035
8036         * include/fenv.h: Include stdbool.h.
8037         (struct rm_ctx): New structure.
8038         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8039         Define macro.
8040         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8041         (SET_RESTORE_ROUNDF): Likewise.
8042         (SET_RESTORE_ROUNDL): Likewise.
8043         (SET_RESTORE_ROUND_NOEX): Likewise.
8044         (SET_RESTORE_ROUND_NOEXF): Likewise.
8045         (SET_RESTORE_ROUND_NOEXL): Likewise.
8046         (SET_RESTORE_ROUND_53BIT): Likewise.
8047         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8048         (libc_feresetround_noexf_ctx): Likewise.
8049         (libc_feresetround_noexl_ctx): Likewise.
8050         (libc_feholdsetround_53bit_ctx): Likewise.
8051         (libc_feresetround_53bit_ctx): Likewise.
8052         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8053         (libc_feholdexcept_setround_sse_ctx): New function.
8054         (libc_fesetenv_sse_ctx): Likewise.
8055         (libc_feupdateenv_sse_ctx): Likewise.
8056         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8057         (libc_feholdexcept_setround_387_ctx): Likewise.
8058         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8059         (libc_feholdsetround_387_prec_ctx): Likewise.
8060         (libc_feholdsetround_387_ctx): Likewise.
8061         (libc_feholdsetround_387_53bit_ctx): Likewise.
8062         (libc_feholdsetround_sse_ctx): Likewise.
8063         (libc_feresetround_sse_ctx): Likewise.
8064         (libc_feresetround_387_ctx): Likewise.
8065         (libc_feupdateenv_387_ctx): Likewise.
8066         (libc_feholdexcept_setroundf_ctx): Define macro.
8067         (libc_fesetenvf_ctx): Likewise.
8068         (libc_feupdateenvf_ctx): Likewise.
8069         (libc_feholdsetroundf_ctx): Likewise.
8070         (libc_feresetroundf_ctx): Likewise.
8071         (libc_feholdexcept_setround_ctx): Likewise.
8072         (libc_fesetenv_ctx): Likewise.
8073         (libc_feupdateenv_ctx): Likewise.
8074         (libc_feholdsetround_ctx): Likewise.
8075         (libc_feresetround_ctx): Likewise.
8076         (libc_feholdexcept_setroundl_ctx): Likewise.
8077         (libc_feupdateenvl_ctx): Likewise.
8078         (libc_feholdsetroundl_ctx): Likewise.
8079         (libc_feresetroundl_ctx): Likewise.
8080         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8081         (libc_feresetround_53bit_ctx): Likewise.
8082
8083 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8084
8085         * locale/iso-639.def: Convert to UTF-8.
8086
8087 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8088
8089         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8090         (EXCEPTION_TESTS_double): Likewise.
8091         (EXCEPTION_TESTS_long_double): Likewise.
8092         (EXCEPTION_TESTS): Likewise.
8093         * math/libm-test.inc (test_exceptions): Only test exceptions if
8094         EXCEPTION_TESTS (FLOAT).
8095
8096 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8097
8098         * benchtests/Makefile (string-bench): Add strcpy_chk and
8099         stpcpy_chk.
8100         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8101         * benchtests/bench-stpcpy_chk.c: New file.
8102         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8103         * benchtests/bench-strcpy_chk.c: New file.
8104         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8105         code.
8106         (do_test): Likewise.
8107
8108 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8109
8110         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8111         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8112         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8113         with tabs where appropriate.
8114         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8115         dl-procinfo.h.
8116         [PPC_PLATFORM_PPC440]: Likewise.
8117         [PPC_PLATFORM_PPC464]: Likewise.
8118         [PPC_PLATFORM_PPC476]: Likewise.
8119         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8120         ppc464, and ppc476 platform strings merging from ports/
8121         dl-procinfo.h.
8122
8123 2013-06-11  Andreas Schwab  <schwab@suse.de>
8124
8125         [BZ #14991]
8126         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8127         (from_ucs4_idx): Regenerate.
8128         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8129         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8130         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8131         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8132         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8133         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8134         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8135         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8136         from FROM_LOOP and TO_LOOP specific macros.
8137         (BODY): Handle combining characters.
8138         * iconvdata/BIG5HKSCS.irreversible: Update.
8139         * iconvdata/BIG5HKSCS.precomposed: New file.
8140         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8141         characters.
8142         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8143
8144 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8145
8146         * include/sys/time.h: Fix indentation and add copyright header.
8147
8148         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8149         (do_test): Likewise.
8150         * string/test-memchr.c (do_one_test): Likewise.
8151         (do_test): Likewise.
8152         * string/test-memcmp.c (do_one_test): Likewise.
8153         (do_test): Likewise.
8154         * string/test-memcpy.c (do_one_test): Likewise.
8155         (do_test): Likewise.
8156         * string/test-memmem.c (do_one_test): Likewise.
8157         (do_test): Likewise.
8158         (do_random_tests): Likewise.
8159         * string/test-memmove.c (do_one_test): Likewise.
8160         (do_test): Likewise.
8161         * string/test-memset.c (do_one_test): Likewise.
8162         (do_test): Likewise.
8163         * string/test-rawmemchr.c (do_one_test): Likewise.
8164         (do_test): Likewise.
8165         * string/test-strcasecmp.c (do_one_test): Likewise.
8166         (do_test): Likewise.
8167         * string/test-strcasestr.c (do_one_test): Likewise.
8168         (do_test): Likewise.
8169         * string/test-strcat.c (do_one_test): Likewise.
8170         (do_test): Likewise.
8171         * string/test-strchr.c (do_one_test): Likewise.
8172         (do_test): Likewise.
8173         * string/test-strcmp.c (do_one_test): Likewise.
8174         (do_test): Likewise.
8175         * string/test-strcpy.c (do_one_test): Likewise.
8176         (do_test): Likewise.
8177         * string/test-string.h: Likewise.
8178         (test_init): Likewise.
8179         * string/test-strlen.c (do_one_test): Likewise.
8180         (do_test): Likewise.
8181         * string/test-strncasecmp.c (do_one_test): Likewise.
8182         (do_test): Likewise.
8183         * string/test-strncat.c (do_one_test): Likewise.
8184         (do_test): Likewise.
8185         * string/test-strncmp.c (do_one_test): Likewise.
8186         (do_test_limit): Likewise.
8187         (do_test): Likewise.
8188         * string/test-strncpy.c (do_one_test): Likewise.
8189         (do_test): Likewise.
8190         * string/test-strnlen.c (do_one_test): Likewise.
8191         (do_test): Likewise.
8192         * string/test-strpbrk.c (do_one_test): Likewise.
8193         (do_test): Likewise.
8194         * string/test-strrchr.c (do_one_test): Likewise.
8195         (do_test): Likewise.
8196         * string/test-strspn.c (do_one_test): Likewise.
8197         (do_test): Likewise.
8198         * string/test-strstr.c (do_one_test): Likewise.
8199         (do_test): Likewise.
8200
8201         * benchtests/Makefile (string-bench): Add string benchmarks.
8202         * benchtests/bench-bcopy-ifunc.c: New file.
8203         * benchtests/bench-bcopy.c: New file.
8204         * benchtests/bench-bzero-ifunc.c: New file.
8205         * benchtests/bench-bzero.c: New file.
8206         * benchtests/bench-memccpy-ifunc.c: New file.
8207         * benchtests/bench-memccpy.c: New file.
8208         * benchtests/bench-memchr-ifunc.c: New file.
8209         * benchtests/bench-memchr.c: New file.
8210         * benchtests/bench-memcmp-ifunc.c: New file.
8211         * benchtests/bench-memcmp.c: New file.
8212         * benchtests/bench-memmem-ifunc.c: New file.
8213         * benchtests/bench-memmem.c: New file.
8214         * benchtests/bench-memmove-ifunc.c: New file.
8215         * benchtests/bench-memmove.c: New file.
8216         * benchtests/bench-mempcpy-ifunc.c: New file.
8217         * benchtests/bench-mempcpy.c: New file.
8218         * benchtests/bench-memset-ifunc.c: New file.
8219         * benchtests/bench-memset.c: New file.
8220         * benchtests/bench-rawmemchr-ifunc.c: New file.
8221         * benchtests/bench-rawmemchr.c: New file.
8222         * benchtests/bench-stpcpy-ifunc.c: New file.
8223         * benchtests/bench-stpcpy.c: New file.
8224         * benchtests/bench-stpncpy-ifunc.c: New file.
8225         * benchtests/bench-stpncpy.c: New file.
8226         * benchtests/bench-strcasecmp-ifunc.c: New file.
8227         * benchtests/bench-strcasecmp.c: New file.
8228         * benchtests/bench-strcasestr-ifunc.c: New file.
8229         * benchtests/bench-strcasestr.c: New file.
8230         * benchtests/bench-strcat-ifunc.c: New file.
8231         * benchtests/bench-strcat.c: New file.
8232         * benchtests/bench-strchr-ifunc.c: New file.
8233         * benchtests/bench-strchr.c: New file.
8234         * benchtests/bench-strchrnul-ifunc.c: New file.
8235         * benchtests/bench-strchrnul.c: New file.
8236         * benchtests/bench-strcmp-ifunc.c: New file.
8237         * benchtests/bench-strcmp.c: New file.
8238         * benchtests/bench-strcpy-ifunc.c: New file.
8239         * benchtests/bench-strcpy.c: New file.
8240         * benchtests/bench-strcspn-ifunc.c: New file.
8241         * benchtests/bench-strcspn.c: New file.
8242         * benchtests/bench-strlen-ifunc.c: New file.
8243         * benchtests/bench-strlen.c: New file.
8244         * benchtests/bench-strncasecmp-ifunc.c: New file.
8245         * benchtests/bench-strncasecmp.c: New file.
8246         * benchtests/bench-strncat-ifunc.c: New file.
8247         * benchtests/bench-strncat.c: New file.
8248         * benchtests/bench-strncmp-ifunc.c: New file.
8249         * benchtests/bench-strncmp.c: New file.
8250         * benchtests/bench-strncpy-ifunc.c: New file.
8251         * benchtests/bench-strncpy.c: New file.
8252         * benchtests/bench-strnlen-ifunc.c: New file.
8253         * benchtests/bench-strnlen.c: New file.
8254         * benchtests/bench-strpbrk-ifunc.c: New file.
8255         * benchtests/bench-strpbrk.c: New file.
8256         * benchtests/bench-strrchr-ifunc.c: New file.
8257         * benchtests/bench-strrchr.c: New file.
8258         * benchtests/bench-strspn-ifunc.c: New file.
8259         * benchtests/bench-strspn.c: New file.
8260         * benchtests/bench-strstr-ifunc.c: New file.
8261         * benchtests/bench-strstr.c: New file.
8262
8263         * benchtests/Makefile: Disable parallel execution of targets.
8264         (string-bench): Add memcpy.
8265         (benchset): New variable to store a list of benchmark sets.
8266         (bench-func): Renamed from bench.
8267         (bench-set): New target.
8268         (bench): Depend on bench-func and bench-set.
8269         * benchtests/README: Add section on benchmark sets.
8270         * benchtests/bench-memcpy-ifunc.c: New file.
8271         * benchtests/bench-memcpy.c: New file.
8272         * benchtests/bench-string.h: New file.
8273
8274 2013-06-11  Andreas Schwab  <schwab@suse.de>
8275
8276         [BZ #15577]
8277         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8278         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8279         values in the triple.
8280         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8281         terminator in the group key.
8282
8283 2013-06-11  Andreas Jaeger  <aj@suse.de>
8284
8285         * po/zh_TW.po: Update Chinese (traditional) translation from
8286         translation project.
8287
8288 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8289
8290         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8291         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8292         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
8293         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8294         (clock_getcpuclockid): Likewise.
8295         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8296         Add weak_alias and libc_hidden_def.
8297         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8298         * rt/clock_gettime.c (clock_gettime): Rename to
8299         __clock_gettime.  Add weak_alias and libc_hidden_def.
8300         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8301         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8302         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
8303         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8304         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8305         Likewise.
8306         * rt/clock_settime.c (clock_settime): Rename to
8307         __clock_settime.  Add weak_alias and libc_hidden_def.
8308         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8309
8310 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
8311
8312         * mach/err_boot.sub: Remove trailing whitespace.
8313         * mach/err_ipc.sub: Likewise.
8314         * mach/err_mach.sub: Likewise.
8315
8316         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8317         (ROUNDING_TESTS_double): Likewise.
8318         (ROUNDING_TESTS_long_double): Likewise.
8319         (ROUNDING_TESTS): Likewise.
8320         * math/libm-test.inc: Include <math-tests.h>.
8321         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8322         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8323         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8324         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8325
8326 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8327
8328         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8329         of assigning.
8330
8331 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8332
8333         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8334         otherwise empty TRANS lines.
8335         * sysdeps/gnu/errlist.c: Regenerated.
8336
8337         * catgets/gencat.c (error_print): Use (void) in function
8338         definition.
8339         * crypt/crypt_util.c (__init_des): Likewise.
8340         * crypt/speeds.c (Stop): Likewise.
8341         (main): Likewise.
8342         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8343         * inet/ruserpass.c (token): Likewise.
8344         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8345         * intl/localealias.c (extend_alias_table): Likewise.
8346         * intl/plural-exp.c (init_germanic_plural): Likewise.
8347         * libio/fcloseall.c (__fcloseall): Likewise.
8348         * libio/genops.c (_IO_flush_all): Likewise.
8349         (_IO_flush_all_linebuffered): Likewise.
8350         (_IO_cleanup): Likewise.
8351         (_IO_iter_begin): Likewise.
8352         (_IO_iter_end): Likewise.
8353         (_IO_list_lock): Likewise.
8354         (_IO_list_unlock): Likewise.
8355         (_IO_list_resetlock): Likewise.
8356         * libio/getchar.c (getchar): Likewise.
8357         * libio/getchar_u.c (getchar_unlocked): Likewise.
8358         * libio/getwchar.c (getwchar): Likewise.
8359         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8360         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8361         * login/getpt.c (__getpt): Likewise.
8362         * login/tst-utmp.c (main): Likewise.
8363         * malloc/hooks.c (__malloc_check_init): Likewise.
8364         * malloc/malloc.c (__malloc_stats): Likewise.
8365         * malloc/mtrace.c (tr_break): Likewise.
8366         (mtrace): Likewise.
8367         (muntrace): Likewise.
8368         * misc/fstab.c (endfsent): Likewise.
8369         * misc/getclktck.c (__getclktck): Likewise.
8370         * misc/getdtsz.c (__getdtablesize): Likewise.
8371         * misc/gethostid.c (gethostid): Likewise.
8372         * misc/getpagesize.c (__getpagesize): Likewise.
8373         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8374         (__get_nprocs): Likewise.
8375         (__get_phys_pages): Likewise.
8376         (__get_avphys_pages): Likewise.
8377         * misc/getttyent.c (getttyent): Likewise.
8378         (setttyent): Likewise.
8379         (endttyent): Likewise.
8380         * misc/getusershell.c (getusershell): Likewise.
8381         (endusershell): Likewise.
8382         (setusershell): Likewise.
8383         (initshells): Likewise.
8384         * misc/hsearch.c (__hdestroy): Likewise.
8385         * misc/sync.c (sync): Likewise.
8386         * misc/syslog.c (closelog_internal): Likewise.
8387         (closelog): Likewise.
8388         * misc/ttyslot.c (ttyslot): Likewise.
8389         * misc/vhangup.c (vhangup): Likewise.
8390         * posix/fork.c (__fork): Likewise.
8391         * posix/getegid.c (__getegid): Likewise.
8392         * posix/geteuid.c (__geteuid): Likewise.
8393         * posix/getgid.c (__getgid): Likewise.
8394         * posix/getpid.c (__getpid): Likewise.
8395         * posix/getppid.c (__getppid): Likewise.
8396         * posix/getuid.c (__getuid): Likewise.
8397         * posix/pause.c (pause): Likewise.
8398         * posix/setpgrp.c (setpgrp): Likewise.
8399         * posix/setsid.c (__setsid): Likewise.
8400         * posix/test-vfork.c (noop): Likewise.
8401         * resolv/gethnamaddr.c (_endhtent): Likewise.
8402         (_gethtent): Likewise.
8403         (ht_endhostent): Likewise.
8404         (gethostent): Likewise.
8405         (dns_service): Likewise.
8406         * stdlib/drand48.c (drand48): Likewise.
8407         * stdlib/lrand48.c (lrand48): Likewise.
8408         * stdlib/mrand48.c (mrand48): Likewise.
8409         * stdlib/rand.c (rand): Likewise.
8410         * stdlib/random.c (__random): Likewise.
8411         * stdlib/setenv.c (clearenv): Likewise.
8412         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8413         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8414         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8415         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8416         (__get_nprocs): Likewise.
8417         (__get_phys_pages): Likewise.
8418         (__get_avphys_pages): Likewise.
8419         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8420         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8421         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8422         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8423         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8424         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8425         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8426         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8427         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8428         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8429         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8430         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8431         * sysdeps/posix/clock.c (clock): Likewise.
8432         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8433         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8434         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8435         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8436         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8437         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8438         (__get_nprocs_conf): Likewise.
8439         (__get_phys_pages): Likewise.
8440         (__get_avphys_pages): Likewise.
8441         * time/clock.c (clock): Likewise.
8442         * time/tzset.c (__tzname_max): Likewise.
8443
8444 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8445
8446         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8447         (__bswap_32): Do not use "register".
8448         * crypt/crypt.c (_ufc_doit_r): Likewise.
8449         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8450         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8451         * gmon/gmon.c (__monstartup): Likewise.
8452         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8453         * hurd/hurdmalloc.c (more_memory): Likewise.
8454         (malloc): Likewise.
8455         (free): Likewise.
8456         (realloc): Likewise.
8457         (malloc_fork_prepare): Likewise.
8458         (malloc_fork_parent): Likewise.
8459         (malloc_fork_child): Likewise.
8460         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8461         (_svcauth_des): Likewise.
8462         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8463         * inet/inet_net.c (inet_network): Likewise.
8464         * inet/inet_netof.c (inet_netof): Likewise.
8465         * inet/rcmd.c (__validuser2_sa): Likewise.
8466         * io/fts.c (fts_open): Likewise.
8467         (fts_load): Likewise.
8468         (fts_close): Likewise.
8469         (fts_read): Likewise.
8470         (fts_children): Likewise.
8471         (fts_build): Likewise.
8472         (fts_stat): Likewise.
8473         (fts_sort): Likewise.
8474         (fts_alloc): Likewise.
8475         (fts_lfree): Likewise.
8476         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8477         (_IO_file_xsgetn): Likewise.
8478         (_IO_file_xsgetn_mmap): Likewise.
8479         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8480         (_IO_cookie_write): Likewise.
8481         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8482         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8483         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8484         * malloc/obstack.c (_obstack_begin): Likewise.
8485         (_obstack_begin_1): Likewise.
8486         (_obstack_newchunk): Likewise.
8487         (_obstack_allocated_p): Likewise.
8488         (obstack_free): Likewise.
8489         (_obstack_memory_used): Likewise.
8490         * misc/getttyent.c (getttynam): Likewise.
8491         (getttyent): Likewise.
8492         (skip): Likewise.
8493         (value): Likewise.
8494         * misc/getusershell.c (initshells): Likewise.
8495         * misc/syslog.c (__vsyslog_chk): Likewise.
8496         * misc/ttyslot.c (ttyslot): Likewise.
8497         * nis/nis_hash.c (__nis_hash): Likewise.
8498         * posix/fnmatch_loop.c (FCT): Likewise.
8499         * posix/getconf.c (print_all): Likewise.
8500         (main): Likewise.
8501         * posix/getopt.c (exchange): Likewise.
8502         * posix/glob.c (globfree): Likewise.
8503         (prefix_array): Likewise.
8504         (__glob_pattern_type): Likewise.
8505         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8506         (NS_GET32): Likewise.
8507         (NS_PUT16): Likewise.
8508         (NS_PUT32): Likewise.
8509         * resolv/gethnamaddr.c (getanswer): Likewise.
8510         (gethostbyname2): Likewise.
8511         (gethostbyaddr): Likewise.
8512         (_gethtent): Likewise.
8513         (_gethtbyname2): Likewise.
8514         (_gethtbyaddr): Likewise.
8515         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8516         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8517         * resolv/res_init.c (__res_vinit): Likewise.
8518         (net_mask): Likewise.
8519         * resolv/res_mkquery.c (outchar): Likewise.
8520         (PRINT): Likewise.
8521         * stdio-common/printf_fp.c (outchar): Likewise.
8522         (PRINT): Likewise.
8523         * stdio-common/printf_fphex.c (outchar): Likewise.
8524         (PRINT): Likewise.
8525         * stdio-common/printf_size.c (outchar): Likewise.
8526         (PRINT): Likewise.
8527         * stdio-common/test_rdwr.c (main): Likewise.
8528         * stdio-common/tfformat.c (matches): Likewise.
8529         * stdio-common/vfprintf.c (outchar): Likewise.
8530         (printf_unknown): Likewise.
8531         (buffered_vfprintf): Likewise.
8532         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8533         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8534         (ReadFile): Likewise.
8535         * stdlib/qsort.c (SWAP): Likewise.
8536         (_quicksort): Likewise.
8537         * stdlib/setenv.c (__add_to_environ): Likewise.
8538         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8539         * stdlib/strtol_l.c (__strtol_l): Likewise.
8540         * stdlib/tst-strtod.c (main): Likewise.
8541         * stdlib/tst-strtol.c (main): Likewise.
8542         * stdlib/tst-strtoll.c (main): Likewise.
8543         * string/bits/string2.h (__strcmp_cc): Likewise.
8544         (__strcmp_cg): Likewise.
8545         (__strcspn_c1): Likewise.
8546         (__strcspn_c2): Likewise.
8547         (__strcspn_c3): Likewise.
8548         (__strspn_c1): Likewise.
8549         (__strspn_c2): Likewise.
8550         (__strspn_c3): Likewise.
8551         (__strsep_1c): Likewise.
8552         (__strsep_2c): Likewise.
8553         (__strsep_3c): Likewise.
8554         * string/memccpy.c (__memccpy): Likewise.
8555         * string/stpcpy.c (__stpcpy): Likewise.
8556         * string/strcmp.c (strcmp): Likewise.
8557         * string/strrchr.c (strrchr): Likewise.
8558         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8559         Likewise.
8560         * sysdeps/mach/hurd/getcwd.c
8561         (_hurd_canonicalize_directory_name_internal): Likewise.
8562         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8563         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8564         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8565         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8566         Likewise, in both definitions.
8567         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8568         definitions.
8569         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8570         64] (__bswap_64): Likewise.
8571         * time/test_time.c (main): Likewise.
8572         * time/tzfile.c (__tzfile_read): Likewise.
8573         (__tzfile_compute): Likewise.
8574         * time/tzset.c (__tzset_parse_tz): Likewise.
8575         (tzset_internal): Likewise.
8576         (compute_change): Likewise.
8577         * wcsmbs/wcscat.c (__wcscat): Likewise.
8578         * wcsmbs/wcschr.c (wcschr): Likewise.
8579         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8580         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8581         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8582         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8583         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8584         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8585         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8586         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8587         * wcsmbs/wmemset.c (wmemset): Likewise.
8588
8589 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8590
8591         * scripts/config.guess: Update to version 2013-05-16.
8592         * scripts/config.sub: Update to version 2013-04-24.
8593         * scripts/install-sh: Update to version 2011-11-20.07.
8594         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8595         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8596
8597 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8598
8599         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8600         * elf/sln.c: Likewise.
8601         * hurd/hurd/ioctl.h: Likewise.
8602         * hurd/hurdmalloc.c: Likewise.
8603         * hurd/xattr.c: Likewise.
8604         * include/shlib-compat.h: Likewise.
8605         * inet/ruserpass.c: Likewise.
8606         * libio/iofgets_u.c: Likewise.
8607         * libio/iofgetws_u.c: Likewise.
8608         * locale/programs/ld-identification.c: Likewise.
8609         * locale/programs/ld-time.c: Likewise.
8610         * mach/msg-destroy.c: Likewise.
8611         * nss/nss_files/files-netgrp.c: Likewise.
8612         * resolv/res_data.c: Likewise.
8613         * soft-fp/op-1.h: Likewise.
8614         * soft-fp/op-2.h: Likewise.
8615         * soft-fp/op-4.h: Likewise.
8616         * soft-fp/op-common.h: Likewise.
8617         * stdio-common/printf_fphex.c: Likewise.
8618         * stdlib/strtod_l.c: Likewise.
8619         * sunrpc/rpc/clnt.h: Likewise.
8620         * sysdeps/generic/framestate.c: Likewise.
8621         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8622         * sysdeps/i386/bsd-setjmp.S: Likewise.
8623         * sysdeps/i386/__longjmp.S: Likewise.
8624         * sysdeps/i386/setjmp.S: Likewise.
8625         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8626         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8627         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8628         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8630         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8631         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8632         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8633         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8634         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8635         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8636         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8637         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8638         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8639         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8640         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8641         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8642         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8643         * sysdeps/ieee754/support.c: Likewise.
8644         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8645         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8646         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8647         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8648         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8649         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8650         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8651         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8652         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8653         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8654         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8655         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8656         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8657         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8658         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8659         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8660         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8662
8663 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8664
8665         * posix/transbug.c: Remove executable mode.
8666
8667 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8668
8669         * crypt/speeds.c: Remove trailing whitespace.
8670         * dlfcn/default.c: Likewise.
8671         * elf/ifuncdep2.c: Likewise.
8672         * elf/ifuncmain1.c: Likewise.
8673         * elf/ifuncmain1vis.c: Likewise.
8674         * elf/testobj.h: Likewise.
8675         * elf/tst-stackguard1.c: Likewise.
8676         * gmon/sys/gmon.h: Likewise.
8677         * hurd/hurdmsg.c: Likewise.
8678         * hurd/new-fd.c: Likewise.
8679         * hurd/ports-get.c: Likewise.
8680         * iconvdata/ibm1008_420.c: Likewise.
8681         * inet/tst-getni1.c: Likewise.
8682         * inet/tst-getni2.c: Likewise.
8683         * libio/ioungetc.c: Likewise.
8684         * libio/wfiledoalloc.c: Likewise.
8685         * manual/libm-err-tab.pl: Likewise.
8686         * math/w_dremf.c: Likewise.
8687         * misc/ftruncate.c: Likewise.
8688         * posix/bug-glob2.c: Likewise.
8689         * posix/tst-pcre.c: Likewise.
8690         * posix/wait4.c: Likewise.
8691         * resolv/README: Likewise.
8692         * resolv/res_debug.h: Likewise.
8693         * resolv/tst-inet_ntop.c: Likewise.
8694         * setjmp/bug269-setjmp.c: Likewise.
8695         * soft-fp/extended.h: Likewise.
8696         * soft-fp/op-1.h: Likewise.
8697         * soft-fp/op-2.h: Likewise.
8698         * soft-fp/op-4.h: Likewise.
8699         * soft-fp/op-8.h: Likewise.
8700         * soft-fp/testit.c: Likewise.
8701         * stdio-common/bug16.c: Likewise.
8702         * stdlib/random.c: Likewise.
8703         * sunrpc/rpcsvc/rquota.x: Likewise.
8704         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8705         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8706         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8707         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8708         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8709         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8710         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8711         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8712         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8713         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8714         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8715         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8716         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8717         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8718         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8719         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8720         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8721         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8722         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8723         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8724         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8725         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8726         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8727         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8728         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8729         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8731         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8732         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8733         * sysdeps/ieee754/s_lib_version.c: Likewise.
8734         * sysdeps/mach/hurd/check_fds.c: Likewise.
8735         * sysdeps/mach/hurd/getsockname.c: Likewise.
8736         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8737         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8738         * sysdeps/powerpc/bits/link.h: Likewise.
8739         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8740         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8741         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8742         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8743         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8744         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8745         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8746         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8747         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8748         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8749         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8750         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8751         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8752         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8753         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8754         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8755         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8756         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8757         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8758         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8759         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8760         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8761         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8762         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8763         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8764         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8765         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8766         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8767         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8768         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8769         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8770         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8771         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8772         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8773         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8774         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8775         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8776         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8777         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8778         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8779         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8780         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8781         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8782         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8783         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8784         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8785         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8786         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8787         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8788         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8789         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8790         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8791         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8792         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8793         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8794         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8795         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8796         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8797         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8798         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8799         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8800         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8801         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8802         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8803         * sysdeps/powerpc/sysdep.h: Likewise.
8804         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8805         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8806         * sysdeps/sh/dl-trampoline.S: Likewise.
8807         * sysdeps/sh/memset.S: Likewise.
8808         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8809         * sysdeps/sh/strlen.S: Likewise.
8810         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8811         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8812         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8813         * sysdeps/sparc/sparc32/rem.S: Likewise.
8814         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8815         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8816         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8817         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8818         * sysdeps/sparc/sparc32/urem.S: Likewise.
8819         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8820         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8821         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8822         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8823         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8824         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8825         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8826         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8827         * sysdeps/unix/bsd/times.c: Likewise.
8828         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8829         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8833         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8834         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8835         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8836         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8837         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8838         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8839         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8840         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8841         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8842         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8843         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8844         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8845         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8846         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8847         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8848         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8849         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8850         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8851         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8852         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8853         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8854         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8855         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8856         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8857         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8858         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8859         * sysdeps/x86_64/strcspn.S: Likewise.
8860
8861 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8862
8863         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8864         generated file.  Regenerate properly from gen-translit.pl.
8865         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8866         locale/C-translit.h.
8867
8868 2013-06-05  Andreas Schwab  <schwab@suse.de>
8869
8870         [BZ #15100]
8871         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8872         week as 6 instead of -1.
8873         * time/tst-strptime.c (day_tests): Add test case.
8874
8875 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8876
8877         * sysdeps/generic/math_private.h
8878         (libc_feholdexcept_setround_53bit): Replace with
8879         libc_feholdsetround_53bit.
8880         (libc_feupdateenv_53bit): Replace with
8881         libc_feresetround_53bit.
8882         (SET_RESTORE_ROUND_53BIT): Adjust.
8883
8884 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8885
8886         * string/test-strchrnul.c: Add copyright header.
8887
8888         * posix/tst-getaddrinfo4.c: Increase test timeout.
8889
8890 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8891
8892         [BZ #15536]
8893         * math/libm-test.inc (MAX_EXP): Remove
8894         (MIN_EXP): Define.
8895         (ulp): Use MIN_EXP - MANT_DIG.
8896         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8897
8898 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8899
8900         * po/be.po: Revert last change.
8901         * po/zh_CN.po: Likewise.
8902         * po/header.pot: Likewise.
8903
8904 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8905
8906         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8907         link-libc-deps to empty as target-specific variable.
8908         * Makerules (link-libc-args): New variable.
8909         (libc-for-link): Likewise.
8910         (link-libc-deps): Likewise.
8911         (lib%.so): Depend on $(link-libc-deps).  Link with
8912         $(link-libc-args).
8913         (build-module): Link with $(link-libc-args).
8914         (build-module-asneeded): Likewise.
8915         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8916         list of objects.
8917         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8918         target-specific variable.
8919         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8920         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8921         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8922         libc.
8923         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8924         libc and ld.so.
8925         ($(objpfx)libpcprofile.so): Likewise.
8926         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8927         libc_nonshared.a.
8928         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8929         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8930         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8931         $(link-libc-deps).
8932         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8933         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8934         * login/Makefile ($(objpfx)libutil.so): Likewise.
8935         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8936         * math/Makefile ($(objpfx)libm.so): Likewise.
8937         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8938         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8939         variable instead of depending directly on libc.
8940         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8941         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8942         $(link-libc-deps).
8943         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8944         libc.
8945         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8946         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8947         ($(objpfx)libanl.so): Likewise.
8948         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8949         ld.so.
8950         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8951         $(link-libc-deps).
8952         * sysdeps/i386/fpu/Makefile: Remove file.
8953         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8954         ($(objpfx)libm.so): Remove dependency on ld.so.
8955
8956 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8957
8958         [BZ # 15553]
8959         * nis/yp_xdr.c (XDRMAXNAME): Define.
8960         (XDRMAXRECORD): Define.
8961         (xdr_domainname): Use XDRMAXNAME.
8962         (xdr_mapname): Likewise.
8963         (xdr_peername): Likewise.
8964         (xdr_keydat): Use XDRMAXRECORD.
8965         (xdr_valdat): Likewise.
8966
8967 2013-05-30  Jeff Law  <law@redhat.com>
8968
8969         [BZ #14256]
8970         * manual/errno.texi (ESTALE): Update to account for more than
8971         just NFS file systems.
8972         * sysdeps/gnu/errlist.c: Regenerated.
8973
8974 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8975
8976         [BZ #15465]
8977         * elf/Makefile (tests): Add tst-null-argv.
8978         (modules-names):  Add tst-null-argv-lib.
8979         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8980         (tst-null-argv-ENV): Set environment for tst-null-argv.
8981         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8982         (RTLD_PROGNAME): New macro.
8983         * elf/tst-null-argv.c: New test case.
8984         * elf/tst-null-argv-lib.c: Library for test case.
8985         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8986         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8987         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8988         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8989         * elf/dl-init.c (call_init): Likewise.
8990         (_dl_init): Likewise.
8991         * elf/dl-load.c (print_search_path): Likewise.
8992         (_dl_map_object): Likewise.
8993         * elf/dl-lookup.c (do_lookup_x): Likewise.
8994         (add_dependency): Likewise.
8995         (_dl_lookup_symbol_x): Likewise.
8996         (_dl_debug_bindings): Likewise.
8997         * elf/dl-open.c (_dl_show_scope): Likewise.
8998         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8999         * elf/dl-version.c (match_symbol): Likewise.
9000         (_dl_check_map_versions): Likewise.
9001         * elf/rtld.c (dl_main): Likewise.
9002         (print_unresolved): Use RTLD_PROGNAME.
9003         (print_missing_version): Likewise.
9004         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9005         (elf_machine_rela): Likewise.
9006         * sysdeps/powerpc/powerpc32/dl-machine.c
9007         (__process_machine_rela): Likewise.
9008         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9009         Likewise.
9010         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9011         Likewise.
9012         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9013         Likewise.
9014         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9015         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9016         Likewise.
9017         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9018         Likewise.
9019         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9020
9021 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
9022
9023         * po/be.po: Add descriptive title.
9024         * po/zh_CN.po: Likewise.
9025         * po/header.pot: Likewise.
9026
9027 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
9028
9029         * locale/programs/locarchive.c (create_archive): Inlucde fname in
9030         error message.
9031         (enlarge_archive): Likewise.
9032
9033 2013-05-28  Ben North  <ben@redfrontdoor.org>
9034
9035         * manual/arith.texi (frexp): It is the magnitude of the return
9036         value which lies in [0.5, 1), not the return value itself.
9037
9038 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9039
9040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9041
9042 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
9043
9044         * stdio-common/bug26.c (main): Correct fscanf template.
9045
9046         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9047         declare _dl_skip_args.
9048
9049         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9050         Don't declare.
9051
9052         * manual/platform.texi: Add missing @end deftypefun.
9053
9054 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9055
9056         [BZ #15529]
9057         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9058         bit of mantissa of 2^16382.
9059         * math/libm-test.inc (hypot_test_data): Add more tests.
9060
9061         * math/libm-test.inc: Add drem and pow10 to list of tested
9062         functions.
9063         (pow10_test): New function.
9064         (drem_test): Likewise.
9065         (drem_test_tonearest): Likewise.
9066         (drem_test_towardzero): Likewise.
9067         (drem_test_downward): Likewise.
9068         (drem_test_upward): Likewise.
9069         (main): Call the new functions.
9070
9071         * math/libm-test.inc (finite_test_data): Remove.
9072         (finite_test): Run tests from isfinite_test_data.
9073         (gamma_test_data): Remove.
9074         (gamma_test): Run tests from lgamma_test_data.
9075         * sysdeps/i386/fpu/libm-test-ulps: Update.
9076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9077
9078 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9079
9080         * manual/platform.texi: Add PowerPC PPR function set documentation.
9081         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9082         implementation.
9083
9084 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9085
9086         * math/libm-test.inc (MAX_EXP): Define.
9087         (ULPDIFF): Define.
9088         (ulp): New function.
9089         (check_float_internal): Use ULPDIFF.
9090         (cpow_test): Disable failing test.
9091         (check_ulp): Test ulp() implemetnation.
9092         (main): Call check_ulp before starting tests.
9093
9094 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9095
9096         * math/gen-libm-test.pl (generate_testfile): Do not handle
9097         START_DATA and END_DATA.
9098         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9099         END_DATA.
9100         (acos_tonearest_test_data): Likewise.
9101         (acos_towardzero_test_data): Likewise.
9102         (acos_downward_test_data): Likewise.
9103         (acos_upward_test_data): Likewise.
9104         (acosh_test_data): Likewise.
9105         (asin_test_data): Likewise.
9106         (asin_tonearest_test_data): Likewise.
9107         (asin_towardzero_test_data): Likewise.
9108         (asin_downward_test_data): Likewise.
9109         (asin_upward_test_data): Likewise.
9110         (asinh_test_data): Likewise.
9111         (atan_test_data): Likewise.
9112         (atanh_test_data): Likewise.
9113         (atan2_test_data): Likewise.
9114         (cabs_test_data): Likewise.
9115         (cacos_test_data): Likewise.
9116         (cacosh_test_data): Likewise.
9117         (carg_test_data): Likewise.
9118         (casin_test_data): Likewise.
9119         (casinh_test_data): Likewise.
9120         (catan_test_data): Likewise.
9121         (catanh_test_data): Likewise.
9122         (cbrt_test_data): Likewise.
9123         (ccos_test_data): Likewise.
9124         (ccosh_test_data): Likewise.
9125         (ceil_test_data): Likewise.
9126         (cexp_test_data): Likewise.
9127         (cimag_test_data): Likewise.
9128         (clog_test_data): Likewise.
9129         (clog10_test_data): Likewise.
9130         (conj_test_data): Likewise.
9131         (copysign_test_data): Likewise.
9132         (cos_test_data): Likewise.
9133         (cos_tonearest_test_data): Likewise.
9134         (cos_towardzero_test_data): Likewise.
9135         (cos_downward_test_data): Likewise.
9136         (cos_upward_test_data): Likewise.
9137         (cosh_test_data): Likewise.
9138         (cosh_tonearest_test_data): Likewise.
9139         (cosh_towardzero_test_data): Likewise.
9140         (cosh_downward_test_data): Likewise.
9141         (cosh_upward_test_data): Likewise.
9142         (cpow_test_data): Likewise.
9143         (cproj_test_data): Likewise.
9144         (creal_test_data): Likewise.
9145         (csin_test_data): Likewise.
9146         (csinh_test_data): Likewise.
9147         (csqrt_test_data): Likewise.
9148         (ctan_test_data): Likewise.
9149         (ctan_tonearest_test_data): Likewise.
9150         (ctan_towardzero_test_data): Likewise.
9151         (ctan_downward_test_data): Likewise.
9152         (ctan_upward_test_data): Likewise.
9153         (ctanh_test_data): Likewise.
9154         (ctanh_tonearest_test_data): Likewise.
9155         (ctanh_towardzero_test_data): Likewise.
9156         (ctanh_downward_test_data): Likewise.
9157         (ctanh_upward_test_data): Likewise.
9158         (erf_test_data): Likewise.
9159         (erfc_test_data): Likewise.
9160         (exp_test_data): Likewise.
9161         (exp_tonearest_test_data): Likewise.
9162         (exp_towardzero_test_data): Likewise.
9163         (exp_downward_test_data): Likewise.
9164         (exp_upward_test_data): Likewise.
9165         (exp10_test_data): Likewise.
9166         (exp2_test_data): Likewise.
9167         (expm1_test_data): Likewise.
9168         (fabs_test_data): Likewise.
9169         (fdim_test_data): Likewise.
9170         (finite_test_data): Likewise.
9171         (floor_test_data): Likewise.
9172         (fma_test_data): Likewise.
9173         (fma_towardzero_test_data): Likewise.
9174         (fma_downward_test_data): Likewise.
9175         (fma_upward_test_data): Likewise.
9176         (fmax_test_data): Likewise.
9177         (fmin_test_data): Likewise.
9178         (fmod_test_data): Likewise.
9179         (fpclassify_test_data): Likewise.
9180         (frexp_test_data): Likewise.
9181         (gamma_test_data): Likewise.
9182         (hypot_test_data): Likewise.
9183         (ilogb_test_data): Likewise.
9184         (isfinite_test_data): Likewise.
9185         (isgreater_test_data): Likewise.
9186         (isgreaterequal_test_data): Likewise.
9187         (isinf_test_data): Likewise.
9188         (isless_test_data): Likewise.
9189         (islessequal_test_data): Likewise.
9190         (islessgreater_test_data): Likewise.
9191         (isnan_test_data): Likewise.
9192         (isnormal_test_data): Likewise.
9193         (issignaling_test_data): Likewise.
9194         (isunordered_test_data): Likewise.
9195         (j0_test_data): Likewise.
9196         (j1_test_data): Likewise.
9197         (jn_test_data): Likewise.
9198         (ldexp_test_data): Likewise.
9199         (lgamma_test_data): Likewise.
9200         (lrint_test_data): Likewise.
9201         (lrint_tonearest_test_data): Likewise.
9202         (lrint_towardzero_test_data): Likewise.
9203         (lrint_downward_test_data): Likewise.
9204         (lrint_upward_test_data): Likewise.
9205         (llrint_test_data): Likewise.
9206         (llrint_tonearest_test_data): Likewise.
9207         (llrint_towardzero_test_data): Likewise.
9208         (llrint_downward_test_data): Likewise.
9209         (llrint_upward_test_data): Likewise.
9210         (log_test_data): Likewise.
9211         (log10_test_data): Likewise.
9212         (log1p_test_data): Likewise.
9213         (log2_test_data): Likewise.
9214         (logb_test_data): Likewise.
9215         (logb_downward_test_data): Likewise.
9216         (lround_test_data): Likewise.
9217         (llround_test_data): Likewise.
9218         (modf_test_data): Likewise.
9219         (nearbyint_test_data): Likewise.
9220         (nextafter_test_data): Likewise.
9221         (nexttoward_test_data): Likewise.
9222         (pow_test_data): Likewise.
9223         (pow_tonearest_test_data): Likewise.
9224         (pow_towardzero_test_data): Likewise.
9225         (pow_downward_test_data): Likewise.
9226         (pow_upward_test_data): Likewise.
9227         (remainder_test_data): Likewise.
9228         (remainder_tonearest_test_data): Likewise.
9229         (remainder_towardzero_test_data): Likewise.
9230         (remainder_downward_test_data): Likewise.
9231         (remainder_upward_test_data): Likewise.
9232         (remquo_test_data): Likewise.
9233         (rint_test_data): Likewise.
9234         (rint_tonearest_test_data): Likewise.
9235         (rint_towardzero_test_data): Likewise.
9236         (rint_downward_test_data): Likewise.
9237         (rint_upward_test_data): Likewise.
9238         (round_test_data): Likewise.
9239         (scalb_test_data): Likewise.
9240         (scalbn_test_data): Likewise.
9241         (scalbln_test_data): Likewise.
9242         (signbit_test_data): Likewise.
9243         (sin_test_data): Likewise.
9244         (sin_tonearest_test_data): Likewise.
9245         (sin_towardzero_test_data): Likewise.
9246         (sin_downward_test_data): Likewise.
9247         (sin_upward_test_data): Likewise.
9248         (sincos_test_data): Likewise.
9249         (sinh_test_data): Likewise.
9250         (sinh_tonearest_test_data): Likewise.
9251         (sinh_towardzero_test_data): Likewise.
9252         (sinh_downward_test_data): Likewise.
9253         (sinh_upward_test_data): Likewise.
9254         (sqrt_test_data): Likewise.
9255         (tan_test_data): Likewise.
9256         (tan_tonearest_test_data): Likewise.
9257         (tan_towardzero_test_data): Likewise.
9258         (tan_downward_test_data): Likewise.
9259         (tan_upward_test_data): Likewise.
9260         (tanh_test_data): Likewise.
9261         (tgamma_test_data): Likewise.
9262         (trunc_test_data): Likewise.
9263         (y0_test_data): Likewise.
9264         (y1_test_data): Likewise.
9265         (yn_test_data): Likewise.
9266         (significand_test_data): Likewise.
9267
9268         * math/gen-libm-test.pl (@functions): Remove variable.
9269         (generate_testfile): Don't handle START and END lines.
9270         * math/libm-test.inc (START): New macro.
9271         (END): Likewise.
9272         (END_COMPLEX): Likewise.
9273         (acos_test): Use END macro without arguments.
9274         (acos_test_tonearest): Likewise.
9275         (acos_test_towardzero): Likewise.
9276         (acos_test_downward): Likewise.
9277         (acos_test_upward): Likewise.
9278         (acosh_test): Likewise.
9279         (asin_test): Likewise.
9280         (asin_test_tonearest): Likewise.
9281         (asin_test_towardzero): Likewise.
9282         (asin_test_downward): Likewise.
9283         (asin_test_upward): Likewise.
9284         (asinh_test): Likewise.
9285         (atan_test): Likewise.
9286         (atanh_test): Likewise.
9287         (atan2_test): Likewise.
9288         (cabs_test): Likewise.
9289         (cacos_test): Use END_COMPLEX macro without arguments.
9290         (cacosh_test): Likewise.
9291         (carg_test): Use END macro without arguments.
9292         (casin_test): Use END_COMPLEX macro without arguments.
9293         (casinh_test): Likewise.
9294         (catan_test): Likewise.
9295         (catanh_test): Likewise.
9296         (cbrt_test): Use END macro without arguments.
9297         (ccos_test): Use END_COMPLEX macro without arguments.
9298         (ccosh_test): Likewise.
9299         (ceil_test): Use END macro without arguments.
9300         (cexp_test): Use END_COMPLEX macro without arguments.
9301         (cimag_test): Use END macro without arguments.
9302         (clog_test): Use END_COMPLEX macro without arguments.
9303         (clog10_test): Likewise.
9304         (conj_test): Likewise.
9305         (copysign_test): Use END macro without arguments.
9306         (cos_test): Likewise.
9307         (cos_test_tonearest): Likewise.
9308         (cos_test_towardzero): Likewise.
9309         (cos_test_downward): Likewise.
9310         (cos_test_upward): Likewise.
9311         (cosh_test): Likewise.
9312         (cosh_test_tonearest): Likewise.
9313         (cosh_test_towardzero): Likewise.
9314         (cosh_test_downward): Likewise.
9315         (cosh_test_upward): Likewise.
9316         (cpow_test): Use END_COMPLEX macro without arguments.
9317         (cproj_test): Likewise.
9318         (creal_test): Use END macro without arguments.
9319         (csin_test): Use END_COMPLEX macro without arguments.
9320         (csinh_test): Likewise.
9321         (csqrt_test): Likewise.
9322         (ctan_test): Likewise.
9323         (ctan_test_tonearest): Likewise.
9324         (ctan_test_towardzero): Likewise.
9325         (ctan_test_downward): Likewise.
9326         (ctan_test_upward): Likewise.
9327         (ctanh_test): Likewise.
9328         (ctanh_test_tonearest): Likewise.
9329         (ctanh_test_towardzero): Likewise.
9330         (ctanh_test_downward): Likewise.
9331         (ctanh_test_upward): Likewise.
9332         (erf_test): Use END macro without arguments.
9333         (erfc_test): Likewise.
9334         (exp_test): Likewise.
9335         (exp_test_tonearest): Likewise.
9336         (exp_test_towardzero): Likewise.
9337         (exp_test_downward): Likewise.
9338         (exp_test_upward): Likewise.
9339         (exp10_test): Likewise.
9340         (exp2_test): Likewise.
9341         (expm1_test): Likewise.
9342         (fabs_test): Likewise.
9343         (fdim_test): Likewise.
9344         (finite_test): Likewise.
9345         (floor_test): Likewise.
9346         (fma_test): Likewise.
9347         (fma_test_towardzero): Likewise.
9348         (fma_test_downward): Likewise.
9349         (fma_test_upward): Likewise.
9350         (fmax_test): Likewise.
9351         (fmin_test): Likewise.
9352         (fmod_test): Likewise.
9353         (fpclassify_test): Likewise.
9354         (frexp_test): Likewise.
9355         (gamma_test): Likewise.
9356         (hypot_test): Likewise.
9357         (ilogb_test): Likewise.
9358         (isfinite_test): Likewise.
9359         (isgreater_test): Likewise.
9360         (isgreaterequal_test): Likewise.
9361         (isinf_test): Likewise.
9362         (isless_test): Likewise.
9363         (islessequal_test): Likewise.
9364         (islessgreater_test): Likewise.
9365         (isnan_test): Likewise.
9366         (isnormal_test): Likewise.
9367         (issignaling_test): Likewise.
9368         (isunordered_test): Likewise.
9369         (j0_test): Likewise.
9370         (j1_test): Likewise.
9371         (jn_test): Likewise.
9372         (ldexp_test): Likewise.
9373         (lgamma_test): Likewise.
9374         (lrint_test): Likewise.
9375         (lrint_test_tonearest): Likewise.
9376         (lrint_test_towardzero): Likewise.
9377         (lrint_test_downward): Likewise.
9378         (lrint_test_upward): Likewise.
9379         (llrint_test): Likewise.
9380         (llrint_test_tonearest): Likewise.
9381         (llrint_test_towardzero): Likewise.
9382         (llrint_test_downward): Likewise.
9383         (llrint_test_upward): Likewise.
9384         (log_test): Likewise.
9385         (log10_test): Likewise.
9386         (log1p_test): Likewise.
9387         (log2_test): Likewise.
9388         (logb_test): Likewise.
9389         (logb_test_downward): Likewise.
9390         (lround_test): Likewise.
9391         (llround_test): Likewise.
9392         (modf_test): Likewise.
9393         (nearbyint_test): Likewise.
9394         (nextafter_test): Likewise.
9395         (nexttoward_test): Likewise.
9396         (pow_test): Likewise.
9397         (pow_test_tonearest): Likewise.
9398         (pow_test_towardzero): Likewise.
9399         (pow_test_downward): Likewise.
9400         (pow_test_upward): Likewise.
9401         (remainder_test): Likewise.
9402         (remainder_test_tonearest): Likewise.
9403         (remainder_test_towardzero): Likewise.
9404         (remainder_test_downward): Likewise.
9405         (remainder_test_upward): Likewise.
9406         (remquo_test): Likewise.
9407         (rint_test): Likewise.
9408         (rint_test_tonearest): Likewise.
9409         (rint_test_towardzero): Likewise.
9410         (rint_test_downward): Likewise.
9411         (rint_test_upward): Likewise.
9412         (round_test): Likewise.
9413         (scalb_test): Likewise.
9414         (scalbn_test): Likewise.
9415         (scalbln_test): Likewise.
9416         (signbit_test): Likewise.
9417         (sin_test): Likewise.
9418         (sin_test_tonearest): Likewise.
9419         (sin_test_towardzero): Likewise.
9420         (sin_test_downward): Likewise.
9421         (sin_test_upward): Likewise.
9422         (sincos_test): Likewise.
9423         (sinh_test): Likewise.
9424         (sinh_test_tonearest): Likewise.
9425         (sinh_test_towardzero): Likewise.
9426         (sinh_test_downward): Likewise.
9427         (sinh_test_upward): Likewise.
9428         (sqrt_test): Likewise.
9429         (tan_test): Likewise.
9430         (tan_test_tonearest): Likewise.
9431         (tan_test_towardzero): Likewise.
9432         (tan_test_downward): Likewise.
9433         (tan_test_upward): Likewise.
9434         (tanh_test): Likewise.
9435         (tgamma_test): Likewise.
9436         (trunc_test): Likewise.
9437         (y0_test): Likewise.
9438         (y1_test): Likewise.
9439         (yn_test): Likewise.
9440         (significand_test): Likewise.
9441
9442 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9443
9444         [BZ #15381]
9445         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9446
9447 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9448
9449         [BZ #14894]
9450         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9451         __ppc_mdoio and __ppc_mdoom.
9452         * manual/platform.texi: Document new functions __ppc_yield,
9453         __ppc_mdoio and __ppc_mdoom.
9454
9455 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9456
9457         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9458         (main): Mention "tls" pseudo-hwcap is legacy.
9459         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9460
9461 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9462
9463         * math/gen-libm-test.pl (parse_args): Output only string of
9464         arguments as text for test name, not full call or descriptions of
9465         tests for extra outputs.
9466         (generate_testfile): Do not pass function name to parse_args.
9467         Generate this_func variable from START.
9468         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9469         field to arg_str.
9470         (struct test_ff_f_data): Likewise.
9471         (test_ff_f_data_nexttoward): Likewise.
9472         (struct test_fi_f_data): Likewise.
9473         (struct test_fl_f_data): Likewise.
9474         (struct test_if_f_data): Likewise.
9475         (struct test_fff_f_data): Likewise.
9476         (struct test_c_f_data): Likewise.
9477         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9478         (struct test_fF_f1_data): Likewise.
9479         (struct test_ffI_f1_data): Likewise.
9480         (struct test_c_c_data): Rename test_name field to arg_str.
9481         (struct test_cc_c_data): Likewise.
9482         (struct test_f_i_data): Likewise.
9483         (struct test_ff_i_data): Likewise.
9484         (struct test_f_l_data): Likewise.
9485         (struct test_f_L_data): Likewise.
9486         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9487         and extra2_name.
9488         (COMMON_TEST_SETUP): New macro.
9489         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9490         (COMMON_TEST_CLEANUP): Likewise.
9491         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9492         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9493         macros.
9494         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9495         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9496         macros.
9497         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9498         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9499         cleanup macros.
9500         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9501         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9502         macros.
9503         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9504         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9505         macros.
9506         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9507         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9508         cleanup macros.
9509         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9510         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9511         cleanup macros.
9512         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9513         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9514         cleanup macros.
9515         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9516         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9517         macros.
9518         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9519         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9520         macros.
9521         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9522         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9523         macros.
9524         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9525         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9526         cleanup macros.
9527         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9528         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9529         cleanup macros.
9530         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9531         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9532         macros.
9533         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9534         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9535         cleanup macros.
9536         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9537         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9538         macros.
9539         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9540         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9541         macros.
9542         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9543         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9544         cleanup macros.
9545         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9546
9547 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9548
9549         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9550         to _sifields.sigfault.
9551         (si_addr_lsb): Define new macro.
9552         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9553         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9554         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9555
9556 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9557
9558         [BZ #15441]
9559         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9560         returns -1.
9561         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9562         null return -1.
9563         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9564         loading the domain.
9565
9566 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9567
9568         * math/gen-libm-test.pl (parse_args): Do not include expected
9569         result in test name.
9570         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9571         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9572         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9573         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9574         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9576
9577 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9578
9579         * benchtests/Makefile: Sort function entries.
9580
9581         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9582         tanh, asinh, acosh, atanh.
9583         * benchtests/acos-inputs: New file.
9584         * benchtests/acosh-inputs: New file.
9585         * benchtests/asin-inputs: New file.
9586         * benchtests/asinh-inputs: New file.
9587         * benchtests/atanh-inputs: New file.
9588         * benchtests/cosh-inputs: New file.
9589         * benchtests/log-inputs: New file.
9590         * benchtests/sinh-inputs: New file.
9591         * benchtests/tanh-inputs: New file.
9592
9593 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9594
9595         [BZ #15339]
9596         * posix/tst-getaddrinfo4.c: New test.
9597         * posix/Makefile (tests): Add it.
9598
9599 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9600
9601         [BZ #15339]
9602         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9603         when no services were used.
9604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9605         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9606
9607 2013-05-21  Andreas Schwab  <schwab@suse.de>
9608
9609         [BZ #15014]
9610         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9611         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9612         successful.
9613         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9614         redundant variable declarations and reallocation of buffer when
9615         parsing as IPv6 address.  Always set NSS status when called from
9616         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9617         buffer too small.  Correct computation of needed size.
9618         * nss/Makefile (tests): Add test-digits-dots.
9619         * nss/test-digits-dots.c: New test.
9620
9621 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9622
9623         * benchtests/Makefile: Remove instructions for adding
9624         benchmark tests.
9625         * benchtests/README: New file to explain how to execute and
9626         enhance the benchmark tests.
9627
9628 2013-05-21  Andreas Schwab  <schwab@suse.de>
9629
9630         [BZ #15493]
9631         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9632         * setjmp/tst-sigsetjmp.c: New test.
9633
9634 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9635
9636         * sysdeps/x86_64/memset.S (memset): New implementation.
9637         (__bzero): Likewise.
9638         (__memset_tail): New function.
9639
9640 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9641
9642         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9643         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9644         __memcpy_sse2_unaligned ifunc selection.
9645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9646         Add memcpy-sse2-unaligned.S.
9647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9648         Add: __memcpy_sse2_unaligned.
9649
9650 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9651
9652         [BZ #15490]
9653         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9654         math_force_eval before restoring floating-point envrionment.
9655         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9656         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9657         Likewise.
9658         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9659         <math_private.h>.
9660         (__nearbyintl): Use math_force_eval before restoring
9661         floating-point environment.
9662         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9663
9664         * math/gen-libm-test.pl (special_functions): Remove.
9665         (parse_args): Don't handle TEST_extra.  Handle functions with no
9666         return value.
9667         * math/libm-test.inc (struct test_sincos_data): Replace with
9668         struct test_fFF_11_data.
9669         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9670         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9671         (sincos_test_data): Change element type to struct
9672         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9673         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9674         RUN_TEST_LOOP_sincos.
9675         * math/README.libm-test: Don't mention special handling of
9676         individual functions.
9677         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9678         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9679         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9680         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9681         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9683
9684         * math/gen-libm-test.pl (get_variable): Remove function.
9685         (parse_args): Don't show pointer parameters to call in test
9686         names.  Use "extra output N" in test names for extra outputs
9687         rather than naming variables.
9688
9689 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9690
9691         [BZ #15488]
9692         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9693         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9694         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9695         double tests.
9696         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9697         disable.
9698         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9699         check_long_double.
9700
9701         * math/gen-libm-test.pl (@tests): Remove variable.
9702         ($count): Likewise.
9703         (new_test): Remove function.
9704         (show_exceptions): New function.
9705         (special_functions): Use show_exceptions instead of new_test.
9706         (parse_args): Likewise.
9707         (generate_testfile): Pass only function name in generated call to
9708         print_max_error or print_complex_max_error.
9709         (get_ulps): Do not handle complex tests specially.
9710         (output_test): Rename to ...
9711         (get_all_ulps_for_test): ... this.  Return a string rather than
9712         printing to a file.  Require ulps to be present.
9713         (output_ulps): Generate arrays rather than #defines.
9714         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9715         (struct ulp_data): New type.
9716         (BUILD_COMPLEX_ULP): Remove macro.
9717         (compare_ulp_data): New function.
9718         (find_ulps): Likewise.
9719         (find_test_ulps): Likewise.
9720         (find_function_ulps): Likewise.
9721         (find_complex_function_ulps): Likewise.
9722         (print_max_error): Determine allowed ulps using
9723         find_function_ulps.
9724         (print_complex_max_error): Determine allowed ulps using
9725         find_complex_function_ulps.
9726         (check_float_internal): Determine max ulps using find_test_ulps.
9727         (check_float): Do not take max_ulp parameter.  Update call to
9728         check_float_internal.
9729         (check_complex): Likewise.
9730         (check_int): Do not take max_ulp parameter.
9731         (check_long): Likewise.
9732         (check_bool): Likewise.
9733         (check_longlong): Likewise.
9734         (struct test_f_f_data): Remove max_ulp field.
9735         (struct test_ff_f_data): Likewise.
9736         (struct test_ff_f_data_nexttoward): Likewise.
9737         (struct test_fi_f_data): Likewise.
9738         (struct test_fl_f_data): Likewise.
9739         (struct test_if_f_data): Likewise.
9740         (struct test_fff_f_data): Likewise.
9741         (struct test_c_f_data): Likewise.
9742         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9743         (struct test_fF_f1_data): Likewise.
9744         (struct test_ffI_f1_data): Likewise.
9745         (struct test_c_c_data): Remove max_ulp field.
9746         (struct test_cc_c_data): Likewise.
9747         (struct test_f_i_data): Likewise.
9748         (struct test_ff_i_data): Likewise.
9749         (struct test_f_l_data): Likewise.
9750         (struct test_f_L_data): Likewise.
9751         (struct test_sincos_data): Likewise.
9752         (RUN_TEST_f_f): Do not handle ulps.
9753         (RUN_TEST_LOOP_f_f): Likewise.
9754         (RUN_TEST_2_f): Likewise.
9755         (RUN_TEST_LOOP_2_f): Likewise.
9756         (RUN_TEST_fff_f): Likewise.
9757         (RUN_TEST_LOOP_fff_f): Likewise.
9758         (RUN_TEST_c_f): Likewise.
9759         (RUN_TEST_LOOP_c_f): Likewise.
9760         (RUN_TEST_f_f1): Likewise.
9761         (RUN_TEST_LOOP_f_f1): Likewise.
9762         (RUN_TEST_fF_f1): Likewise.
9763         (RUN_TEST_LOOP_fF_f1): Likewise.
9764         (RUN_TEST_fI_f1): Likewise.
9765         (RUN_TEST_LOOP_fI_f1): Likewise.
9766         (RUN_TEST_ffI_f1): Likewise.
9767         (RUN_TEST_LOOP_ffI_f1): Likewise.
9768         (RUN_TEST_c_c): Likewise.
9769         (RUN_TEST_LOOP_c_c): Likewise.
9770         (RUN_TEST_cc_c): Likewise.
9771         (RUN_TEST_LOOP_cc_c): Likewise.
9772         (RUN_TEST_f_i): Likewise.
9773         (RUN_TEST_LOOP_f_i): Likewise.
9774         (RUN_TEST_f_i_tg): Likewise.
9775         (RUN_TEST_LOOP_f_i_tg): Likewise.
9776         (RUN_TEST_ff_i_tg): Likewise.
9777         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9778         (RUN_TEST_f_b): Likewise.
9779         (RUN_TEST_LOOP_f_b): Likewise.
9780         (RUN_TEST_f_b_tg): Likewise.
9781         (RUN_TEST_LOOP_f_b_tg): Likewise.
9782         (RUN_TEST_f_l): Likewise.
9783         (RUN_TEST_LOOP_f_l): Likewise.
9784         (RUN_TEST_f_L): Likewise.
9785         (RUN_TEST_LOOP_f_L): Likewise.
9786         (RUN_TEST_sincos): Likewise.
9787         (RUN_TEST_LOOP_sincos): Likewise.
9788
9789 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9790
9791         [BZ #15480]
9792         [BZ #15485]
9793         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9794         main case of finite arguments, set rounding mode to FE_TONEAREST
9795         and discard exceptions.
9796         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9797         exceptions.
9798         (remainder_tonearest_test_data): New variable.
9799         (remainder_test_tonearest): New function.
9800         (remainder_towardzero_test_data): New variable.
9801         (remainder_test_towardzero): New function.
9802         (remainder_downward_test_data): New variable.
9803         (remainder_test_downward): New function.
9804         (remainder_upward_test_data): New variable.
9805         (remainder_test_upward): New function.
9806         (main): Call the new test functions.
9807
9808         * math/libm-test.inc (struct test_f_f1_data): Remove field
9809         extra_init.
9810         (struct test_fF_f1_data): Likewise.
9811         (struct test_ffI_f1_data): Likewise.
9812         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9813         based on value of EXTRA_EXPECTED.
9814         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9815         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9816         EXTRA_VAR based on value of EXTRA_EXPECTED.
9817         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9818         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9819         EXTRA_VAR based on value of EXTRA_EXPECTED.
9820         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9821         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9822         EXTRA_VAR based on value of EXTRA_EXPECTED.
9823         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9824         * math/gen-libm-test.pl (parse_args): Don't output initializers
9825         for extra output values.
9826
9827         * math/libm-test.inc (check_int): Expect result to be exactly
9828         equal to expected value and do not handle ulps.
9829         (check_long): Likewise.
9830         (check_longlong): Likewise.
9831
9832         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9833         exceptions.
9834         (cimag_test_data): Likewise.
9835         (conj_test_data): Likewise.
9836         (copysign_test_data): Likewise.
9837         (cproj_test_data): Likewise.
9838         (creal_test_data): Likewise.
9839         (fabs_test_data): Likewise.
9840         (fdim_test_data): Likewise.
9841         (finite_test_data): Likewise.
9842         (floor_test_data): Likewise.
9843         (fmax_test_data): Likewise.
9844         (fmin_test_data): Likewise.
9845         (fmod_test_data): Likewise.
9846         (fpclassify_test_data): Likewise.
9847         (frexp_test_data): Likewise.
9848         (ilogb_test_data): Likewise.
9849         (isfinite_test_data): Likewise.
9850         (isgreater_test_data): Likewise.
9851         (isgreaterequal_test_data): Likewise.
9852         (isinf_test_data): Likewise.
9853         (isless_test_data): Likewise.
9854         (islessequal_test_data): Likewise.
9855         (islessgreater_test_data): Likewise.
9856         (isnan_test_data): Likewise.
9857         (isnormal_test_data): Likewise.
9858         (issignaling_test_data): Likewise.
9859         (isunordered_test_data): Likewise.
9860         (ldexp_test_data): Likewise.
9861         (lrint_test_data): Likewise.
9862         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9863         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9864         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9865         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9866         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9867         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9868         test input.
9869         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9870         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9871         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9872         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9873         that test input.
9874         (lrint_downward_test_data): Test for "inexact" exceptions.
9875         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9876         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9877         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9878         test input.
9879         (lrint_upward_test_data): Test for "inexact" exceptions.
9880         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9881         test input.
9882         (llrint_test_data): Test for "inexact" exceptions.
9883         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9884         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9885         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9886         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9887         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9888         (llrint_downward_test_data): Test for "inexact" exceptions.
9889         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9890         (llrint_upward_test_data): Test for "inexact" exceptions.
9891         (logb_test_data): Likewise.
9892         (logb_downward_test_data): Likewise.
9893         (nextafter_test_data): Likewise.
9894         (nexttoward_test_data): Likewise.
9895         (remainder_test_data): Likewise.
9896         (remquo_test_data): Likewise.
9897         (scalbn_test_data): Likewise.
9898         (scalbln_test_data): Likewise.
9899         (signbit_test_data): Likewise.
9900         (sqrt_test_data): Likewise.
9901         (significand_test_data): Likewise.
9902
9903 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9904
9905         [BZ #15424]
9906         * benchtests/bench-modf.c (struct args): Mark arg0 as
9907         volatile.
9908         * scripts/bench.pl: Mark members of struct args as volatile.
9909
9910 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9911
9912         [BZ # 15497]
9913         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9914         negative infinity on POWER6 or lower.
9915         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9916
9917 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9918
9919         [BZ #15442]
9920         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9921         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9922         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9923         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9924         (_FP_SETQNAN): New macro.
9925         (_FP_SETQNAN_SEMIRAW): Likewise.
9926         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9927         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9928         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9929         (FP_EXTEND): Use _FP_FRAC_SNANP.
9930         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9931         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9932         into account.
9933         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9934         New macro.
9935         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9936         Likewise.
9937
9938 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9939
9940         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9941         with DIVIDE_BY_ZERO_EXCEPTION.
9942         (gamma_test_data): Likewise.
9943         (lgamma_test_data): Likewise.
9944         (log_test_data): Likewise.
9945         (log10_test_data): Likewise.
9946         (log2_test_data): Likewise.
9947         (tgamma_test_data): Likewise.
9948
9949         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9950         (acos_test_tonearest): Likewise.
9951         (acos_test_towardzero): Likewise.
9952         (acos_test_downward): Likewise.
9953         (acos_test_upward): Likewise.
9954         (acosh_test): Likewise.
9955         (asin_test): Likewise.
9956         (asin_test_tonearest): Likewise.
9957         (asin_test_towardzero): Likewise.
9958         (asin_test_downward): Likewise.
9959         (asin_test_upward): Likewise.
9960         (asinh_test): Likewise.
9961         (atan_test): Likewise.
9962         (atanh_test): Likewise.
9963         (atan2_test): Likewise.
9964         (cabs_test): Likewise.
9965         (cacos_test): Likewise.
9966         (cacosh_test): Likewise.
9967         (casin_test): Likewise.
9968         (casinh_test): Likewise.
9969         (catan_test): Likewise.
9970         (catanh_test): Likewise.
9971         (cbrt_test): Likewise.
9972         (ccos_test): Likewise.
9973         (ccosh_test): Likewise.
9974         (cexp_test): Likewise.
9975         (clog_test): Likewise.
9976         (clog10_test): Likewise.
9977         (cos_test): Likewise.
9978         (cos_test_tonearest): Likewise.
9979         (cos_test_towardzero): Likewise.
9980         (cos_test_downward): Likewise.
9981         (cos_test_upward): Likewise.
9982         (cosh_test): Likewise.
9983         (cosh_test_tonearest): Likewise.
9984         (cosh_test_towardzero): Likewise.
9985         (cosh_test_downward): Likewise.
9986         (cosh_test_upward): Likewise.
9987         (cpow_test): Likewise.
9988         (csin_test): Likewise.
9989         (csinh_test): Likewise.
9990         (csqrt_test): Likewise.
9991         (ctan_test): Likewise.
9992         (ctan_test_tonearest): Likewise.
9993         (ctan_test_towardzero): Likewise.
9994         (ctan_test_downward): Likewise.
9995         (ctan_test_upward): Likewise.
9996         (ctanh_test): Likewise.
9997         (ctanh_test_tonearest): Likewise.
9998         (ctanh_test_towardzero): Likewise.
9999         (ctanh_test_downward): Likewise.
10000         (ctanh_test_upward): Likewise.
10001         (erf_test): Likewise.
10002         (erfc_test): Likewise.
10003         (exp_test): Likewise.
10004         (exp_test_tonearest): Likewise.
10005         (exp_test_towardzero): Likewise.
10006         (exp_test_downward): Likewise.
10007         (exp_test_upward): Likewise.
10008         (exp10_test): Likewise.
10009         (exp2_test): Likewise.
10010         (expm1_test): Likewise.
10011         (fmod_test): Likewise.
10012         (gamma_test): Likewise.
10013         (hypot_test): Likewise.
10014         (j0_test): Likewise.
10015         (j1_test): Likewise.
10016         (jn_test): Likewise.
10017         (lgamma_test): Likewise.
10018         (log_test): Likewise.
10019         (log10_test): Likewise.
10020         (log1p_test): Likewise.
10021         (log2_test): Likewise.
10022         (logb_test_downward): Likewise.
10023         (pow_test): Likewise.
10024         (pow_test_tonearest): Likewise.
10025         (pow_test_towardzero): Likewise.
10026         (pow_test_downward): Likewise.
10027         (pow_test_upward): Likewise.
10028         (remainder_test): Likewise.
10029         (remquo_test): Likewise.
10030         (sin_test): Likewise.
10031         (sin_test_tonearest): Likewise.
10032         (sin_test_towardzero): Likewise.
10033         (sin_test_downward): Likewise.
10034         (sin_test_upward): Likewise.
10035         (sincos_test): Likewise.
10036         (sinh_test): Likewise.
10037         (sinh_test_tonearest): Likewise.
10038         (sinh_test_towardzero): Likewise.
10039         (sinh_test_downward): Likewise.
10040         (sinh_test_upward): Likewise.
10041         (sqrt_test): Likewise.
10042         (tan_test): Likewise.
10043         (tan_test_tonearest): Likewise.
10044         (tan_test_towardzero): Likewise.
10045         (tan_test_downward): Likewise.
10046         (tan_test_upward): Likewise.
10047         (tanh_test): Likewise.
10048         (tgamma_test): Likewise.
10049         (y0_test): Likewise.
10050         (y1_test): Likewise.
10051         (yn_test): Likewise.
10052
10053         * math/gen-libm-test.pl (adjust_arg): Remove function.
10054         (special_function): Remove argument $in_func.  Only handle
10055         generating output for tables of tests, not inside functions.
10056         (parse_args): Likewise.
10057         (generate_testfile): Remove variable $in_func.  Update call to
10058         parse_args.
10059         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10060         (MINUS_ZERO_INIT): Rename macro to minus_zero.
10061         (PLUS_INFTY_INIT): Rename macro to plus_infty.
10062         (MINUS_INFTY_INIT): Rename macro to minus_infty.
10063         (QNAN_VALUE_INIT): Rename macro to qnan_value.
10064         (MAX_VALUE_INIT): Rename macro to max_value.
10065         (MIN_VALUE_INIT): Rename macro to min_value.
10066         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10067         (plus_zero): Remove variable.
10068         (minus_zero): Likewise.
10069         (plus_infty): Likewise.
10070         (minus_infty): Likewise.
10071         (qnan_value): Likewise.
10072         (max_value): Likewise.
10073         (min_value): Likewise.
10074         (min_subnorm_value): Likewise.
10075
10076 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10077
10078         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10079         uint64_t or uint32_t usage.
10080         * crypt/sha256-block.c: Likewise.
10081         * crypt/sha256-crypt.c: Likewise.
10082         * crypt/sha256.c: Likewise.
10083         * crypt/sha512-block.c: Likewise.
10084         * crypt/sha512-crypt.c: Likewise.
10085         * crypt/sha512.c: Likewise.
10086         * debug/backtrace-tst.c: Likewise.
10087         * debug/pcprofiledump.c: Likewise.
10088         * elf/cache.c: Likewise.
10089         * elf/dl-cache.c: Likewise.
10090         * elf/dl-misc.c: Likewise.
10091         * elf/dl-profile.c: Likewise.
10092         * elf/dl-support.c: Likewise.
10093         * elf/ldconfig.c: Likewise.
10094         * elf/sprof.c: Likewise.
10095         * iconv/dummy-repertoire.c: Likewise.
10096         * iconv/iconv_charmap.c: Likewise.
10097         * iconv/skeleton.c: Likewise.
10098         * iconvdata/8bit-generic.c: Likewise.
10099         * iconvdata/cp737.h: Likewise.
10100         * iconvdata/cp775.h: Likewise.
10101         * iconvdata/ibm1008.h: Likewise.
10102         * iconvdata/ibm1025.h: Likewise.
10103         * iconvdata/ibm1046.h: Likewise.
10104         * iconvdata/ibm1097.h: Likewise.
10105         * iconvdata/ibm1112.h: Likewise.
10106         * iconvdata/ibm1122.h: Likewise.
10107         * iconvdata/ibm1123.h: Likewise.
10108         * iconvdata/ibm1124.h: Likewise.
10109         * iconvdata/ibm1129.h: Likewise.
10110         * iconvdata/ibm1130.h: Likewise.
10111         * iconvdata/ibm1132.h: Likewise.
10112         * iconvdata/ibm1133.h: Likewise.
10113         * iconvdata/ibm1137.h: Likewise.
10114         * iconvdata/ibm1140.h: Likewise.
10115         * iconvdata/ibm1141.h: Likewise.
10116         * iconvdata/ibm1142.h: Likewise.
10117         * iconvdata/ibm1143.h: Likewise.
10118         * iconvdata/ibm1144.h: Likewise.
10119         * iconvdata/ibm1145.h: Likewise.
10120         * iconvdata/ibm1146.h: Likewise.
10121         * iconvdata/ibm1147.h: Likewise.
10122         * iconvdata/ibm1148.h: Likewise.
10123         * iconvdata/ibm1149.h: Likewise.
10124         * iconvdata/ibm1153.h: Likewise.
10125         * iconvdata/ibm1154.h: Likewise.
10126         * iconvdata/ibm1155.h: Likewise.
10127         * iconvdata/ibm1156.h: Likewise.
10128         * iconvdata/ibm1157.h: Likewise.
10129         * iconvdata/ibm1158.h: Likewise.
10130         * iconvdata/ibm1160.h: Likewise.
10131         * iconvdata/ibm1161.h: Likewise.
10132         * iconvdata/ibm1162.h: Likewise.
10133         * iconvdata/ibm1163.h: Likewise.
10134         * iconvdata/ibm1164.h: Likewise.
10135         * iconvdata/ibm1166.h: Likewise.
10136         * iconvdata/ibm1167.h: Likewise.
10137         * iconvdata/ibm12712.h: Likewise.
10138         * iconvdata/ibm1390.h: Likewise.
10139         * iconvdata/ibm1399.h: Likewise.
10140         * iconvdata/ibm16804.h: Likewise.
10141         * iconvdata/ibm4517.h: Likewise.
10142         * iconvdata/ibm4899.h: Likewise.
10143         * iconvdata/ibm4909.h: Likewise.
10144         * iconvdata/ibm4971.h: Likewise.
10145         * iconvdata/ibm5347.h: Likewise.
10146         * iconvdata/ibm803.h: Likewise.
10147         * iconvdata/ibm856.h: Likewise.
10148         * iconvdata/ibm901.h: Likewise.
10149         * iconvdata/ibm902.h: Likewise.
10150         * iconvdata/ibm9030.h: Likewise.
10151         * iconvdata/ibm9066.h: Likewise.
10152         * iconvdata/ibm921.h: Likewise.
10153         * iconvdata/ibm922.h: Likewise.
10154         * iconvdata/ibm9448.h: Likewise.
10155         * iconvdata/isiri-3342.h: Likewise.
10156         * iconvdata/jis0201.h: Likewise.
10157         * include/link.h: Likewise.
10158         * include/netdb.h: Likewise.
10159         * inet/check_native.c: Likewise.
10160         * inet/check_pf.c: Likewise.
10161         * inet/getipv4sourcefilter.c: Likewise.
10162         * inet/getnameinfo.c: Likewise.
10163         * inet/getsourcefilter.c: Likewise.
10164         * inet/htonl.c: Likewise.
10165         * inet/setipv4sourcefilter.c: Likewise.
10166         * inet/setsourcefilter.c: Likewise.
10167         * inet/test-inet6_opt.c: Likewise.
10168         * inet/tst-network.c: Likewise.
10169         * locale/C-collate.c: Likewise.
10170         * locale/C-ctype.c: Likewise.
10171         * locale/C-time.c: Likewise.
10172         * locale/C-translit.h: Likewise.
10173         * locale/loadarchive.c: Likewise.
10174         * locale/programs/3level.h: Likewise.
10175         * locale/programs/charmap.c: Likewise.
10176         * locale/programs/charmap.h: Likewise.
10177         * locale/programs/ld-address.c: Likewise.
10178         * locale/programs/ld-collate.c: Likewise.
10179         * locale/programs/ld-ctype.c: Likewise.
10180         * locale/programs/ld-identification.c: Likewise.
10181         * locale/programs/ld-measurement.c: Likewise.
10182         * locale/programs/ld-messages.c: Likewise.
10183         * locale/programs/ld-monetary.c: Likewise.
10184         * locale/programs/ld-name.c: Likewise.
10185         * locale/programs/ld-numeric.c: Likewise.
10186         * locale/programs/ld-paper.c: Likewise.
10187         * locale/programs/ld-telephone.c: Likewise.
10188         * locale/programs/ld-time.c: Likewise.
10189         * locale/programs/linereader.c: Likewise.
10190         * locale/programs/locale.c: Likewise.
10191         * locale/programs/locarchive.c: Likewise.
10192         * locale/programs/locfile.h: Likewise.
10193         * locale/programs/repertoire.c: Likewise.
10194         * locale/programs/simple-hash.c: Likewise.
10195         * locale/programs/simple-hash.h: Likewise.
10196         * malloc/memusage.c: Likewise.
10197         * malloc/memusagestat.c: Likewise.
10198         * nis/nis_defaults.c: Likewise.
10199         * nis/nis_hash.c: Likewise.
10200         * nis/nis_print.c: Likewise.
10201         * nis/nis_xdr.c: Likewise.
10202         * nscd/connections.c: Likewise.
10203         * nscd/hstcache.c: Likewise.
10204         * nscd/nscd_gethst_r.c: Likewise.
10205         * nscd/nscd_getserv_r.c: Likewise.
10206         * nscd/nscd_helper.c: Likewise.
10207         * nscd/servicescache.c: Likewise.
10208         * nss/makedb.c: Likewise.
10209         * nss/nss_db/db-XXX.c: Likewise.
10210         * nss/nss_db/db-initgroups.c: Likewise.
10211         * nss/nss_db/db-netgrp.c: Likewise.
10212         * nss/nss_files/files-network.c: Likewise.
10213         * nss/nss_files/files-parse.c: Likewise.
10214         * posix/bug-regex5.c: Likewise.
10215         * posix/fnmatch_loop.c: Likewise.
10216         * posix/regcomp.c: Likewise.
10217         * posix/regexec.c: Likewise.
10218         * posix/tst-rfc3484-2.c: Likewise.
10219         * posix/tst-rfc3484-3.c: Likewise.
10220         * posix/tst-rfc3484.c: Likewise.
10221         * resolv/nss_dns/dns-canon.c: Likewise.
10222         * resolv/nss_dns/dns-network.c: Likewise.
10223         * resolv/res_init.c: Likewise.
10224         * resolv/res_mkquery.c: Likewise.
10225         * resolv/tst-aton.c: Likewise.
10226         * stdlib/cxa_atexit.c: Likewise.
10227         * stdlib/cxa_finalize.c: Likewise.
10228         * stdlib/gen-fpioconst.c: Likewise.
10229         * stdlib/strtol_l.c: Likewise.
10230         * string/tst-endian.c: Likewise.
10231         * sunrpc/auth_des.c: Likewise.
10232         * sunrpc/clnt_udp.c: Likewise.
10233         * sunrpc/rtime.c: Likewise.
10234         * sunrpc/svcauth_des.c: Likewise.
10235         * sunrpc/xdr.c: Likewise.
10236         * sunrpc/xdr_intXX_t.c: Likewise.
10237         * sunrpc/xdr_rec.c: Likewise.
10238         * sysdeps/generic/ldconfig.h: Likewise.
10239         * sysdeps/generic/ldsodefs.h: Likewise.
10240         * sysdeps/generic/memusage.h: Likewise.
10241         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10242         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10243         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10244         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10245         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10246         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10247         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10249         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10251         * sysdeps/posix/getaddrinfo.c: Likewise.
10252         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10253         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10254         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10255         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10256         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10257         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10258         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10259         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10260         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10261         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10262         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10263         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10264         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10265         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10266         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10267         * sysdeps/x86_64/dl-tls.h: Likewise.
10268         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10269         * time/alt_digit.c: Likewise.
10270         * time/era.c: Likewise.
10271         * wcsmbs/tst-c16c32-1.c: Likewise.
10272
10273 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10274
10275         * math/libm-test.inc (struct test_sincos_data): New type.
10276         (RUN_TEST_LOOP_sincos): New macro.
10277         (sincos_test_data): New variable.
10278         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10279
10280 2013-05-16  Richard Henderson  <rth@redhat.com>
10281
10282         * math/atest-exp2.c (LIMB64): New macro.
10283         (CONSTSZ): New macro.
10284         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10285         (hexdig): Move ...
10286         (print_mpn_fp): ... to function scope.
10287         (read_mpn_hex): Remove.
10288         (get_log2): Remove.
10289         (exp2_mpn): Use mp_log2.
10290         (main): Use mp_exp1.
10291
10292 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10293
10294         * math/libm-test.inc: Remove comment about not testing "inexact"
10295         exceptions.
10296         (INEXACT_EXCEPTION): New macro.
10297         (NO_INEXACT_EXCEPTION): Likewise.
10298         (INVALID_EXCEPTION_OK): Update value.
10299         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10300         (OVERFLOW_EXCEPTION_OK): Likewise.
10301         (UNDERFLOW_EXCEPTION_OK): Likewise.
10302         (IGNORE_ZERO_INF_SIGN): Likewise.
10303         (ERRNO_UNCHANGED): Likewise.
10304         (ERRNO_EDOM): Likewise.
10305         (ERRNO_ERANGE): Likewise.
10306         (test_exceptions): Handle testing "inexact" exceptions.
10307         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10308         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10309         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10310         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10311         INEXACT_EXCEPTION.
10312         (rint_towardzero_test_data): Likewise.
10313         (rint_downward_test_data): Likewise.
10314         (rint_upward_test_data): Likewise.
10315
10316         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10317         with OVERFLOW_EXCEPTION.
10318         (exp10_test_data): Likewise.
10319         (exp2_test_data): Likewise.
10320         (expm1_test_data): Likewise.
10321         (lgamma_test_data): Likewise.
10322         (pow_test_data): Likewise.
10323         (tgamma_test_data): Likewise.
10324         (yn_test_data): Remove duplicate test of overflow.
10325
10326         * math/libm-test.inc (struct test_cc_c_data): New type.
10327         (RUN_TEST_LOOP_cc_c): New macro.
10328         (cpow_test_data): New variable.
10329         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10330
10331         * math/libm-test.inc (struct test_f_L_data): New type.
10332         (RUN_TEST_LOOP_f_L): New macro.
10333         (llrint_test_data): New variable.
10334         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10335         (llrint_tonearest_test_data): New variable.
10336         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10337         (llrint_towardzero_test_data): New variable.
10338         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10339         (llrint_downward_test_data): New variable.
10340         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10341         (llrint_upward_test_data): New variable.
10342         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10343         (llround_test_data): New variable.
10344         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10345
10346 2013-05-13  Peter Collingbourne  <pcc@google.com>
10347
10348         * math/atest-exp2.c (get_log2): Remove const attribute.
10349
10350 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10351
10352         * math/libm-test.inc (struct test_f_l_data): New type.
10353         (RUN_TEST_LOOP_f_l): New macro.
10354         (lrint_test_data): New variable.
10355         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10356         (lrint_tonearest_test_data): New variable.
10357         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10358         (lrint_towardzero_test_data): New variable.
10359         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10360         (lrint_downward_test_data): New variable.
10361         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10362         (lrint_upward_test_data): New variable.
10363         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10364         (lround_test_data): New variable.
10365         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10366
10367 2013-05-15  Peter Collingbourne  <pcc@google.com>
10368
10369         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10370         (EXTRACT_WORDS64) Use where appropriate.
10371         (INSERT_WORDS64) Likewise.
10372
10373         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10374         constraints with x constraints.
10375         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10376
10377         * malloc/obstack.c (_obstack_compat): Add initializer.
10378
10379 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10380
10381         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10382         si_trapno and add si_addr_lsb to _sifields.sigfault.
10383         (si_trapno): Remove macro.
10384         (si_addr_lsb): Define new macro.
10385         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10386
10387 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10388
10389         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10390         instead of TEST_f_l.
10391         (llrint_test_tonearest): Likewise.
10392         (llrint_test_towardzero): Likewise.
10393         (llrint_test_downward): Likewise.
10394         (llrint_test_upward): Likewise.
10395         (llround_test): Likewise.
10396
10397         * math/libm-test.inc (struct test_f_i_data): Add comment.
10398         (RUN_TEST_LOOP_f_b): New macro.
10399         (RUN_TEST_LOOP_f_b_tg): Likewise.
10400         (finite_test_data): New variable.
10401         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10402         (isfinite_test_data): New variable.
10403         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10404         (isinf_test_data): New variable.
10405         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10406         (isnan_test_data): New variable.
10407         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10408         (isnormal_test_data): New variable.
10409         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10410         (issignaling_test_data): New variable.
10411         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10412         (signbit_test_data): New variable.
10413         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10414
10415         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10416         with INVALID_EXCEPTION.
10417         (acosh_test_data): Likewise.
10418         (asin_test_data): Likewise.
10419         (atanh_test_data): Likewise.
10420         (fmod_test_data): Likewise.
10421         (log_test_data): Likewise.
10422         (log10_test_data): Likewise.
10423         (log2_test_data): Likewise.
10424         (pow_test_data): Likewise.
10425         (sqrt_test_data): Likewise.
10426         (y0_test_data): Likewise.
10427         (y1_test_data): Likewise.
10428         (yn_test_data): Likewise.
10429
10430         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10431         function contents.
10432
10433         * math/libm-test.inc (struct test_ff_i_data): New type.
10434         (RUN_TEST_LOOP_ff_i_tg): New macro.
10435         (isgreater_test_data): New variable.
10436         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10437         (isgreaterequal_test_data): New variable.
10438         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10439         (isless_test_data): New variable.
10440         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10441         (islessequal_test_data): New variable.
10442         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10443         (islessgreater_test_data): New variable.
10444         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10445         (isunordered_test_data): New variable.
10446         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10447
10448 2013-05-14  David S. Miller  <davem@davemloft.net>
10449
10450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10451
10452 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10453
10454         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10455
10456         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10457         extra_test to int.
10458         (struct test_f_i_data): Change type of max_ulp to int.
10459
10460         * math/libm-test.inc (test_ffI_f1_data): New type.
10461         (RUN_TEST_LOOP_ffI_f1): New macro.
10462         (remquo_test_data): New variable.
10463         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10464
10465         * setjmp/tst-setjmp-fp.c: New file.
10466         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10467         (link-libm): New variable.
10468         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10469
10470         * math/libm-test.inc (struct test_f_i_data): New type.
10471         (RUN_TEST_LOOP_f_i): New macro.
10472         (RUN_TEST_LOOP_f_i_tg): Likewise.
10473         (fpclassify_test_data): New variable.
10474         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10475         (ilogb_test_data): New variable.
10476         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10477
10478         * math/libm-test.inc (scalbln_test): Correct function name in END
10479         call.
10480
10481         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10482         (RUN_TEST_LOOP_fI_f1): New macro.
10483         (frexp_test_data): New variable.
10484         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10485
10486         * math/libm-test.inc (struct test_fF_f1_data): New type.
10487         (RUN_TEST_LOOP_fF_f1): New macro.
10488         (modf_test_data): New variable.
10489         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10490
10491         * math/libm-test.inc (struct test_f_f1_data): New type.
10492         (RUN_TEST_LOOP_f_f1): New macro.
10493         (gamma_test_data): New variable.
10494         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10495         (lgamma_test_data): New variable.
10496         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10497
10498 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10499
10500         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10501         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10502         (main): Comment "tls" pseudo-hwcap.
10503
10504 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10505
10506         * math/libm-test.inc (struct test_fl_f_data): New type.
10507         (RUN_TEST_LOOP_fl_f): New variable.
10508         (scalbln_test_data): New variable.
10509         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10510
10511         * math/libm-test.inc (struct test_fi_f_data): New type.
10512         (RUN_TEST_LOOP_fi_f): New macro.
10513         (ldexp_test_data): New variable.
10514         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10515         (scalbn_test_data): New variable.
10516         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10517
10518         * math/libm-test.inc (struct test_c_f_data): New type.
10519         (RUN_TEST_LOOP_c_f): New macro.
10520         (cabs_test_data): New variable.
10521         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10522         (carg_test_data): New variable.
10523         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10524         (cimag_test_data): New variable.
10525         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10526         (creal_test_data): New variable.
10527         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10528
10529         * math/libm-test.inc (struct test_if_f_data): New type.
10530         (RUN_TEST_LOOP_if_f): New macro.
10531         (jn_test_data): New variable.
10532         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10533         (yn_test_data): New variable.
10534         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10535
10536         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10537
10538 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10539
10540         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10541         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10542
10543 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10544
10545         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10546         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10547         (bench-deps): Add bench-timing.h.
10548         * benchtests-bench-skeleton.c: Include bench-timing.h.
10549         (main): Use TIMING_* macros instead of clock_gettime.
10550         * benchtests/bench-timing.h: New file.
10551
10552         [BZ #14582]
10553         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10554         Renamed from _LIB_VERSION.
10555         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10556
10557 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10558
10559         * math/libm-test.inc (struct test_fff_f_data): New type.
10560         (RUN_TEST_LOOP_fff_f): New macro.
10561         (fma_test_data): New variable.
10562         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10563         (fma_towardzero_test_data): New variable.
10564         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10565         (fma_downward_test_data): New variable.
10566         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10567         (fma_upward_test_data): New variable.
10568         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10569
10570         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10571         (struct test_c_c_data): New type.
10572         (RUN_TEST_LOOP_c_c): New macro.
10573         (cacos_test_data): New variable.
10574         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10575         (cacosh_test_data): New variable.
10576         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10577         (casin_test_data): New variable.
10578         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10579         (casinh_test_data): New variable.
10580         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10581         (catan_test_data): New variable.
10582         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10583         (catanh_test_data): New variable.
10584         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10585         (ccos_test_data): New variable.
10586         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10587         (ccosh_test_data): New variable.
10588         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10589         (cexp_test_data): New variable.
10590         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10591         (clog_test_data): New variable.
10592         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10593         (clog10_test_data): New variable.
10594         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10595         (conj_test_data): New variable.
10596         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10597         (cproj_test_data): New variable.
10598         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10599         (csin_test_data): New variable.
10600         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10601         (csinh_test_data): New variable.
10602         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10603         (csqrt_test_data): New variable.
10604         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10605         (ctan_test_data): New variable.
10606         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10607         (ctan_tonearest_test_data): New variable.
10608         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10609         (ctan_towardzero_test_data): New variable.
10610         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10611         (ctan_downward_test_data): New variable.
10612         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10613         (ctan_upward_test_data): New variable.
10614         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10615         (ctanh_test_data): New variable.
10616         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10617         (ctanh_tonearest_test_data): New variable.
10618         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10619         (ctanh_towardzero_test_data): New variable.
10620         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10621         (ctanh_downward_test_data): New variable.
10622         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10623         (ctanh_upward_test_data): New variable.
10624         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10625         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10626         of BUILD_COMPLEX.
10627
10628         * math/libm-test.inc (struct test_ff_f_data): New type.
10629         (struct test_ff_f_data_nexttoward): Likewise.
10630         (RUN_TEST_LOOP_2_f): New macro.
10631         (RUN_TEST_LOOP_ff_f): Likewise.
10632         (atan2_test_data): New variable.
10633         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10634         (copysign_test_data): New variable.
10635         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10636         (fdim_test_data): New variable.
10637         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10638         (fmax_test_data): New variable.
10639         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10640         (fmin_test_data): New variable.
10641         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10642         (fmod_test_data): New variable.
10643         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10644         (hypot_test_data): New variable.
10645         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10646         (nextafter_test_data): New variable.
10647         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10648         (nexttoward_test_data): New variable.
10649         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10650         (pow_test_data): New variable.
10651         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10652         (pow_tonearest_test_data): New variable.
10653         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10654         (pow_towardzero_test_data): New variable.
10655         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10656         (pow_downward_test_data): New variable.
10657         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10658         (pow_upward_test_data): New variable.
10659         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10660         (remainder_test_data): New variable.
10661         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10662         (scalb_test_data): New variable.
10663         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10664         * sysdeps/i386/fpu/libm-test-ulps: Update.
10665
10666 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10667
10668         * math/libm-test.inc (fma_test): Use max_value instead of local
10669         variable fltmax.
10670         (nextafter_test): Likewise.
10671
10672         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10673         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10674         (acos_downward_test_data): New variable.
10675         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10676         (acos_upward_test_data): New variable.
10677         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10678         (acosh_test_data): New variable.
10679         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10680         (asin_test_data): New variable.
10681         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10682         (asin_tonearest_test_data): New variable.
10683         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10684         (asin_towardzero_test_data): New variable.
10685         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10686         (asin_downward_test_data): New variable.
10687         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10688         (asin_upward_test_data): New variable.
10689         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10690         (asinh_test_data): New variable.
10691         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10692         (atan_test_data): New variable.
10693         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10694         (atanh_test_data): New variable.
10695         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10696         (cbrt_test_data): New variable.
10697         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10698         (ceil_test_data): New variable.
10699         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10700         (cos_test_data): New variable.
10701         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10702         (cos_tonearest_test_data): New variable.
10703         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10704         (cos_towardzero_test_data): New variable.
10705         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10706         (cos_downward_test_data): New variable.
10707         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10708         (cos_upward_test_data): New variable.
10709         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10710         (cosh_test_data): New variable.
10711         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10712         (cosh_tonearest_test_data): New variable.
10713         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10714         (cosh_towardzero_test_data): New variable.
10715         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10716         (cosh_downward_test_data): New variable.
10717         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10718         (cosh_upward_test_data): New variable.
10719         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10720         (erf_test_data): New variable.
10721         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10722         (erfc_test_data): New variable.
10723         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10724         (exp_test_data): New variable.
10725         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10726         (exp_tonearest_test_data): New variable.
10727         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10728         (exp_towardzero_test_data): New variable.
10729         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10730         (exp_downward_test_data): New variable.
10731         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10732         (exp_upward_test_data): New variable.
10733         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10734         (exp10_test_data): New variable.
10735         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10736         (exp2_test_data): New variable.
10737         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10738         (expm1_test_data): New variable.
10739         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10740         (fabs_test_data): New variable.
10741         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10742         (floor_test_data): New variable.
10743         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10744         (j0_test_data): New variable.
10745         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10746         (j1_test_data): New variable.
10747         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10748         (log_test_data): New variable.
10749         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10750         (log10_test_data): New variable.
10751         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10752         (log1p_test_data): New variable.
10753         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10754         (log2_test_data): New variable.
10755         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10756         (logb_test_data): New variable.
10757         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10758         (logb_downward_test_data): New variable.
10759         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10760         (nearbyint_test_data): New variable.
10761         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10762         (rint_test_data): New variable.
10763         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10764         (rint_tonearest_test_data): New variable.
10765         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10766         (rint_towardzero_test_data): New variable.
10767         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10768         (rint_downward_test_data): New variable.
10769         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10770         (rint_upward_test_data): New variable.
10771         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10772         (round_test_data): New variable.
10773         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10774         (sin_test_data): New variable.
10775         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10776         (sin_tonearest_test_data): New variable.
10777         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10778         (sin_towardzero_test_data): New variable.
10779         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10780         (sin_downward_test_data): New variable.
10781         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10782         (sin_upward_test_data): New variable.
10783         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10784         (sinh_test_data): New variable.
10785         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10786         (sinh_tonearest_test_data): New variable.
10787         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10788         (sinh_towardzero_test_data): New variable.
10789         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10790         (sinh_downward_test_data): New variable.
10791         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10792         (sinh_upward_test_data): New variable.
10793         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10794         (sqrt_test_data): New variable.
10795         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10796         (tan_test_data): New variable.
10797         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10798         (tan_tonearest_test_data): New variable.
10799         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10800         (tan_towardzero_test_data): New variable.
10801         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10802         (tan_downward_test_data): New variable.
10803         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10804         (tan_upward_test_data): New variable.
10805         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10806         (tanh_test_data): New variable.
10807         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10808         (tgamma_test_data): New variable.
10809         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10810         (trunc_test_data): New variable.
10811         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10812         (y0_test_data): New variable.
10813         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10814         (y1_test_data): New variable.
10815         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10816         (significand_test_data): New variable.
10817         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10818
10819 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10820
10821         [BZ #12387]
10822         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10823
10824 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10825
10826         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10827
10828 2013-05-10  Andreas Jaeger  <aj@suse.de>
10829
10830         [BZ #15448]
10831         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10832         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10833
10834 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10835
10836         * math/gen-libm-test.pl (adjust_arg): New function.
10837         (special_functions): Handle generating output in both functions
10838         and arrays.
10839         (parse_args): Likewise.
10840         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10841         $in_func argument to parse_args.
10842         * math/libm-test.inc (struct test_f_f_data): New type.
10843         (IF_ROUND_INIT_): New macro.
10844         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10845         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10846         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10847         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10848         (ROUND_RESTORE_): Likewise.
10849         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10850         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10851         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10852         (ROUND_RESTORE_FE_UPWARD): Likewise.
10853         (RUN_TEST_LOOP_f_f): New macro.
10854         (acos_test_data): New variable.
10855         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10856         (acos_tonearest_test_data): New variable.
10857         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10858
10859 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10860
10861         * benchtests/bench-skeleton.c (startup): Fix coding style.
10862
10863 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10864
10865         [BZ #6809]
10866         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10867         negative infinity argument.
10868         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10869         negative infinity argument.
10870         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10871         negative infinity argument.
10872         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10873         domain errors.
10874
10875 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10876
10877         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10878         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10879         * iconv/iconv_prog.c (main): Likewise.
10880         * locale/programs/charmap-dir.c (charmap_readdir)
10881         (fopen_uncompressed): Likewise.
10882         * locale/programs/locfile.c (siblings_uncached)
10883         (write_locale_data): Use lstat64 instead of lstat.
10884         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10885         stat.
10886
10887 2013-05-10  Andreas Jaeger  <aj@suse.de>
10888
10889         [BZ #15395]
10890         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10891         localization.
10892         Include <locale.h>.
10893
10894 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10895
10896         * elf/dl-close.c (_dl_close_worker): Add comments.
10897
10898 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10899
10900         [BZ #15359]
10901         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10902         high part of pi/2.
10903         (__ieee754_rem_pio2l): Update comments.
10904
10905         [BZ #15429]
10906         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10907         high part of pi/2.
10908         (__ieee754_rem_pio2l): Update comments.
10909
10910         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10911         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10912
10913         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10914         M_PI_4l.
10915
10916         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10917         (M_PI_34_LOG10El): Likewise.
10918         (M_PI2_LOG10El): Likewise.
10919         (M_PI4_LOG10El): Likewise.
10920         (M_PI_LOG10El): Likewise.
10921
10922 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10923
10924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10925
10926 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10927
10928         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10929         (MINUS_ZERO_INIT): Likewise.
10930         (PLUS_INFTY_INIT): Likewise.
10931         (MINUS_INFTY_INIT): Likewise.
10932         (QNAN_VALUE_INIT): Likewise.
10933         (MAX_VALUE_INIT): Likewise.
10934         (MIN_VALUE_INIT): Likewise.
10935         (MIN_SUBNORM_VALUE_INIT): Likewise.
10936         (plus_zero): Initialize with PLUS_ZERO_INIT.
10937         (minus_zero): Initialize with MINUS_ZERO_INIT.
10938         (plus_infty): Initialize with PLUS_INFTY_INIT.
10939         (minus_infty): Initialize with MINUS_INFTY_INIT.
10940         (qnan_value): Initialize with QNAN_VALUE_INIT.
10941         (max_value): Initialize with MAX_VALUE_INIT.
10942         (min_value): Initialize with MIN_VALUE_INIT.
10943         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10944
10945         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10946         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10947         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10948         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10949
10950         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10951         (RUN_TEST_2_f): Likewise.
10952         (RUN_TEST_ff_f): Likewise.
10953         (RUN_TEST_fi_f): Likewise.
10954         (RUN_TEST_fl_f): Likewise.
10955         (RUN_TEST_fff_f): Likewise.
10956         (RUN_TEST_c_f): Likewise.
10957         (RUN_TEST_f_f1): Likewise.
10958         (RUN_TEST_fF_f1): Likewise.
10959         (RUN_TEST_fI_f1): Likewise.
10960         (RUN_TEST_ffI_f1): Likewise.
10961         (RUN_TEST_c_c): Likewise.
10962         (RUN_TEST_cc_c): Likewise.
10963         (RUN_TEST_f_i): Likewise.
10964         (RUN_TEST_f_i_tg): Likewise.
10965         (RUN_TEST_ff_i_tg): Likewise.
10966         (RUN_TEST_f_b): Likewise.
10967         (RUN_TEST_f_b_tg): Likewise.
10968         (RUN_TEST_f_l): Likewise.
10969         (RUN_TEST_f_L): Likewise.
10970         (RUN_TEST_sincos): Likewise.
10971         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10972         whether to show exceptions.  Do not include ");\n" in return
10973         value.
10974         (special_functions): Output call to RUN_TEST_sincos instead of
10975         check_float calls.  Update calls to new_test.
10976         (parse_args): Output call to single RUN_TEST_* macro instead of
10977         check_* calls and other assignments.  Update calls to new_test.
10978
10979         [BZ #2546]
10980         [BZ #2560]
10981         [BZ #5159]
10982         [BZ #15426]
10983         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10984         input to result for tgamma overflow.
10985         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10986         (gamma_coeff): New variable.
10987         (NCOEFF): New macro.
10988         (gamma_positive): New function.
10989         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10990         underflow here.  Use gamma_positive instead of exp (lgamma) for
10991         other arguments.
10992         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10993         (gamma_coeff): New variable.
10994         (NCOEFF): New macro.
10995         (gammaf_positive): New function.
10996         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10997         underflow here.  Use gamma_positive instead of exp (lgamma) for
10998         other arguments.
10999         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11000         (gamma_coeff): New variable.
11001         (NCOEFF): New macro.
11002         (gammal_positive): New function.
11003         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11004         underflow here.  Use gamma_positive instead of exp (lgamma) for
11005         other arguments.
11006         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11007         (gamma_coeff): New variable.
11008         (NCOEFF): New macro.
11009         (gammal_positive): New function.
11010         (__ieee754_gammal_r): Handle positive infinity, overflow and
11011         underflow here.  Handle NaN the same as positive infinity.  Remove
11012         check x < 0xffffffff for negative integers.  Use gamma_positive
11013         instead of exp (lgamma) for other arguments.
11014         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11015         (gamma_coeff): New variable.
11016         (NCOEFF): New macro.
11017         (gammal_positive): New function.
11018         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11019         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11020         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11021         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11022         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11023         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11024         * sysdeps/generic/math_private.h (__gamma_productf): New
11025         prototype.
11026         (__gamma_product): Likewise.
11027         (__gamma_productl): Likewise.
11028         * math/Makefile (libm-calls): Add gamma_product.
11029         * math/libm-test.inc (tgamma_test): Add more tests.
11030         * sysdeps/i386/fpu/libm-test-ulps: Update.
11031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11032
11033 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
11034
11035         * benchtests/bench-skeleton.c (main): Preheat CPU.
11036
11037 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
11038
11039         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11040
11041 2013-05-07  Roland McGrath  <roland@hack.frob.com>
11042
11043         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11044         and _dl_skip_args_internal.
11045
11046 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
11047
11048         * manual/message.texi (Message Translation): Talk about users.
11049         Message to key mapping impacts design.
11050
11051 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11052
11053         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11054
11055         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11056
11057         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11058         * sysdeps/wordsize-64/glob64.c: ... here.
11059
11060         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11061         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11062         New macros.
11063
11064         * debug/getlogin_r_chk.c: Moved to ...
11065         * login/getlogin_r_chk.c: ... here.
11066         * debug/Makefile (routines): Move getlogin_r_chk to ...
11067         * login/Makefile (routines): ... here.
11068         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11069         * login/Versions (libc: GLIBC_2.4): ... here.
11070
11071         * io/poll.c (__poll): Renamed from poll.
11072         Add libc_hidden_def.
11073         (poll): Define as weak alias.
11074
11075         * debug/ptsname_r_chk.c: Moved to ...
11076         * login/ptsname_r_chk.c: ... here.
11077         * debug/Makefile (routines): Move ptsname_r_chk to ...
11078         * login/Makefile (routines): ... here.
11079         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11080         * login/Versions (libc: GLIBC_2.4): ... here.
11081
11082         * posix/getlogin.c: Moved to ...
11083         * login/getlogin.c: ... here.
11084         * posix/getlogin_r.c: Moved to ...
11085         * login/getlogin_r.c: ... here.
11086         * posix/getlogin_r.c: Moved to ...
11087         * login/getlogin_r.c: ... here.
11088         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11089         * login/Makefile (routines): ... here.
11090         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11091         * login/Versions (libc: GLIBC_2.0): ... here.
11092
11093         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11094         (setrlimit): Define as weak alias.
11095
11096         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11097         Call __ names for open, ftruncate, and close.
11098         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11099         (truncate): Define as weak alias.
11100
11101 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11102
11103         * math/gen-libm-test.pl (parse_args): Initialize x before each
11104         test of frexp, modf and remquo.
11105
11106         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11107         test signgam value.
11108
11109 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11110
11111         [BZ #15418]
11112         [BZ #15419]
11113         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11114         internal tests.
11115         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11116
11117 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11118
11119         * elf/dl-writev.h: New file.
11120         * elf/dl-misc.c: Include it.
11121         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11122         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11123
11124 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11125
11126         * math/libm-test.inc (noXFails): Remove variable.
11127         (noXPasses): Likewise.
11128         (BUILD_COMPLEX_INT): Remove macro.
11129         (print_screen): Remove xfail argument.
11130         (print_screen_max_error): Likewise.
11131         (update_stats): Likewise.
11132         (print_max_error): Likewise.  Update calls to other affected
11133         functions.
11134         (print_complex_max_error): Likewise.
11135         (test_single_exception): Update calls to print_screen.
11136         (test_single_errno): Likewise.
11137         (check_float_internal): Remove xfail argument.  Update calls to
11138         other affected functions.
11139         (check_float): Likewise.
11140         (check_complex): Likewise.
11141         (check_int): Likewise.
11142         (check_long): Likewise.
11143         (check_bool): Likewise.
11144         (check_longlong): Likewise.
11145         (main): Don't print noXFails and noXPasses.
11146         * math/gen-libm-test.pl (top level): Don't mention expected
11147         failure handling in comment.
11148         (new_test): Don't handle expected failures.
11149         (parse_args): Don't mention expected failure handling in comment.
11150         (generate_testfile): Don't handle expected failures.
11151         (parse_ulps): Likewise.
11152         (print_ulps_file): Likewise.
11153         (get_failure): Remove function.
11154         (output_test): Don't handle expected failures.
11155         * make/README.libm-test: Don't mention expected failure handling.
11156
11157         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11158         (minus_zero): Likewise.
11159         (plus_infty): Likewise.
11160         (minus_infty): Likewise.
11161         (qnan_value): Likewise.
11162         (max_value): Likewise.
11163         (min_value): Likewise.
11164         (min_subnorm_value): Likewise.
11165         (initialize): Do not initialize those variables dynamically.
11166
11167 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11168
11169         * io/open.c (__open_2): Moved to ...
11170         * io/open_2.c: ... this new file.
11171         * io/open64.c (__open64_2): Moved to ...
11172         * io/open64_2.c: ... this new file.
11173         * io/openat.c (__openat_2): Moved to ...
11174         * io/openat_2.c: ... this new file.
11175         * io/openat64.c (__openat64_2): Moved to ...
11176         * io/openat64_2.c: ... this new file.
11177         * io/Makefile (routines): Add them.
11178         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11179         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11180         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11181         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11182         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11183         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11184         (__openat64): Add hidden_ver.
11185         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11186         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11187
11188         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11189         Separately conditionalize setting of GLRO(dl_sysinfo) so
11190         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11191         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11192
11193 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11194
11195         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11196         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11197         definition.
11198         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11199         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11200         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11201         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11202         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11203
11204 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11205
11206         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11207         test signgam value.
11208
11209         * math/libm-test.inc (hypot_test): Do not use
11210         IGNORE_ZERO_INF_SIGN.
11211
11212 2013-05-03  Andreas Jaeger  <aj@suse.de>
11213
11214         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11215         Linux 3.9.
11216         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11217         (PF_MAX): Adjust for VSOCK change.
11218
11219 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11220
11221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11222
11223 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11224
11225         [BZ #15264]
11226         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11227         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11228         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11229
11230 2013-05-02  David S. Miller  <davem@davemloft.net>
11231
11232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11233
11234 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11235
11236         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11237
11238 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11239
11240         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11241
11242 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11243
11244         [BZ #14952]
11245         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11246         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11247         Use __attribute__ ((__gnu_inline__)).
11248         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11249         Don't use __attribute__ ((__gnu_inline__)).
11250
11251 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11252
11253         [BZ #15423]
11254         * math/s_catan.c (__catan): Handle small real or imaginary part of
11255         input specially to avoid spurious underflow.
11256         * math/s_catanf.c (__catanf): Likewise.
11257         * math/s_catanh.c (__catanh): Likewise.
11258         * math/s_catanhf.c (__catanhf): Likewise.
11259         * math/s_catanhl.c (__catanhl): Likewise.
11260         * math/s_catanl.c (__catanl): Likewise.
11261         * math/libm-test.inc (catan_test): Add more tests.
11262         (catanh_test): Likewise.
11263         * sysdeps/i386/fpu/libm-test-ulps: Update.
11264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11265
11266 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11267
11268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11269
11270 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11271
11272         [BZ #15416]
11273         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11274         accurately for denominator in atan2.
11275         * math/s_catanf.c (__catanf): Likewise.
11276         * math/s_catanh.c (__catanh): Likewise.
11277         * math/s_catanhf.c (__catanhf): Likewise.
11278         * math/s_catanhl.c (__catanhl): Likewise.
11279         * math/s_catanl.c (__catanl): Likewise.
11280         * math/libm-test.inc (catan_test): Add more tests.
11281         (catanh_test): Likewise.
11282         * sysdeps/i386/fpu/libm-test-ulps: Update.
11283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11284
11285 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11286
11287         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11288
11289         * benchtests/Makefile (bench): Remove slow benchmarks.
11290         * benchtests/atan-inputs: Add slow benchmark inputs.
11291         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11292         (BENCH_FUNC): Accept variant offset.
11293         (VARIANT): Define.
11294         * benchtests/bench-skeleton.c (main): Run benchmark for each
11295         variant.
11296         * benchtests/cos-inputs: Add slow benchmark inputs.
11297         * benchtests/exp-inputs: Likewise.
11298         * benchtests/pow-inputs: Likewise.
11299         * benchtests/sin-inputs: Likewise.
11300         * benchtests/slowatan-inputs: Remove.
11301         * benchtests/slowatan.c: Remove.
11302         * benchtests/slowcos-inputs: Remove.
11303         * benchtests/slowcos.c: Remove.
11304         * benchtests/slowexp-inputs: Remove.
11305         * benchtests/slowexp.c: Remove.
11306         * benchtests/slowpow-inputs: Remove.
11307         * benchtests/slowpow.c: Remove.
11308         * benchtests/slowsin-inputs: Remove.
11309         * benchtests/slowsin.c: Remove.
11310         * benchtests/slowtan-inputs: Remove.
11311         * benchtests/slowtan.c: Remove.
11312         * benchtests/tan-inputs: Add slow benchmark inputs.
11313         * scripts/bench.pl: Parse comments and directives.
11314
11315         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
11316         in CPPFLAGS.
11317         ($(objpfx)bench-%.c): Remove *-ITER.
11318         * benchtests/bench-modf.c: Remove definition of ITER.
11319         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11320         (main): Loop for DURATION seconds instead of fixed number of
11321         iterations.
11322         * scripts/bench.pl: Don't expect iterations in parameters.
11323
11324 2013-04-29  Roland McGrath  <roland@hack.frob.com>
11325
11326         * io/fchdir.c (__fchdir): Renamed from fchdir.
11327         (fchdir): Define as weak alias.
11328
11329 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11330
11331         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11332         (ERRNO_EDOM): Likewise.
11333         (ERRNO_ERANGE): Likewise.
11334         (noErrnoTests): New variable.
11335         (init_max_error): Set errno to 0.
11336         (test_single_errno): New function.
11337         (test_errno): Likewise.
11338         (check_float_internal): Call test_errno.  Set errno to 0.
11339         (check_complex): Refer to errno tests in comment.
11340         (check_int): Call test_errno.  Set errno to 0.
11341         (check_long): Likewise.
11342         (check_bool): Likewise.
11343         (check_longlong): Likewise.
11344         (cos_test): Use ERRNO_* flags for errno tests instead of
11345         check_int.
11346         (expm1_test): Likewise.
11347         (fmod_test): Likewise.
11348         (ilogb_test): Likewise.
11349         (lgamma_test): Likewise.
11350         (pow_test): Likewise.
11351         (remainder_test): Likewise.
11352         (sin_test): Likewise.
11353         (tan_test): Likewise.
11354         (yn_test): Likewise.
11355         (initialize): Set errno to 0.
11356         (main): Print number of errno tests.
11357         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11358
11359 2013-04-29  Andreas Jaeger  <aj@suse.de>
11360
11361         [BZ #15084]
11362         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11363         and RES_USEVC.
11364
11365         [BZ #15085]
11366         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11367         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11368         unimplemented.
11369
11370         [BZ #15380]
11371         * stdlib/random.c (__initstate): Return NULL if
11372         __initstate fails.
11373
11374         [BZ #15086]
11375         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11376         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11377         RES_SNGLKUPREOP.
11378
11379 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11380
11381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11382
11383 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11384
11385         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11386         of individual tests.
11387         (casin_test): Likewise.
11388         (casinh_test): Likewise.
11389
11390 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11391
11392         [BZ #15409]
11393         * math/s_catan.c (__catan): Handle arguments with large real or
11394         imaginary part separately without squaring.
11395         * math/s_catanf.c (__catanf): Likewise.
11396         * math/s_catanh.c (__catanh): Likewise.
11397         * math/s_catanhf.c (__catanhf): Likewise.
11398         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11399         and redefine.
11400         (__catanhl): Handle arguments with large real or imaginary part
11401         separately without squaring.
11402         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11403         and redefine.
11404         (__catanl): Handle arguments with large real or imaginary part
11405         separately without squaring.
11406         * math/libm-test.inc (catan_test): Add more tests.
11407         (catanh_test): Likewise.
11408         * sysdeps/i386/fpu/libm-test-ulps: Update.
11409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11410
11411 2013-04-27  Andreas Jaeger  <aj@suse.de>
11412
11413         [BZ #15007]
11414         * stdlib/stdlib.h: Update guards for qecvt.
11415         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11416         <stdlib.h>.
11417
11418 2013-04-27  Allan McRae  <allan@archlinux.org>
11419
11420         * sysdeps/i386/fpu/libm-test-ulps: Update.
11421
11422 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11423
11424         [BZ #15406]
11425         * math/s_catan.c: Include <float.h>.
11426         (__catan): Ensure underflow exception occurs for underflowed
11427         result.
11428         * math/s_catanf.c: Include <float.h>.
11429         (__catanf): Ensure underflow exception occurs for underflowed
11430         result.
11431         * math/s_catanh.c: Include <float.h>.
11432         (__catanh): Ensure underflow exception occurs for underflowed
11433         result.
11434         * math/s_catanhf.c: Include <float.h>.
11435         (__catanhf): Ensure underflow exception occurs for underflowed
11436         result.
11437         * math/s_catanhl.c: Include <float.h>.
11438         (__catanhl): Ensure underflow exception occurs for underflowed
11439         result.
11440         * math/s_catanl.c: Include <float.h>.
11441         (__catanl): Ensure underflow exception occurs for underflowed
11442         result.
11443         * math/libm-test.inc (catan_test): Add more tests.
11444         (catanh_test): Likewise.
11445
11446         [BZ #15405]
11447         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11448         underflowed result.
11449         * math/s_ccoshf.c (__ccoshf): Likewise.
11450         * math/s_ccoshl.c (__ccoshl): Likewise.
11451         * math/s_csin.c (__csin): Likewise.
11452         * math/s_csinf.c (__csinf): Likewise.
11453         * math/s_csinh.c (__csinh): Likewise.
11454         * math/s_csinhf.c (__csinhf): Likewise.
11455         * math/s_csinhl.c (__csinhl): Likewise.
11456         * math/s_csinl.c (__csinl): Likewise.
11457         * math/libm-test.inc (ccos_test): Add more tests.
11458         (ccosh_test): Likewise.
11459         (csin_test): Likewise.
11460         (csinh_test): Likewise.
11461
11462 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11463
11464         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11465         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11466         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11467         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11468         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11469         powerpc/power5+/fpu folders.
11470         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11471
11472
11473 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11474
11475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11476
11477 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11478
11479         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11480         additions to variable.
11481         [$(config-machine) = x86_64] (modules-names): Likewise.
11482         ($(objpfx)tst-audit3): Remove dependency.
11483         ($(objpfx)tst-audit3.out): Likewise.
11484         ($(objpfx)tst-audit4): Likewise.
11485         ($(objpfx)tst-audit4.out): Likewise.
11486         ($(objpfx)tst-audit5): Likewise.
11487         ($(objpfx)tst-audit5.out): Likewise.
11488         ($(objpfx)tst-audit6): Likewise.
11489         ($(objpfx)tst-audit6.out): Likewise.
11490         ($(objpfx)tst-audit7): Likewise.
11491         ($(objpfx)tst-audit7.out): Likewise.
11492         (tst-audit3-ENV): Remove variable.
11493         (tst-audit4-ENV): Likewise.
11494         (tst-audit5-ENV): Likewise.
11495         (tst-audit6-ENV): Likewise.
11496         (tst-audit7-ENV): Likewise.
11497         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11498         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11499         addition to variable.
11500         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11501         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11502         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11503         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11504         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11505         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11506         tst-audit3, tst-audit4 and tst-audit5.
11507         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11508         tst-audit6 and tst-audit7.
11509         [$(subdir) = elf] (modules-names): Add audit modules for those
11510         tests.
11511         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11512         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11513         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11514         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11515         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11516         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11517         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11518         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11519         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11520         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11521         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11522         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11523         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11524         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11525         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11526         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11527         Likewise.
11528         [$(subdir) = elf && $(config-cflags-avx) = yes]
11529         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11530         [$(subdir) = elf && $(config-cflags-avx) = yes]
11531         (CFLAGS-tst-auditmod4a.c): Likewise.
11532         [$(subdir) = elf && $(config-cflags-avx) = yes]
11533         (CFLAGS-tst-auditmod4b.c): Likewise.
11534         [$(subdir) = elf && $(config-cflags-avx) = yes]
11535         (CFLAGS-tst-auditmod6b.c): Likewise.
11536         [$(subdir) = elf && $(config-cflags-avx) = yes]
11537         (CFLAGS-tst-auditmod6c.c): Likewise.
11538         [$(subdir) = elf && $(config-cflags-avx) = yes]
11539         (CFLAGS-tst-auditmod7b.c): Likewise.
11540         * elf/tst-audit3.c: Move to ...
11541         * sysdeps/x86_64/tst-audit3.c: ... here.
11542         * elf/tst-audit4.c: Move to ...
11543         * sysdeps/x86_64/tst-audit4.c: ... here.
11544         * elf/tst-audit5.c: Move to ...
11545         * sysdeps/x86_64/tst-audit5.c: ... here.
11546         * elf/tst-audit6.c: Move to ...
11547         * sysdeps/x86_64/tst-audit6.c: ... here.
11548         * elf/tst-audit7.c: Move to ...
11549         * sysdeps/x86_64/tst-audit7.c: ... here.
11550         * elf/tst-auditmod3a.c: Move to ...
11551         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11552         * elf/tst-auditmod3b.c: Move to ...
11553         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11554         * elf/tst-auditmod4a.c: Move to ...
11555         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11556         * elf/tst-auditmod4b.c: Move to ...
11557         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11558         * elf/tst-auditmod5a.c: Move to ...
11559         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11560         * elf/tst-auditmod5b.c: Move to ...
11561         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11562         * elf/tst-auditmod6a.c: Move to ...
11563         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11564         * elf/tst-auditmod6b.c: Move to ...
11565         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11566         * elf/tst-auditmod6c.c: Move to ...
11567         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11568         * elf/tst-auditmod7a.c: Move to ...
11569         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11570         * elf/tst-auditmod7b.c: Move to ...
11571         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11572
11573 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11574
11575         [BZ #15366]
11576         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11577         define unconditionally.
11578         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11579         define unconditionally.
11580         (INT8_C, INT16_C, etc.): Likewise.
11581
11582 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11583
11584         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11585         __ehdr_start with hidden visibility.
11586
11587         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11588
11589 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11590
11591         * math/libm-test.inc (cos_test): Use accurate hex constants.
11592         (sincost_test): Likewise.
11593
11594 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11595
11596         * math/libm-test.inc (catan_test): Add more tests.
11597         (catanh_test): Likewise.
11598
11599         * math/s_catanf.c (__catanf): Use suffixed floating-point
11600         constants.
11601         * math/s_catanhf.c (__catanhf): Likewise.
11602         * math/s_catanhl.c (__catanhl): Likewise.
11603         * math/s_catanl.c (__catanl): Likewise.
11604
11605         [BZ #15394]
11606         * math/s_catan.c (__catan): Calculate imaginary part of result
11607         with log1p not log unless computing log of number close to 0.
11608         * math/s_catanf.c (__catanf): Likewise.
11609         * math/s_catanl.c (__catanl): Likewise.
11610         * math/s_catanh.c (__catanh): Calculate real part of result with
11611         log1p not log unless computing log of number close to 0.
11612         * math/s_catanhf.c (__catanhf): Likewise.
11613         * math/s_catanhl.c (__catanhl): Likewise.
11614         * math/libm-test.inc (catan_test): Add more tests.
11615         (catanh_test): Likewise.
11616         * sysdeps/i386/fpu/libm-test-ulps: Update.
11617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11618
11619 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11620
11621         * benchtests/Makefile: Mention files in which fast and slow
11622         paths of math functions are implemented.
11623
11624 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11625
11626         * sysdeps/posix/timespec_get.c: New file.
11627
11628 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11629
11630         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11631         POWER.
11632         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11633         for POWER.
11634         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11635         powerpc/power5/fpu folders.
11636         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11637         * benchtests/Makefile: Add modf testcase.
11638         * benchtests/bench-modf.c: New file: Benchmark test for mo
11639
11640 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11641
11642         [BZ #14888]
11643         * time/Makefile (tests): Add tst-strptime-whitespace.
11644         * time/strptime_l.c (get_number): Use ISSPACE.
11645         (__strptime_internal): Likewise.
11646         * time/tst-strptime-whitespace.c: New test case.
11647
11648 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11649
11650         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11651         member.
11652         (_nss_files_init): Set it here.
11653
11654 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11655
11656         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11657         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11658         unsigned.
11659
11660 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11661
11662         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11663
11664 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11665
11666         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11667         size just once.
11668
11669 2013-04-21  David S. Miller  <davem@davemloft.net>
11670
11671         * po/ru.po: Update Russion translation from translation project.
11672
11673 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11674
11675         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11676         and setfsgid.
11677
11678 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11679
11680         * configure.in: Remove i386 configure warning. Remove i386 case.
11681         * configure: Regenerate.
11682         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11683         Add example to error message.
11684         * sysdeps/i386/configure: Regenerate.
11685
11686 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11687
11688         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11689         slowtan.
11690         * benchtests/cos-inputs: New file.
11691         * benchtests/slowcos-inputs: New file.
11692         * benchtests/slowcos.c: New file.
11693         * benchtests/slowtan-inputs: New file.
11694         * benchtests/slowtan.c: New file.
11695         * benchtests/tan-inputs: New file.
11696
11697 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11698
11699         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11700         considered kosher.
11701
11702 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11703
11704         * benchtests/Makefile: Include cppflags-iterator.mk to add
11705         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11706
11707         * Makefile.in (bench-clean): New target.
11708         * benchtests/Makefile (bench-clean): Likewise.
11709
11710 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11711
11712         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11713
11714 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11715
11716         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11717
11718 2013-04-15  Andreas Schwab  <schwab@suse.de>
11719
11720         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11722         * nscd/pwdcache.c (cache_addpw): Likewise.
11723         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11724         more than recsize.
11725
11726 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11727
11728         * benchtests/Makefile (bench): Write all output to
11729         bench-out.tmp together.
11730
11731 2013-04-15  Andreas Schwab  <schwab@suse.de>
11732
11733         * nscd/nscd.c (main): Don't fork again after closing files.
11734
11735 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11736
11737         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11738
11739         * benchtests/Rules (bench-deps): Collect dependencies into a
11740         single variable.  Add Makefile to dependencies.
11741         ($(objpfx)bench-%.c): Depend on bench-deps.
11742
11743 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11744             Xavier Roche  <roche+kml2@exalead.com>
11745
11746         [BZ #15361]
11747         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11748         just that it's a file descriptor.
11749         * manual/llio.texi (Synchronizing AIO Operations): Update description
11750         for EBADF error from aio_fsync.
11751
11752 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11753
11754         * Rules (bench): Move target definition...
11755         * benchtests/Makefile: ... here.
11756
11757 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11758
11759         * math/libm-test.inc (cos_test): Fix PI/2 test.
11760         (sincos_test): Likewise.
11761         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11762         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11763
11764 2013-04-11  Andreas Schwab  <schwab@suse.de>
11765
11766         [BZ #13988]
11767         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11768         accept exponent character only when digits were seen.
11769         * stdio-common/Makefile (tests): Add bug26.
11770         * stdio-common/bug26.c: New file.
11771
11772         [BZ #14293]
11773         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11774         non-freeable.
11775
11776 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11777
11778         * Makeconfig (rtld-prefix): Define built linker prefix.
11779         * Rules (run-bench): Use it.
11780         * math/Makefile (run-regen-ulps): Likewise.
11781
11782         * Rules (bench): Remove eval.
11783
11784 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11785             Roland McGrath  <roland@hack.frob.com>
11786             Ondrej Bilka  <neleai@seznam.cz>
11787
11788         [BZ #15346]
11789         * time/getdate.c: Include ctype.h and alloca.h.
11790         (__getdate_r): Trim leading and trailing spaces of input.
11791         * time/tst-getdate.c (tests): Add tests with leading and
11792         trailing spaces.
11793
11794 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11795
11796         [BZ #14280]
11797         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11798         when computing value.
11799
11800 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11801
11802         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11803         Use testrun.sh to run libm tests.
11804
11805         [BZ #15309]
11806         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11807
11808 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11809
11810         [BZ #15264]
11811         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11812
11813 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11814
11815         * Makefile.in (regen-ulps): New target.
11816         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11817         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11818         [ifneq (no,$(PERL)] (regen-ulps): New target.
11819         [ifeq (no,$(PERL)] (regen-ulps): New target.
11820         * math/libm-test.inc (ulps_file_name): Define.
11821         (output_dir): New variable.
11822         (options): Add "output-dir" option.
11823         (parse_opt): Handle 'o' case.
11824         (main): If output_dir is non-NULL use it as a prefix
11825         otherwise use "".
11826         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11827
11828 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11829
11830         [BZ #10060, #10062]
11831         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11832         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11833         fail configure if __sync_val_compare_and_swap is not inlined.
11834         * sysdeps/i386/configure: Regenerate.
11835         * configure.in: Build for i686 when configured for i386.
11836         * configure: Regenerate.
11837         * README: Remove i386 reference.
11838
11839 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11840
11841         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11842         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11843
11844 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11845
11846         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11847         (lmsnanval): New variables.
11848         (F): Add conversion tests.
11849         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11850         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11851
11852         * stdio-common/tstdiomisc.c (F): Properly collect individual
11853         tests' results.
11854
11855         [BZ #14686, #15336]
11856         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11857         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11858         Instead, use input NaN values or generate a qNaN by arithmetic
11859         operation.  Also fix bugs to comply with the standard.
11860         * math/libm-test.inc (remainder_test): Add more tests.
11861
11862         [BZ #15335, #15342]
11863         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11865         input NaN values or generate a qNaN by arithmetic operation.
11866
11867         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11868         unreachable code.
11869
11870         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11871         definitions.
11872
11873 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11874
11875         [BZ #14478]
11876         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11877         underflowed result.
11878         * math/s_cexpf.c (__cexpf): Likewise.
11879         * math/s_cexpl.c (__cexpl): Likewise.
11880         * math/libm-test.inc (cexp_test): Add more tests.
11881
11882 2013-04-03  Andreas Schwab  <schwab@suse.de>
11883
11884         [BZ #15330]
11885         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11886         order arrays from heap if bigger than alloca cutoff.
11887
11888 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11889
11890         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11891         (SNAN_TESTS_double): Refer to GCC PR56831.
11892         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11893         GCC PR56828.
11894
11895 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11896
11897         * Rules (bench): Move bench.out after the run is complete.
11898
11899         * Rules (bench): Echo currently running benchmark.
11900
11901         * benchtests/Makefile (bench): Add atan and slowatan.
11902         * benchtests/atan-inputs: New file.
11903         * benchtests/slowatan-inputs: New file.
11904         * benchtests/slowatan.c: New file.
11905
11906         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11907         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11908         its value.
11909
11910         [BZ #15305]
11911         * sysdeps/unix/sysv/linux/kernel-features.h
11912         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11913         __ASSUME_XFS_RESTRICTED_CHOWN.
11914         * sysdeps/unix/sysv/linux/pathconf.c
11915         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11916         Save and restore errno.
11917
11918 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11919
11920         [BZ #15327]
11921         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11922         arguments using __kernel_casinh.
11923         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11924         arguments using __kernel_casinhf.
11925         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11926         arguments using __kernel_casinhl.
11927         * math/libm-test.inc (cacosh_test): Add more tests.
11928         * sysdeps/i386/fpu/libm-test-ulps: Update.
11929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11930
11931 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11932
11933         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11934         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11935
11936         * bench/Makefile (bench): Add sin and slowsin.
11937         * benchtests/sin-inputs: New file.
11938         * benchtests/slowsin-inputs: New file.
11939         * benchtests/slowsin.c: New file.
11940
11941         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11942         (bench): Add slowexp and slowpow.
11943         (exp-ITER): Increase iterations.
11944         (pow-ITER): Likewise.
11945         * benchtests/exp-inputs: Change input.
11946         * benchtests/pow-inputs: Likewise.
11947         * benchtests/slowexp-inputs: New file.
11948         * benchtests/slowexp.c: New file.
11949         * benchtests/slowpow-inputs: New file.
11950         * benchtests/slowpow.c: New file.
11951
11952 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11953
11954         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11955         instructions.
11956         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11957         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11958         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11959         * benchtests/Makefile: Add rint benchtest.
11960         * benchtests/rint-inputs: Input for rint benchtest.
11961
11962 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11963
11964         * Versions.def (libm): Add GLIBC_2.18.
11965         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11966         hidden libm prototypes.
11967         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11968         * math/Makefile (libm-calls): Add s_issignaling.
11969         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11970         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11971         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11972         declaration.
11973         * math/math.h [__USE_GNU] (issignaling): New macro.
11974         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11975         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11976         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11977         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11978         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11979         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11980         * manual/arith.texi (issignaling): New section.
11981         * manual/libm-err-tab.pl (@all_functions): Update comment.
11982         * math/gen-libm-test.pl (parse_args): Apply special handling for
11983         issignaling.
11984         * math/libm-test.inc (print_float, issignaling_test): New
11985         functions.
11986         (check_float_internal): Add issignaling checks.
11987         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11988         default definition.
11989         * sysdeps/powerpc/math-tests.h: New file.
11990         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11991         tests.
11992         * math/test-snan.c (TEST_FUNC): Likewise.
11993
11994 2013-03-30  David S. Miller  <davem@davemloft.net>
11995
11996         * po/de.po: Update from translation team.
11997
11998 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11999
12000         [BZ #10357]
12001         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12002         imaginary part less than 1.0 and real part less than 0.5
12003         specially.
12004         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12005         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12006         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12007         (cacos_test): Add more tests.
12008         (casin_test): Likewise.
12009         (casinh_test): Likewise.
12010         * sysdeps/i386/fpu/libm-test-ulps: Update.
12011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12012
12013 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12014
12015         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12016         ONE with its value.
12017
12018         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12019         (__pow_mp): Replace ONE and MONE with their values.
12020         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12021         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12022         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12023         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12024         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12025         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12026
12027         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12028
12029         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12030         (__pow_mp): Replace ZERO and MZERO with their values.
12031         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12032         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12033         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12035         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12036         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12037         (__sqr): Likewise.
12038
12039         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12040
12041         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12042
12043 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12044
12045         * include/stdlib.h [!SHARED] (__call_tls_dtors):
12046         Declare with __attribute__ ((weak)).
12047         * stdlib/exit.c (__libc_atexit) [!SHARED]:
12048         Call __call_tls_dtors only if it's not NULL.
12049
12050 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12051
12052         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12053         didn't do it already, then set _dl_phdr and _dl_phnum based on the
12054         magic __ehdr_start linker symbol if it's defined.
12055         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12056         them up here if it was already done.
12057
12058         * elf/dl-support.c (_dl_phdr): Make pointer to const.
12059         (_dl_aux_init): Use const in cast when setting it.
12060         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12061         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12062         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12063
12064         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12065         Declare them here.
12066         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12067         * csu/libc-tls.c: Nor here.
12068         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12069
12070         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12071         (__libc_message): Never call vsyslog.
12072
12073 2013-03-28  Alan Modra  <amodra@gmail.com>
12074
12075         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12076         Define as empty.
12077         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12078         Likewise.
12079
12080 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12081
12082         [BZ #15214]
12083         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12084         underflow.
12085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12086
12087 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12088
12089         [BZ #15304]
12090         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12091         Don't add gid passed as argument.
12092
12093         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12094
12095 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12096
12097         [BZ #15307]
12098         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12099         imaginary part between 1.0 and 1.5 and real part less than 0.5
12100         specially.
12101         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12102         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12103         * math/libm-test.inc (cacos_test): Add more tests.
12104         (casin_test): Likewise.
12105         (casinh_test): Likewise.
12106         * sysdeps/i386/fpu/libm-test-ulps: Update.
12107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12108
12109 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12110
12111         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12112         constants.
12113         (norm): Likewise.
12114         (denorm): Likewise.
12115         (__dbl_mp): Likewise.
12116         (add_magnitudes): Likewise.
12117         (sub_magnitudes): Likewise.
12118         (__add): Likewise.
12119         (__sub): Likewise.
12120         (__mul): Likewise.
12121         (__sqr): Likewise.
12122         (__inv): Likewise.
12123         (__dvd): Likewise.
12124
12125         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12126         commented code.
12127         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12128         (__dubcos): Likewise.
12129         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12130         (__ieee754_acos): Likewise.
12131         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12132         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12133         (__exp1): Likewise.
12134         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12135         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12136         (log1): Likewise.
12137         (my_log2): Likewise.
12138         (checkint): Likewise.
12139         * sysdeps/ieee754/dbl-64/e_remainder.c
12140         (__ieee754_remainder): Likewise.
12141         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12142         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12143         (bsloww): Likewise.
12144         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12145
12146         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12147         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12148         MANTISSA_STORE_T to store computations on mantissa.  Use
12149         macros for rounding and division.
12150         (denorm): Likewise.
12151         (__dbl_mp): Likewise.
12152         (add_magnitudes): Likewise.
12153         (sub_magnitudes): Likewise.
12154         (__mul): Likewise.
12155         (__sqr): Likewise.
12156         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12157         powers of two in terms of TWOPOW macro.
12158         (mp_no): Make type of mantissa as MANTISSA_T.
12159         [!RADIXI]: Define RADIXI.
12160         [!TWO52]: Define TWO52.
12161         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12162
12163 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12164
12165         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12166         llroundl symbol when building for PPC32.
12167
12168 2013-03-24  Mark H Weaver  <mhw@netris.org>
12169
12170         * manual/arith.texi (Normalization Functions): Fix prototypes for
12171         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12172
12173 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12174
12175         [BZ #13889]
12176         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12177         high value to check if expl overflow.
12178         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12179         to check for underflow and overflow.
12180         * math/libm-test.inc: Add exp test.
12181
12182 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12183
12184         [BZ #11120]
12185         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12186         with NOT_IN_libc.
12187
12188 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12189
12190         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12191         symbol.
12192
12193 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12194
12195         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12196         wrap blocks consisting of several statements.
12197
12198         * sysdeps/generic/math-tests.h: New file.
12199         * sysdeps/i386/fpu/math-tests.h: Likewise.
12200         * math/test-snan.c: Include it.
12201         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12202
12203 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12204
12205         [BZ #15285]
12206         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12207         (__ieee754_j0l): Do not improve calculations using cos of twice
12208         input for inputs above LDBL_MAX / 2.0L.
12209         (__ieee754_y0l): Likewise.
12210         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12211         (__ieee754_j1l): Do not improve calculations using cos of twice
12212         input for inputs above LDBL_MAX / 2.0L.
12213         (__ieee754_y1l): Likewise.
12214         * math/libm-test.inc (j0_test): Add another test.
12215         (j1_test): Likewise.
12216         (y0_test): Likewise.
12217         (y1_test): Likewise.
12218         * sysdeps/i386/fpu/libm-test-ulps: Update.
12219
12220 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12221
12222         * Rules ($(objpfx)bench-%.c): Include code from a C source
12223         file.
12224
12225 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12226
12227         [BZ #15287]
12228         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12229         imaginary part 1.0 and real part less than 0.5 specially.
12230         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12231         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12232         * math/libm-test.inc (cacos_test): Add more tests.
12233         (casin_test): Likewise.
12234         (casinh_test): Likewise.
12235         * sysdeps/i386/fpu/libm-test-ulps: Update.
12236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12237
12238 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12239
12240         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12241         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12242
12243 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12244
12245         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12246         * config.make.in (config-cflags-sse4): Remove variable.
12247         (config-cflags-avx): Likewise.
12248         (config-cflags-sse2avx): Likewise.
12249         (config-cflags-novzeroupper): Likewise.
12250         (config-asflags-i686): Likewise.
12251         (have-mfma4): Likewise.
12252         (have-as-vis3): Likewise.
12253         (MIG): Likewise.
12254         * configure.in (MIG): Do not AC_SUBST.
12255         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12256         (libc_cv_cc_sse4): Do not AC_SUBST.
12257         (libc_cv_cc_avx): Likewise.
12258         (libc_cv_cc_sse2avx): Likewise.
12259         (libc_cv_cc_novzeroupper): Likewise.
12260         (libc_cv_cc_fma4): Likewise.
12261         (libc_cv_as_i686): Likewise.
12262         (libc_cv_sparc_as_vis3): Likewise.
12263         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12264         LIBC_CONFIG_VAR.
12265         (config-asflags-i686): Likewise.
12266         (config-cflags-avx): Likewise.
12267         (config-cflags-sse2avx): Likewise.
12268         (have-mfma4): Likewise.
12269         (config-cflags-novzeroupper): Likewise.
12270         * sysdeps/mach/configure.in (MIG): Likewise.
12271         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12272         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12273         LIBC_CONFIG_VAR.
12274         (config-cflags-avx): Likewise.
12275         (config-cflags-sse2avx): Likewise.
12276         (have-mfma4): Likewise.
12277         (config-cflags-novzeroupper): Likewise.
12278         * configure: Regenerated.
12279         * sysdeps/i386/configure: Likewise.
12280         * sysdeps/mach/configure: Likewise.
12281         * sysdeps/sparc/configure: Likewise.
12282         * sysdeps/x86_64/configure: Likewise.
12283
12284 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12285
12286         [BZ #14812]
12287         * locale/programs/localedef.c (options): Put N_ translation marker
12288         on argument names, not just descriptions.
12289
12290 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12291
12292         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12293
12294 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
12295
12296         [BZ #14176]
12297         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12298
12299 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12300
12301         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12302         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12303         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12304         [!BEFORE_ABORT] (before_abort): New function.
12305         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12306         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12307         (writev_for_fatal): New function.
12308         (WRITEV_FOR_FATAL): New macro; call that.
12309         (backtrace_and_maps): New function.
12310         (BEFORE_ABORT): New macro; call that.
12311         (struct str_list): Type removed.
12312         (__libc_message, __libc_fatal): Functions removed.
12313         Include <sysdeps/posix/libc_fatal.c> instead.
12314
12315 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
12316
12317         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12318         constants.
12319         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12320         double constants.
12321
12322 2013-03-19  Andreas Schwab  <schwab@suse.de>
12323
12324         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12325         * sysdeps/gnu/configure: Regenerate.
12326
12327         * configure.in: Substitute libc_cv_rtlddir.
12328         * configure: Regenerate.
12329         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12330         * Makeconfig (rtlddir, inst_rtlddir): New variables.
12331         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12332         * elf/Makefile (install-others, CFLAGS-interp.c)
12333         (ldso_install, common-ldd-rewrite): Likewise.
12334         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12335         $(inst_slibdir)/$(rtld-installed-name).
12336         * scripts/rellns-sh: Add -p option.
12337         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12338         for source.
12339
12340 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12341
12342         * manual/nptl.texi: Renamed to ...
12343         * manual/threads.texi: ... this.
12344         * manual/Makefile (chapters): Update.
12345
12346 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12347
12348         [BZ #14812]
12349         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12350         on argument names, not just descriptions.
12351         * malloc/memusagestat.c (options): Likewise.
12352         * nss/getent.c (options): Likewise.
12353
12354 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12355
12356         [BZ #14812]
12357         * iconv/iconv_prog.c (options): Put N_ translation marker
12358         on argument names, not just descriptions.
12359         * iconv/iconvconfig.c (options): Likewise.
12360
12361 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12362
12363         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12364         implementation which is faster on all x86_64 architectures.
12365         Tested on AMD, Intel Nehalem, SNB, IVB.
12366         * sysdeps/x86_64/strnlen.S: Likewise.
12367
12368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12369         Remove all multiarch strlen and strnlen versions.
12370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12371         Remove strlen and strnlen related parts.
12372
12373         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12374         Inline strlen part.
12375         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12376
12377         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12378         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12379         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12380         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12381         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12382         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12383
12384 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12385
12386         * manual/memory.texi (Malloc Tunable Parameters):
12387         Sort parameters alphabetically. Add comments for missing entries.
12388
12389 2013-03-17  David S. Miller  <davem@davemloft.net>
12390
12391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12392
12393 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12394
12395         [BZ #15283]
12396         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12397         for arguments at most half maximum finite value.
12398         * math/libm-test.inc (j0_test): Add more tests.
12399         (j1_test): Likewise.
12400         (y0_test): Likewise.
12401         (y1_test): Likewise.
12402         * sysdeps/i386/fpu/libm-test-ulps: Update.
12403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12404
12405         [BZ #14155]
12406         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12407         1 / x and functions P and Q for arguments above 0x1p256L.
12408         (__ieee754_y0l): Likewise.
12409         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12410         (__ieee754_y1l): Likewise.
12411         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12412         (j1_test): Likewise.
12413         (y0_test): Likewise.
12414         (y1_test): Likewise.
12415
12416 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12417
12418         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12419         variable.
12420
12421 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12422
12423         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12424         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12425         zero since it's initialized to EXEC_PAGESIZE.
12426
12427         * sysdeps/unix/sysv/linux/ldsodefs.h
12428         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12429         * sysdeps/generic/ldsodefs.h: ... here.
12430
12431 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12432
12433         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12434
12435         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12436         math/test-snan.c.
12437         * math/test-snan.c: Renamed from
12438         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12439         * math/Makefile (tests): Add test-snan.
12440         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12441         test-powerpc-snan.
12442
12443         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12444         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12445         functions.
12446         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12447         __builtin_nan family of functions.
12448         * math/libm-test.inc (initialize): Initialize qnan_value with
12449         __builtin_nan family of functions.
12450         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12451         Remove variables.
12452         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12453         Remove functions.
12454         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12455         storage class.  Initialize qNaN_var and sNaN_var with
12456         __builtin_nan and __builtin_nans families of functions,
12457         respectively.
12458
12459         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12460         (sqrt_test): Remove duplicate test with qNaN input.
12461         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12462         (round_test, signbit_test, significand_test): Note missing +/-Inf
12463         as well as qNaN tests.
12464
12465         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12466         qNaN_var.  Fix a few strings, too.
12467         * math/libm-test.inc (nan_value): Rename to qnan_value.
12468         * math/gen-libm-test.pl (%beautify): Adjust to that.
12469         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12470         * math/test-misc.c (main): Likewise.
12471         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12472         to __qnan_bytes, and __qnan_union, respectively.
12473         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12474         Likewise.
12475         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12476         and lqnanval, respectively.
12477         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12478         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12479         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12480         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12481
12482         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12483         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12484         doubles.
12485
12486         * math/test-misc.c (main): Fix copy'n'pastos.
12487         * misc/tst-efgcvt.c (special): Likewise.
12488
12489         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12490         Remove declarations.
12491
12492 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12493
12494         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12495         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12496         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12497         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12498
12499 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12500
12501         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12502         macro to return vdso values correctly in IFUNC implementations.
12503         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12504         Optimization by using IFUNC.
12505
12506 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12507             Richard Henderson  <rth@redhat.com>
12508             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12509
12510         * Makefile.in (bench): New target.
12511         * NEWS: Mention the benchmark framework.
12512         * Rules (bench): Likewise.
12513         (binaries-bench): Generate binaries for functions to
12514         benchmark.
12515         * benchtests/Makefile: New makefile for benchmark tests.
12516         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12517         programs.
12518         * benchtests/exp-inputs: New input file for EXP function.
12519         * benchtests/pow-inputs: New input file for POW function.
12520         * scripts/bench.pl: New script to generate source files for
12521         benchmark programs.
12522
12523 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12524
12525         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12526         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12527         computations on mantissa.  Use macros for rounding and
12528         division.
12529         (denorm): Likewise.
12530         (__dbl_mp): Likewise.
12531         (add_magnitudes): Likewise.
12532         (sub_magnitudes): Likewise.
12533         (__mul): Likewise.
12534         (__sqr): Likewise.
12535         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12536         powers of two in terms of TWOPOW macro.
12537         (mp_no): Make type of mantissa as MANTISSA_T.
12538         [!RADIXI]: Define RADIXI.
12539         [!TWO52]: Define TWO52.
12540         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12541
12542         * manual/nptl.texi (cindex): Modify threads to pthreads.
12543
12544 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12545
12546         * sysdeps/x86_64/preconfigure: Regenerated.
12547
12548 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12549
12550         [BZ #14155]
12551         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12552         0x1p28 and above.
12553         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12554         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12555         0x1p28 and above.
12556         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12557         * math/libm-test.inc (j0_test): Do not allow one spurious
12558         underflow exception.
12559         (y1_test): Likewise.
12560
12561 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12562
12563         * manual/Makefile (chapters): Add nptl.
12564         * manual/debug.texi (Debugging Support): Add link to Threads
12565         chapter.
12566         * manual/nptl.texi: New file.
12567
12568         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12569
12570 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12571
12572         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12573         for non-NULL pointer before the memory validity test. Pointed
12574         out by Holger Brunck <holger.brunck@keymile.com>.
12575
12576 2013-03-13  Andreas Schwab  <schwab@suse.de>
12577
12578         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12579         instead of .os.
12580
12581 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12582
12583         * timezone/zic.c: Update from tzcode 2013b.
12584
12585 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12586
12587         * manual/install.texi (Configuring and compiling):
12588         Mention i686 and i586.
12589         * INSTALL: Regenerate.
12590
12591 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12592
12593         * sysdeps/init_array/elf-init.c: New file.
12594         * csu/elf-init.c
12595         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12596         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12597
12598         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12599         __gmon_start__ as global, but as static with a .preinit_array pointer.
12600         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12601         * sysdeps/init_array/crti.S: New file, empty except for comments.
12602         * sysdeps/init_array/crtn.S: Likewise.
12603
12604 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12605
12606         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12607         definining bcopy.
12608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12609         Remove Prefer_SSE_for_memop.
12610         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12611         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12612         HAS_PREFER_SSE_FOR_MEMOP.
12613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12614         memset-x86-64.
12615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12616         Remove bzero, memset ifunc support.
12617         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12618         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12619         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12620         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12621
12622 2013-03-11  Andreas Schwab  <schwab@suse.de>
12623
12624         [BZ #15234]
12625         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12626         by SHLIB_COMPAT.
12627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12628         (GLIBC_2.16): Remove pthread_atfork.
12629
12630 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12631
12632         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12633         (ptestcases.h): Likewise.
12634
12635 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12636
12637         * Makeconfig ($(common-objpfx)config.status): Depend on
12638         sysdeps/*/preconfigure{,.in} too.
12639
12640 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12641
12642         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12643         (__free_hook): Use void * instead of __malloc_ptr_t.
12644         (__malloc_hook): Likewise.
12645         (__realloc_hook): Likewise.
12646         (__memalign_hook): Likewise.
12647         (__after_morecore_hook): Likewise.
12648         * malloc/arena.c (save_malloc_hook): Likewise.
12649         (save_free_hook): Likewise.
12650         * malloc/hooks.c (malloc_hook_ini): Likewise.
12651         (realloc_hook_ini): Likewise.
12652         (memalign_hook_ini): Likewise.
12653         * malloc/malloc.c (malloc_hook_ini): Likewise.
12654         (realloc_hook_ini): Likewise.
12655         (memalign_hook_ini): Likewise.
12656         (__free_hook): Likewise.
12657         (__malloc_hook): Likewise.
12658         (__realloc_hook): Likewise.
12659         (__memalign_hook): Likewise.
12660         (__libc_malloc): Likewise.
12661         (__libc_free): Likewise.
12662         (__libc_realloc): Likewise.
12663         (__libc_memalign): Likewise.
12664         (__libc_valloc): Likewise.
12665         (__libc_pvalloc): Likewise.
12666         (__libc_calloc): Likewise.
12667         (__posix_memalign): Likewise.
12668         * malloc/morecore.c (__sbrk): Likewise.
12669         (__default_morecore): Likewise.
12670
12671         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12672
12673         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12674         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12675         __malloc_ptrdiff_t.
12676
12677         * malloc/malloc.h (__malloc_size_t): Remove macro.
12678         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12679         __malloc_size_t.
12680         (old_memalign_hook): Likewise.
12681         (old_realloc_hook): Likewise.
12682         (struct hdr): Likewise.
12683         (flood): Likewise.
12684         (mallochook): Likewise.
12685         (memalignhook): Likewise.
12686         (reallochook): Likewise.
12687         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12688         (tr_old_realloc_hook): Likewise.
12689         (tr_old_memalign_hook): Likewise.
12690         (tr_mallochook): Likewise.
12691         (tr_reallochook): Likewise.
12692         (tr_memalignhook): Likewise.
12693
12694 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12695
12696         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12697         default_ldbl_pack and using as default implementation.
12698         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12699         implementation.
12700         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12701         redundant definition.
12702         (ldbl_insert_mantissa): Likewise.
12703         (ldbl_canonicalize): Likewise.
12704         (ldbl_nearbyint): Likewise.
12705         (ldbl_pack): Rename to ldbl_pack_ppc.
12706         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12707         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12708         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12709
12710 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12711
12712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12713         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12714         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12715         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12717         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12718         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12719         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12720
12721 2013-03-07  Andreas Jaeger  <aj@suse.de>
12722
12723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12724         bits/mman-linux.h.
12725
12726 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12727
12728         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12729         Include mpa.h and declare __MPEXP.
12730         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12731         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12732         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12733         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12734         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12735         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12736         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12737
12738         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12739         (__slowpow): Use long double EXPL and LOGL functions to
12740         compute POW.
12741         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12742         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12743         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12744         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12745         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12746         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12747
12748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12749         intermediate variable to calculate exponent.
12750         (__sqr): Likewise.
12751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12752         Likewise.
12753         (__sqr): Likewise.
12754
12755         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12756         [!NO__SQR]: Define __sqr.
12757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12758         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12759         sysdeps/ieee754/dbl-64/mpa.c.
12760         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12761
12762         [BZ #12723]
12763         * posix/Makefile (tests): Add tst-pathconf.
12764         * posix/tst-pathconf.c: New test case.
12765         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12766         _PC_PIPE_BUF.
12767         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12768
12769 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12770
12771         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12772
12773 2013-03-06  Andreas Jaeger  <aj@suse.de>
12774
12775         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12776         definition via __MAP_ANONYMOUS.
12777
12778         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12779         it's not part of Linux headers.
12780
12781         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12782         (MAP_HUGE_MASK): Define.
12783
12784         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12785         Define.
12786         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12787         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12788         Define.
12789         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12790         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12791         Define.
12792         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12793         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12794         Define.
12795         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12796
12797         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12798         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12799         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12800         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12801         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12802         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12803
12804         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12805         Handle f2fs.
12806
12807         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12808         Handle f2fs and efivarfs.
12809
12810         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12811         f2fs.
12812
12813         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12814         (EFIVARFS_MAGIC): Add.
12815         (F2FS_LINK_MAX): Add.
12816
12817 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12818
12819         * stdio-common/vfprintf.c: Replace __builtin_expect with
12820         __glibc_unlikely.
12821
12822 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12823
12824         [BZ #13550]
12825         * sysdeps/generic/bp-sym.h: Remove file.
12826         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12827         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12828         <bp-sym.h> and <bp-asm.h>.
12829         (__longjmp): Don't use BP_SYM.
12830         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12831         and <bp-asm.h>.
12832         (memcpy): Don't use BP_SYM.
12833         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12834         <bp-sym.h> and <bp-asm.h>.
12835         (memcpy): Don't use BP_SYM.
12836         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12837         <bp-asm.h>.
12838         (memcpy): Don't use BP_SYM.
12839         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12840         <bp-asm.h>.
12841         (memset): Don't use BP_SYM.
12842         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12843         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12844         (__bzero): Don't use BP_SYM.
12845         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12846         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12847         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12848         <bp-sym.h> and <bp-asm.h>.
12849         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12850         pointers.
12851         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12852         <bp-sym.h> and <bp-asm.h>.
12853         (memcpy): Don't use BP_SYM.
12854         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12855         <bp-sym.h> and <bp-asm.h>.
12856         (memset): Don't use BP_SYM.
12857         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12858         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12859         (__bzero): Don't use BP_SYM.
12860         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12861         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12862         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12863         <bp-sym.h> and <bp-asm.h>.
12864         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12865         pointers.
12866         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12867         <bp-sym.h> and <bp-asm.h>.
12868         (memcpy): Don't use BP_SYM.
12869         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12870         <bp-sym.h> and <bp-asm.h>.
12871         (memset): Don't use BP_SYM.
12872         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12873         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12874         (__bzero): Don't use BP_SYM.
12875         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12876         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12877         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12878         <bp-sym.h> and <bp-asm.h>.
12879         (__memchr): Don't use BP_SYM.
12880         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12881         <bp-sym.h> and <bp-asm.h>.
12882         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12883         pointers.
12884         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12885         <bp-sym.h> and <bp-asm.h>.
12886         (memcpy): Don't use BP_SYM.
12887         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12888         <bp-sym.h> and <bp-asm.h>.
12889         (__mempcpy): Don't use BP_SYM.
12890         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12891         <bp-sym.h> and <bp-asm.h>.
12892         (__memrchr): Don't use BP_SYM.
12893         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12894         <bp-sym.h> and <bp-asm.h>.
12895         (memset): Don't use BP_SYM.
12896         (__bzero): Likewise.
12897         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12898         <bp-sym.h> and <bp-asm.h>.
12899         (__rawmemchr): Don't use BP_SYM.
12900         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12901         <bp-sym.h> and <bp-asm.h>.
12902         (__STRCMP): Don't use BP_SYM.
12903         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12904         <bp-sym.h> and <bp-asm.h>.
12905         (strchr): Don't use BP_SYM.
12906         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12907         <bp-sym.h> and <bp-asm.h>.
12908         (__strchrnul): Don't use BP_SYM.
12909         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12910         <bp-sym.h> and <bp-asm.h>.
12911         (strlen): Don't use BP_SYM.
12912         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12913         <bp-sym.h> and <bp-asm.h>.
12914         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12915         pointers.
12916         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12917         <bp-sym.h> and <bp-asm.h>.
12918         (__strnlen): Don't use BP_SYM.
12919         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12920         <bp-sym.h> and <bp-asm.h>.
12921         (__GI__setjmp): Don't use BP_SYM.
12922         (_setjmp): Likewise.
12923         (__sigsetjmp): Likewise.
12924         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12925         (L(start_addresses)): Don't use BP_SYM.
12926         (_start): Likewise.
12927         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12928         <bp-asm.h>.
12929         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12930         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12931         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12932         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12933         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12934         <bp-asm.h>.
12935         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12936         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12937         about bounded pointers.
12938         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12939         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12940         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12941         <bp-asm.h>.
12942         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12943         about bounded pointers.  Remove GKM FIXME comments.
12944         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12945         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12946         <bp-asm.h>.
12947         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12948         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12949         Remove GKM FIXME comments.
12950         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12951         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12952         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12953         <bp-asm.h>.
12954         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12955         about bounded pointers.  Remove GKM FIXME comment.
12956         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12957         and <bp-asm.h>.
12958         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12959         pointers.
12960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12961         <bp-sym.h> and <bp-asm.h>.
12962         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12964         <bp-sym.h> and <bp-asm.h>.
12965         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12966         comment.
12967
12968 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12969
12970         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12971         call free(NULL).
12972
12973 2013-03-05  David S. Miller  <davem@davemloft.net>
12974
12975         * po/es.po: Update from translation team.
12976
12977 2013-03-05  Andreas Jaeger  <aj@suse.de>
12978
12979         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12980         <bits/mman-linux.h>.
12981         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12982         is fine.
12983         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12984         <bits/mman-linux.h> to end of file.
12985         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12986         is fine.
12987         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12988         <bits/mman-linux.h> to end of file.
12989         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12990         is fine.
12991         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12992         <bits/mman-linux.h> to end of file.
12993
12994         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12995         (MCL_CURRENT, MCL_FUTURE): Define here.
12996
12997 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12998
12999         [BZ #15232]
13000         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13001         attribute_hidden.
13002         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13003
13004 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13005
13006         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13007         fourth parameter needed for rt_sigprocmask syscall.
13008         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13009         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13010         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13011         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13012         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13013         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13014
13015 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
13016
13017         [BZ #13550]
13018         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13019         comment about bounded pointers.
13020         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13021         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13022
13023 2013-03-04  Andreas Jaeger  <aj@suse.de>
13024
13025         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13026         common definitions.
13027
13028         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13029         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13030         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13031         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13032         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13033         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13034
13035 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13036
13037         [BZ #15055]
13038         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13039         __ieee754_sqrl instead of __sqrl.
13040
13041 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
13042
13043         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13044         * sysdeps/powerpc/fpu_control.h: ... here.
13045         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13046         * sysdeps/powerpc/bits/fenvinline.h: ... here.
13047         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13048         * sysdeps/powerpc/bits/mathinline.h: ... here.
13049
13050 2013-03-01  Roland McGrath  <roland@hack.frob.com>
13051
13052         * elf/dl-hwcaps.c (_dl_important_hwcaps):
13053         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13054         to just [NEED_DL_SYSINFO_DSO].
13055         * elf/dl-support.c: Likewise.
13056         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13057         * elf/rtld.c (dl_main): Likewise.
13058         * elf/setup-vdso.h (setup_vdso): Likewise.
13059         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13060         * sysdeps/unix/sysv/linux/dl-sysdep.c
13061         (_dl_discover_osversion): Likewise.
13062
13063 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
13064
13065         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13066         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13067
13068 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13069
13070         * NEWS: Mention libm performance improvements and non-x86 PI
13071         futex support.
13072
13073         * csu/libc-start.c (__pthread_initialize_minimal): Change
13074         function arguments.
13075         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13076
13077 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13078
13079         [BZ #13550]
13080         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13081         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13082         <bp-sym.h> and <bp-asm.h>.
13083         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13084         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13085         and <bp-asm.h>.
13086         (memcpy): Don't use BP_SYM.
13087         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13088         <bp-asm.h>.
13089         (__mpn_add_n): Don't use BP_SYM.
13090         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13091         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13092         and <bp-asm.h>.
13093         (__mpn_addmul_1): Don't use BP_SYM.
13094         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13095         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13096         <bp-sym.h>.
13097         (_setjmp): Don't use BP_SYM.
13098         (__novmx_setjmp): Likewise.
13099         (__GI__setjmp): Likewise.
13100         (__vmx_setjmp): Likewise.
13101         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13102         <bp-sym.h>.
13103         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13104         (__bzero): Don't use BP_SYM.
13105         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13106         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13107         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13108         <bp-sym.h> and <bp-asm.h>.
13109         (memcpy): Don't use BP_SYM.
13110         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13111         <bp-sym.h> and <bp-asm.h>.
13112         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13113         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13114         <bp-sym.h> and <bp-asm.h>.
13115         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13116         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13117         <bp-asm.h>.
13118         (__mpn_lshift): Don't use BP_SYM.
13119         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13120         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13121         <bp-asm.h>.
13122         (memset): Don't use BP_SYM.
13123         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13124         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13125         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13126         <bp-asm.h>.
13127         (__mpn_mul_1): Don't use BP_SYM.
13128         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13129         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13130         <bp-sym.h> and <bp-asm.h>.
13131         (memcmp): Don't use BP_SYM.
13132         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13133         <bp-sym.h> and <bp-asm.h>.
13134         (memcpy): Don't use BP_SYM.
13135         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13136         <bp-sym.h> and <bp-asm.h>.
13137         (memset): Don't use BP_SYM.
13138         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13139         <bp-sym.h> and <bp-asm.h>.
13140         (strncmp): Don't use BP_SYM.
13141         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13142         <bp-sym.h> and <bp-asm.h>.
13143         (memcpy): Don't use BP_SYM.
13144         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13145         <bp-sym.h> and <bp-asm.h>.
13146         (memset): Don't use BP_SYM.
13147         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13148         <bp-sym.h> and <bp-asm.h>.
13149         (__memchr): Don't use BP_SYM.
13150         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13151         <bp-sym.h> and <bp-asm.h>.
13152         (memcmp): Don't use BP_SYM.
13153         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13154         <bp-sym.h> and <bp-asm.h>.
13155         (memcpy): Don't use BP_SYM.
13156         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13157         <bp-sym.h> and <bp-asm.h>.
13158         (__mempcpy): Don't use BP_SYM.
13159         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13160         <bp-sym.h> and <bp-asm.h>.
13161         (__memrchr): Don't use BP_SYM.
13162         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13163         <bp-sym.h> and <bp-asm.h>.
13164         (memset): Don't use BP_SYM.
13165         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13166         <bp-sym.h> and <bp-asm.h>.
13167         (__rawmemchr): Don't use BP_SYM.
13168         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13169         <bp-sym.h> and <bp-asm.h>.
13170         (__STRCMP): Don't use BP_SYM.
13171         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13172         <bp-sym.h> and <bp-asm.h>.
13173         (strchr): Don't use BP_SYM.
13174         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13175         <bp-sym.h> and <bp-asm.h>.
13176         (__strchrnul): Don't use BP_SYM.
13177         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13178         <bp-sym.h> and <bp-asm.h>.
13179         (strlen): Don't use BP_SYM.
13180         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13181         <bp-sym.h> and <bp-asm.h>.
13182         (strncmp): Don't use BP_SYM.
13183         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13184         <bp-sym.h> and <bp-asm.h>.
13185         (__strnlen): Don't use BP_SYM.
13186         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13187         <bp-asm.h>.
13188         (__mpn_rshift): Don't use BP_SYM.
13189         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13190         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13191         <bp-sym.h> and <bp-asm.h>.
13192         (__sigsetjmp): Don't use BP_SYM.
13193         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13194         (L(start_addresses)): Don't use BP_SYM.
13195         (_start): Likewise.
13196         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13197         <bp-asm.h>.
13198         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13199         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13200         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13201         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13202         <bp-asm.h>.
13203         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13204         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13205         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13206         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13207         <bp-asm.h>.
13208         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13209         comments.
13210         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13211         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13212         <bp-asm.h>.
13213         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13214         FIXME comments.
13215         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13216         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13217         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13218         <bp-asm.h>.
13219         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13220         comment.
13221         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13222         and <bp-asm.h>.
13223         (strncmp): Don't use BP_SYM,
13224         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13225         <bp-asm.h>.
13226         (__mpn_sub_n): Don't use BP_SYM.
13227         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13228         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13229         and <bp-asm.h>.
13230         (__mpn_submul_1): Don't use BP_SYM.
13231         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13233         <bp-sym.h> and <bp-asm.h>.
13234         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13236         <bp-sym.h> and <bp-asm.h>.
13237         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13238         comment.
13239
13240 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13241
13242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13243         Use ZK to minimize writes to Z.
13244         (sub_magnitudes): Simplify code a bit.
13245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13246         Use ZK to minimize writes to Z.
13247         (sub_magnitudes): Simplify code a bit.
13248
13249 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13250
13251         * csu/gmon-start.c: Add special exception to license text.
13252
13253 2013-02-27  Richard Henderson  <rth@redhat.com>
13254
13255         * scripts/config.guess: Update from config.git.
13256         * scripts/config.sub: Likewise.
13257
13258 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13259
13260         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13261
13262         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13263
13264         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13265
13266         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13267
13268         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13269
13270 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13271
13272         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13273         [$(build-shared = yes].
13274
13275 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13276
13277         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13278         (__mul): Reduce iterations for calculating mantissa.
13279
13280         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13281         MPTWO.
13282         (__mpranred): Likewise.
13283
13284         [BZ #15160]
13285         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13286         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13287
13288 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13289
13290         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13291         Define __attribute__.
13292
13293 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13294
13295         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13296         unused.
13297         * posix/regex_internal.h (__attribute): Remove.
13298         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13299         (re_string_context_at): Likewise.
13300         (bitset_not): Use __attribute__ and mark function as possibly
13301         unused.
13302         (bitset_merge): Likewise.
13303         (bitset_mask): Likewise.
13304         (re_string_char_size_at): Likewise.
13305         (re_string_wchar_at): Likewise.
13306         (re_string_elem_size_at): Likewise.
13307
13308 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13309
13310         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13311         code.
13312         (cc32): Likewise.
13313
13314         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13315         (__acr): Likewise.
13316         (__cpy): Likewise.
13317         (norm): Likewise.
13318         (denorm): Likewise.
13319         (__dbl_mp): Likewise.
13320         (add_magnitudes): Likewise.
13321         (sub_magnitudes): Likewise.
13322         (__mul): Likewise.
13323         (__inv): Likewise.
13324
13325         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13326         style.
13327
13328         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13329         style.
13330
13331         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13332         code.
13333
13334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13335         up changes with default code.
13336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13337         Likewise.
13338
13339 2013-02-24  Allan McRae  <allan@archlinux.org>
13340
13341         * manual/socket.texi (The Internet Namespace): Order menu items
13342         to match that in the file.
13343
13344         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13345         node listing of the info page menu.
13346
13347 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13348
13349         [BZ #13550]
13350         * sysdeps/i386/bp-asm.h: Remove file.
13351         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13352         (PARMS): Do not use macros from bp-asm.h.
13353         (S1): Likewise.
13354         (S2): Likewise.
13355         (SIZE): Likewise.
13356         (__mpn_add_n): Do not use BP_SYM
13357         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13358         "bp-asm.h".
13359         (PARMS): Do not use macros from bp-asm.h.
13360         (S1): Likewise.
13361         (SIZE): Likewise.
13362         (__mpn_addmul_1): Do not use BP_SYM
13363         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13364         "bp-asm.h".
13365         (PARMS): Do not use macros from bp-asm.h.
13366         (SIGMSK): Likewise.
13367         (_setjmp): Likewise.  Do not use BP_SYM.
13368         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13369         "bp-asm.h".
13370         (PARMS): Do not use macros from bp-asm.h.
13371         (SIGMSK): Likewise.
13372         (setjmp): Likewise.  Do not use BP_SYM.
13373         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13374         "bp-asm.h".
13375         (PARMS): Do not use macros from bp-asm.h.
13376         (__frexp): Do not use BP_SYM.
13377         (frexp): Likewise.
13378         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13379         "bp-asm.h".
13380         (PARMS): Do not use macros from bp-asm.h.
13381         (__frexpf): Do not use BP_SYM.
13382         (frexpf): Likewise.
13383         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13384         "bp-asm.h".
13385         (PARMS): Do not use macros from bp-asm.h.
13386         (__frexpl): Do not use BP_SYM.
13387         (frexpl): Likewise.
13388         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13389         "bp-asm.h".
13390         (PARMS): Do not use macros from bp-asm.h.
13391         (__remquo): Do not use BP_SYM.
13392         (remquo): Likewise.
13393         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13394         "bp-asm.h".
13395         (PARMS): Do not use macros from bp-asm.h.
13396         (__remquof): Do not use BP_SYM.
13397         (remquof): Likewise.
13398         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13399         "bp-asm.h".
13400         (PARMS): Do not use macros from bp-asm.h.
13401         (__remquol): Do not use BP_SYM.
13402         (remquol): Likewise.
13403         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13404         "bp-asm.h".
13405         (PARMS): Do not use macros from bp-asm.h.
13406         (DEST): Likewise.
13407         (SRC): Likewise.
13408         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13409         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13410         "bp-asm.h".
13411         (PARMS): Do not use macros from bp-asm.h.
13412         (strlen): Do not use BP_SYM.
13413         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13414         "bp-asm.h".
13415         (PARMS): Do not use macros from bp-asm.h.
13416         (S1): Likewise.
13417         (S2): Likewise.
13418         (SIZE): Likewise.
13419         (__mpn_add_n): Do not use BP_SYM.
13420         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13421         "bp-asm.h".
13422         (PARMS): Do not use macros from bp-asm.h.
13423         (S1): Likewise.
13424         (SIZE): Likewise.
13425         (__mpn_addmul_1): Do not use BP_SYM.
13426         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13427         weak_alias.
13428         (bzero): Likewise.
13429         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13430         "bp-asm.h".
13431         (PARMS): Do not use macros from bp-asm.h.
13432         (S): Likewise.
13433         (SIZE): Likewise.
13434         (__mpn_lshift): Do not use BP_SYM.
13435         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
13441         (memcpy): Likewise.  Do not use BP_SYM.
13442         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13443         libc_hidden_def and weak_alias.
13444         (mempcpy): Do not use BP_SYM in weak_alias.
13445         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13446         "bp-asm.h".
13447         (PARMS): Do not use macros from bp-asm.h.
13448         (DEST): Likewise.
13449         (LEN): Likewise.
13450         [!BZERO_P] (CHR): Likewise.
13451         (memset): Likewise.  Do not use BP_SYM.
13452         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
13458         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13459         "bp-asm.h".
13460         (PARMS): Do not use macros from bp-asm.h.
13461         (S): Likewise.
13462         (SIZE): Likewise.
13463         (__mpn_rshift): Do not use BP_SYM.
13464         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13465         "bp-asm.h".
13466         (PARMS): Do not use macros from bp-asm.h.
13467         (STR): Likewise.
13468         (CHR): Likewise.
13469         (strchr): Likewise.  Do not use BP_SYM.
13470         (index): Do not use BP_SYM in weak_alias.
13471         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13472         "bp-asm.h".
13473         (PARMS): Do not use macros from bp-asm.h.
13474         (DEST): Likewise.
13475         (SRC): Likewise.
13476         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13477         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13478         "bp-asm.h".
13479         (PARMS): Do not use macros from bp-asm.h.
13480         (strlen): Do not use BP_SYM.
13481         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13482         "bp-asm.h".
13483         (PARMS): Do not use macros from bp-asm.h.
13484         (S1): Likewise.
13485         (S2): Likewise.
13486         (SIZE): Likewise.
13487         (__mpn_sub_n): Do not use BP_SYM.
13488         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13489         "bp-asm.h".
13490         (PARMS): Do not use macros from bp-asm.h.
13491         (S1): Likewise.
13492         (SIZE): Likewise.
13493         (__mpn_submul_1): Do not use BP_SYM.
13494         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13495         "bp-asm.h".
13496         (PARMS): Do not use macros from bp-asm.h.
13497         (S1): Likewise.
13498         (S2): Likewise.
13499         (SIZE): Likewise.
13500         (__mpn_add_n): Do not use BP_SYM.
13501         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13502         weak_alias.
13503         (bzero): Likewise.
13504         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13505         "bp-asm.h".
13506         (PARMS): Do not use macros from bp-asm.h.
13507         (BLK2): Likewise.
13508         (LEN): Likewise.
13509         (memcmp): Do not use BP_SYM.
13510         (bcmp): Do not use BP_SYM in weak_alias.
13511         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13512         "bp-asm.h".
13513         (PARMS): Do not use macros from bp-asm.h.
13514         (DEST): Likewise.
13515         (SRC): Likewise.
13516         (LEN): Likewise.
13517         (memcpy): Likewise.  Do not use BP_SYM.
13518         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13519         "bp-asm.h".
13520         (PARMS): Do not use macros from bp-asm.h.
13521         (DEST): Likewise.
13522         (SRC): Likewise.
13523         (LEN): Likewise.
13524         (memmove): Likewise.  Do not use BP_SYM.
13525         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13526         "bp-asm.h".
13527         (PARMS): Do not use macros from bp-asm.h.
13528         (DEST): Likewise.
13529         (SRC): Likewise.
13530         (LEN): Likewise.
13531         (__mempcpy): Likewise.  Do not use BP_SYM.
13532         (mempcpy): Do not use BP_SYM in weak_alias.
13533         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13534         "bp-asm.h".
13535         (PARMS): Do not use macros from bp-asm.h.
13536         (DEST): Likewise.
13537         (LEN): Likewise.
13538         [!BZERO_P] (CHR): Likewise.
13539         (memset): Likewise.  Do not use BP_SYM.
13540         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13541         "bp-asm.h".
13542         (PARMS): Do not use macros from bp-asm.h.
13543         (STR2): Likewise.
13544         (strcmp): Do not use BP_SYM.
13545         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13546         "bp-asm.h".
13547         (PARMS): Do not use macros from bp-asm.h.
13548         (STR): Likewise.
13549         (DELIM): Likewise.
13550         [USE_AS_STRTOK_R] (SAVE): Likewise.
13551         (FUNCTION): Likewise.  Do not use BP_SYM.
13552         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13553         aliases.
13554         (strtok_r): Likewise.
13555         (__GI___strtok_r): Likewise.
13556         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13557         (PARMS): Do not use macros from bp-asm.h.
13558         (S): Likewise.
13559         (SIZE): Likewise.
13560         (__mpn_lshift): Do not use BP_SYM.
13561         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13562         (PARMS): Do not use macros from bp-asm.h.
13563         (STR): Likewise.
13564         (CHR): Likewise.
13565         (__memchr): Do not use BP_SYM.
13566         (memchr): Do not use BP_SYM in weak_alias.
13567         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13568         (PARMS): Do not use macros from bp-asm.h.
13569         (BLK2): Likewise.
13570         (LEN): Likewise.
13571         (memcmp): Do not use BP_SYM.
13572         (bcmp): Do not use BP_SYM in weak_alias.
13573         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13574         (PARMS): Do not use macros from bp-asm.h.
13575         (S1): Likewise.
13576         (SIZE): Likewise.
13577         (__mpn_mul_1): Do not use BP_SYM.
13578         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13579         "bp-asm.h".
13580         (PARMS): Do not use macros from bp-asm.h.
13581         (STR): Likewise.
13582         (CHR): Likewise.
13583         (__rawmemchr): Do not use BP_SYM.
13584         (rawmemchr): Do not use BP_SYM in weak_alias.
13585         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13586         (PARMS): Do not use macros from bp-asm.h.
13587         (S): Likewise.
13588         (SIZE): Likewise.
13589         (__mpn_rshift): Do not use BP_SYM.
13590         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13591         (PARMS): Do not use macros from bp-asm.h.
13592         (SIGMSK): Likewise.
13593         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13594         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13595         (_start): Do not use BP_SYM.
13596         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13597         (PARMS): Do not use macros from bp-asm.h.
13598         (DEST): Likewise.
13599         (SRC): Likewise.
13600         (__stpcpy): Likewise.  Do not use BP_SYM.
13601         (stpcpy): Do not use BP_SYM in weak_alias.
13602         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13603         "bp-asm.h".
13604         (PARMS): Do not use macros from bp-asm.h.
13605         (DEST): Likewise.
13606         (SRC): Likewise.
13607         (LEN): Likewise.
13608         (__stpncpy): Likewise.  Do not use BP_SYM.
13609         (stpncpy): Do not use BP_SYM in weak_alias.
13610         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13611         (PARMS): Do not use macros from bp-asm.h.
13612         (STR): Likewise.
13613         (CHR): Likewise.
13614         (strchr): Likewise.  Do not use BP_SYM.
13615         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13616         "bp-asm.h".
13617         (PARMS): Do not use macros from bp-asm.h.
13618         (STR): Likewise.
13619         (CHR): Likewise.
13620         (__strchrnul): Likewise.  Do not use BP_SYM.
13621         (strchrnul): Do not use BP_SYM in weak_alias.
13622         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13623         "bp-asm.h".
13624         (PARMS): Do not use macros from bp-asm.h.
13625         (STOP): Likewise.
13626         (strcspn): Do not use BP_SYM.
13627         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13628         "bp-asm.h".
13629         (PARMS): Do not use macros from bp-asm.h.
13630         (STR): Likewise.
13631         (STOP): Likewise.
13632         (strpbrk): Likewise.  Do not use BP_SYM.
13633         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13634         "bp-asm.h".
13635         (PARMS): Do not use macros from bp-asm.h.
13636         (STR): Likewise.
13637         (CHR): Likewise.
13638         (strrchr): Likewise.  Do not use BP_SYM.
13639         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13640         (PARMS): Do not use macros from bp-asm.h.
13641         (SKIP): Likewise.
13642         (strspn): Do not use BP_SYM.
13643         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13644         (PARMS): Do not use macros from bp-asm.h.
13645         (STR): Likewise.
13646         (DELIM): Likewise.
13647         (SAVE): Likewise.
13648         (FUNCTION): Likewise.  Do not use BP_SYM.
13649         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13650         aliases.
13651         (strtok_r): Likewise.
13652         (__GI___strtok_r): Likewise.
13653         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13654         (PARMS): Do not use macros from bp-asm.h.
13655         (S1): Likewise.
13656         (S2): Likewise.
13657         (SIZE): Likewise.
13658         (__mpn_sub_n): Do not use BP_SYM.
13659         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13660         "bp-asm.h".
13661         (PARMS): Do not use macros from bp-asm.h.
13662         (S1): Likewise.
13663         (SIZE): Likewise.
13664         (__mpn_submul_1): Do not use BP_SYM.
13665         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13666         <bp-sym.h>.
13667         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13668         and <bp-asm.h>.
13669         (PARMS): Do not use macros from bp-asm.h.
13670         (FLAGS): Likewise.
13671         (PTID): Likewise.
13672         (TLS): Likewise.
13673         (CTID): Likewise.
13674         (__clone): Do not use BP_SYM.
13675         (clone): Do not use BP_SYM in weak_alias.
13676         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13677         and <bp-asm.h>.
13678         (PARMS): Do not use macros from bp-asm.h.
13679         (LEN): Likewise.
13680         (__mmap64): Do not use BP_SYM.
13681         (mmap64): Do not use BP_SYM in weak_alias.
13682         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13683         <bp-sym.h> and <bp-asm.h>.
13684         (PARMS): Do not use macros from bp-asm.h.
13685         (__posix_fadvise64_l64): Do not use BP_SYM.
13686         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13687         (PARMS): Do not use macros from bp-asm.h.
13688         (NSOPS): Likewise.
13689         (semtimedop): Do not use BP_SYM.
13690         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13691         and <bp-asm.h>.
13692
13693 2013-02-21  Allan McRae  <allan@archlinux.org>
13694
13695         * manual/message.texi (Charset conversion in gettext):
13696         Move @end statement to beginning of line.
13697
13698 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13699
13700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13701         static.
13702         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13703         Likewise.
13704
13705         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13706         (denorm): Likewise.
13707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13709
13710 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13711
13712         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13713         tail-call to the resolved function if pltexit isn't needed.
13714
13715 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13716
13717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13718         or Y being zero as being unlikely.
13719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13720         Likewise.
13721
13722 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13723
13724         * manual/nss.texi (System Databases and Name Service Switch):
13725         Remove frobnicate @pxref.
13726
13727 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13728
13729         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13730         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13731
13732 2013-02-20  Petr Machata  <pmachata@redhat.com>
13733
13734         * elf/elf.h (R_ARM_TARGET1): New macro.
13735         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13736         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13737         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13738         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13739         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13740         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13741         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13742         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13743         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13744         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13745         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13746         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13747         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13748         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13749         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13750         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13751         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13752         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13753         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13754         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13755         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13756         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13757         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13758         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13759         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13760         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13761         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13762         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13763         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13764         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13765         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13766         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13767         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13768         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13769         (R_ARM_THM_GOT_BREL12): Likewise.
13770         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13771         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13772         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13773         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13774         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13775         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13776         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13777         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13778         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13779
13780 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13781
13782         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13783         __attribute_used__ to __attribute__ ((unused)).
13784
13785 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13786
13787         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13788         powerpc mpa.c.
13789         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13790         comment formatting.
13791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13792
13793 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13794
13795         [BZ #13550]
13796         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13797         Remove macro.
13798         (ENTER): Remove both macro definitions.
13799         (LEAVE): Likewise.
13800         (CHECK_BOUNDS_LOW): Likewise.
13801         (CHECK_BOUNDS_HIGH): Likewise.
13802         (CHECK_BOUNDS_BOTH): Likewise.
13803         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13804         (RETURN_BOUNDED_POINTER): Likewise.
13805         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13806         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13807         (POP_ERRNO_LOCATION_RETURN): Likewise.
13808         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13809         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13810         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13811         macros.
13812         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13813         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13814         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13815         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13816         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13817         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13818         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13819         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13820         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13821         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13822         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13823         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13824         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13825         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13826         removed macros.
13827         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13828         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13829         macros.
13830         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13831         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13832         * sysdeps/i386/i586/memset.S (memset): Likewise.
13833         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13834         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13835         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13836         macros.
13837         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13838         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13839         Change uses of L(2) to L(out).
13840         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13841         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13842         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13843         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13844         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13845         removed macros.
13846         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13847         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13848         macros.
13849         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13850         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13851         (RETURN): Do not use macro LEAVE.
13852         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13853         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13854         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13855         * sysdeps/i386/i686/memset.S (memset): Likewise.
13856         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13857         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13858         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13859         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13860         Likewise.
13861         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13862         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13863         L(1_2) and L(1_3) into L(1).
13864         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13865         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13866         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13867         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13868         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13869         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13870         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13871         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13872         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13873         macros.
13874         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13875         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13876         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13877         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13878         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13879         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13880         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13881         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13882         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13883         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13884         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13885         * sysdeps/i386/strspn.S (strspn): Likewise.
13886         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13887         conditional code.
13888         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13889         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13890         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13891         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13892         L(1_3) into L(1_1).
13893         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13894         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13895         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13896         macros.
13897         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13898
13899 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13900
13901         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13902         macro.
13903
13904 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13905
13906         * math/atest-exp.c (exp_mpn): Remove ROUND.
13907         * math/atest-exp2.c (exp_mpn): Likewise.
13908         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13909
13910         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13911         * stdlib/tst-tls-atexit-lib.c: Likewise.
13912         * stdlib/tst-tls-atexit.c: Likewise.
13913
13914 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13915
13916         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13917         and __attribute_alloc_size__.
13918
13919 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13920
13921         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13922         __attribute_alloc_size__.
13923         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13924         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13925
13926 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13927
13928         * include/programs/xmalloc.h: New file.
13929         * catgets/gencat.c: Include it.
13930         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13931         * elf/pldd.c: Likewise.
13932         * iconv/iconv_charmap.c: Likewise.
13933         * iconv/iconvconfig.c: Likewise.
13934         * iconv/strtab.c: Likewise.
13935         * locale/programs/locale.c: Likewise.
13936         * locale/programs/localedef.h: Likewise.
13937         * locale/programs/simple-hash.c: Likewise.
13938         * nscd/nscd.h: Likewise.
13939         * nss/makedb.c: Likewise.
13940         * sysdeps/generic/ldconfig.h: Likewise.
13941
13942 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13943
13944         * Versions.def: Add GLIBC_2.18.
13945         * include/link.h (struct link_map): New member l_tls_dtor_count.
13946         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13947         (__call_tls_dtors): Likewise.
13948         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13949         __cxa_thread_atexit_impl.
13950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13951         Likewise.
13952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13953         Likewise.
13954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13955         Likewise.
13956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13957         Likewise.
13958         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13960         Likewise.
13961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13962         Likewise.
13963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13965         Likewise.
13966         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13967         (tests): Add test case tst-tls-atexit.
13968         (modules-names): Add shared library for tst-tls-atexit.
13969         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13970         (GLIBC_PRIVATE): Add __call_tls_dtors.
13971         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13972         for libstdc++.
13973         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13974         * stdlib/tst-tls-atexit.c: New test case.
13975         * stdlib/tst-tls-atexit-lib.c: New test case.
13976
13977         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13978
13979         * elf/Versions (ld): Add _dl_find_dso_for_object.
13980         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13981         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13982         (dl_open_worker): Use _dl_find_dso_for_object.
13983         * elf/dl-sym.c (do_sym): Likewise.
13984         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13985
13986 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13987
13988         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13989         Syntactic changes only.
13990         (_dl_runtime_profile): Do a tail-call to the resolved function.
13991
13992 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13993
13994         [BZ #13550]
13995         * sysdeps/x86_64/bp-asm.h: Remove file.
13996         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13997         <bp-sym.h> and <bp-asm.h>.
13998         (__clone): Do not use BP_SYM.
13999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14000         <bp-sym.h> and <bp-asm.h>.
14001         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14002         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14003         "bp-asm.h".
14004         (_setjmp): Do not use BP_SYM.
14005         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14006         "bp-asm.h".
14007         (setjmp): Do not use BP_SYM.
14008         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14009         libc_hidden_def.
14010         (mempcpy): Do not use BP_SYM in weak_alias.
14011         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14012         "bp-asm.h".
14013         (strchr): Do not use BP_SYM.
14014         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14015         "bp-asm.h".
14016         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14017         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14018         (_start): Do not use BP_SYM.
14019         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14020         "bp-asm.h".
14021         (strcat): Do not use BP_SYM.
14022         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14023         "bp-asm.h".
14024         (STRCMP): Do not use BP_SYM.
14025         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14026         "bp-asm.h".
14027         (STRCPY): Do not use BP_SYM.
14028         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14029         "bp-asm.h".
14030         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14031         "bp-asm.h".
14032         (FUNCTION): Do not use BP_SYM.
14033         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14034         weak_alias.
14035         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14036
14037 2013-02-17  Andreas Jaeger  <aj@suse.de>
14038
14039         * time/Versions: Sort entries.
14040         * string/Versions: Likewise.
14041         * resolv/Versions: Likewise.
14042         * posix/Versions: Likewise.
14043         * iconv/Versions: Likewise.
14044         * elf/Versions: Likewise.
14045         * wcsmbs/Versions: Likewise.
14046
14047 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14048
14049         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14050         loop termination condition.
14051
14052         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14053         variable to calculate EZ.
14054         (__sqr): Likewise.
14055
14056         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14057         the lower precision input.
14058
14059 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
14060
14061         [BZ #13550]
14062         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14063         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14064         (run-via-rtld-prefix): Do not handle %-bp tests.
14065         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14066         (all-object-suffixes): Remove .ob.
14067         (bppfx): Remove variable.
14068         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14069         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14070         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14071         [$(build-bounded) = yes] (libtype.ob): Likewise.
14072         * Makerules (elide-routines.ob): Remove variable.
14073         (do-tests-clean): Do not handle *-bp.out.
14074         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14075         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14076         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14077         (tests): Do not include $(tests-bp.out).
14078         (xtests): Do not include $(xtests-bp.out).
14079         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14080         [$(build-bounded) = yes] ($(addprefix
14081         $(objpfx),$(binaries-bounded))): Remove rule.
14082         ($(objpfx)%-bp.out): Remove rule.
14083         * config.make.in (build-bounded): Remove variable.
14084         * crypt/Makefile [$(build-bounded) = yes]
14085         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14086         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14087         append to variable.
14088         [$(build-bounded) = yes] (install-lib): Likewise.
14089         [$(build-bounded) = yes] (generated): Likewise.
14090         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14091         Remove rule.
14092         * intl/Makefile [$(build-bounded) = yes]
14093         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14094         * math/Makefile [$(build-bounded) = yes]
14095         ($(tests:%=$(objpfx)%-bp): Likewise.
14096         * misc/Makefile [$(build-bounded) = yes]
14097         ($(objpfx)tst-tsearch-bp): Likewise.
14098         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14099         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14100         Remove dependency.
14101         * string/Makefile (o-objects.ob): Remove variable.
14102         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14103         (CFLAGS-.ob): Remove variable.
14104         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14105         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14106         both definitions of variable.
14107         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14108         (ASFLAGS-.ob): Remove variable.
14109
14110 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14111
14112         [BZ #13550]
14113         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14114         Remove __BOUNDED_POINTERS__ from condition.
14115         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14116         * string/bits/string2.h [!__NO_STRING_INLINES &&
14117         !__BOUNDED_POINTERS__]: Likewise.
14118         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14119         Likewise.
14120         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14121         Remove conditional code.
14122         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14123         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14124         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14125         condition.
14126
14127         [BZ #13550]
14128         * csu/libc-start.c: Do not include <bp-sym.h>.
14129         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14130         * elf/dl-open.c: Do not include <bp-sym.h>.
14131         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14132         * math/fegetenv.c: Do not include <bp-sym.h>.
14133         (fegetenv): Do not use BP_SYM in versioned symbols.
14134         * nptl/sysdeps/pthread/bits/libc-lockP.h
14135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14136         <bp-sym.h>.
14137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14138         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14140         (__pthread_mutex_destroy): Likewise.
14141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14142         (__pthread_mutex_lock): Likewise.
14143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14144         (__pthread_mutex_trylock): Likewise.
14145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14146         (__pthread_mutex_unlock): Likewise.
14147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14148         (__pthread_mutexattr_init): Likewise.
14149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14150         (__pthread_mutexattr_destroy): Likewise.
14151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14152         (__pthread_mutexattr_settype): Likewise.
14153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14154         (__pthread_rwlock_init): Likewise.
14155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14156         (__pthread_rwlock_destroy): Likewise.
14157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14158         (__pthread_rwlock_rdlock): Likewise.
14159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14160         (__pthread_rwlock_tryrdlock): Likewise.
14161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14162         (__pthread_rwlock_wrlock): Likewise.
14163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14164         (__pthread_rwlock_trywrlock): Likewise.
14165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14166         (__pthread_rwlock_unlock): Likewise.
14167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14168         (__pthread_key_create): Likewise.
14169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14170         (__pthread_setspecific): Likewise.
14171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14172         (__pthread_getspecific): Likewise.
14173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14174         Likewise.
14175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14176         (_pthread_cleanup_push_defer): Likewise.
14177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14178         (_pthread_cleanup_pop_restore): Likewise.
14179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14180         (pthread_setcancelstate): Likewise.
14181         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14182         <bp-sym.h>.
14183         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14184         (memchr): Do not use BP_SYM in weak_alias.
14185         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14186         (fegetenv): Do not use BP_SYM in versioned symbols.
14187         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14188         (fesetenv): Do not use BP_SYM in versioned symbols.
14189         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14190         (feupdateenv): Do not use BP_SYM in versioned symbols.
14191         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14192         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14193         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14194         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14195         (open64): Do not use BP_SYM in weak_alias.
14196         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14197         (fegetenv): Do not use BP_SYM in versioned symbols.
14198         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14199         (fesetenv): Do not use BP_SYM in versioned symbols.
14200         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14201         (feupdateenv): Do not use BP_SYM in versioned symbols.
14202         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14203         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14204         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14205         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14206         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14207         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14208         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14209         <bp-sym.h>.
14210         (__libc_start_main): Do not use BP_SYM.
14211
14212 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14213
14214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14215         redundant return line.
14216         (norm): Likewise.
14217         (denorm): Likewise.
14218         (dbl_mp): Likewise.
14219         (sub_magnitudes): Likewise.
14220         (__add): Likewise.
14221         (__sub): Likewise.
14222         (__mul): Likewise.
14223         (__inv): Likewise.
14224         (__dvd): Likewise.
14225         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14226         (norm): Likewise.
14227         (denorm): Likewise.
14228         (dbl_mp): Likewise.
14229         (sub_magnitudes): Likewise.
14230         (__add): Likewise.
14231         (__sub): Likewise.
14232         (__mul): Likewise.
14233         (__inv): Likewise.
14234         (__dvd): Likewise.
14235
14236         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14237         instead of __mul.
14238         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14239         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14240         (cc32): Likewise.
14241
14242         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14243         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14244         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14245         of __mul for squares.
14246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14247         function
14248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14249         Likewise.
14250         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14251         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14252
14253 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14254
14255         [BZ #13550]
14256         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14257         code.
14258         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14259         prototype or function definition.  Rename ubp_* variables and
14260         parameters.  Remove argv definitions conditional on
14261         [__BOUNDED_POINTERS__].
14262         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14263         * elf/dl-runtime.c (_dl_fixup): Likewise.
14264         * include/set-hooks.h (RUN_HOOK): Likewise.
14265         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14266         definition.
14267         * string/strcpy.c (strcpy): Do not use __unbounded.
14268         * sysdeps/generic/frame.h (struct layout): Likewise.
14269         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14270         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14271         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14272         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14273         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14274         (__backtrace): Likewise.
14275         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14276         use __ptrvalue.
14277         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14278         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14279         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14280         Likewise.
14281         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14282         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14283         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14284         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14285         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14286         Do not use __unbounded.
14287         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14288         Rename __unboundedrlimits parameter to rlimits in prototype.
14289         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14290         Do not use __unbounded.
14291         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14292         not use __ptrvalue.
14293         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14294         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14295         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14296         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14297         __ptrvalue or __unbounded.
14298         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14299         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14300         use __unbounded.
14301         (__new_msgctl): Do not use __ptrvalue.
14302         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14303         __unbounded.
14304         (__libc_msgrcv): Do not use __ptrvalue.
14305         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14306         startup_info): Do not use __unbounded.
14307         (__libc_start_main): Likewise.  Rename ubp_* variables and
14308         parameters.  Remove argv definitions conditional on
14309         [__BOUNDED_POINTERS__].
14310         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14311         __ptrvalue.
14312         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14313         use __unbounded.
14314         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14315         or __ptrvalue.
14316         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14317         use __unbounded.
14318         (__new_shmctl): Do not use __ptrvalue.
14319         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14320         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14321         Likewise.
14322         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14323         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14324         (__libc_sigaction): Likewise.
14325         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14326         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14327         Likewise.
14328         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14329
14330 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
14331
14332         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14333
14334         * string/mempcpy.c: Implement by calling memcpy.
14335
14336 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14337
14338         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14339
14340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14341         evaluation.
14342
14343         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14344         values in the mantissa.
14345
14346         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14347         minimize writes to Z.
14348         (sub_magnitudes): Simplify code a bit.
14349
14350 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14351
14352         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14353         from the message.  The linker prefixes all warnings with that already.
14354
14355 2013-02-12  Andreas Schwab  <schwab@suse.de>
14356
14357         [BZ #15078]
14358         * posix/regexec.c (extend_buffers): Add parameter min_len.
14359         (check_matching): Pass minimum needed length.
14360         (clean_state_log_if_needed): Likewise.
14361         (get_subexp): Likewise.
14362         * posix/Makefile (tests): Add bug-regex34.
14363         (bug-regex34-ENV): Define.
14364         * posix/bug-regex34.c: New file.
14365
14366         [BZ #11561]
14367         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14368         elements compare against the byte sequence of it, not its name.
14369         * posix/Makefile (tests): Add bug-regex35.
14370         (bug-regex35-ENV): Define.
14371         * posix/bug-regex35.c: New file.
14372
14373 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14374
14375         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14376         comment.
14377         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14378         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14379         (CHECK_EOL): Add undef.
14380
14381 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14382
14383         * bits/stdlib-bsearch.h: New file.
14384         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14385         * stdlib/stdlib.h: Likewise.
14386
14387 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14388
14389         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14390         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14391         declaration.
14392         * manual/search.texi (Array Search Function): Add missing const in
14393         lfind prototype.
14394         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14395         declaration to use rlim_t.
14396         (Basic Scheduling Functions): Remove erroneous const from
14397         sched_getparam prototype.  Remove erroneous * from
14398         sched_get_priority_max and sched_get_priority_min prototypes.
14399         (Resource Usage): Fix summary @comment on vtimes to refer to
14400         sys/vtimes.h rather than vtimes.h.
14401         Add missing *s in vtimes prototype.
14402         (Limits on Resources): Fix ulimit prototype to return long int.
14403         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14404         prototypes to use long int rather than double.
14405         (BSD Random): Fix initstate and setstate to use char *, not void *.
14406         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14407         prototype to make second argument 'struct aiocb64 *const[]'.
14408         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14409         (Status of AIO Operations): Remove erroneous const in aio_return and
14410         aio_return64 prototypes.
14411         (Synchronizing I/O): Fix sync prototype to return void.
14412         * manual/startup.texi (Suboptions): Remove an erroneous const in
14413         getsubopt prototype.
14414         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14415         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14416         use size_t rather than int.
14417         (Scanning All Users): Likewise for getpwent_r.
14418         (Setting Groups): Add missing const to setgroups prototype.
14419         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14420         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14421         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14422         'const void *' rather than 'const char *'.
14423         (Host Address Functions): Likewise for inet_ntop.
14424         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14425         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14426         ssize_t for return value.
14427         (Sending Data): Likewise for send, sendto, sendmsg.
14428         (Socket Option Functions): Add a missing const in setsockopt prototype.
14429         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14430         use wchar_t for the argument.
14431         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14432         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14433         take no arguments.
14434         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14435         double/float/long double for second argument.
14436         Fix return types of significand, significandf, significandl.
14437         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14438         argument in fchmod prototype.
14439         (File Owner): Use uid_t and gid_t in fchown prototype.
14440         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14441         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14442         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14443         use 'const struct dirent **' as argument types to CMP function pointer
14444         argument.
14445         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14446         (File Times): Fix summary magic @comment for struct utimbuf and utime
14447         to refer to utime.h, not time.h.
14448         * manual/string.texi (Argz Functions): Add missing const in
14449         argz_extract and argz_next prototypes.
14450         (Finding Tokens in a String): Likewise for basename.
14451         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14452         (Copying and Concatenation): Fix typo in wmemmove prototype.
14453         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14454         (Signal Stack): Remove erroneous const in sigstack prototype.
14455         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14456         prototype.
14457         (Simple Calendar Time): Likewise for stime.
14458         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14459         prototype.
14460         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14461         say sys/sysctl.h instead.
14462         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14463         and vsyslog prototypes.
14464
14465 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14466
14467         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14468         Remove.
14469
14470 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14471
14472         * misc/sys/mman.h: Fix typo in mremap comment.
14473
14474 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14475
14476         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14477         the '\0' terminator.
14478
14479 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14480
14481         [BZ #13550]
14482         * debug/segfault.c: Don't include <bp-checks.h>.
14483         * sysdeps/generic/bp-checks.h: Remove file.
14484         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14485         (__GETDENTS): Don't use CHECK_N.
14486         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14487         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14488         (__getgroups): Don't use CHECK_N.
14489         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14490         (setgroups): Don't use CHECK_N.
14491         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14492         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14493         (__libc_msgrcv): Don't use CHECK_N.
14494         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14495         (__libc_msgsnd): Don't use CHECK_N.
14496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14497         <bp-checks.h>.
14498         (__libc_pread): Don't use CHECK_N.
14499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14500         include <bp-checks.h>.
14501         (__libc_pread64): Don't use CHECK_N.
14502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14503         include <bp-checks.h>.
14504         (__libc_pwrite): Don't use CHECK_N.
14505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14506         include <bp-checks.h>.
14507         (__libc_pwrite64): Don't use CHECK_N.
14508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14509         <bp-checks.h>.
14510         (__libc_pread): Don't use CHECK_N.
14511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14512         include <bp-checks.h>.
14513         (__libc_pread64): Don't use CHECK_N.
14514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14515         include <bp-checks.h>.
14516         (__libc_pwrite): Don't use CHECK_N.
14517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14518         include <bp-checks.h>.
14519         (__libc_pwrite64): Don't use CHECK_N.
14520         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14521         (do_pread): Don't use CHECK_N.
14522         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14523         (do_pread64): Don't use CHECK_N.
14524         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14525         (do_pwrite): Don't use CHECK_N.
14526         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14527         (do_pwrite64): Don't use CHECK_N.
14528         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14529         (__libc_readv): Don't use CHECK_N.
14530         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14531         (semop): Don't use CHECK_N.
14532         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14533         <bp-checks.h>.
14534         (semtimedop): Don't use CHECK_N.
14535         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14536         (__libc_pread): Don't use CHECK_N.
14537         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14538         <bp-checks.h>.
14539         (__libc_pread64): Don't use CHECK_N.
14540         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14541         <bp-checks.h>.
14542         (__libc_pwrite): Don't use CHECK_N.
14543         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14544         <bp-checks.h>.
14545         (__libc_pwrite64): Don't use CHECK_N.
14546         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14547         <bp-checks.h>.
14548         (__libc_msgrcv): Don't use CHECK_N.
14549         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14550         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14551         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14552         (__libc_writev): Don't use CHECK_N.
14553
14554 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14555
14556         * string/strcpy.c: Removed unused variable.
14557
14558         * Makeconfig (+sysdep-includes): Define with := rather than =.
14559         Use an existing include/ subdir of each sysdeps dir before it.
14560
14561 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14562
14563         * nscd/connection.c (register_traced_file): Comment function.
14564         [HAVE_INOTIFY] (union __inev): Define.
14565         [HAVE_INOTIFY] (inotify_check_files): New function.
14566         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14567         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14568         clear_db_cache.
14569         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14570
14571 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14572
14573         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14574         loaded if not already and that a failure is permanent.
14575
14576 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14577
14578         [BZ #15006]
14579         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14580         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14581
14582 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14583
14584         [BZ #13550]
14585         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14586         (CHECK_1_NULL_OK): Likewise.
14587         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14588         (__fxstat): Do not use CHECK_1.
14589         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14590         <bp-checks.h>.
14591         (___fxstat64): Do not use CHECK_1.
14592         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14593         <bp-checks.h>.
14594         (__fxstatat): Do not use CHECK_1.
14595         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14596         <bp-checks.h>.
14597         (__fxstatat64): Do not use CHECK_1.
14598         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14599         <bp-checks.h>.
14600         (__fxstat): Do not use CHECK_1.
14601         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14602         <bp-checks.h>.
14603         (__fxstatat): Do not use CHECK_1.
14604         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14605         <bp-checks.h>.
14606         (__getresgid): Do not use CHECK_1.
14607         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14608         <bp-checks.h>.
14609         (__getresuid): Do not use CHECK_1.
14610         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14611         <bp-checks.h>.
14612         (__lxstat): Do not use CHECK_1.
14613         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14614         <bp-checks.h>.
14615         (__old_msgctl): Do not use CHECK_1.
14616         (__new_msgctl): Likewise.
14617         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14618         <bp-checks.h>.
14619         (__new_setrlimit): Do not use CHECK_1.
14620         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14621         <bp-checks.h>.
14622         (__old_shmctl): Do not use CHECK_1.
14623         (__new_shmctl): Likewise.
14624         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14625         <bp-checks.h>.
14626         (__xstat): Do not use CHECK_1.
14627         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14628         (__lxstat): Do not use CHECK_1.
14629         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14630         <bp-checks.h>.
14631         (___lxstat64): Do not use CHECK_1.
14632         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14633         (__old_msgctl): Do not use CHECK_1.
14634         (__new_msgctl): Likewise.
14635         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14636         <bp-checks.h>.
14637         (__gettimeofday): Do not use CHECK_1.
14638         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14639         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14640         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14641         <bp-checks.h>.
14642         (__gettimeofday): Do not use CHECK_1.
14643         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14644         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14645         (__new_shmctl): Do not use CHECK_1.
14646         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14647         <bp-checks.h>.
14648         (do_sigtimedwait): Do not use CHECK_1.
14649         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14650         <bp-checks.h>.
14651         (do_sigwaitinfo): Do not use CHECK_1.
14652         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14653         <bp-checks.h>.
14654         (msgctl): Do not use CHECK_1.
14655         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14656         <bp-checks.h>.
14657         (shmctl): Do not use CHECK_1.
14658         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14659         (ustat): Do not use CHECK_1.
14660         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14661         <bp-checks.h>.
14662         (__fxstat): Do not use CHECK_1.
14663         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14664         <bp-checks.h>.
14665         (__fxstatat): Do not use CHECK_1.
14666         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14667         <bp-checks.h>.
14668         (__lxstat): Do not use CHECK_1.
14669         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14670         <bp-checks.h>.
14671         (__xstat): Do not use CHECK_1.
14672         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14673         (__xstat): Do not use CHECK_1.
14674         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14675         (___xstat64): Do not use CHECK_1.
14676
14677         [BZ #13550]
14678         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14679         definitions.
14680         (CHECK_BOUNDS_HIGH): Likewise.
14681         * string/strcpy.c: Do not include <bp-checks.h>.
14682         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14683
14684 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14685
14686         * nscd/nscd-client.h (__nscd_drop_map_ref):
14687         Add __attribute__ ((unused)).
14688         * nis/nss-nisplus.h (niserr2nss): Likewise.
14689
14690         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14691         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14692
14693         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14694         Remove inline keyword.
14695         * include/rounding-mode.h (round_away): Likewise.
14696         * libio/wfileops.c (adjust_wide_data): Likewise.
14697         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14698         (__m128i_strloadu_tolower): Likewise.
14699         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14700         (__m128i_strloadu_tolower): Likewise.
14701         * time/mktime.c (ydhms_diff): Likewise.
14702         * locale/elem-hash.h (elem_hash): Likewise.
14703         * locale/setlocale.c (setdata): Likewise.
14704         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14705         (re_string_wchar_at): Likewise.
14706         (bitset_not, bitset_merge, bitset_mask): Likewise.
14707         [!(__GNUC__ > 3)] (inline): Remove macro.
14708         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14709         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14710         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14711         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14712         * string/memcmp.c (memcmp_bytes): Likewise.
14713         * locale/programs/locarchive.c (compute_hashval): Likewise.
14714         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14715         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14716         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14717         * nss/getent.c (print_rpc, print_protocols): Likewise.
14718         (print_passwd, print_group, print_aliases): Likewise.
14719         * nis/nss-nisplus.h (niserr2nss): Likewise.
14720         * nscd/connections.c (restart_p): Likewise.
14721         Change return type to bool.
14722
14723 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14724
14725         * Makeconfig (all-Depend-files): Add existing
14726         $(sorted-subdirs:=/Depend) files.
14727         (all-subdirs): Remove nss.
14728         * sysdeps/unix/inet/Subdirs: Add it here instead.
14729         * hesiod/Depend: New file.
14730
14731         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14732         instead of calling alloca.
14733
14734         * io/lseek.c (__lseek): Rename to __libc_lseek.
14735         Define __lseek as an alias.
14736
14737         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14738
14739 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14740
14741         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14742         else clause and remove check for non-standard endianness.
14743
14744 2013-02-04  David S. Miller  <davem@davemloft.net>
14745
14746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14747
14748 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14749
14750         [BZ #13550]
14751         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14752         (__ubp_memchr): Remove prototype.
14753         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14754         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14755         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14756         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14757         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14758         Remove alias.
14759         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14760         (__ubp_memchr): Likewise.
14761         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14762         (__ubp_memchr): Likewise.
14763         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14764         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14765         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14766         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14767         CHECK_STRING.
14768         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14769         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14770         (__getcwd): Do not use CHECK_STRING.
14771         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14772         <bp-checks.h>.
14773         (__real_chown): Do not use CHECK_STRING.
14774         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14775         <bp-checks.h>.
14776         (fchownat): Do not use CHECK_STRING.
14777         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14778         CHECK_STRING.
14779         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14780         <bp-checks.h>.
14781         (__lchown): Do not use CHECK_STRING.
14782         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14783         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14784         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14785         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14787         include <bp-checks.h>.
14788         (truncate64): Do not use CHECK_STRING.
14789         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14790         <bp-checks.h>.
14791         (__real_chown): Do not use CHECK_STRING.
14792         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14793         <bp-checks.h>.
14794         (__lchown): Do not use CHECK_STRING.
14795         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14796         <bp-checks.h>.
14797         (__chown): Do not use CHECK_STRING.
14798         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14799         <bp-checks.h>.
14800         (truncate64): Do not use CHECK_STRING.
14801         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14802         Likewise.
14803         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14804         (__xmknod): Do not use CHECK_STRING.
14805         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14806         <bp-checks.h>.
14807         (__xmknodat): Do not use CHECK_STRING.
14808         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14809         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14810
14811 2013-02-04  Andreas Schwab  <schwab@suse.de>
14812
14813         [BZ #14142]
14814         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14815         * include/netdb.h: Likewise for h_errno.
14816         * elf/tst-stackguard1.c: Include <tls.h>.
14817
14818 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14819
14820         * elf/link.h (struct link_map): Extend the l_addr comment.
14821         * include/link.h (struct link_map): Likewise.
14822
14823 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14824
14825         [BZ #13550]
14826         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14827         (BOUNDED_1): Remove macro.
14828         * debug/backtrace.c: Don't include <bp-checks.h>.
14829         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14830         (__backtrace): Likewise.
14831         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14832         <bp-checks.h>.
14833         (__backtrace): Don't use BOUNDED_1.
14834         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14835         <bp-checks.h>.
14836         (__backtrace): Don't use BOUNDED_1.
14837         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14838         (__backtrace): Don't use BOUNDED_1.
14839         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14840         (shmat): Don't use BOUNDED_N.
14841
14842 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14843
14844         [BZ #13550]
14845         * sysdeps/generic/bp-start.h: Remove file.
14846         * csu/libc-start.c: Don't include <bp-start.h>.
14847         (LIBC_START_MAIN): Set up __environ directly instead of using
14848         INIT_ARGV_and_ENVIRON.
14849         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14850         <bp-start.h>.
14851
14852         [BZ #13550]
14853         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14854         definitions.
14855         (CHECK_FCNTL): Likewise.
14856         (CHECK_N_PAGES): Likewise.
14857
14858         [BZ #13550]
14859         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14860         definitions.
14861         (CHECK_SIGSET_NULL_OK): Likewise.
14862         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14863         <bp-checks.h>.
14864         (sigpending): Don't use CHECK_SIGSET.
14865         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14866         <bp-checks.h>.
14867         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14868         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14869         <bp-checks.h>.
14870         (do_sigsuspend): Don't use CHECK_SIGSET.
14871         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14872         use CHECK_SIGSET.
14873         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14874         (do_sigwait): Don't use CHECK_SIGSET.
14875         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14876         use CHECK_SIGSET.
14877         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14878         include <bp-checks.h>.
14879         (sigpending): Don't use CHECK_SIGSET.
14880         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14881         include <bp-checks.h>.
14882         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14883         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14884         <bp-checks.h>.
14885         (sigpending): Don't use CHECK_SIGSET.
14886         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14887         <bp-checks.h>.
14888         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14889
14890         [BZ #13550]
14891         * sysdeps/generic/bp-semctl.h: Remove file.
14892         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14893         <bp-checks.h> and <bp-semctl.h>.
14894         (__old_semctl): Don't use CHECK_SEMCTL.
14895         (__new_semctl): Likewise.
14896         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14897         and <bp-semctl.h>.
14898         (__old_semctl): Don't use CHECK_SEMCTL.
14899         (__new_semctl): Likewise.
14900         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14901         <bp-checks.h> and <bp-semctl.h>.
14902         (__old_semctl): Don't use CHECK_SEMCTL.
14903         (__new_semctl): Likewise.
14904         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14905         <bp-checks.h> and <bp-semctl.h>.
14906         (semctl): Don't use CHECK_SEMCTL.
14907
14908         [BZ #13550]
14909         * Makerules (elide-bp-thunks): Remove variable.
14910         (elide-routines.oS): Don't use $(elide-bp-thunks).
14911         (elide-routines.os): Likewise.
14912         (elide-routines.o): Likewise.
14913         (elide-routines.op): Likewise.
14914         (elide-routines.og): Likewise.
14915         (objects): Don't use $(bp-thunks).
14916         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14917         include.
14918         (common-generated): Do not add s-proto-bp.d.
14919         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14920         (int): Likewise.
14921         (typ): Likewise.
14922         Do not generate makefile rules for bounded-pointer thunks.
14923         * sysdeps/generic/bp-thunks.h: Remove file.
14924         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14925         * sysdeps/unix/s-proto-bp.S: Likewise.
14926
14927         [BZ #15062]
14928         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14929         parts of result separately when argument is not close to line from
14930         -i to i and one part of argument is small.
14931         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14932         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14933         * math/libm-test.inc (cacos_test): Add more tests.
14934         (casin_test): Likewise.
14935         (casinh_test): Likewise.
14936         * sysdeps/i386/fpu/libm-test-ulps: Update.
14937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14938
14939 2013-01-31  David S. Miller  <davem@davemloft.net>
14940
14941         * po/de.po: Update from translation team.
14942
14943 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14944
14945         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14946
14947 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14948
14949         * configure.in (_AC_PROG_CC_C89): New definition.
14950         * configure: Regenerate.
14951
14952         * configure.in (AC_PROG_CPP): New definition.
14953         * configure: Regenerate.
14954
14955 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14956
14957         * debug/tst-backtrace.h: New file.
14958         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14959         (ret): Remove variable.
14960         (x): Likewise.
14961         (FAIL): Remove macro.
14962         (NO_INLINE): Likewise.
14963         (fn1): Use match function instead of strstr.
14964         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14965         (ret): Remove variable.
14966         (x): Likewise.
14967         (FAIL): Remove macro.
14968         (NO_INLINE): Likewise.
14969         (fn): Use match function instead of strstr.
14970         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14971         (ret): Remove variable.
14972         (x): Likewise.
14973         (FAIL): Remove macro.
14974         (NO_INLINE): Likewise.
14975         (handle_signal): Use match function instead of strstr.
14976         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14977         (ret): Remove variable.
14978         (x): Likewise.
14979         (FAIL): Remove macro.
14980         (NO_INLINE): Likewise.
14981         (handle_signal): Use match function instead of strstr.
14982
14983 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14984
14985         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14986
14987 2013-01-23  David S. Miller  <davem@davemloft.net>
14988
14989         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14990         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14991         argument of CAS if possible.
14992         * sysdeps/sparc/sparc64/bits/atomic.h
14993         (__arch_compare_and_exchange_val_32_acq): Likewise.
14994         (__arch_compare_and_exchange_val_64_acq): Likewise.
14995
14996 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14997
14998         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14999         * sysdeps/posix/ulimit.c: ... this.
15000         Include <limits.h>.
15001         * sysdeps/unix/bsd/ulimit.c: Remove file.
15002
15003 2013-01-23  Adam Conrad  <adconrad@0c3.net>
15004
15005         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15006         (LDFLAGS-tst-array5): Likewise.
15007
15008 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15009
15010         [BZ #15036]
15011         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15012         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15013         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15014         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15015
15016 2013-01-21  David S. Miller  <davem@davemloft.net>
15017
15018         * sysdeps/sparc/backtrace.c: New file.
15019         * sysdeps/sparc/sparc32/backtrace.h: New file.
15020         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15021         * sysdeps/sparc/sparc64/backtrace.h: New file.
15022         * sysdeps/sparc/sparc64/backtrace.c: Delete.
15023         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15024         -funwind-tables.
15025
15026 2013-01-21  Andreas Schwab  <schwab@suse.de>
15027
15028         [BZ #15020]
15029         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15030         closed its stdout.
15031
15032 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
15033
15034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15035         "mpa2.h".
15036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15037
15038 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
15039             Mark Mitchell  <mark@codesourcery.com>
15040             Tom de Vries  <tom@codesourcery.com>
15041             Paul Pluzhnikov  <ppluzhnikov@google.com>
15042
15043         * debug/tst-backtrace2.c: New file.
15044         * debug/tst-backtrace3.c: Likewise.
15045         * debug/tst-backtrace4.c: Likewise.
15046         * debug/tst-backtrace5.c: Likewise.
15047         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15048         (CFLAGS-tst-backtrace3.c): Likewise.
15049         (CFLAGS-tst-backtrace4.c): Likewise.
15050         (CFLAGS-tst-backtrace5.c): Likewise.
15051         (LDFLAGS-tst-backtrace2): Likewise.
15052         (LDFLAGS-tst-backtrace3): Likewise.
15053         (LDFLAGS-tst-backtrace4): Likewise.
15054         (LDFLAGS-tst-backtrace5): Likewise.
15055         (tests): Add new tests tst-backtrace2, tst-backtrace3,
15056         tst-backtrace4 and tst-backtrace5.
15057
15058 2013-01-18  Anton Blanchard  <anton@samba.org>
15059             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15060
15061         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15062         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15063         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15064         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15066         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15067         "+r" and remove output regs list as redundant.  Add explicit inline
15068         asm to specify register of return val to work around compiler codegen
15069         bug.  Remove (int) cast on return value.  Add return type parameter to
15070         use in macro so that this macro does not truncate return value for
15071         64-bit values.
15072         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15073         pass to INTERNAL_VSYSCALL_NCS.
15074         (INLINE_VSYSCALL): Add 'long int' as return type to
15075         INTERNAL_VSYSCALL_NCS macro invocation.
15076         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15077         INTERNAL_VSYSCALL_NCS macro invocation.
15078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15079
15080 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15081
15082         [BZ #14496]
15083         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15084         Fix application of SIMD FP exception mask.
15085
15086         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15087         mp_no from a power of two.
15088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15089         __mpexp_twomm1.  Use __pow_mp.
15090
15091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15092         multiplication.
15093
15094 2013-01-17  David S. Miller  <davem@davemloft.net>
15095
15096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15097
15098 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15099
15100         [BZ #15023]
15101         * include/complex.h: Condition contents on [!_COMPLEX_H].
15102         (__kernel_casinhf): New prototype.
15103         (__kernel_casinh): Likewise.
15104         (__kernel_casinhl): Likewise.
15105         * math/Makefile (libm_calls): Add k_casinh.
15106         * math/k_casinh.c: New file.
15107         * math/k_casinhf.c: Likewise.
15108         * math/k_casinhl.c: Likewise.
15109         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15110         finite nonzero arguments.
15111         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15112         finite nonzero arguments.
15113         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15114         finite nonzero arguments.
15115         * math/s_casinh.c: Do not include <float.h>.
15116         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15117         * math/s_casinhf.c: Do not include <float.h>.
15118         (__casinhf): Move code for finite nonzero arguments to
15119         k_casinhf.c.
15120         * math/s_casinhl.c: Do not include <float.h>.
15121         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15122         redefine.
15123         (__casinhl): Move code for finite nonzero arguments to
15124         k_casinhl.c.
15125         * math/libm-test.inc (cacos_test): Add more tests.
15126         * sysdeps/i386/fpu/libm-test-ulps: Update.
15127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15128
15129 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15130
15131         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15132         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15133         [!HAVE_MREMAP]: Remove [defined linux] case.
15134         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15135
15136 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15137
15138         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15139
15140 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15141
15142         * elf/elf.h (R_386_SIZE32): New relocation.
15143         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15144         R_386_SIZE32.
15145         (elf_machine_rela): Likewise.
15146         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15147         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15148
15149 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15150
15151         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15152         (FP_FAST_FMA): Do not define.
15153         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15154         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15155         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15156         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15157         !_SOFT_FLOAT]: Likewise.
15158         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15159         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15160         value.
15161         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15162         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15163         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15164         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15165         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15166         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15167         file.
15168
15169 2013-01-16  Andreas Schwab  <schwab@suse.de>
15170
15171         [BZ #14327]
15172         * include/stdlib.h (__mktemp): Add declaration.
15173         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15174         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15175
15176 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15177
15178         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15179         definitions.
15180         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15181         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15182         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15183         definitions here.
15184         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15185         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15186         definitions.
15187         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15188         and ONE.
15189         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15190         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15191         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15192         definitions.
15193         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15194         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15195         definitions.
15196         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15197
15198         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15199
15200 2013-01-15  David S. Miller  <davem@davemloft.net>
15201
15202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15203         trunc{,f} to libm-sysdep_routes.
15204         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15206         file.
15207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15209         file.
15210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15211         file.
15212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15214         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15215         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15216         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15217         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15218         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15219         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15220
15221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15222         nearbyint{,f} to libm-sysdep_routes.
15223         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15225         New file.
15226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15227         file.
15228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15229         New file.
15230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15231         file.
15232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15234         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15235         file.
15236         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15237         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15238         file.
15239         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15240         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15241         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15242
15243         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15244         libc_feholdexcept and libc_fesetenv.
15245
15246 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15247
15248         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15249
15250 2013-01-14  David S. Miller  <davem@davemloft.net>
15251
15252         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15253         (SPARC_ASM_VIS2_IFUNC): Likewise.
15254         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15256         use of 'siam' instruction.
15257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15258         Likewise.
15259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15260         Likewise.
15261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15262         Likewise.
15263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15268         file.
15269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15270         file.
15271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15272         file.
15273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15274         file.
15275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15277         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15278         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15280         new VIS2 routines.
15281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15284         Likewise.
15285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15290         routines to libm-sysdep_routines.
15291         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15292
15293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15294         fdim/fdimf to libm-sysdep_routines.
15295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15296         file.
15297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15299         file.
15300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15303         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15304         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15305         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15306         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15307
15308 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15309
15310         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15311         to optimize copies.
15312
15313         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15316
15317         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15318         local variable MPTWO.
15319         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15320         Likewise.
15321
15322 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15323
15324         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15325         GLOB_NOESCAPE.
15326
15327 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15328
15329         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15330
15331 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15332
15333         * manual/pattern.texi (glob_t): Document gl_flags.
15334         (glob64_t): Likewise.
15335
15336 2013-01-11  David S. Miller  <davem@davemloft.net>
15337
15338         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15339         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15340         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15341         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15342         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15343         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15344         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15345         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15346         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15347         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15348         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15349         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15350         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15351
15352         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15353         sparc V9 rather than using V8 code.
15354         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15355         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15356
15357         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15358         Move to...
15359         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15360         Here.
15361
15362 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15363
15364         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15365         not in the main loop.
15366         * configure: Regenerated.
15367
15368 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15369
15370         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15371         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15372         to just #else.
15373         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15374         [!__GLIBC_HAVE_LONG_LONG] case.
15375         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15376         condition to just #else.
15377         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15378         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15379         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15380         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15381         unconditional.
15382         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15383         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15384         #elif condition to just #else.
15385         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15386         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15387         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15388         #elif condition to just #else.
15389
15390 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15391
15392         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15393         (EF_MIPS_ARCH_64): Fix value.
15394         (EF_MIPS_ARCH_32R2): New.
15395         (EF_MIPS_ARCH_64R2): New.
15396
15397 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15398
15399         * Makeconfig (+link-pie-before-libc): New.
15400         (+link-pie-after-libc): Likewise.
15401         (+link-pie-tests): Likewise.
15402         (+link-pie): Rewritten.
15403         (link-before-libc): Remove $(config-LDFLAGS).
15404         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15405         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15406         (config-LDFLAGS): Renamed to ...
15407         (rtld-LDFLAGS): This.
15408         (rtld-tests-LDFLAGS): New macro.
15409         (link-libc-rpath-link): Likewise.
15410         (link-libc-tests-rpath-link): Likewise.
15411         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15412         (link-libc): Prepand $(link-libc-rpath-link).
15413         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15414         (test-program-prefix): New macro.
15415         (test-via-rtld-prefix): Likewise.
15416         (test-program-cmd): Likewise.
15417         (host-test-program-cmd): Likewise.
15418         * Makefile ($(common-objpfx)testrun.sh): Replace
15419         $(run-program-prefix) with $(test-program-prefix).
15420         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15421         $(rtld-LDFLAGS).
15422         ($(common-objpfx)shlib.lds): Likewise.
15423         (build-module-helper): Likewise.
15424         ($(common-objpfx)format.lds): Likewise.
15425         * Rules (binaries-pie-tests): New.
15426         (binaries-pie-notests): Likewise.
15427         (binaries-pie): Rewritten.
15428         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15429         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15430         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15431         (make-test-out): Replace $(host-built-program-cmd) with
15432         $(host-test-program-cmd).
15433         * config.make.in (build-hardcoded-path-in-tests): New variable.
15434         * configure.in (--enable-hardcoded-path-in-tests): New configure
15435         option.
15436         (hardcoded_path_in_tests): New AC_SUBST.
15437         * configure: Regenerated.
15438         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15439         $(built-program-cmd) with $(test-program-cmd).
15440         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15441         (test_program_cmd): This.
15442         * elf/Makefile ($(objpfx)order.out): Run test with
15443         $(test-program-prefix).
15444         ($(objpfx)order2.out): Likewise.
15445         ($(objpfx)tst-initorder.out): Likewise.
15446         ($(objpfx)tst-initorder2.out): Likewise.
15447         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15448         $(test-program-cmd).
15449         ($(objpfx)tst-array1-static.out): Likewise.
15450         ($(objpfx)tst-array2.out): Likewise.
15451         ($(objpfx)tst-array3.out): Likewise.
15452         ($(objpfx)tst-array4.out): Likewise.
15453         ($(objpfx)tst-array5.out): Likewise.
15454         ($(objpfx)tst-array5-static.out): Likewise.
15455         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15456         $(test-program-cmd).
15457         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15458         $(run-program-prefix) with $(test-program-prefix).
15459         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15460         (test_program_prefix): This.
15461         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15462         $(run-program-prefix) with $(test-program-prefix).
15463         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15464         (test_program_prefix): This.
15465         * iconvdata/tst-tables.sh: Likewise.
15466         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15467         $(run-program-prefix) with $(test-program-prefix).
15468         ($(objpfx)tst-translit.out): Likewise.
15469         ($(objpfx)tst-gettext2.out): Likewise.
15470         ($(objpfx)tst-gettext4.out): Likewise.
15471         ($(objpfx)tst-gettext6.out): Likewise.
15472         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15473         (test_program_prefix): This.
15474         * intl/tst-gettext2.sh: Likewise.
15475         * intl/tst-gettext4.sh  Likewise.
15476         * intl/tst-gettext6.sh: Likewise.
15477         * intl/tst-translit.sh: Likewise.
15478         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15479         with $(test-program-cmd).
15480         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15481         $(run-program-prefix) with $(test-program-prefix).
15482         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15483         (test_program_prefix): This.
15484         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15485         $(run-program-prefix) with $(test-program-prefix).
15486         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15487         (test_program_prefix): This.
15488         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15489         * posix/Makefile ($(objpfx)globtest.out): Replace
15490         $(run-via-rtld-prefix) and $(test-wrapper) with
15491         $(test-program-prefix) and $(test-via-rtld-prefix).
15492         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15493         $(test-program-prefix).
15494         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15495         $(host-test-program-cmd).
15496         (tst-spawn-ARGS): Likewise.
15497         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15498         $(test-program-prefix).
15499         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15500         (test_via_rtld_prefix): This.
15501         (test_wrapper): Renamed to ...
15502         (test_program_prefix): This.
15503         (run_program_prefix): Replaced by test_program_prefix.
15504         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15505         (test_program_prefix): This.
15506         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15507         with $(host-test-program-cmd).
15508         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15509         $(run-program-prefix) with $(test-program-prefix).
15510         ($(objpfx)tst-printf.out): Likewise.
15511         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15512         $(test-program-cmd).
15513         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15514         (test_program_prefix): This.
15515         * stdio-common/tst-unbputc.sh: Likewise.
15516         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15517         $(run-program-prefix) with $(test-program-prefix).
15518         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15519         (test_program_prefix): This.
15520         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15521         $(built-program-cmd) with $(test-program-cmd).
15522
15523 2013-01-11  Andreas Jaeger  <aj@suse.de>
15524
15525         [BZ #15003]
15526         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15527         value. Sync with Linux 3.7.
15528
15529 2013-01-10  David S. Miller  <davem@davemloft.net>
15530
15531         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15532         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15533         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15534
15535 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15536
15537         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15538         never set.
15539         * configure: Regenerated.
15540
15541 2013-01-10  David S. Miller  <davem@davemloft.net>
15542
15543         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15544         sparc V9 rather than using V8 code.
15545         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15546         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15547
15548 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15549
15550         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15551         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15552         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15553         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15554         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15555         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15556         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15557         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15558         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15559         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15560         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15561         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15562         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15563         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15564         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15565         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15566         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15567         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15568         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15569         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15570         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15571         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15572         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15573         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15574         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15575         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15576         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15577
15578 2013-01-10  David S. Miller  <davem@davemloft.net>
15579
15580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15581
15582 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15583
15584         * posix/Makefile (tests-static): New variable.
15585         (tests): Add $(tests-static).
15586         (tst-exec-static-ARGS): New variable.
15587         (tst-spawn-static-ARGS): Likewise.
15588         * posix/tst-exec-static.c: New file.
15589         * posix/tst-spawn-static.c: Likewise.
15590         * posix/tst-exec.c: Support run directly.
15591         * posix/tst-spawn.c: Likewise.
15592
15593 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15594
15595         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15596         long.
15597         * math/bits/mathcalls.h (llrint): Likewise.
15598         (llround): Likewise.
15599         * stdlib/stdlib.h (struct drand48_data): Likewise.
15600         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15601         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15602         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15603         Likewise.
15604         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15605         Likewise.
15606         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15607         (elf_greg_t): Likewise.
15608         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15609         (__jmp_buf): Likewise.
15610         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15611         definitions.
15612         (llrint): Likewise, for all definitions.
15613         (llrintl): Likewise.
15614
15615         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15616         Remove [__GNUC__] condition.
15617         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15618         condition to just [__USE_ISOC99].
15619         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15620
15621 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15622
15623         [BZ #14200]
15624         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15625         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15626         defined.
15627         (_POSIX_V6_ILP32_OFF32): Likewise.
15628         (_XBS5_ILP32_OFF32): Likewise.
15629         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15630         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15631
15632 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15633
15634         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15635
15636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15637         doubles __mpexp_twomm1.  Adjust usage.
15638         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15639         Remove.
15640
15641 2013-01-10  Andreas Schwab  <schwab@suse.de>
15642
15643         [BZ #14964]
15644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15645         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15646
15647 2013-01-09  David S. Miller  <davem@davemloft.net>
15648
15649         [BZ #15003]
15650         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15651         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15652         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15653         TCP_FASTOPEN): Define.
15654         (tcp_repair_opt): New structure.
15655         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15656         enum values.
15657         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15658         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15659         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15660         (tcp_cookie_transactions): New structure.
15661
15662 2013-01-09  Anton Blanchard  <anton@samba.org>
15663
15664         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15665         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15666         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15667         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15668
15669 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15670
15671         * include/features.h (__USE_ANSI): Remove.
15672
15673 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15674
15675         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15676
15677         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15678
15679 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15680
15681         * sysdeps/s390/fpu/libm-test-ulps: Update.
15682
15683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15684
15685         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15686         (__acr): Likewise.
15687         (__cpy): Likewise.
15688         (norm): Likewise.
15689         (denorm): Likewise.
15690         (__mp_dbl): Likewise.
15691         (__dbl_mp): Likewise.
15692         (add_magnitudes): Likewise.
15693         (sub_magnitudes): Likewise.
15694         (__add): Likewise.
15695         (__sub): Likewise.
15696         (__mul): Likewise.
15697         (__inv): Likewise.
15698         (__dvd): Likewise.
15699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15700         (__acr): Likewise.
15701         (__cpy): Likewise.
15702         (norm): Likewise.
15703         (denorm): Likewise.
15704         (__mp_dbl): Likewise.
15705         (__dbl_mp): Likewise.
15706         (add_magnitudes): Likewise.
15707         (sub_magnitudes): Likewise.
15708         (__add): Likewise.
15709         (__sub): Likewise.
15710         (__mul): Likewise.
15711         (__inv): Likewise.
15712         (__dvd): Likewise.
15713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15714         (__acr): Likewise.
15715         (__cpy): Likewise.
15716         (norm): Likewise.
15717         (denorm): Likewise.
15718         (__mp_dbl): Likewise.
15719         (__dbl_mp): Likewise.
15720         (add_magnitudes): Likewise.
15721         (sub_magnitudes): Likewise.
15722         (__add): Likewise.
15723         (__sub): Likewise.
15724         (__mul): Likewise.
15725         (__inv): Likewise.
15726         (__dvd): Likewise.
15727
15728 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15729
15730         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15731         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15732         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15733         2 && __USE_EXTERN_INLINES]: Likewise.
15734
15735 2013-01-08  Andreas Jaeger  <aj@suse.de>
15736
15737         [BZ# 14985]
15738         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15739         Remove.
15740         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15741         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15742
15743 2013-01-07  Anton Blanchard  <anton@samba.org>
15744
15745         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15746         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15747         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15748         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15749         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15750         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15751         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15752         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15754         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15755         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15756         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15757         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15758         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15759         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15760         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15761         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15762         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15763         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15765         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15766         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15767         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15768         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15769         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15770         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15771         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15772         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15773         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15774         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15775         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15777         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15778         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15779         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15780         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15782         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15783         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15785         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15786         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15787         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15788
15789 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15790
15791         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15792         (__MALLOC_PMT): Likewise.
15793         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15794         [__GNUC__], only on [_LIBC].
15795         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15796         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15797         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15798         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15799         forward declaration.
15800         (realloc_hook_ini): Likewise.
15801         (memalign_hook_ini): Likewise.
15802         (__libc_memalign): Do not use __MALLOC_PMT in variable
15803         declaration.
15804         (__libc_valloc): Likewise.
15805         (__libc_pvalloc): Likewise.
15806         (__libc_calloc): Likewise.
15807         (__posix_memalign): Likewise.
15808
15809         [BZ #14996]
15810         * math/s_casinh.c: Include <float.h>.
15811         (__casinh): Do not do computation with squaring and square root
15812         for large arguments.
15813         * math/s_casinhf.c: Include <float.h>.
15814         (__casinhf): Do not do computation with squaring and square root
15815         for large arguments.
15816         * math/s_casinhl.c: Include <float.h>.
15817         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15818         (__casinhl): Do not do computation with squaring and square root
15819         for large arguments.
15820         * math/libm-test.inc (casin_test): Add more tests.
15821         (casinh_test): Likewise.
15822         * sysdeps/i386/fpu/libm-test-ulps: Update.
15823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15824
15825 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15826
15827         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15828         (__x86_64_raw_data_cache_size): Likewise.
15829         (__x86_64_data_cache_size_half): Likewise.
15830         (__x86_64_raw_data_cache_size_half): Likewise.
15831         (__x86_64_shared_cache_size): Likewise.
15832         (__x86_64_raw_shared_cache_size): Likewise.
15833         (__x86_64_shared_cache_size_half): Likewise.
15834         (__x86_64_raw_shared_cache_size_half): Likewise.
15835         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15836         to ...
15837         (__x86_data_cache_size): This.
15838         (__x86_64_raw_data_cache_size): Renamed to ...
15839         (__x86_raw_data_cache_size): This.
15840         (__x86_64_data_cache_size_half): Renamed to ...
15841         (__x86_data_cache_size_half): This.
15842         (__x86_64_raw_data_cache_size_half): Renamed to ...
15843         (__x86_raw_data_cache_size_half): This.
15844         (__x86_64_shared_cache_size): Renamed to ...
15845         (__x86_shared_cache_size): This.
15846         (__x86_64_raw_shared_cache_size): Renamed to ...
15847         (__x86_raw_shared_cache_size): This.
15848         (__x86_64_shared_cache_size_half): Renamed to ...
15849         (__x86_shared_cache_size_half): This.
15850         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15851         (__x86_raw_shared_cache_size_half): This.
15852         * sysdeps/x86_64/memcpy.S: Updated.
15853         * sysdeps/x86_64/memset.S: Likewise.
15854         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15855         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15857
15858 2013-01-04  David S. Miller  <davem@davemloft.net>
15859
15860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15861
15862 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15863
15864         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15865         1 to avoid redefinition warning.
15866         (__USE_GNU): Don't define.
15867         (init_signaling_nan): Protoize.
15868
15869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15870
15871 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15872
15873         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15875         (__cpymn): Likewise.
15876         (norm): Remove commented code.
15877         (denorm): Likewise.
15878         (__mp_dbl): Likewise.
15879         (__inv): Likewise.
15880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15881         (__cpymn): Likewise.
15882         (norm): Remove commented code.
15883         (denorm): Likewise.
15884         (__mp_dbl): Likewise.
15885         (__inv): Likewise.
15886
15887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15888         mp_no value for 1.0 and 2.0.
15889         (norm): Use RADIXI instead of radixi.d.
15890         (denorm): Likewise.
15891         (__mul): Use 0.0 instead of zero.d.
15892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15893         mp_no value for 1.0 and 2.0.
15894         (norm): Use RADIXI instead of radixi.d.
15895         (denorm): Likewise.
15896         (__mul): Use 0.0 instead of zero.d.
15897
15898 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15899
15900         [BZ #14994]
15901         * math/s_casinh.c (__casinh): Reduce finite argument to first
15902         quadrant then set signs of results at the end.
15903         * math/s_casinhf.c (__casinhf): Likewise.
15904         * math/s_casinhl.c (__casinhl): Likewise.
15905         * math/libm-test.inc (casin_test): Add more tests.
15906         (casinh_test): Likewise.
15907         * sysdeps/i386/fpu/libm-test-ulps: Update.
15908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15909
15910 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15911
15912         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15913
15914         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15915
15916         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15917         declarations.
15918         (denorm): Likewise.
15919         (__mp_dbl): Likewise.
15920         (__inv): Likewise.
15921
15922         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15923         and adjust the header comment.
15924
15925         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15926         variable name from declaration.
15927
15928 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15929
15930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15931         Initialize COMMON_CPUID_INDEX_7 element.
15932         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15933         (CPUID_RTM): Likewise.
15934         (HAS_RTM): Likewise.
15935         (COMMON_CPUID_INDEX_7): New enum.
15936
15937 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15938
15939         [BZ #14981]
15940         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15941         size is zero, record memory as freed.
15942
15943 2013-01-03  Andreas Jaeger  <aj@suse.de>
15944
15945         * po/ia.po: Add new Interlingua translation.
15946
15947 2012-01-03  Allan McRae  <allan@archlinux.org>
15948
15949         * locale/programs/localedef.c: Fix description of '--posix' flag.
15950
15951 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15952
15953         * NEWS: Update dates in second copyright notice.
15954         * README: Update copyright dates in example.
15955         * manual/libc.texinfo: Update copyright dates.
15956         * scripts/test-installation.pl: Update copyright date in --version
15957         output.
15958
15959         * hurd/ctty-input.c: Fix copyright notice formatting.
15960         * hurd/ctty-output.c: Likewise.
15961         * hurd/dtable.c: Likewise.
15962         * hurd/hurd-raise.c: Likewise.
15963         * hurd/hurdprio.c: Likewise.
15964         * hurd/msgportdemux.c: Likewise.
15965         * misc/sys/file.h: Likewise.
15966         * misc/sys/ioctl.h: Likewise.
15967         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15968         * sysdeps/mach/hurd/chdir.c: Likewise.
15969         * sysdeps/mach/hurd/fchdir.c: Likewise.
15970         * sysdeps/mach/hurd/rename.c: Likewise.
15971         * sysdeps/mach/hurd/rmdir.c: Likewise.
15972         * sysdeps/mach/hurd/seekdir.c: Likewise.
15973         * sysdeps/mach/hurd/setsid.c: Likewise.
15974         * sysdeps/posix/wait3.c: Likewise.
15975
15976         * All files with FSF copyright notices: Update copyright dates
15977         using scripts/update-copyrights.
15978         * intl/plural.c: Regenerated.
15979         * locale/programs/charmap-kw.h: Likewise.
15980         * locale/programs/locfile-kw.h: Likewise.
15981
15982 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15983
15984         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15985         four values.
15986
15987         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15988         calculation loop and add branch prediction.
15989
15990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15991         check access beyond bounds of m1np.
15992
15993         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15994         MPTWO.
15995         (__inv): Remove local variable MPTWO to use the global
15996         constant.
15997         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15998         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15999         variable MPTWO.
16000         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16001         MP3HALFS static const.
16002
16003 2013-01-01  David S. Miller  <davem@davemloft.net>
16004
16005         * po/ca.po: Update from translation team.
16006
16007 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
16008
16009         * scripts/update-copyrights: New file.
16010         * Makeconfig: Reformat copyright notice.
16011         * ctype/ctype.h: Likewise.
16012         * debug/swprintf_chk.c: Likewise.
16013         * elf/dl-cache.c: Likewise.
16014         * elf/dl-debug.c: Likewise.
16015         * elf/dl-object.c: Likewise.
16016         * grp/initgroups.c: Likewise.
16017         * hurd/Makefile: Likewise.
16018         * hurd/hurd/signal.h: Likewise.
16019         * hurd/hurdfault.c: Likewise.
16020         * hurd/hurdioctl.c: Likewise.
16021         * hurd/hurdlookup.c: Likewise.
16022         * hurd/intr-msg.c: Likewise.
16023         * iconv/gconv_open.c: Likewise.
16024         * libio/swprintf.c: Likewise.
16025         * locale/lc-ctype.c: Likewise.
16026         * locale/nl_langinfo.c: Likewise.
16027         * mach/Machrules: Likewise.
16028         * mach/Makefile: Likewise.
16029         * malloc/obstack.h: Likewise.
16030         * manual/Makefile: Likewise.
16031         * manual/tsort.awk: Likewise.
16032         * misc/bits/stab.def: Likewise.
16033         * nis/nis_print_group_entry.c: Likewise.
16034         * nis/nis_table.c: Likewise.
16035         * nis/nss_compat/compat-pwd.c: Likewise.
16036         * nis/nss_compat/compat-spwd.c: Likewise.
16037         * po/Makefile: Likewise.
16038         * posix/fnmatch.c: Likewise.
16039         * posix/regex.h: Likewise.
16040         * resolv/Makefile: Likewise.
16041         * resolv/nss_dns/dns-network.c: Likewise.
16042         * resolv/res_hconf.c: Likewise.
16043         * scripts/gen-sorted.awk: Likewise.
16044         * soft-fp/soft-fp.h: Likewise.
16045         * stdio-common/printf.h: Likewise.
16046         * stdlib/monetary.h: Likewise.
16047         * stdlib/random.c: Likewise.
16048         * stdlib/random_r.c: Likewise.
16049         * sysdeps/generic/Makefile: Likewise.
16050         * sysdeps/gnu/Makefile: Likewise.
16051         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16052         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16053         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16055         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16056         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16058         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16059         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16061         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16062         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16063         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16064         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16065         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16066         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16067         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16068         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16069         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16070         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16071         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16072         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16073         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16074         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16075         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16077         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16078         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16079         * sysdeps/mach/hurd/errnos.awk: Likewise.
16080         * sysdeps/mach/hurd/fork.c: Likewise.
16081         * sysdeps/mach/hurd/getcwd.c: Likewise.
16082         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16083         * sysdeps/mach/hurd/mmap.c: Likewise.
16084         * sysdeps/mach/hurd/utimes.c: Likewise.
16085         * sysdeps/mach/hurd/xmknod.c: Likewise.
16086         * sysdeps/posix/profil.c: Likewise.
16087         * sysdeps/posix/readdir_r.c: Likewise.
16088         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16089         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16090         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16091         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16093         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16094         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16095         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16097         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16098         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16099         * sysdeps/pthread/lio_listio.c: Likewise.
16100         * sysdeps/sparc/dl-procinfo.h: Likewise.
16101         * sysdeps/unix/i386/sysdep.S: Likewise.
16102         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16103         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16104         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16105         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16107         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16108         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16109         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16110         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16111         * sysdeps/wordsize-32/divdi3.c: Likewise.
16112         * time/sys/time.h: Likewise.
16113         * wcsmbs/Makefile: Likewise.
16114
16115 2013-01-01  David S. Miller  <davem@davemloft.net>
16116
16117         * po/fr.po: Update from translation team.
16118
16119         * catgets/gencat.c: Update copyright year.
16120         * csu/version.c: Likewise.
16121         * debug/catchsegv.sh: Likewise.
16122         * debug/pcprofiledump.c: Likewise.
16123         * debug/xtrace.sh: Likewise.
16124         * elf/ldconfig.c: Likewise.
16125         * elf/ldd.bash.in: Likewise.
16126         * elf/pldd.c: Likewise.
16127         * elf/sotruss.ksh: Likewise.
16128         * elf/sprof.c: Likewise.
16129         * iconv/iconv_prog.c: Likewise.
16130         * iconv/iconvconfig.c: Likewise.
16131         * locale/programs/locale.c: Likewise.
16132         * locale/programs/localedef.c: Likewise.
16133         * login/programs/pt_chown.c: Likewise.
16134         * malloc/memusage.sh: Likewise.
16135         * malloc/memusagestat.c: Likewise.
16136         * malloc/mtrace.pl: Likewise.
16137         * nscd/nscd.c: Likewise.
16138         * nss/getent.c: Likewise.
16139         * nss/makedb.c: Likewise.
16140         * posix/getconf.c: Likewise.
16141
16142 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16143
16144         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16145         numbers.
16146
16147 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16148
16149         * math/bits/mathcalls.h (modf): Use __nonnull.
16150
16151 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16152
16153         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16154         (split): Use macro CN instead of the bare value.
16155         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16156         could be used.
16157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16158         instead of the bare value.
16159         (power1): Likewise.
16160
16161 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16162
16163         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16164         __ATAN_TWOM.
16165         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16166
16167         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16168         their values.
16169         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16170         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16171         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16172         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16173
16174 2012-12-28  Andreas Jaeger  <aj@suse.de>
16175
16176         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16177         values are from Linux 3.7.
16178
16179         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16180         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16181
16182 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16183
16184         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16185         TRUE case.
16186
16187         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16188         (norm): Likewise.
16189         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16190         variables with preprocessor constants.
16191         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16192         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16193         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16194
16195 2012-12-27  Bruno Haible  <bruno@clisp.org>
16196
16197         [BZ #14317]
16198         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16199         only if needed.
16200
16201 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16202
16203         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16204         and use variable directly.
16205         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16206
16207         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16208         MPONE.
16209         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16210         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16211         variable MPONE.
16212         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16214         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16215         include directive.  Remove local variable MPONE.
16216         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16217         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16218         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16219
16220 2012-12-25  David S. Miller  <davem@davemloft.net>
16221
16222         * version.h (RELEASE): Set to "development".
16223         (VERSION): Set to "2.17.90".
16224         * NEWS: Add 2.18 section.
16225
16226 2012-12-21  David S. Miller  <davem@davemloft.net>
16227
16228         * po/hr.po: Update from translation team.
16229
16230 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16231
16232         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16233
16234 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16235
16236         * NEWS:  Mention new memcpy for MIPS.
16237
16238 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16239
16240         * manual/contrib.texi (Contributors): Spelling correction.
16241
16242 2012-12-15  David S. Miller  <davem@davemloft.net>
16243
16244         * po/ru.po: Update from translation team.
16245
16246 2012-12-13  David S. Miller  <davem@davemloft.net>
16247
16248         * NEWS: Mention IFUNC testsuite enhancements.
16249
16250         * po/pl.po: Update from translation team.
16251         * po/bg.po: Likewise.
16252
16253         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16254         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16255
16256 2012-12-11  David S. Miller  <davem@davemloft.net>
16257
16258         * po/sv.po: Update from translation team.
16259
16260         * po/vi.po: Update from translation team.
16261
16262         * po/cs.po: Update from translation team.
16263
16264         * po/de.po: Update from translation team.
16265         * po/eo.po: Likewise.
16266         * po/nl.po: Likewise.
16267
16268 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16269
16270         [BZ #14246]
16271         * manual/argp.texi (Argp Helper Functions): Move node to follow
16272         Argp Parsing State.
16273
16274         [BZ #14872]
16275         * manual/conf.texi (Limits on File System Capacity): Mention if
16276         terminating null is included in the max size.
16277
16278 2012-12-10  Andreas Jaeger  <aj@suse.de>
16279
16280         * po/cs.po: Update from translation team.
16281
16282 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16283
16284         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16285         void pointer and cast to uintptr_t.
16286         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16287         path.
16288         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16289         * sysdeps/s390/s390-64/memset.S: Likewise.
16290
16291 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
16292
16293         [BZ #14833]
16294         * menual/message.texi (Message Translation): Fix typos.
16295         (Helper programs for gettext): Likewise.
16296
16297 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
16298
16299         [BZ #14898]
16300         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16301         Change to -1.
16302
16303 2012-12-07  David S. Miller  <davem@davemloft.net>
16304
16305         * po/libc.pot: Update.
16306
16307 2012-12-07  Richard Henderson  <rth@redhat.com>
16308
16309         [BZ #10114]
16310         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16311         normal/normal case to before the switch.
16312         (_FP_DIV): Likewise.
16313
16314 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
16315             Mike Frysinger  <vapier@gentoo.org>
16316
16317         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16318         check for __NR_fadvise64_64.
16319
16320 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
16321
16322         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16323         0, not just to plain "0" as a statement.
16324         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16325         with cw.
16326
16327 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
16328
16329         * NEWS: Use sourceware.org in Bugzilla URL.
16330
16331 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16332
16333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16334         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16335
16336         * stdio-common/tst-put-error.c (do_test): Add newline to the
16337         padded test to ensure flush.
16338
16339 2012-12-05  Jeff Law  <law@redhat.com>
16340
16341         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16342
16343 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16344
16345         * README: Don't refer to ports add-on as distributed separately.
16346         Mention AArch64 in list of systems supported in the ports add-on.
16347
16348         * LICENSES: Add more non-FSF copyright and license notices.
16349
16350         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16351         ((unused)).
16352
16353         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16354
16355         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16356         10000 as width of padded output.
16357
16358 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16359
16360         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16361
16362         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16363         variable LX with __attribute__ ((unused)).
16364         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16365         Likewise.
16366         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16368         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16369         with __attribute__ ((unused)).
16370
16371 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16372
16373         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16374
16375 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16376
16377         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16378         (CFLAGS-nldbl-acos.c): New variable.
16379         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16380         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16381         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16382         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16383         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16384         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16385         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16386         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16387         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16388         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16389         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16390         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16391         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16392         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16393         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16394         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16395         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16396         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16397         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16398         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16399         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16400         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16401         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16402         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16403         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16404         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16405         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16406         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16407         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16408         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16409         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16410         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16411         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16412         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16413         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16414         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16415         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16416         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16417         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16418         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16419         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16420         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16421         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16422         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16423         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16424         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16425         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16426         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16427         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16428         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16429         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16430         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16431         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16432         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16433         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16434         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16435         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16436         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16437         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16438         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16439         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16440         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16441         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16442         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16443         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16444         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16445         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16446         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16447         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16448         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16449         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16450         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16451         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16452         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16453         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16454         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16455         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16456         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16457         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16458         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16459         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16460         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16461         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16462         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16463         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16464         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16465         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16466         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16467         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16468         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16469         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16470         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16471         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16472         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16473         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16474         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16475         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16476
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16478         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16479
16480         [BZ #14914]
16481         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16482         whole low double instead of just low 47 bits when splitting values
16483         into two parts.
16484
16485 2012-12-03  Allan McRae  <allan@archlinux.org>
16486
16487         * manual/stdio.texi (Predefined Printf Handlers): Remove
16488         @hsep and @vsep usage.
16489
16490 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16491
16492         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16493         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16494
16495 2012-12-03  Jeff Law  <law@redhat.com>
16496
16497         * time/sys/time.h (settimeofday): Do not mark TV argument
16498         as __nonnull.
16499
16500 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16501
16502         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16503         when currently writing and seek to current position when not.
16504         * libio/Makefile (tests): Remove bug-fclose1.
16505         * libio/bug-fclose1.c: Delete.
16506
16507 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16508
16509         * manual/arith.texi (feenableexcept): Fix typo.
16510         (fedisableexcept): Likewise.
16511
16512 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16513
16514         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16515         second, differently-typed declaration, rather than a cast.
16516
16517 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16518
16519         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16520         * include/rpc/svc.h: ... here.
16521
16522 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16523
16524         [BZ #13013]
16525         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16526         depending n and resplen2 to catch cases where answer
16527         equals answerp2.
16528
16529 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16530
16531         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16532         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16533
16534 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16535
16536         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16537
16538 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16539
16540         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16541
16542 2012-11-28  Jeff Law  <law@redhat.com>
16543
16544         [BZ #13761]
16545         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16546         dataset_temporary.  Track alloca usage into alloca_used.
16547         If dataset is large allocate and release it via malloc/free.
16548
16549 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16550
16551         [BZ #14197]
16552         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16553
16554 2012-11-28  David S. Miller  <davem@davemloft.net>
16555
16556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16557
16558 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16559
16560         [BZ #14803]
16561         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16562         of pi/2 rounded to nearest to 64 bits.
16563         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16564         nearest to 64 bits.
16565         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16566         bits.
16567
16568 2012-11-28  Jeff Law <law@redhat.com>
16569             Martin Osvald <mosvald@redhat.com>
16570
16571         [BZ #14889]
16572         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16573         * sunrpc/svc.c: Include time.h.
16574         (__svc_accept_failed): New function.
16575         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16576         any reason other than EINTR, call __svc_accept_failed.
16577         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16578         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16579
16580 2012-11-28  Andreas Schwab  <schwab@suse.de>
16581
16582         * scripts/abilist.awk: Also handle indirect functions in .opd
16583         section.
16584
16585 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16586
16587         [BZ #13881]
16588         * sysdeps/x86/fpu/powl_helper.c: New file.
16589         * sysdeps/x86/fpu/Makefile: Likewise.
16590         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16591         (p3): New object.
16592         (__ieee754_powl): Use __powl_helper for finite arguments except
16593         integer exponents below 8.
16594         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16595         (p3): New object.
16596         (__ieee754_powl): Use __powl_helper for finite arguments except
16597         integer exponents below 8.
16598         * math/libm-test.inc (pow_test): Add more tests and enable some
16599         previously disabled tests.
16600         * sysdeps/i386/fpu/libm-test-ulps: Update.
16601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16602
16603 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16604             Carlos O'Donell  <carlos_odonell@mentor.com>
16605
16606         * nss/makedb.c (is_prime): Assert that input is odd and greater
16607         than 4.  Note that fact in a comment too.
16608         (next_prime): Add 4 to input.
16609
16610 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16611
16612         [BZ #11741]
16613         * libio/Makefile (tests): Add test case tst-fwrite-error.
16614         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16615         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16616         * libio/tst-fwrite-error.c: New test case.
16617
16618 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16619
16620         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16621         before casting to void *.
16622         * include/libc-internal.h (__pointer_type): New macro.
16623         (__integer_if_pointer_type_sub): Likewise.
16624         (__integer_if_pointer_type): Likewise.
16625         (cast_to_integer): Likewise.
16626         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16627         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16628         before casting to atomic64_t.
16629         (atomic_exchange_acq): Likewise.
16630         (__arch_exchange_and_add_body): Likewise.
16631         (__arch_add_body): Likewise.
16632         (atomic_add_negative): Likewise.
16633         (atomic_add_zero): Likewise.
16634
16635 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16636
16637         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16638         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16639         (add_fdes): Likewise.
16640         (linear_search_fdes): Likewise.
16641         (binary_search_unencoded_fdes): Likewise.
16642
16643 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16644
16645         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16646
16647 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16648
16649         * configure.in: Autodetect C++ header directories.
16650         * configure: Regenerated.
16651
16652 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16653
16654         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16655
16656 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16657
16658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16659
16660 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16661
16662         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16663         LDBL_MANT_DIG == 106]: Disable some tests.
16664         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16665         Likewise.
16666         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16667         Likewise.
16668
16669         [BZ #14871]
16670         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16671         input for small inputs.  Return +/- pi/2 for large inputs.
16672         * math/libm-test.inc (atan_test): Add more tests.
16673
16674         * sysdeps/generic/unwind-dw2-fde-glibc.c
16675         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16676         __attribute__ ((unused)).
16677
16678         [BZ #14645]
16679         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16680         x * y if x and y are nonzero and z is zero.
16681
16682         [BZ #14811]
16683         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16684         nonzero exponents with absolute value below 0x1p-117 to +/-
16685         0x1p-117.
16686
16687         [BZ #14869]
16688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16689         up arguments below 2**-450, not just those below 2**-500.
16690         * math/libm-test.inc (hypot_test): Add another test.
16691
16692         [BZ #14868]
16693         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16694         Return a+b for ratio over 2**120, not 2**60.
16695         * math/libm-test.inc (hypot_test): Add another test.
16696
16697         * math/libm-test.inc (clog_test): Use
16698         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16699         (clog10_test): Likewise.
16700
16701         [BZ #6778]
16702         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16703
16704 2012-11-22  Andreas Schwab  <schwab@suse.de>
16705
16706         * sysdeps/i386/fpu/libm-test-ulps: Update.
16707
16708 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16709
16710         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16711         printf output with newline.
16712
16713 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16714
16715         [BZ #14865]
16716         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16717         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16718         -z nodlopen, -z initfirst and -z execstack support.
16719         * configure: Regenerated.
16720
16721         * elf/elf.h (DF_1_NODIRECT): New macro.
16722         (DF_1_IGNMULDEF): Likewise.
16723         (DF_1_NOKSYMS): Likewise.
16724         (DF_1_NOHDR): Likewise.
16725         (DF_1_EDITED): Likewise.
16726         (DF_1_NORELOC): Likewise.
16727         (DF_1_SYMINTPOSE): Likewise.
16728         (DF_1_GLOBAUDIT): Likewise.
16729         (DF_1_SINGLETON): Likewise.
16730         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16731         DT_1_SUPPORTED_MASK bits.
16732         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16733
16734 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16735
16736         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16737
16738 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16739
16740         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16741         macro.
16742
16743         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16744         (sendmmsg): Move declarations...
16745         * socket/sys/socket.h: ... here.
16746         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16747         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16748         include it from...
16749         * socket/recvmmsg.c: ... this new file.
16750         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16751         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16752         definition of __sendmmsg hidden.
16753         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16754         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16755         Move ENOSYS stub into and include it from...
16756         * socket/sendmmsg.c: ... this new file.
16757         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16758         (sysdep_routines): Move recvmmsg and sendmmsg...
16759         * socket/Makefile (routines): ... here.
16760         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16761         (GLIBC_PRIVATE): Add __sendmmsg.
16762         * include/sys/socket.h (__sendmmsg): Add declarations.
16763         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16764         sendmmsg.
16765
16766 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16767
16768         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16769         variable I1 with __attribute__ ((unused)).
16770         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16771
16772 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16773
16774         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16775         DUMMY variables with __attribute__ ((unused)).
16776
16777         * bits/byteswap.h: Include <bits/types.h>.
16778         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16779
16780 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16781
16782         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16783         string_t.  Do not manually set errno.
16784         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16785         length with __strnlen.  Make sure to both set errno and return it on
16786         failure.
16787
16788 2012-11-19  David S. Miller  <davem@davemloft.net>
16789
16790         With help from Joseph Myers.
16791         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16792         very large arguments properly.
16793         * math/libm-test.inc (atan_test): New tests.
16794         (atan2_test): New tests.
16795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16797
16798 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16799
16800         [BZ #14856]
16801         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16802         Define to 3.
16803
16804         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16805         [POSIX] (EADDRNOTAVAIL): Likewise.
16806         [POSIX] (EAFNOSUPPORT): Likewise.
16807         [POSIX] (EALREADY): Likewise.
16808         [POSIX] (ECONNABORTED): Likewise.
16809         [POSIX] (ECONNREFUSED): Likewise.
16810         [POSIX] (ECONNRESET): Likewise.
16811         [POSIX] (EDESTADDRREQ): Likewise.
16812         [POSIX] (EDQUOT): Likewise.
16813         [POSIX] (EHOSTUNREACH): Likewise.
16814         [POSIX] (EIDRM): Likewise.
16815         [POSIX] (EISCONN): Likewise.
16816         [POSIX] (ELOOP): Likewise.
16817         [POSIX] (EMULTIHOP): Likewise.
16818         [POSIX] (ENETDOWN): Likewise.
16819         [POSIX] (ENETUNREACH): Likewise.
16820         [POSIX] (ENOBUFS): Likewise.
16821         [POSIX] (ENODATA): Likewise.
16822         [POSIX] (ENOLINK): Likewise.
16823         [POSIX] (ENOMSG): Likewise.
16824         [POSIX] (ENOPROTOOPT): Likewise.
16825         [POSIX] (ENOSR): Likewise.
16826         [POSIX] (ENOSTR): Likewise.
16827         [POSIX] (ENOTCONN): Likewise.
16828         [POSIX] (ENOTSOCK): Likewise.
16829         [POSIX] (EOPNOTSUPP): Likewise.
16830         [POSIX] (EOVERFLOW): Likewise.
16831         [POSIX] (EPROTO): Likewise.
16832         [POSIX] (EPROTONOSUPPORT): Likewise.
16833         [POSIX] (EPROTOTYPE): Likewise.
16834         [POSIX] (ESTALE): Likewise.
16835         [POSIX] (ETIME): Likewise.
16836         [POSIX] (ETXTBSY): Likewise.
16837         [POSIX] (EWOULDBLOCK): Likewise.
16838         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16839         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16840         [POSIX] (SEEK_CUR): Likewise.
16841         [POSIX] (SEEK_END): Likewise.
16842         [POSIX || UNIX98] (mode_t): Do not require.
16843         [POSIX] (off_t): Likewise.
16844         [POSIX] (pid_t): Likewise.
16845         [POSIX] (sys/stat.h): Do not allow header.
16846         [POSIX] (unistd.h): Likewise.
16847         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16848         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16849         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16850         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16851         require.
16852         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16853         sigevent): Specify elements.
16854         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16855         entry.
16856         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16857         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16858
16859         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16860         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16861         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16862         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16863         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16864         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16865         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16866         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16867         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16868         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16869         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16870         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16871         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16872         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16873         Likewise.
16874         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16875         Likewise.
16876         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16877         Likewise.
16878         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16879         Likewise.
16880         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16881         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16882         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16883         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16884         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16885         Specify lower bound on value.
16886         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16887         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16888         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16889         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16890         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16891         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16892         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16893         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16894         value.
16895         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16896         as optional.
16897         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16898         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16899         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16900         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16901         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16902         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16903         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16904         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16905         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16906         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16907         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16908         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16909         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16910         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16911         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16912         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16913         entry.
16914         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16915         optional.
16916         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16917         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16918         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16919         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16920         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16921         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16922         Likewise.
16923         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16924         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16925         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16926         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16927         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16928         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16929         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16930         as optional.
16931         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16932         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16933         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16934         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16935         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16936         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16937         specify as optional.
16938         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16939         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16940         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16941         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16942         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16943         [XPG3] (NL_LANGMAX): Likewise.
16944         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16945         [POSIX || XPG3] (NL_NMAX): Likewise.
16946         [POSIX || XPG3] (NL_SETMAX): Likewise.
16947         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16948         [XPG3] (NZERO): Likewise.
16949         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16950         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16951         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16952         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16953         (REG_ERANGE): Expect.
16954         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16955         optional-constant.
16956         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16957         Use (void) in prototype.
16958         [POSIX] (*_t): Allow.
16959         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16960         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16961         (WRDE_BADVAL): Expect.
16962
16963         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16964         expect.
16965         [XPG3 || XPG4] (O_RSYNC): Likewise.
16966         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16967         Likewise.
16968         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16969         [XPG3 || XPG4] (sigqueue): Likewise.
16970         [XPG3 || XPG4] (sigtimedwait): Likewise.
16971         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16972         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16973         [XPG3 || XPG4] (vsnprintf): Likewise.
16974         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16975         Likewise.
16976         [XPG3 || XPG4] (blksize_t): Likewise.
16977         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16978         Likewise.
16979         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16980         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16981         [XPG3 || XPG4] (struct itimerspec): Likewise.
16982         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16983         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16984         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16985         [XPG3 || XPG4] (clockid_t): Likewise.
16986         [XPG3 || XPG4] (timer_t): Likewise.
16987         [XPG3 || XPG4] (clock_getres): Likewise.
16988         [XPG3 || XPG4] (clock_gettime): Likewise.
16989         [XPG3 || XPG4] (clock_settime): Likewise.
16990         [XPG3 || XPG4] (nanosleep): Likewise.
16991         [XPG3 || XPG4] (timer_create): Likewise.
16992         [XPG3 || XPG4] (timer_delete): Likewise.
16993         [XPG3 || XPG4] (timer_gettime): Likewise.
16994         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16995         [XPG3 || XPG4] (timer_settime): Likewise.
16996         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16997         [XPG3 || XPG4] (getlogin_r): Likewise.
16998         [XPG3 || XPG4] (pread): Likewise.
16999         [XPG3 || XPG4] (pthread_atfork): Likewise.
17000         [XPG3 || XPG4] (pwrite): Likewise.
17001
17002         [BZ #14835]
17003         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17004         <bits/siginfo.h>.
17005
17006 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17007
17008         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17009         finalizing MALLSTREAM.
17010
17011         * sysdeps/mach/hurd/syncfs.c: New file.
17012
17013 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17014
17015         [BZ #14719]
17016         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17017         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17018         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17019         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17020         (_nss_dns_gethostbyname4_r): Likewise.
17021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17022         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17023
17024 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
17025
17026         [BZ #13763]
17027         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17028
17029 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
17030
17031         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17032         * elf/cache.c (print_entry): Print ",AArch64" for
17033         FLAG_AARCH64_LIB64
17034
17035         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17036         * elf/cache.c (print_entry): Print ",hard-float" for
17037         FLAG_ARM_LIBHF.
17038
17039 2012-11-18  David S. Miller  <davem@davemloft.net>
17040
17041         With help from Joseph Myers.
17042         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17043         cutoff to 2**-13.
17044         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17045         cutoff to 2**-25.
17046         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17047         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17048         small.
17049         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17050         * math/libm-test.inc (y0_test): New tests.
17051         (y1_test): New tests.
17052         * sysdeps/i386/fpu/libm-test-ulps: Update.
17053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17055
17056 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
17057
17058         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17059         64-bit targets.
17060         * configure: Regenerated.
17061
17062 2012-11-17  David S. Miller  <davem@davemloft.net>
17063
17064         [BZ #14811]
17065         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17066         nonzero exponents with absolute value below 0x1p-128 to +/-
17067         0x1p-128.
17068
17069 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17070
17071         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17072
17073         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17074
17075         * posix/getconf-speclist.c: New file.
17076         * posix/posix-envs.def: Likewise.
17077         * posix/confstr.c (START_ENV_GROUP): New macro.
17078         (END_ENV_GROUP): Likewise.
17079         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17080         (KNOWN_PRESENT_ENV_STRING): Likewise.
17081         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17082         (UNKNOWN_ENVIRONMENT): Likewise.
17083         (confstr): Include posix-envs.def instead of handling
17084         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17085         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17086         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17087         (END_ENV_GROUP): Likewise.
17088         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17089         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17090         (UNKNOWN_ENVIRONMENT): Likewise.
17091         (__sysconf): Include posix-envs.def instead of handling associated
17092         cases directly here.
17093         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17094         preprocessing getconf-speclist.c rather than running getconf or
17095         generating empty file.
17096
17097 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17098
17099         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17100
17101 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17102
17103         [BZ #14672]
17104         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17105
17106 2012-11-16  David S. Miller  <davem@davemloft.net>
17107
17108         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17109         smaller than LDBL_EPSILON/2.0L, just return xm1.
17110
17111 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17112
17113         * elf/tst-array1.c (init): Set constructor priority to 1000.
17114         (fini): Set destructor priority to 1000.
17115         * elf/tst-array2dep.c: Likewise.
17116
17117 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17118
17119         [BZ #11741]
17120         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17121         (_IO_new_file_xsputn): Also return EOF if none of the input
17122         data was written when overflow failed.
17123         * libio/iopadn.c (_IO_padn): Likewise.
17124         * libio/iowpadn.c (_IO_wpadn): Likewise.
17125         * stdio-common/tst-put-error.c: Add copyright notice.
17126         (do_test): Add case for printing padded string.
17127         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17128         _IO_padn returned error.
17129         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17130         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17131         return EOF.
17132
17133 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17134
17135         * libio/libioP.h: Add comment note that the references to C++
17136         bits are now obsolete.
17137
17138 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17139
17140         * math/libm-test.inc (check_complex): Use asprintf.
17141
17142 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17143
17144         * debug/pcprofiledump.c (print_version): Update copyright year.
17145         * malloc/memusagestat.c (print_version): Likewise.
17146
17147 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17148
17149         [BZ #14831]
17150         * elf/Makefile (tests): Add tst-audit8.
17151         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17152         ($(objpfx)tst-audit8.out): New target.
17153         (tst-audit8-ENV): New variable.
17154         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17155         audit if l_reloc_result is NULL.
17156         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17157         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17158         * elf/tst-audit8.c: New file.
17159
17160 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17161
17162         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17163         * misc/Makefile (CFLAGS-select.c): Define.
17164         * posix/Makefile (CFLAGS-pause.c): Define.
17165
17166 2012-11-13  David S. Miller  <davem@davemloft.net>
17167
17168         * crypt/Makefile: Move test targets after toplevel Rules
17169         inclusion.  Grab any necessary sysdep routines when linking.
17170         * crypt/md5.c (md5_process_block): Remove define, we will always
17171         name it __md5_process_block.
17172         (md5_finish_ctx): Update md5_process_block call.
17173         (md5_stream): Likewise.
17174         (md5_process_bytes): Likewise.
17175         (md5_process_block): Rename to __md5_process_block and move to ...
17176         * crypt/md5-block.c: ... here.
17177         * crypt/sha256.c (sha256_process_block): Move to ...
17178         * crypt/sha256-block.c: ... here.
17179         * crypt/sha512.c (sha512_process_block): Move to ...
17180         * crypt/sha512-block.c: ... here.
17181         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17182         path.
17183         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17184         * sysdeps/sparc/sparc64/multiarch/Makefile
17185         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17186         crypt subdir.
17187         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17188         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17189         multiarch changes.
17190         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17191         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17192         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17193         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17194         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17195         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17196         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17197         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17198         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17199         file.
17200         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17201         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17202         file.
17203         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17204
17205 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17206
17207         * timezone/tzselect.ksh: Update from tzcode git revision
17208         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17209         * timezone/zdump.c: Likewise.
17210         * timezone/zic.c: Likewise.
17211         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17212         in TZVERSION setting, not $(PKGVERSION).
17213         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17214         REPORT_BUGS_TO settings.
17215
17216         [BZ #14838]
17217         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17218         macro.
17219
17220 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17221
17222         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17223         detection to immediately after _FP_ROUND().
17224         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17225         bits are 0.
17226
17227 2012-11-11  David S. Miller  <davem@davemloft.net>
17228
17229         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17230         inttypes.h
17231         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17232         __close rather than their public counterparts.
17233
17234 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17235
17236         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17237         file.
17238         [UNIX98] (sem_timedwait): Do not expect.
17239         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17240         [XPG4 || UNIX98] (sockatmark): Do not expect.
17241         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17242         (clock_getcpuclockid): Do not expect.
17243         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17244         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17245         Do not expect.
17246         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17247         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17248         [UNIX98] (vwscanf): Likewise.
17249         [UNIX98] (vswscanf): Likewise.
17250
17251 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17252
17253         * timezone/version.h: Remove file.
17254         * timezone/README: Do not refer to version.h.
17255         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17256         $(objpfx)version.h.
17257         ($(objpfx)zdump.o): Likewise.
17258         ($(objpfx)version.h): New target.
17259
17260         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17261         2012i.
17262         * timezone/README: Don't mention modification to tzselect.ksh.
17263         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17264         work on unmodified tzselect.ksh.  Substitute version numbers in
17265         tzselect.ksh.
17266
17267         * Makefile (format-me): Remove.
17268         (INSTALL): Adjust indentation.  Use commands directly instead of
17269         using $(format-me).
17270
17271         * aclocal.m4 (ACX_PKGVERSION): New macro.
17272         (ACX_BUGURL): Likewise.
17273         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17274         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17275         (REPORT_BUGS_TO): Likewise.
17276         * configure: Regenerated.
17277         * config.h.in (PKGVERSION): New macro.
17278         (REPORT_BUGS_TO): Likewise.
17279         * config.make.in (PKGVERSION): New variable.
17280         (PKGVERSION_TEXI): Likewise.
17281         (REPORT_BUGS_TO): Likewise.
17282         (REPORT_BUGS_TEXI): Likewise.
17283         * Makefile (format-me): Use -I$(common-objpfx)manual.
17284         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17285         ($(common-objpfx)manual/%): New target.
17286         (manual/%): Remove target.
17287         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17288         (print_version): Use PKGVERSION.
17289         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17290         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17291         and REPORT_BUGS_TO.
17292         ($(objpfx)xtrace): Likewise.
17293         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17294         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17295         (print_version): Use PKGVERSION.
17296         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17297         (do_version): Use PKGVERSION.
17298         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17299         REPORT_BUGS_TO.
17300         (common-ldd-rewrite): Likewise.
17301         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17302         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17303         (print_version): Use PKGVERSION.
17304         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17305         * elf/pldd.c (argp_program_bug_address): Remove variable.
17306         (more_help): New function.
17307         (argp): Use more_help.
17308         (print_version): Use PKGVERSION.
17309         * elf/sln.c (main): Use PKGVERSION.
17310         (usage): Use REPORT_BUGS_TO.
17311         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17312         (top level): Use PKGVERSION.
17313         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17314         (print_version): Use PKGVERSION.
17315         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17316         (print_version): Use PKGVERSION.
17317         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17318         (print_version): Use PKGVERSION.
17319         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17320         (print_version): Use PKGVERSION.
17321         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17322         (print_version): Use PKGVERSION.
17323         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17324         (print_version): Use PKGVERSION.
17325         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17326         and BUGURL.
17327         ($(objpfx)memusage): Likewise.
17328         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17329         (do_version): Use PKGVERSION.
17330         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17331         (print_version): Use PKGVERSION.
17332         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17333         ($PKGVERSION): New variable.
17334         ($REPORT_BUGS_TO): Likewise.
17335         (usage): Use $REPORT_BUGS_TO.
17336         (top level): Use $PKGVERSION.
17337         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17338         ($(objpfx)pkgvers.texi): New rule.
17339         ($(objpfx)stamp-pkgvers): Likewise.
17340         * manual/install.texi: Include pkgvers.texi.
17341         (--with-pkgversion): Document new configure option.
17342         (--with-bugurl): Likewise.
17343         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17344         than necessarily for this particular distribution.  Use
17345         REPORT_BUGS_TO for where to report bugs.
17346         * INSTALL: Regenerated.
17347         * manual/libc.texinfo: Include pkgvers.texi.
17348         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17349         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17350         (print_version): Use PKGVERSION.
17351         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17352         (print_version): Use PKGVERSION.
17353         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17354         (print_version): Use PKGVERSION.
17355         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17356         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17357         macro.
17358         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17359         (print_version): Use PKGVERSION.
17360         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17361         (print_version): Use PKGVERSION.
17362         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17363         and PKGVERSION.
17364
17365         * timezone/checktab.awk: Update from tzcode 2012i.
17366         * timezone/ialloc.c: Likewise.
17367         * timezone/private.h: Likewise.
17368         * timezone/scheck.c: Likewise.
17369         * timezone/tzfile.h: Likewise.
17370         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17371         (TZVERSION): Hardcode tzcode version number.
17372         * timezone/zdump.c: Update from tzcode 2012i.
17373         * timezone/zic.c: Likewise.
17374         * timezone/version.h: New file.
17375         * timezone/README: Describe version.h.  Update upstream location.
17376
17377         [BZ #14824]
17378         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17379         (mktemp): Enable declaration.
17380         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17381         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17382         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17383         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17384         Likewise.
17385         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17386         Likewise.
17387         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17388         Likewise.
17389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17390         Likewise.
17391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17392         Likewise.
17393         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17394         Likewise.
17395
17396         [BZ #14821]
17397         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17398         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17399         for copies of such integer values.
17400         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17401         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17402
17403 2012-11-09  Andreas Jaeger  <aj@suse.de>
17404
17405         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17406         definitions and declarations that are provided by
17407         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17408
17409 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17410
17411         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17412         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17413         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17414         definition.
17415
17416 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17417
17418         * elf/elf.h: Update comment before AArch64 relocations.
17419
17420 2012-11-07  David S. Miller  <davem@davemloft.net>
17421
17422         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17423         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17424         (__start_context): Declare.
17425         (__makecontext_ret): Delete.
17426         (__makecontext): Hook up __start_context instead of
17427         __makecontext_ret.
17428         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17429         (sysdep_routines): Add __start_context when in stdlib.
17430
17431 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17432
17433         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17434         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17435         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17436         hardcoded "nm".
17437         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17438         (READELF): New variable.  Use it instead of hardcoded "readelf".
17439
17440 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17441
17442         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17443         * sysdeps/x86/Makefile: Here.
17444         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17445         * sysdeps/x86/tst-xmmymm.sh: This.
17446
17447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17448
17449         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17450         expectations.
17451         [UNIX98] (pthread_barrier_t): Do not expect.
17452         [UNIX98] (pthread_barrierattr_t): Likewise.
17453         [UNIX98] (pthread_spinlock_t): Likewise.
17454         [UNIX98] (pthread_barrier_destroy): Likewise.
17455         [UNIX98] (pthread_barrier_init): Likewise.
17456         [UNIX98] (pthread_barrier_wait): Likewise.
17457         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17458         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17459         [UNIX98] (pthread_barrierattr_init): Likewise.
17460         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17461         [UNIX98] (pthread_getcpuclockid): Likewise.
17462         [UNIX98] (pthread_mutex_timedlock): Likewise.
17463         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17464         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17465         [UNIX98] (pthread_sigmask): Likewise.
17466         [UNIX98] (pthread_spin_destroy): Likewise.
17467         [UNIX98] (pthread_spin_init): Likewise.
17468         [UNIX98] (pthread_spin_lock): Likewise.
17469         [UNIX98] (pthread_spin_trylock): Likewise.
17470         [UNIX98] (pthread_spin_unlock): Likewise.
17471         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17472         Do not expect.
17473         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17474         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17475         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17476         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17477         [XPG3 || XPG4] (pthread_key_t): Likewise.
17478         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17479         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17480         [XPG3 || XPG4] (pthread_once_t): Likewise.
17481         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17482         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17483         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17484         [XPG3 || XPG4] (pthread_t): Likewise.
17485
17486         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17487         not expect.
17488         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17489
17490         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17491         Change function return type to int.
17492
17493         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17494         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17495         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17496         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17497         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17498         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17499         [!POSIX] (posix_madvise): Likewise.
17500         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17501         && !UNIX98].
17502         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17503         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17504         (mode_t): Likewise.
17505         (posix_mem_offset): Likewise.
17506         (posix_typed_mem_get_info): Likewise.
17507         (posix_typed_mem_open): Likewise.
17508
17509         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17510         Change condition to [XOPEN2K8].
17511
17512         * conform/conformtest.pl: Preprocess allow-header data with -x c
17513         instead of from stdin.
17514         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17515         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17516         [C99-based standards] (cerfc): Likewise.
17517         [C99-based standards] (cexp2): Likewise.
17518         [C99-based standards] (cexpm1): Likewise.
17519         [C99-based standards] (clog10): Likewise.
17520         [C99-based standards] (clog1p): Likewise.
17521         [C99-based standards] (clog2): Likewise.
17522         [C99-based standards] (clgamma): Likewise.
17523         [C99-based standards] (ctgamma): Likewise.
17524         [C99-based standards] (cerff): Likewise.
17525         [C99-based standards] (cerfcf): Likewise.
17526         [C99-based standards] (cexp2f): Likewise.
17527         [C99-based standards] (cexpm1f): Likewise.
17528         [C99-based standards] (clog10f): Likewise.
17529         [C99-based standards] (clog1pf): Likewise.
17530         [C99-based standards] (clog2f): Likewise.
17531         [C99-based standards] (clgammaf): Likewise.
17532         [C99-based standards] (ctgammaf): Likewise.
17533         [C99-based standards] (cerfl): Likewise.
17534         [C99-based standards] (cerfcl): Likewise.
17535         [C99-based standards] (cexp2l): Likewise.
17536         [C99-based standards] (cexpm1l): Likewise.
17537         [C99-based standards] (clog10l): Likewise.
17538         [C99-based standards] (clog1pl): Likewise.
17539         [C99-based standards] (clog2l): Likewise.
17540         [C99-based standards] (clgammal): Likewise.
17541         [C99-based standards] (ctgammal): Likewise.
17542         * conform/data/inttypes.h-data [C99-based standards]: Include
17543         stdint.h-data.  Remove all expectations for stdint.h contents.
17544         [C99-based standards] (PRI*): Do not allow.
17545         [C99-based standards] (SCN*): Likewise.
17546         [C99-based standards] (*_t): Likewise.
17547         [C99-based-standards] (PRId8): Expect macro.
17548         [C99-based-standards] (PRIi8): Likewise.
17549         [C99-based-standards] (PRIo8): Likewise.
17550         [C99-based-standards] (PRIu8): Likewise.
17551         [C99-based-standards] (PRIx8): Likewise.
17552         [C99-based-standards] (PRIX8): Likewise.
17553         [C99-based-standards] (SCNd8): Likewise.
17554         [C99-based-standards] (SCNi8): Likewise.
17555         [C99-based-standards] (SCNo8): Likewise.
17556         [C99-based-standards] (SCNu8): Likewise.
17557         [C99-based-standards] (SCNx8): Likewise.
17558         [C99-based-standards] (PRIdLEAST8): Likewise.
17559         [C99-based-standards] (PRIiLEAST8): Likewise.
17560         [C99-based-standards] (PRIoLEAST8): Likewise.
17561         [C99-based-standards] (PRIuLEAST8): Likewise.
17562         [C99-based-standards] (PRIxLEAST8): Likewise.
17563         [C99-based-standards] (PRIXLEAST8): Likewise.
17564         [C99-based-standards] (SCNdLEAST8): Likewise.
17565         [C99-based-standards] (SCNiLEAST8): Likewise.
17566         [C99-based-standards] (SCNoLEAST8): Likewise.
17567         [C99-based-standards] (SCNuLEAST8): Likewise.
17568         [C99-based-standards] (SCNxLEAST8): Likewise.
17569         [C99-based-standards] (PRIdFAST8): Likewise.
17570         [C99-based-standards] (PRIiFAST8): Likewise.
17571         [C99-based-standards] (PRIoFAST8): Likewise.
17572         [C99-based-standards] (PRIuFAST8): Likewise.
17573         [C99-based-standards] (PRIxFAST8): Likewise.
17574         [C99-based-standards] (PRIXFAST8): Likewise.
17575         [C99-based-standards] (SCNdFAST8): Likewise.
17576         [C99-based-standards] (SCNiFAST8): Likewise.
17577         [C99-based-standards] (SCNoFAST8): Likewise.
17578         [C99-based-standards] (SCNuFAST8): Likewise.
17579         [C99-based-standards] (SCNxFAST8): Likewise.
17580         [C99-based-standards] (PRId16): Likewise.
17581         [C99-based-standards] (PRIi16): Likewise.
17582         [C99-based-standards] (PRIo16): Likewise.
17583         [C99-based-standards] (PRIu16): Likewise.
17584         [C99-based-standards] (PRIx16): Likewise.
17585         [C99-based-standards] (PRIX16): Likewise.
17586         [C99-based-standards] (SCNd16): Likewise.
17587         [C99-based-standards] (SCNi16): Likewise.
17588         [C99-based-standards] (SCNo16): Likewise.
17589         [C99-based-standards] (SCNu16): Likewise.
17590         [C99-based-standards] (SCNx16): Likewise.
17591         [C99-based-standards] (PRIdLEAST16): Likewise.
17592         [C99-based-standards] (PRIiLEAST16): Likewise.
17593         [C99-based-standards] (PRIoLEAST16): Likewise.
17594         [C99-based-standards] (PRIuLEAST16): Likewise.
17595         [C99-based-standards] (PRIxLEAST16): Likewise.
17596         [C99-based-standards] (PRIXLEAST16): Likewise.
17597         [C99-based-standards] (SCNdLEAST16): Likewise.
17598         [C99-based-standards] (SCNiLEAST16): Likewise.
17599         [C99-based-standards] (SCNoLEAST16): Likewise.
17600         [C99-based-standards] (SCNuLEAST16): Likewise.
17601         [C99-based-standards] (SCNxLEAST16): Likewise.
17602         [C99-based-standards] (PRIdFAST16): Likewise.
17603         [C99-based-standards] (PRIiFAST16): Likewise.
17604         [C99-based-standards] (PRIoFAST16): Likewise.
17605         [C99-based-standards] (PRIuFAST16): Likewise.
17606         [C99-based-standards] (PRIxFAST16): Likewise.
17607         [C99-based-standards] (PRIXFAST16): Likewise.
17608         [C99-based-standards] (SCNdFAST16): Likewise.
17609         [C99-based-standards] (SCNiFAST16): Likewise.
17610         [C99-based-standards] (SCNoFAST16): Likewise.
17611         [C99-based-standards] (SCNuFAST16): Likewise.
17612         [C99-based-standards] (SCNxFAST16): Likewise.
17613         [C99-based-standards] (PRId32): Likewise.
17614         [C99-based-standards] (PRIi32): Likewise.
17615         [C99-based-standards] (PRIo32): Likewise.
17616         [C99-based-standards] (PRIu32): Likewise.
17617         [C99-based-standards] (PRIx32): Likewise.
17618         [C99-based-standards] (PRIX32): Likewise.
17619         [C99-based-standards] (SCNd32): Likewise.
17620         [C99-based-standards] (SCNi32): Likewise.
17621         [C99-based-standards] (SCNo32): Likewise.
17622         [C99-based-standards] (SCNu32): Likewise.
17623         [C99-based-standards] (SCNx32): Likewise.
17624         [C99-based-standards] (PRIdLEAST32): Likewise.
17625         [C99-based-standards] (PRIiLEAST32): Likewise.
17626         [C99-based-standards] (PRIoLEAST32): Likewise.
17627         [C99-based-standards] (PRIuLEAST32): Likewise.
17628         [C99-based-standards] (PRIxLEAST32): Likewise.
17629         [C99-based-standards] (PRIXLEAST32): Likewise.
17630         [C99-based-standards] (SCNdLEAST32): Likewise.
17631         [C99-based-standards] (SCNiLEAST32): Likewise.
17632         [C99-based-standards] (SCNoLEAST32): Likewise.
17633         [C99-based-standards] (SCNuLEAST32): Likewise.
17634         [C99-based-standards] (SCNxLEAST32): Likewise.
17635         [C99-based-standards] (PRIdFAST32): Likewise.
17636         [C99-based-standards] (PRIiFAST32): Likewise.
17637         [C99-based-standards] (PRIoFAST32): Likewise.
17638         [C99-based-standards] (PRIuFAST32): Likewise.
17639         [C99-based-standards] (PRIxFAST32): Likewise.
17640         [C99-based-standards] (PRIXFAST32): Likewise.
17641         [C99-based-standards] (SCNdFAST32): Likewise.
17642         [C99-based-standards] (SCNiFAST32): Likewise.
17643         [C99-based-standards] (SCNoFAST32): Likewise.
17644         [C99-based-standards] (SCNuFAST32): Likewise.
17645         [C99-based-standards] (SCNxFAST32): Likewise.
17646         [C99-based-standards] (PRId64): Likewise.
17647         [C99-based-standards] (PRIi64): Likewise.
17648         [C99-based-standards] (PRIo64): Likewise.
17649         [C99-based-standards] (PRIu64): Likewise.
17650         [C99-based-standards] (PRIx64): Likewise.
17651         [C99-based-standards] (PRIX64): Likewise.
17652         [C99-based-standards] (SCNd64): Likewise.
17653         [C99-based-standards] (SCNi64): Likewise.
17654         [C99-based-standards] (SCNo64): Likewise.
17655         [C99-based-standards] (SCNu64): Likewise.
17656         [C99-based-standards] (SCNx64): Likewise.
17657         [C99-based-standards] (PRIdLEAST64): Likewise.
17658         [C99-based-standards] (PRIiLEAST64): Likewise.
17659         [C99-based-standards] (PRIoLEAST64): Likewise.
17660         [C99-based-standards] (PRIuLEAST64): Likewise.
17661         [C99-based-standards] (PRIxLEAST64): Likewise.
17662         [C99-based-standards] (PRIXLEAST64): Likewise.
17663         [C99-based-standards] (SCNdLEAST64): Likewise.
17664         [C99-based-standards] (SCNiLEAST64): Likewise.
17665         [C99-based-standards] (SCNoLEAST64): Likewise.
17666         [C99-based-standards] (SCNuLEAST64): Likewise.
17667         [C99-based-standards] (SCNxLEAST64): Likewise.
17668         [C99-based-standards] (PRIdFAST64): Likewise.
17669         [C99-based-standards] (PRIiFAST64): Likewise.
17670         [C99-based-standards] (PRIoFAST64): Likewise.
17671         [C99-based-standards] (PRIuFAST64): Likewise.
17672         [C99-based-standards] (PRIxFAST64): Likewise.
17673         [C99-based-standards] (PRIXFAST64): Likewise.
17674         [C99-based-standards] (SCNdFAST64): Likewise.
17675         [C99-based-standards] (SCNiFAST64): Likewise.
17676         [C99-based-standards] (SCNoFAST64): Likewise.
17677         [C99-based-standards] (SCNuFAST64): Likewise.
17678         [C99-based-standards] (SCNxFAST64): Likewise.
17679         [C99-based-standards] (PRIdMAX): Likewise.
17680         [C99-based-standards] (PRIiMAX): Likewise.
17681         [C99-based-standards] (PRIoMAX): Likewise.
17682         [C99-based-standards] (PRIuMAX): Likewise.
17683         [C99-based-standards] (PRIxMAX): Likewise.
17684         [C99-based-standards] (PRIXMAX): Likewise.
17685         [C99-based-standards] (SCNdMAX): Likewise.
17686         [C99-based-standards] (SCNiMAX): Likewise.
17687         [C99-based-standards] (SCNoMAX): Likewise.
17688         [C99-based-standards] (SCNuMAX): Likewise.
17689         [C99-based-standards] (SCNxMAX): Likewise.
17690         [C99-based-standards] (PRIdPTR): Likewise.
17691         [C99-based-standards] (PRIiPTR): Likewise.
17692         [C99-based-standards] (PRIoPTR): Likewise.
17693         [C99-based-standards] (PRIuPTR): Likewise.
17694         [C99-based-standards] (PRIxPTR): Likewise.
17695         [C99-based-standards] (PRIXPTR): Likewise.
17696         [C99-based-standards] (SCNdPTR): Likewise.
17697         [C99-based-standards] (SCNiPTR): Likewise.
17698         [C99-based-standards] (SCNoPTR): Likewise.
17699         [C99-based-standards] (SCNuPTR): Likewise.
17700         [C99-based-standards] (SCNxPTR): Likewise.
17701         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17702         allow.
17703         * conform/data/stdint.h-data: Update comments to clarify
17704         requirements.
17705         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17706         type.
17707         [C99-based standards] (INT8_MAX): Likewise.
17708         [C99-based standards] (INT16_MIN): Likewise.
17709         [C99-based standards] (INT16_MAX): Likewise.
17710         [C99-based standards] (INT32_MIN): Likewise.
17711         [C99-based standards] (INT32_MAX): Likewise.
17712         [C99-based standards] (INT64_MIN): Likewise.
17713         [C99-based standards] (INT64_MAX): Likewise.
17714         [C99-based standards] (UINT8_MAX): Likewise.
17715         [C99-based standards] (UINT16_MAX): Likewise.
17716         [C99-based standards] (UINT32_MAX): Likewise.
17717         [C99-based standards] (UINT64_MAX): Likewise.
17718         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17719         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17720         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17721         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17722         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17723         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17724         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17725         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17726         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17727         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17728         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17729         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17730         [C99-based standards] (INT_FAST8_MIN): Likewise.
17731         [C99-based standards] (INT_FAST8_MAX): Likewise.
17732         [C99-based standards] (INT_FAST16_MIN): Likewise.
17733         [C99-based standards] (INT_FAST16_MAX): Likewise.
17734         [C99-based standards] (INT_FAST32_MIN): Likewise.
17735         [C99-based standards] (INT_FAST32_MAX): Likewise.
17736         [C99-based standards] (INT_FAST64_MIN): Likewise.
17737         [C99-based standards] (INT_FAST64_MAX): Likewise.
17738         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17739         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17740         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17741         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17742         [C99-based standards] (INTPTR_MIN): Likewise.
17743         [C99-based standards] (INTPTR_MAX): Likewise.
17744         [C99-based standards] (UINTPTR_MAX): Likewise.
17745         [C99-based standards] (INTMAX_MIN): Likewise.
17746         [C99-based standards] (INTMAX_MAX): Likewise.
17747         [C99-based standards] (UINTMAX_MAX): Likewise.
17748         [C99-based standards] (PTRDIFF_MIN): Likewise.
17749         [C99-based standards] (PTRDIFF_MAX): Likewise.
17750         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17751         [C99-based standards] (SIZE_MAX): Likewise.
17752         [C99-based standards] (WCHAR_MAX): Likewise.
17753         [C99-based standards] (WINT_MAX): Likewise.
17754         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17755         constraint on value.
17756         [C99-based standards] (WCHAR_MIN): Likewise.
17757         [C99-based standards] (WINT_MIN): Likewise.
17758         [C99-based standards] (*_t): Allow.
17759         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17760         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17761         Include math.h-data and complex.h-data.  Remove all expectations
17762         of math.h and complex.h contents.
17763         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17764         at end of line.
17765         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17766         (struct tm): Expect tag.
17767         [C99-based-standards] (wcstof): Expect function.
17768         [C99-based-standards] (wcstold): Likewise.
17769         [C99-based-standards] (wcstoll): Likewise.
17770         [C99-based-standards] (wcstoull): Likewise.
17771         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17772         macro-int-constant.  Specify type.
17773         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17774         constraint on value.
17775         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17776         Specify type.
17777         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17778         Specify value.
17779         [ISO C standards]: Do not allow headers.
17780         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17781         wcs[abcdefghijklmnopqrstuvwxyz]*.
17782         [ISO C standards] (*_t): Do not allow.
17783         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17784         Expect function.
17785         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17786         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17787         Specify type.
17788         [ISO C standards]: Do not allow headers.
17789         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17790         is[abcdefghijklmnopqrstuvwxyz]*.
17791         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17792         to[abcdefghijklmnopqrstuvwxyz]*.
17793         [ISO C standards] (*_t): Do not allow.
17794         * conform/data/stdalign.h-data: New file.
17795         * conform/data/stdbool.h-data: Likewise.
17796         * conform/data/stdnoreturn.h-data: Likewise.
17797
17798 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17799
17800         [BZ #14815]
17801         * manual/filesys.texi (Directory Entries): Typo fix.
17802         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17803
17804 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17805
17806         * elf/elf.h (EM_AARCH64): New macro.
17807         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17808         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17809         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17810         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17811         (R_AARCH64_TLSDESC): Likewise.
17812         (NT_ARM_TLS): Likewise.
17813         (NT_ARM_HW_BREAK): Likewise.
17814         (NT_ARM_HW_WATCH): Likewise.
17815
17816 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17817
17818         [BZ #14811]
17819         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17820         (__ieee754_powl): Saturate nonzero exponents with absolute value
17821         below 0x1p-79 to +/- 0x1p-79.
17822         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17823         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17824         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17825         nonzero exponents with absolute value below 0x1p-32 to +/-
17826         0x1p-32.
17827         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17828         (__ieee754_powl): Saturate nonzero exponents with absolute value
17829         below 0x1p-79 to +/- 0x1p-79.
17830         * math/libm-test.inc (pow_test): Add more tests.
17831
17832 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17833
17834         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17835         _dl_s390_cap_flags with kernel. Increase string length.
17836         (_dl_s390_platforms): Add z196 and zEC12.
17837
17838 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17839
17840         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17841         Change XOPEN21K to XOPEN2K.
17842
17843 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17844
17845         * string/memmove.c: Use memcpy when possible.
17846
17847 2012-11-06  Andreas Jaeger  <aj@suse.de>
17848
17849         * po/eo.po: Update from translation team.
17850
17851 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17852
17853         [BZ #14793]
17854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17855         exponent and small x and y exponents, scale x or y up.  Increase
17856         by 2 the exponent used in scaling up.
17857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17859         * math/libm-test.inc (fma_test): Add more tests.
17860         (fma_test_towardzero): Likewise.
17861         (fma_test_downward): Likewise.
17862         (fma_test_upward): Likewise.
17863
17864 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17865
17866         [BZ #14805]
17867         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17868         fenv_t *.
17869
17870         [BZ #14801]
17871         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17872         namespace for names of struct fields.
17873         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17874         fenv_t fields.
17875         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17876         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17877
17878 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17879
17880         [BZ #3665]
17881         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17882
17883 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17884
17885         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17886         PTR_DEMANGLE.
17887
17888         [BZ #5246]
17889         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17890         PTR_DEMANGLE.
17891
17892 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17893
17894         [BZ #14797]
17895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17896         definitely overflow as x * y not x * y + z.
17897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17898         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17899         * math/libm-test.inc (fma_test): Add more tests.
17900         (fma_test_towardzero): Likewise.
17901         (fma_test_downward): Likewise.
17902         (fma_test_upward): Likewise.
17903
17904 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17905
17906         [BZ #157]
17907
17908         * include/stub-tag.h: Remove file.
17909         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17910         '#include' of it.
17911         * manual/maint.texi (Porting): Don't reference it.
17912         * Makerules ($(objpfx)stubs): Likewise.
17913         * dirent/closedir.c: Don't include <stub-tag.h>.
17914         * dirent/dirfd.c: Likewise.
17915         * dirent/fdopendir.c: Likewise.
17916         * dirent/getdents.c: Likewise.
17917         * dirent/getdents64.c: Likewise.
17918         * dirent/opendir.c: Likewise.
17919         * dirent/readdir.c: Likewise.
17920         * dirent/readdir64.c: Likewise.
17921         * dirent/readdir64_r.c: Likewise.
17922         * dirent/readdir_r.c: Likewise.
17923         * dirent/rewinddir.c: Likewise.
17924         * dirent/seekdir.c: Likewise.
17925         * dirent/telldir.c: Likewise.
17926         * gmon/profil.c: Likewise.
17927         * grp/setgroups.c: Likewise.
17928         * inet/if_index.c: Likewise.
17929         * io/access.c: Likewise.
17930         * io/chdir.c: Likewise.
17931         * io/chmod.c: Likewise.
17932         * io/chown.c: Likewise.
17933         * io/close.c: Likewise.
17934         * io/dup.c: Likewise.
17935         * io/dup2.c: Likewise.
17936         * io/dup3.c: Likewise.
17937         * io/euidaccess.c: Likewise.
17938         * io/faccessat.c: Likewise.
17939         * io/fchdir.c: Likewise.
17940         * io/fchmod.c: Likewise.
17941         * io/fchmodat.c: Likewise.
17942         * io/fchown.c: Likewise.
17943         * io/fchownat.c: Likewise.
17944         * io/fcntl.c: Likewise.
17945         * io/flock.c: Likewise.
17946         * io/fstatfs.c: Likewise.
17947         * io/fstatfs64.c: Likewise.
17948         * io/fstatvfs.c: Likewise.
17949         * io/fstatvfs64.c: Likewise.
17950         * io/futimens.c: Likewise.
17951         * io/fxstat.c: Likewise.
17952         * io/fxstat64.c: Likewise.
17953         * io/fxstatat.c: Likewise.
17954         * io/fxstatat64.c: Likewise.
17955         * io/getcwd.c: Likewise.
17956         * io/isatty.c: Likewise.
17957         * io/lchmod.c: Likewise.
17958         * io/lchown.c: Likewise.
17959         * io/link.c: Likewise.
17960         * io/linkat.c: Likewise.
17961         * io/lseek.c: Likewise.
17962         * io/lseek64.c: Likewise.
17963         * io/lxstat64.c: Likewise.
17964         * io/mkdir.c: Likewise.
17965         * io/mkdirat.c: Likewise.
17966         * io/mkfifo.c: Likewise.
17967         * io/mkfifoat.c: Likewise.
17968         * io/open.c: Likewise.
17969         * io/open64.c: Likewise.
17970         * io/openat.c: Likewise.
17971         * io/openat64.c: Likewise.
17972         * io/pipe.c: Likewise.
17973         * io/pipe2.c: Likewise.
17974         * io/poll.c: Likewise.
17975         * io/posix_fadvise.c: Likewise.
17976         * io/posix_fadvise64.c: Likewise.
17977         * io/posix_fallocate.c: Likewise.
17978         * io/posix_fallocate64.c: Likewise.
17979         * io/read.c: Likewise.
17980         * io/readlink.c: Likewise.
17981         * io/readlinkat.c: Likewise.
17982         * io/rmdir.c: Likewise.
17983         * io/sendfile.c: Likewise.
17984         * io/sendfile64.c: Likewise.
17985         * io/statfs.c: Likewise.
17986         * io/statfs64.c: Likewise.
17987         * io/statvfs.c: Likewise.
17988         * io/statvfs64.c: Likewise.
17989         * io/symlink.c: Likewise.
17990         * io/symlinkat.c: Likewise.
17991         * io/ttyname.c: Likewise.
17992         * io/ttyname_r.c: Likewise.
17993         * io/umask.c: Likewise.
17994         * io/unlink.c: Likewise.
17995         * io/unlinkat.c: Likewise.
17996         * io/utime.c: Likewise.
17997         * io/utimensat.c: Likewise.
17998         * io/write.c: Likewise.
17999         * io/xmknod.c: Likewise.
18000         * io/xmknodat.c: Likewise.
18001         * io/xstat.c: Likewise.
18002         * io/xstat64.c: Likewise.
18003         * login/getpt.c: Likewise.
18004         * login/grantpt.c: Likewise.
18005         * login/unlockpt.c: Likewise.
18006         * math/e_acoshl.c: Likewise.
18007         * math/e_acosl.c: Likewise.
18008         * math/e_asinl.c: Likewise.
18009         * math/e_atan2l.c: Likewise.
18010         * math/e_atanhl.c: Likewise.
18011         * math/e_coshl.c: Likewise.
18012         * math/e_expl.c: Likewise.
18013         * math/e_fmodl.c: Likewise.
18014         * math/e_gammal_r.c: Likewise.
18015         * math/e_hypotl.c: Likewise.
18016         * math/e_j0l.c: Likewise.
18017         * math/e_j1l.c: Likewise.
18018         * math/e_jnl.c: Likewise.
18019         * math/e_lgammal_r.c: Likewise.
18020         * math/e_log10l.c: Likewise.
18021         * math/e_log2l.c: Likewise.
18022         * math/e_logl.c: Likewise.
18023         * math/e_powl.c: Likewise.
18024         * math/e_rem_pio2l.c: Likewise.
18025         * math/e_sinhl.c: Likewise.
18026         * math/e_sqrtl.c: Likewise.
18027         * math/fclrexcpt.c: Likewise.
18028         * math/fedisblxcpt.c: Likewise.
18029         * math/feenablxcpt.c: Likewise.
18030         * math/fegetenv.c: Likewise.
18031         * math/fegetexcept.c: Likewise.
18032         * math/fegetround.c: Likewise.
18033         * math/feholdexcpt.c: Likewise.
18034         * math/fesetenv.c: Likewise.
18035         * math/fesetround.c: Likewise.
18036         * math/feupdateenv.c: Likewise.
18037         * math/fgetexcptflg.c: Likewise.
18038         * math/fraiseexcpt.c: Likewise.
18039         * math/fsetexcptflg.c: Likewise.
18040         * math/ftestexcept.c: Likewise.
18041         * math/k_cosl.c: Likewise.
18042         * math/k_rem_pio2l.c: Likewise.
18043         * math/k_sinl.c: Likewise.
18044         * math/k_tanl.c: Likewise.
18045         * math/s_asinhl.c: Likewise.
18046         * math/s_atanl.c: Likewise.
18047         * math/s_cbrtl.c: Likewise.
18048         * math/s_erfl.c: Likewise.
18049         * math/s_expm1l.c: Likewise.
18050         * math/s_log1pl.c: Likewise.
18051         * math/s_tanhl.c: Likewise.
18052         * misc/acct.c: Likewise.
18053         * misc/brk.c: Likewise.
18054         * misc/chflags.c: Likewise.
18055         * misc/chroot.c: Likewise.
18056         * misc/fchflags.c: Likewise.
18057         * misc/fgetxattr.c: Likewise.
18058         * misc/flistxattr.c: Likewise.
18059         * misc/fremovexattr.c: Likewise.
18060         * misc/fsetxattr.c: Likewise.
18061         * misc/fsync.c: Likewise.
18062         * misc/ftruncate.c: Likewise.
18063         * misc/futimes.c: Likewise.
18064         * misc/futimesat.c: Likewise.
18065         * misc/getdomain.c: Likewise.
18066         * misc/getdtsz.c: Likewise.
18067         * misc/gethostid.c: Likewise.
18068         * misc/gethostname.c: Likewise.
18069         * misc/getloadavg.c: Likewise.
18070         * misc/getpagesize.c: Likewise.
18071         * misc/getsysstats.c: Likewise.
18072         * misc/getxattr.c: Likewise.
18073         * misc/gtty.c: Likewise.
18074         * misc/ioctl.c: Likewise.
18075         * misc/lgetxattr.c: Likewise.
18076         * misc/listxattr.c: Likewise.
18077         * misc/llistxattr.c: Likewise.
18078         * misc/lremovexattr.c: Likewise.
18079         * misc/lsetxattr.c: Likewise.
18080         * misc/lutimes.c: Likewise.
18081         * misc/madvise.c: Likewise.
18082         * misc/mincore.c: Likewise.
18083         * misc/mlock.c: Likewise.
18084         * misc/mlockall.c: Likewise.
18085         * misc/mmap.c: Likewise.
18086         * misc/mprotect.c: Likewise.
18087         * misc/msync.c: Likewise.
18088         * misc/munlock.c: Likewise.
18089         * misc/munlockall.c: Likewise.
18090         * misc/munmap.c: Likewise.
18091         * misc/preadv.c: Likewise.
18092         * misc/preadv64.c: Likewise.
18093         * misc/ptrace.c: Likewise.
18094         * misc/pwritev.c: Likewise.
18095         * misc/pwritev64.c: Likewise.
18096         * misc/readv.c: Likewise.
18097         * misc/reboot.c: Likewise.
18098         * misc/remap_file_pages.c: Likewise.
18099         * misc/removexattr.c: Likewise.
18100         * misc/revoke.c: Likewise.
18101         * misc/select.c: Likewise.
18102         * misc/setdomain.c: Likewise.
18103         * misc/setegid.c: Likewise.
18104         * misc/seteuid.c: Likewise.
18105         * misc/sethostid.c: Likewise.
18106         * misc/sethostname.c: Likewise.
18107         * misc/setregid.c: Likewise.
18108         * misc/setreuid.c: Likewise.
18109         * misc/setxattr.c: Likewise.
18110         * misc/sstk.c: Likewise.
18111         * misc/stty.c: Likewise.
18112         * misc/swapoff.c: Likewise.
18113         * misc/swapon.c: Likewise.
18114         * misc/sync.c: Likewise.
18115         * misc/syncfs.c: Likewise.
18116         * misc/syscall.c: Likewise.
18117         * misc/truncate.c: Likewise.
18118         * misc/ualarm.c: Likewise.
18119         * misc/usleep.c: Likewise.
18120         * misc/ustat.c: Likewise.
18121         * misc/utimes.c: Likewise.
18122         * misc/vhangup.c: Likewise.
18123         * misc/writev.c: Likewise.
18124         * posix/_exit.c: Likewise.
18125         * posix/alarm.c: Likewise.
18126         * posix/execve.c: Likewise.
18127         * posix/fexecve.c: Likewise.
18128         * posix/fork.c: Likewise.
18129         * posix/fpathconf.c: Likewise.
18130         * posix/getaddrinfo.c: Likewise.
18131         * posix/getegid.c: Likewise.
18132         * posix/geteuid.c: Likewise.
18133         * posix/getgid.c: Likewise.
18134         * posix/getgroups.c: Likewise.
18135         * posix/getlogin.c: Likewise.
18136         * posix/getlogin_r.c: Likewise.
18137         * posix/getpgid.c: Likewise.
18138         * posix/getpid.c: Likewise.
18139         * posix/getppid.c: Likewise.
18140         * posix/getresgid.c: Likewise.
18141         * posix/getresuid.c: Likewise.
18142         * posix/getsid.c: Likewise.
18143         * posix/getuid.c: Likewise.
18144         * posix/glob64.c: Likewise.
18145         * posix/nanosleep.c: Likewise.
18146         * posix/pathconf.c: Likewise.
18147         * posix/pause.c: Likewise.
18148         * posix/posix_madvise.c: Likewise.
18149         * posix/pread.c: Likewise.
18150         * posix/pread64.c: Likewise.
18151         * posix/pwrite.c: Likewise.
18152         * posix/pwrite64.c: Likewise.
18153         * posix/sched_getaffinity.c: Likewise.
18154         * posix/sched_getp.c: Likewise.
18155         * posix/sched_gets.c: Likewise.
18156         * posix/sched_primax.c: Likewise.
18157         * posix/sched_primin.c: Likewise.
18158         * posix/sched_rr_gi.c: Likewise.
18159         * posix/sched_setaffinity.c: Likewise.
18160         * posix/sched_setp.c: Likewise.
18161         * posix/sched_sets.c: Likewise.
18162         * posix/sched_yield.c: Likewise.
18163         * posix/setgid.c: Likewise.
18164         * posix/setlogin.c: Likewise.
18165         * posix/setpgid.c: Likewise.
18166         * posix/setresgid.c: Likewise.
18167         * posix/setresuid.c: Likewise.
18168         * posix/setsid.c: Likewise.
18169         * posix/setuid.c: Likewise.
18170         * posix/sleep.c: Likewise.
18171         * posix/spawni.c: Likewise.
18172         * posix/sysconf.c: Likewise.
18173         * posix/times.c: Likewise.
18174         * posix/wait.c: Likewise.
18175         * posix/wait3.c: Likewise.
18176         * posix/wait4.c: Likewise.
18177         * posix/waitpid.c: Likewise.
18178         * resolv/gai_sigqueue.c: Likewise.
18179         * resource/getpriority.c: Likewise.
18180         * resource/getrlimit.c: Likewise.
18181         * resource/getrusage.c: Likewise.
18182         * resource/nice.c: Likewise.
18183         * resource/setpriority.c: Likewise.
18184         * resource/setrlimit.c: Likewise.
18185         * resource/ulimit.c: Likewise.
18186         * rt/aio_cancel.c: Likewise.
18187         * rt/aio_fsync.c: Likewise.
18188         * rt/aio_read.c: Likewise.
18189         * rt/aio_sigqueue.c: Likewise.
18190         * rt/aio_suspend.c: Likewise.
18191         * rt/aio_write.c: Likewise.
18192         * rt/clock_getres.c: Likewise.
18193         * rt/clock_gettime.c: Likewise.
18194         * rt/clock_nanosleep.c: Likewise.
18195         * rt/clock_settime.c: Likewise.
18196         * rt/lio_listio.c: Likewise.
18197         * rt/mq_close.c: Likewise.
18198         * rt/mq_getattr.c: Likewise.
18199         * rt/mq_notify.c: Likewise.
18200         * rt/mq_open.c: Likewise.
18201         * rt/mq_receive.c: Likewise.
18202         * rt/mq_send.c: Likewise.
18203         * rt/mq_setattr.c: Likewise.
18204         * rt/mq_timedreceive.c: Likewise.
18205         * rt/mq_timedsend.c: Likewise.
18206         * rt/mq_unlink.c: Likewise.
18207         * rt/shm_open.c: Likewise.
18208         * rt/shm_unlink.c: Likewise.
18209         * rt/timer_create.c: Likewise.
18210         * rt/timer_delete.c: Likewise.
18211         * rt/timer_getoverr.c: Likewise.
18212         * rt/timer_gettime.c: Likewise.
18213         * rt/timer_settime.c: Likewise.
18214         * setjmp/__longjmp.c: Likewise.
18215         * setjmp/setjmp.c: Likewise.
18216         * signal/kill.c: Likewise.
18217         * signal/killpg.c: Likewise.
18218         * signal/raise.c: Likewise.
18219         * signal/sigaction.c: Likewise.
18220         * signal/sigaltstack.c: Likewise.
18221         * signal/sigblock.c: Likewise.
18222         * signal/sigignore.c: Likewise.
18223         * signal/sigintr.c: Likewise.
18224         * signal/signal.c: Likewise.
18225         * signal/sigpause.c: Likewise.
18226         * signal/sigpending.c: Likewise.
18227         * signal/sigqueue.c: Likewise.
18228         * signal/sigreturn.c: Likewise.
18229         * signal/sigset.c: Likewise.
18230         * signal/sigsetmask.c: Likewise.
18231         * signal/sigstack.c: Likewise.
18232         * signal/sigsuspend.c: Likewise.
18233         * signal/sigtimedwait.c: Likewise.
18234         * signal/sigvec.c: Likewise.
18235         * signal/sigwait.c: Likewise.
18236         * signal/sigwaitinfo.c: Likewise.
18237         * signal/sysv_signal.c: Likewise.
18238         * socket/accept.c: Likewise.
18239         * socket/accept4.c: Likewise.
18240         * socket/bind.c: Likewise.
18241         * socket/connect.c: Likewise.
18242         * socket/getpeername.c: Likewise.
18243         * socket/getsockname.c: Likewise.
18244         * socket/getsockopt.c: Likewise.
18245         * socket/isfdtype.c: Likewise.
18246         * socket/listen.c: Likewise.
18247         * socket/recv.c: Likewise.
18248         * socket/recvfrom.c: Likewise.
18249         * socket/recvmsg.c: Likewise.
18250         * socket/send.c: Likewise.
18251         * socket/sendmsg.c: Likewise.
18252         * socket/sendto.c: Likewise.
18253         * socket/setsockopt.c: Likewise.
18254         * socket/shutdown.c: Likewise.
18255         * socket/sockatmark.c: Likewise.
18256         * socket/socket.c: Likewise.
18257         * socket/socketpair.c: Likewise.
18258         * stdio-common/ctermid.c: Likewise.
18259         * stdio-common/cuserid.c: Likewise.
18260         * stdio-common/remove.c: Likewise.
18261         * stdio-common/rename.c: Likewise.
18262         * stdio-common/renameat.c: Likewise.
18263         * stdio-common/tempname.c: Likewise.
18264         * stdlib/getcontext.c: Likewise.
18265         * stdlib/makecontext.c: Likewise.
18266         * stdlib/setcontext.c: Likewise.
18267         * stdlib/swapcontext.c: Likewise.
18268         * stdlib/system.c: Likewise.
18269         * streams/fattach.c: Likewise.
18270         * streams/fdetach.c: Likewise.
18271         * streams/getmsg.c: Likewise.
18272         * streams/getpmsg.c: Likewise.
18273         * streams/putmsg.c: Likewise.
18274         * streams/putpmsg.c: Likewise.
18275         * sysdeps/unix/bsd/getpt.c: Likewise.
18276         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18277         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18278         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18280         Likewise.
18281         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18282         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18283         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18284         * sysvipc/msgctl.c: Likewise.
18285         * sysvipc/msgget.c: Likewise.
18286         * sysvipc/msgrcv.c: Likewise.
18287         * sysvipc/msgsnd.c: Likewise.
18288         * sysvipc/semctl.c: Likewise.
18289         * sysvipc/semget.c: Likewise.
18290         * sysvipc/semop.c: Likewise.
18291         * sysvipc/semtimedop.c: Likewise.
18292         * sysvipc/shmat.c: Likewise.
18293         * sysvipc/shmctl.c: Likewise.
18294         * sysvipc/shmdt.c: Likewise.
18295         * sysvipc/shmget.c: Likewise.
18296         * termios/tcdrain.c: Likewise.
18297         * termios/tcflow.c: Likewise.
18298         * termios/tcflush.c: Likewise.
18299         * termios/tcgetattr.c: Likewise.
18300         * termios/tcgetpgrp.c: Likewise.
18301         * termios/tcsendbrk.c: Likewise.
18302         * termios/tcsetattr.c: Likewise.
18303         * termios/tcsetpgrp.c: Likewise.
18304         * time/adjtime.c: Likewise.
18305         * time/clock.c: Likewise.
18306         * time/getitimer.c: Likewise.
18307         * time/gettimeofday.c: Likewise.
18308         * time/setitimer.c: Likewise.
18309         * time/settimeofday.c: Likewise.
18310         * time/stime.c: Likewise.
18311         * time/time.c: Likewise.
18312
18313 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
18314
18315         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18316         /usr/old/bin.
18317
18318         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18319         instead of spaces.
18320         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18321
18322 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
18323
18324         [BZ #14796]
18325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18326         FE_TONEAREST before applying Dekker multiplication and Knuth
18327         addition.  Clear inexact exceptions and check for exact zero
18328         results afterwards.
18329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18330         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18331         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18332         * math/libm-test.inc (fma_test): Add more tests.
18333         (fma_test_towardzero): Likewise.
18334         (fma_test_downward): Likewise.
18335         (fma_test_upward): Likewise.
18336         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18337         function.
18338         (libc_fesetround): New macro.
18339         (libc_fesetroundf): Likewise.
18340         (libc_fesetroundl): Likewise.
18341         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18342         function.
18343         (libc_fesetround_387): Likewise.
18344         (libc_fesetroundf): New macro.
18345         (libc_fesetround): Likewise.
18346         (libc_fesetroundl): Likewise.
18347         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18348         function.
18349         (libc_fesetroundf): New macro.
18350         (libc_fesetround): Likewise.
18351         (libc_fesetroundl): Likewise.
18352         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18353         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18354         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18355         libm_hidden_ver.
18356         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18357         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18358         libm_hidden_def.
18359         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18360         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18361         libm_hidden_ver.
18362         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18363         libm_hidden_def.
18364
18365         [BZ #3439]
18366         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18367         integer constant usable in #if and use that to give value to enum
18368         constant.
18369         (FE_DIVBYZERO): Likewise.
18370         (FE_UNDERFLOW): Likewise.
18371         (FE_OVERFLOW): Likewise.
18372         (FE_INVALID): Likewise.
18373         (FE_INVALID_SNAN): Likewise.
18374         (FE_INVALID_ISI): Likewise.
18375         (FE_INVALID_IDI): Likewise.
18376         (FE_INVALID_ZDZ): Likewise.
18377         (FE_INVALID_IMZ): Likewise.
18378         (FE_INVALID_COMPARE): Likewise.
18379         (FE_INVALID_SOFTWARE): Likewise.
18380         (FE_INVALID_SQRT): Likewise.
18381         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18382         (FE_TONEAREST): Likewise.
18383         (FE_TOWARDZERO): Likewise.
18384         (FE_UPWARD): Likewise.
18385         (FE_DOWNWARD): Likewise.
18386         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18387         (FE_DIVBYZERO): Likewise.
18388         (FE_OVERFLOW): Likewise.
18389         (FE_UNDERFLOW): Likewise.
18390         (FE_INEXACT): Likewise.
18391         (FE_TONEAREST): Likewise.
18392         (FE_DOWNWARD): Likewise.
18393         (FE_UPWARD): Likewise.
18394         (FE_TOWARDZERO): Likewise.
18395         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18396         (FE_UNDERFLOW): Likewise.
18397         (FE_OVERFLOW): Likewise.
18398         (FE_DIVBYZERO): Likewise.
18399         (FE_INVALID): Likewise.
18400         (FE_TONEAREST): Likewise.
18401         (FE_TOWARDZERO): Likewise.
18402         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18403         (FE_OVERFLOW): Likewise.
18404         (FE_UNDERFLOW): Likewise.
18405         (FE_DIVBYZERO): Likewise.
18406         (FE_INEXACT): Likewise.
18407         (FE_TONEAREST): Likewise.
18408         (FE_TOWARDZERO): Likewise.
18409         (FE_UPWARD): Likewise.
18410         (FE_DOWNWARD): Likewise.
18411         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18412         (FE_DIVBYZERO): Likewise.
18413         (FE_OVERFLOW): Likewise.
18414         (FE_UNDERFLOW): Likewise.
18415         (FE_INEXACT): Likewise.
18416         (FE_TONEAREST): Likewise.
18417         (FE_DOWNWARD): Likewise.
18418         (FE_UPWARD): Likewise.
18419         (FE_TOWARDZERO): Likewise.
18420
18421 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18422
18423         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18424
18425 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18426
18427         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18428         commands.  Quote $PWD.
18429         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18430         -x" by "export".
18431         (remove_newlines): Remove.
18432
18433 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18434
18435         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18436         * stdlib/stdlib.h (atof): Moved to ...
18437         * include/bits/stdlib-float.h: Here.  New file.
18438         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18439         * stdlib/bits/stdlib-float.h: New file.
18440         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18441         -mno-sse -mno-mmx.
18442         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18443         <xmmintrin.h>.
18444
18445 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18446
18447         * conform/conformtest.pl (@headers): Add fenv.h.
18448         * conform/data/fenv.h-data: New file.
18449         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18450         include of <math/fenv.h>.
18451
18452         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18453         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18454         && !UNIX98].  Enables tests for XOPEN2K8.
18455         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18456         POSIX2008]: Likewise.
18457
18458         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18459         (struct rusage): Do not expect type or its members.
18460
18461         [BZ #3439]
18462         * math/math.h (FP_NAN): Define macro to integer constant usable in
18463         #if and use that to give value to enum constant.
18464         (FP_INFINITE): Likewise.
18465         (FP_ZERO): Likewise.
18466         (FP_SUBNORMAL): Likewise.
18467         (FP_NORMAL): Likewise.
18468
18469 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18470
18471         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18472         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18473         arguments.
18474
18475 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18476
18477         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18478         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18479         autoconf-time if not.
18480         * configure.in: Remove AC_PREREQ.
18481
18482 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18483
18484         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18485         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18486         of the internal implementation.
18487
18488 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18489
18490         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18491         except include of <misc/sys/syslog.h>.
18492
18493 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18494
18495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18496         function returns with a NULL context exit with zero.
18497
18498 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18499
18500         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18501
18502 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18503
18504         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18505         (run_program_cmd): This.
18506         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18507         (tst_langinfo): New variable.  Use it.
18508
18509 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18510
18511         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18512         floating point opcodes.
18513
18514 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18515
18516         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18517         variable.
18518
18519         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18520
18521         * sysdeps/mach/hurd/powerpc: Remove directory.
18522         * sysdeps/mach/powerpc: Likewise.
18523
18524 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18525
18526         * scripts/check-local-headers.sh: Ignore c++ headers.
18527
18528 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18529
18530         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18531         __libc_cleanup_region_start argument.
18532
18533 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18534
18535         [BZ #14784]
18536         [BZ #14785]
18537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18538         x * y using scaling, not as x * y + z.
18539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18541         * math/libm-test.inc (fma_test): Add more tests.
18542         (fma_test_towardzero): Likewise.
18543         (fma_test_downward): Likewise.
18544         (fma_test_upward): Likewise.
18545
18546 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18547
18548         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18549
18550 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18551
18552         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18553         New variable.
18554
18555 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18556
18557         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18558
18559 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18560
18561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18562         Fix sort order.
18563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18564         Likewise.
18565
18566 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18567
18568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18569         Fix the order of the list for glibc 2.17.
18570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18571         Likewise.
18572
18573 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18574
18575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18576
18577 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18578
18579         [BZ #14610]
18580         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18581         for low part of x being zero before using __atanl (y).
18582         * math/libm-test.inc (atan2_test): Add another test.
18583
18584         * manual/install.texi (Configuring and compiling): Document
18585         general use of test-wrapper and test-wrapper-env.
18586         * INSTALL: Regenerated.
18587
18588         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18589         (__fma): Do not extract and scale down low bits on after-rounding
18590         systems when result rounded to normal precision would have normal
18591         exponent.
18592         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18593         (__fmal): Do not extract and scale down low bits on after-rounding
18594         systems when result rounded to normal precision would have normal
18595         exponent.
18596         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18597         (__fmal): Do not extract and scale down low bits on after-rounding
18598         systems when result rounded to normal precision would have normal
18599         exponent.
18600         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18601         macro.
18602         (fma_test): Add more tests.
18603         (fma_test_towardzero): Likewise.
18604         (fma_test_downward): Likewise.
18605         (fma_test_upward): Likewise.
18606
18607 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18608
18609         * sysdeps/i386/tininess.h: Renamed to ...
18610         * sysdeps/x86/tininess.h: This.
18611         * sysdeps/x86_64/tininess.h: Removed.
18612
18613 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18614
18615         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18616         input.  Use $(build-program-cmd).
18617         ($(objpfx)tst-array1-static.out): Likewise.
18618         ($(objpfx)tst-array2.out): Likewise.
18619         ($(objpfx)tst-array3.out): Likewise.
18620         ($(objpfx)tst-array4.out): Likewise.
18621         ($(objpfx)tst-array5.out): Likewise.
18622         ($(objpfx)tst-array5-static.out): Likewise.
18623
18624 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18625
18626         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18627         if defined.
18628
18629         * nss/nsswitch.h (nss_interface_function): Provide new
18630         macro for use with NSS functions.
18631         * grp/initgroups.c: Use new macro.
18632         * nss/getXXbyYY.c: Likewise.
18633         * nss/getXXbyYY_r.c: Likewise.
18634         * nss/getXXent.c: Likewise.
18635         * nss/getXXent_r.c: Likewise.
18636         * sysdeps/posix/getaddrinfo.c: Likewise.
18637
18638 2012-10-30  Andreas Jaeger  <aj@suse.de>
18639
18640         * po/ru.po: Update Russion translation from translation project.
18641
18642 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18643
18644         [BZ #14152]
18645         [BZ #14783]
18646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18647         result and shift together with sticky bit instead of replicating
18648         round-to-nearest rounding.
18649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18651         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18652         missing underflow exceptions.
18653         (fma_test_towardzero): Add more tests.
18654         (fma_test_downward): Likewise.
18655         (fma_test_upward): Likewise.
18656
18657         [BZ #14047]
18658         * sysdeps/generic/tininess.h: New file.
18659         * sysdeps/i386/tininess.h: Likewise.
18660         * sysdeps/sh/tininess.h: Likewise.
18661         * sysdeps/x86_64/tininess.h: Likewise.
18662         * stdlib/tst-strtod-underflow.c: Likewise.
18663         * stdlib/tst-tininess.c: Likewise.
18664         * stdlib/strtod_l.c: Include <tininess.h>.
18665         (round_and_return): Do not set errno for exact underflow cases.
18666         Force an underflow exception when setting errno for underflow.
18667         Determine underflow based on rounding to normal precision if
18668         TININESS_AFTER_ROUNDING.
18669         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18670         ERANGE for exact underflow cases.
18671         * stdlib/Makefile (tests): Add tst-tininess and
18672         tst-strtod-underflow.
18673         ($(objpfx)tst-tininess): Use $(link-libm).
18674         ($(objpfx)tst-strtod-underflow): Likewise.
18675
18676 2012-10-30  Andreas Jaeger  <aj@suse.de>
18677
18678         [BZ#14767]
18679         * elf/Makefile (tests): Remove conditional for have-initfini-array
18680         since this is now always required and the variable does not exist
18681         anymore.
18682         (tests-static): Likewise.
18683         (modules-names): Likewise.
18684
18685         * po/eo.po: Add Esperanto translation from translation project.
18686
18687         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18688         merged with constructor/destructor.
18689         (init_array): Likewise.
18690         * elf/tst-array2dep.c (fini_array): Likewise.
18691         (init_array): Likewise.
18692
18693 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18694
18695         * manual/message.texi: Delete @cartouche tags.
18696
18697 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18698
18699         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18700         EOPNOTSUPP.
18701         * sysdeps/mach/hurd/fsync.c: Likewise.
18702
18703         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18704         [_POSIX_REALTIME_SIGNALS]: Change condition to
18705         [_POSIX_REALTIME_SIGNALS > 0].
18706
18707 2012-10-27  Andreas Jaeger  <aj@suse.de>
18708
18709         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18710         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18712         [__WORDSIZE != 64]: Likewise.
18713
18714 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18715
18716         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18717         *  iconvdata/tst-tables.sh: Likewise.
18718
18719 2012-10-25  David S. Miller  <davem@davemloft.net>
18720
18721         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18722         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18723         of strtoull.
18724
18725         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18726         ifunc-impl-list.c
18727         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18728         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18729         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18730         file.
18731
18732 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18733
18734         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18735         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18736         __getdirentries.
18737
18738 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18739             Jim Blandy  <jimb@codesourcery.com>
18740
18741         * scripts/cross-test-ssh.sh: New file.
18742         * manual/install.texi (Configuring and compiling): Document use of
18743         cross-test-ssh.sh.
18744         * INSTALL: Regenerated.
18745
18746 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18747
18748         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18749         EOPNOTSUPP.
18750
18751 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18752
18753         * Makeconfig (run-program-prefix): Fix comment.
18754
18755 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18756             Jim Blandy  <jimb@codesourcery.com>
18757
18758         * Makeconfig (test-wrapper): New variable,
18759         (test-wrapper-env): Likewise.
18760         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18761         (run-built-tests): Define to yes.
18762         (run-program-prefix): Use $(test-wrapper).
18763         (built-program-cmd): Likewise.
18764         * Rules (make-test-out): Use $(test-wrapper-env) and
18765         $(host-built-program-cmd).
18766         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18767         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18768         tst-pathopt.sh.
18769         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18770         $(test-wrapper-env) to tst-rtld-load-self.sh.
18771         ($(objpfx)order2.out): Use $(test-wrapper).
18772         ($(objpfx)tst-initorder.out): Likewise.
18773         ($(objpfx)tst-initorder2.out): Likewise.
18774         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18775         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18776         (test_wrapper_env): New variable.  Use it to run ld.so.
18777         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18778         Use it to run ld.so.
18779         (test_wrapper_env): Likewise.
18780         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18781         $(test-wrapper) to run-iconv-test.sh.
18782         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18783         (ICONV): Use $test_wrapper.
18784         * posix/Makefile ($(objpfx)globtest.out): Pass
18785         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18786         globtest.sh, not $(run-program-prefix).
18787         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18788         (test_wrapper): Likewise.
18789         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18790         set together with run_via_rtld_prefix.
18791         (run_program_prefix): Define in terms of test_wrapper and
18792         run_via_rtld_prefix.
18793
18794 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18795
18796         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18797         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18798         Targets removed.
18799
18800         [BZ #14743]
18801         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18802         Declare __clock_getres, __clock_gettime, __clock_settime,
18803         __clock_nanosleep, and __clock_getcpuclockid.
18804         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18805         Remove librt_hidden_def (clock_gettime).
18806         * sysdeps/unix/clock_gettime.c: Likewise.
18807         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18808         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18809         * rt/clock_getres.c: Define __clock_getres as an alias.
18810         * sysdeps/posix/clock_getres.c: Likewise.
18811         * rt/clock_settime.c: Define __clock_settime as an alias.
18812         * sysdeps/unix/clock_settime.c: Likewise.
18813         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18814         * sysdeps/unix/clock_nanosleep.c: Likewise.
18815         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18816         * rt/clock-compat.c: New file.
18817         * rt/Makefile (librt-routines): Add clock-compat and move
18818         $(clock-routines) to ...
18819         (routines): ... here, new variable.
18820         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18821         Don't add get_clockfreq here.
18822         * rt/Versions (libc: GLIBC_2.17): New version set.
18823         Add clock_* symbols here.
18824         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18825         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18826         (GLIBC_2.17): Add clock_* symbols.
18827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18831         Likewise.
18832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18833         Likewise.
18834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18838         * NEWS: Mention the move.
18839
18840         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18841         Use __open, __read, __close rather than their public counterparts.
18842         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18843         (__get_clockfreq_via_cpuinfo): Likewise.
18844         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18845         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18846
18847         * config.h.in (HAVE_IFUNC): New #undef.
18848         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18849         was successful.
18850         * configure: Regenerated.
18851
18852 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18853
18854         * configure.in: Move READELF check to start of file.
18855         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18856         libc_cv_asm_gnu_indirect_function in the process.
18857         * configure: Regenerated.
18858
18859 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18860
18861         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18862         send the output to /dev/null.
18863         (libc_cv_cc_with_libunwind): Likewise.
18864         (libc_cv_as_noexecstack): Likewise.
18865         * configure: Regenerate.
18866
18867 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18868
18869         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18870
18871         * posix/globtest.sh (TMPDIR): Do not set.
18872         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18873         (testout): Likewise.
18874
18875 2012-10-24  Andreas Jaeger  <aj@suse.de>
18876
18877         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18878         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18879         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18880         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18881         posix_fadvise64, posix_fallocate64.
18882
18883         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18884         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18885         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18886         Likewise.
18887         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18888         Likewise.
18889         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18890
18891         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18892         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18893         <bits/fcntl-linux.h>.
18894         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18895
18896         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18897         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18898         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18899         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18900         [__WORDSIZE != 64]: Likewise.
18901
18902 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18903
18904         * Makeconfig (run-built-tests): New variable.
18905         * Rules [$(cross-compiling) = yes]: Change condition to
18906         [$(run-built-tests) = no].
18907         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18908         to [$(run-built-tests) = yes].
18909         * elf/Makefile [$(cross-compiling) = no]: Likewise
18910         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18911         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18912         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18913         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18914         * io/Makefile [$(cross-compiling) = no]: Likewise.
18915         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18916         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18917         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18918         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18919         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18920         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18921         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18922         * string/Makefile [$(cross-compiling) = no]: Likewise.
18923
18924         * posix/Makefile ($(objpfx)globtest.out): Pass
18925         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18926         $(rtld-installed-name).
18927         * posix/globtest.sh (elf_objpfx): Remove variable.
18928         (rtld_installed_name): Likewise.
18929         (library_path): Likewise.
18930         (run_program_prefix): New variable.  Use for running globtest
18931         binary.
18932
18933 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18934             Joseph Myers  <joseph@codesourcery.com>
18935
18936         * Makeconfig (host-built-program-cmd): New variable.
18937         * elf/Makefile (tst-stackguard1-ARGS): Use
18938         $(host-built-program-cmd).
18939         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18940         (tst-spawn-ARGS): Likewise.
18941         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18942
18943 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18944             Jim Blandy  <jimb@codesourcery.com>
18945
18946         * Makeconfig (run-via-rtld-prefix): New variable.
18947         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18948         (built-program-cmd): Likewise.
18949
18950 2012-10-22  Andreas Jaeger  <aj@suse.de>
18951
18952         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18953         __O_RSYNC if it exists, otherwise to O_SYNC.
18954
18955 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18956             Joseph Myers  <joseph@codesourcery.com>
18957
18958         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18959         /dev/null.
18960         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18961         from /dev/null
18962         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18963         /dev/null.
18964
18965 2012-10-22  Andreas Jaeger  <aj@suse.de>
18966
18967         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18968         Define always.
18969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18970
18971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18972         bits/fcntl-linux.h.
18973
18974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18975         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18976
18977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18978         to __O_LARGEFILE.
18979         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18980         to __O_LARGEFILE.
18981
18982 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18983             Joseph Myers  <joseph@codesourcery.com>
18984
18985         * config.make.in (NM): New variable.
18986
18987 2012-10-21  Andreas Jaeger  <aj@suse.de>
18988
18989         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18990         definitions and declarations that are provided by
18991         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18992
18993 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18994
18995         [BZ #14683]
18996         * elf/Makefile (tests-static): Add tst-leaks1-static.
18997         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18998         ($(objpfx)tst-leaks1-static): New rule.
18999         ($(objpfx)tst-leaks1-static-mem): Likewise.
19000         (tst-leaks1-static-ENV): New macro.
19001         * elf/dl-open.c (dl_open_worker): Check the main application
19002         only if SHARED is defined.
19003         * elf/tst-leaks1-static.c: New file.
19004
19005 2012-10-20  Andreas Jaeger  <aj@suse.de>
19006
19007         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19008         generic values for Linux.
19009         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19010         and declarations that are provided by <bits/fcntl-linux.h> and
19011         include <bits/fcntl-linux.h>.
19012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19014
19015 2012-10-20  Roland McGrath  <roland@hack.frob.com>
19016
19017         * io/fcntl.h: Move include of <bits/types.h> to the top and
19018         include it unconditionally.
19019
19020 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19021
19022         * wcsmbs/Makefile (tests-ifunc): New variable.
19023         (tests): Add $(tests-ifunc).
19024         * wcsmbs/test-wcschr-ifunc.c: New file.
19025         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19026         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19027         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19028         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19029         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19030
19031         * string/Makefile (tests-ifunc): New variable.
19032         (tests): Add $(tests-ifunc).
19033         * string/test-memccpy.c (TEST_NAME): New macro.
19034         * string/test-memchr.c (TEST_NAME): Likewise.
19035         * string/test-memcmp.c (TEST_NAME): Likewise.
19036         * string/test-memcpy.c (TEST_NAME): Likewise.
19037         * string/test-memmem.c (TEST_NAME): Likewise.
19038         * string/test-memmove.c (TEST_NAME): Likewise.
19039         * string/test-memset.c (TEST_NAME): Likewise.
19040         * string/test-rawmemchr.c (TEST_NAME): Likewise.
19041         * string/test-stpcpy.c (TEST_NAME): Likewise.
19042         * string/test-stpncpy.c (TEST_NAME): Likewise.
19043         * string/test-strcasecmp.c (TEST_NAME): Likewise.
19044         * string/test-strcasestr.c (TEST_NAME): Likewise.
19045         * string/test-strcat.c (TEST_NAME): Likewise.
19046         * string/test-strchr.c (TEST_NAME): Likewise.
19047         * string/test-strcmp.c(TEST_NAME): Likewise.
19048         * string/test-strcpy.c (TEST_NAME): Likewise.
19049         * string/test-strcspn.c (TEST_NAME): Likewise.
19050         * string/test-strlen.c (TEST_NAME): Likewise.
19051         * string/test-strncasecmp.c (TEST_NAME): Likewise.
19052         * string/test-strncmp.c (TEST_NAME): Likewise.
19053         * string/test-strncpy.c (TEST_NAME): Likewise.
19054         * string/test-strnlen.c (TEST_NAME): Likewise.
19055         * string/test-strpbrk.c (TEST_NAME): Likewise.
19056         * string/test-strrchr.c (TEST_NAME): Likewise.
19057         * string/test-strspn.c (TEST_NAME): Likewise.
19058         * string/test-strstr.c (TEST_NAME): Likewise.
19059         * string/test-bcopy-ifunc.c: New file.
19060         * string/test-bzero-ifunc.c: Likewise.
19061         * string/test-memccpy-ifunc.c: Likewise.
19062         * string/test-memchr-ifunc.c: Likewise.
19063         * string/test-memcmp-ifunc.c: Likewise.
19064         * string/test-memcpy-ifunc.c: Likewise.
19065         * string/test-memmem-ifunc.c: Likewise.
19066         * string/test-memmove-ifunc.c: Likewise.
19067         * string/test-mempcpy-ifunc.c: Likewise.
19068         * string/test-memset-ifunc.c: Likewise.
19069         * string/test-rawmemchr-ifunc.c: Likewise.
19070         * string/test-stpcpy-ifunc.c: Likewise.
19071         * string/test-stpncpy-ifunc.c: Likewise.
19072         * string/test-strcasecmp-ifunc.c: Likewise.
19073         * string/test-strcasestr-ifunc.c: Likewise.
19074         * string/test-strcat-ifunc.c: Likewise.
19075         * string/test-strchr-ifunc.c: Likewise.
19076         * string/test-strchrnul-ifunc.c: Likewise.
19077         * string/test-strcmp-ifunc.c: Likewise.
19078         * string/test-strcpy-ifunc.c: Likewise.
19079         * string/test-strcspn-ifunc.c: Likewise.
19080         * string/test-strlen-ifunc.c: Likewise.
19081         * string/test-strncasecmp-ifunc.c: Likewise.
19082         * string/test-strncat-ifunc.c: Likewise.
19083         * string/test-strncmp-ifunc.c: Likewise.
19084         * string/test-strncpy-ifunc.c: Likewise.
19085         * string/test-strnlen-ifunc.c: Likewise.
19086         * string/test-strpbrk-ifunc.c: Likewise.
19087         * string/test-strrchr-ifunc.c: Likewise.
19088         * string/test-strspn-ifunc.c: Likewise.
19089         * string/test-strstr-ifunc.c: Likewise.
19090
19091         * debug/Makefile (tests-ifunc): New variable.
19092         (tests): Add $(tests-ifunc).
19093         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19094         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19095         * debug/test-stpcpy_chk-ifunc.c: New file.
19096         * debug/test-strcpy_chk-ifunc.c: Likewise.
19097
19098 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19099
19100         [BZ #13601]
19101         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19102         header is not read in.
19103
19104 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19105
19106         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19107         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19108         directly.  Pass built executable to script as
19109         $(built-program-cmd).
19110         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19111         $testprogram without using LD_LIBRARY_PATH and $ldso.
19112
19113         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19114         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19115         $(rtld-installed-name).
19116         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19117         (rtld_installed_name): Likewise.
19118         (library_path): Likewise.
19119         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19120         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19121         $(run-program-prefix) to tst-tables.sh.
19122         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19123         it to run tst-table-from and tst-table-to.
19124         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19125         Pass it to tst-table.sh.
19126         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19127         $(run-program-prefix) to tst-gettext.sh.
19128         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19129         tst-translit.sh.
19130         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19131         tst-gettext2.sh.
19132         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19133         to run tst-gettext.
19134         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19135         to run tst-gettext2.
19136         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19137         to run tst-translit.
19138         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19139         $(run-program-prefix) to tst-mtrace.sh.
19140         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19141         to run tst-mtrace.
19142         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19143         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19144         $(rtld-installed-name).
19145         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19146         (rtld_installed_name): Likewise.
19147         (run_program_prefix): New variable.  Use it to run wordexp-test.
19148
19149         * Makeconfig (ARCH): Remove all definitions.
19150         (machine): Likewise.
19151         [ARCH]: Remove conditional code.
19152         [!objdir]: Give error.
19153         [!objdir] (objpfx): Remove.
19154         [!objdir] (common-objpfx): Likewise.
19155         [!objdir] (common-objdir): Likewise.
19156         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19157         AC_CONFIG_FILES call.
19158         * configure: Regenerated.
19159
19160         [BZ #13888]
19161         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19162         or TMPDIR.
19163         (testout): Likewise.
19164
19165         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19166         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19167         $(rtld-installed-name).
19168         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19169         (rtld_installed_name): Likwise.
19170         (runit): Remove function.
19171         (run_getconf): New variable,  Use it for running getconf binary.
19172
19173 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19174
19175         [BZ #14716]
19176         * string/test-memmem.c (check_result): New function.
19177         (do_one_test): Use it.
19178         (check1): New function.
19179         (test_main): Use it.
19180
19181 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19182
19183         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19184
19185 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19186
19187         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19188         (_G_LSEEK64): Likewise.
19189         (_G_MMAP64): Likewise.
19190         (_G_FSTAT64): Likewise.
19191         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19192         (_G_LSEEK64): Likewise.
19193         (_G_MMAP64): Likewise.
19194         (_G_FSTAT64): Likewise.
19195         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19196         unconditional.  Call __mmap64 directly.
19197         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19198         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19199         __lseek64 directly.
19200         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19201         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19202         __mmap64 directly.
19203         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19204         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19205         __lseek64 directly.
19206         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19207         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19208         __lseek64 directly.
19209         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19210         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19211         __lseek64 directly.
19212         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19213         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19214         __fxstat64 directly.
19215         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19216         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19217         unconditional.
19218         (freopen64) [!_G_OPEN64]: Remove conditional code.
19219         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19220         unconditional.
19221         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19222         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19223         unconditional.
19224         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19225         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19226         unconditional.
19227         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19228         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19229         unconditional.
19230         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19231         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19232         unconditional.
19233         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19234         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19235         unconditional.
19236         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19237         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19238         unconditional.
19239         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19240
19241 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19242
19243         [BZ #12140]
19244         * manual/memory.texi (Malloc Tunable Parameters): Add note
19245         about free list pointers overwriting some perturb bytes.
19246         Wording suggested by Roland McGrath.
19247
19248 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19249
19250         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19251         (lgamma_test): Likewise.
19252         (tgamma_test): Likewise.
19253
19254 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19255
19256         [BZ #14700]
19257         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19258         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19259
19260 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19261
19262         * NEWS: Mention BZ #14716.
19263         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19264         when removing AVAILABLE1_USES_J macro.
19265
19266 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19267
19268         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19269         (__bswap_64): __uint64_t for unsigned 64-bit int.
19270
19271 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19272
19273         * include/string.h (memmem): Declare libc hidden alias.
19274         * string/memmem.c (memmem): Define libc hidden alias.
19275         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19276         __read, __close instead of open, read, close.
19277
19278 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19279
19280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19281         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19282         global and hidden.
19283         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19284         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19285         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19286         Likewise.
19287         (__rawmemchr_sse2): Likewise.
19288         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19289         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19290         (__strchr_sse2): Likewise.
19291         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19292         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19293         (__strcasecmp_sse2): Likewise.
19294         (__strncasecmp_sse2): Likewise.
19295         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19296         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19297         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19298         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19299         (__strrchr_sse2): Likewise.
19300         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19301         ifunc-impl-list.c.
19302         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19303         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19304         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19305         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19306         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19307         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19308         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19309         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19310         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19311         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19312         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19313         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19314         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19315         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19316         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19317         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19318         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19319         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19320         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19321         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19322         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19323         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19324         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19325         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19326         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19327         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19328         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19329         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19330         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19331         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19332
19333         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19334         global and hidden.
19335         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19336         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19337         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19338         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19339         Likewise.
19340         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19341         Likewise.
19342         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19343         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19344         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19345         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19346         ifunc-impl-list.c.
19347         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19348         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19349         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19350         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19351         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19352         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19353         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19354         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19355         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19356         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19357         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19358         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19359         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19360         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19361         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19362         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19363         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19364         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19365         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19366         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19367         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19368         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19369         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19370         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19371         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19372         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19373         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19374         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19375         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19376         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19377         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19378         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19379         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19380         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19381         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19382         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19383         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19384         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19385         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19386         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19387         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19388
19389         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19390         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19391         * include/ifunc-impl-list.h: New file.
19392         * misc/ifunc-impl-list.c: Likewise.
19393         * misc/Makefile (routines): Add ifunc-impl-list.
19394         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19395         * string/test-string.h: Include <ifunc-impl-list.h>.
19396         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19397         impl_array): New variables.
19398         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19399         are defined.
19400         (test_init): Call __libc_ifunc_impl_list to initialize
19401         func_list if TEST_IFUNC and TEST_NAME are defined.
19402
19403         * string/Makefile (strop-tests): Add bcopy and bzero.
19404         * string/test-bcopy.c: New file.
19405         * string/test-bzero.c: Likewise.
19406         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19407         defined.
19408         * string/test-memset.c: Support bzero test if TEST_BZERO is
19409         defined.
19410         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19411         __libc_memmove.
19412         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19413         __libc_memset.
19414         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19415         of memset.
19416
19417 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19418
19419         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19420         * configure: Regenerated.
19421
19422         * Makeconfig (+link-static-before-libc): Don't include
19423         $(link-static-libc).
19424
19425         * libio/libio.h (_IO_pos_t): Remove.
19426
19427 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19428
19429         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19430         McGrath.
19431
19432 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19433
19434         * crypt/crypt-entry.c: Include fips-private.h.
19435         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19436         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19437         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19438         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19439
19440 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19441
19442         * crypt/crypt-private.h: Include stdbool.h.
19443         (_ufc_setup_salt_r): Return bool.
19444         * crypt/crypt-entry.c: Include errno.h.
19445         (__crypt_r): Return NULL with EINVAL for bad salt.
19446         * crypt/crypt_util.c (bad_for_salt): New.
19447         (_ufc_setup_salt_r): Check that salt is long enough and within
19448         the specified alphabet.
19449         * crypt/badsalttest.c: New file.
19450         * crypt/Makefile (tests): Add it.
19451         ($(objpfx)badsalttest): New.
19452
19453 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19454
19455         * NEWS: Add entry for BZ #14602.
19456
19457 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19458
19459         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19460         type-generic.
19461         * math/libm-test.inc: Update comment listing what functions and
19462         macros are tested.
19463         (isgreater_test): New function.
19464         (isgreaterequal_test): Likewise.
19465         (isless_test): Likewise.
19466         (islessequal_test): Likewise.
19467         (islessgreater_test): Likewise.
19468         (isunordered_test): Likewise.
19469         (main): Call the new functions.
19470
19471 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19472
19473         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19474         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19475         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19476         * sysdeps/i386/configure: Regenerated.
19477         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19478         * sysdeps/mach/configure: Regenerated.
19479         * sysdeps/mach/hurd/configure: Regenerated.
19480         * sysdeps/powerpc/configure: Regenerated.
19481         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19482         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19483         * sysdeps/s390/s390-32/configure: Regenerated.
19484         * sysdeps/s390/s390-64/configure: Regenerated.
19485         * sysdeps/sh/configure: Regenerated.
19486         * sysdeps/sparc/configure: Regenerated.
19487         * sysdeps/unix/sysv/linux/configure: Regenerated.
19488         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19489         * sysdeps/x86_64/configure: Regenerated.
19490
19491         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19492         defined.  Don't check if MAP is NULL.
19493
19494 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19495
19496         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19497         (_G_stat64): Likewise.
19498         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19499         (_G_stat64): Likewise.
19500         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19501         instead of struct _G_stat64.
19502         * libio/fileops.c (mmap_remap_check): Likewise.
19503         (decide_maybe_mmap): Likewise.
19504         (_IO_new_file_seekoff): Likewise.
19505         (_IO_file_stat): Likewise.
19506         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19507         _G_off64_t.
19508         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19509         instead of struct _G_stat64.
19510         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19511
19512 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19513
19514         [BZ #14602]
19515         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19516         Replace with ...
19517         (CHECK_EOL): New macro.
19518         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19519         CHECK_EOL.
19520         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19521         Replace with CHECK_EOL.
19522         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19523         Replace with CHECK_EOL.
19524
19525 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19526
19527         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19528         type-generic.
19529         * math/libm-test.inc: Update comment listing what functions and
19530         macros are tested.
19531         (finite_test): New function.
19532         (isinf_test): Likewise.
19533         (isnan_test): Likewise.
19534         (fpclassify_test): Test subnormal input.
19535         (isfinite_test): Likewise.
19536         (isnormal_test): Likewise.
19537         (main): Call the new functions.
19538
19539 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19540
19541         [BZ #14660]
19542         * Makerules (%.dynsym): Force C locale when running
19543         $(OBJDUMP) --dynamic-syms.
19544
19545 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19546
19547         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19548         <stdint.h>.
19549
19550 2012-10-06  David S. Miller  <davem@davemloft.net>
19551
19552         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19553         upper 32-bits of the length value in %o2 since we use branch-on-register
19554         tests which consider the entire 64-bit register.
19555
19556 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19557
19558         * string/test-strstr.c (check2): Add a test for page boundary.
19559
19560 2012-10-05  David S. Miller  <davem@davemloft.net>
19561
19562         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19563         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19564         file.
19565         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19566         sysdep_routines.
19567         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19568         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19569         and bzero when HWCAP_SPARC_CRYPTO is present.
19570
19571 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19572
19573         [BZ #14602]
19574         * string/test-strstr.c (check2): New function.
19575         (test_main): Call check2.
19576
19577         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19578         and bug-strchr1.
19579         * string/bug-strcasestr1.c (do_test): Moved to ...
19580         * string/test-strcasestr.c (check1): Here.  New function.
19581         (do_one_test): Break out result checking code into ...
19582         (check_result): This.  New function.
19583         (do_one_test): Call check_result.
19584         (test_main): Call check1.
19585         * string/bug-strchr1.c (do_test): Moved to ...
19586         * string/test-strchr.c (check1): Here.  New function.
19587         (do_one_test): Break out result checking code into ...
19588         (check_result): This.  New function.
19589         (do_one_test): Call check_result.
19590         (test_main): Call check1.
19591         * string/bug-strstr1.c (main): Moved to ...
19592         * string/test-strstr.c (check1): Here.  New function.
19593         (do_one_test): Break out result checking code into ...
19594         (check_result): This.  New function.
19595         (do_one_test): Call check_result.
19596         (test_main): Call check1.
19597         * string/bug-strcasestr1.c: Removed.
19598         * string/bug-strchr1.c: Likewise.
19599         * string/bug-strstr1.c: Likewise.
19600
19601         * elf/Makefile (dl-routines): Add hwcaps.
19602         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19603         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19604         (_dl_important_hwcaps): Moved to ...
19605         * elf/dl-hwcaps.c: Here.  New file.
19606         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19607
19608         [BZ #14557]
19609         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19610         if IS_IN_rtld isn't defined.
19611
19612         * elf/dl-support.c (_dl_sysinfo_map): New.
19613         Include "get-dynamic-info.h" and "setup-vdso.h".
19614         (_dl_non_dynamic_init): Call setup_vdso.
19615         * elf/dynamic-link.h: Don't include <assert.h>.
19616         (elf_get_dynamic_info): Moved to ...
19617         * elf/get-dynamic-info.h: Here.  New file.
19618         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19619         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19620         * elf/setup-vdso.h: Here.  New file.
19621         * elf/rtld.c: Include "setup-vdso.h".
19622         (dl_main): Call setup_vdso.
19623
19624 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19625
19626         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19627         creal in comment listing functions tested.  List finite, isinf,
19628         isnan, isless, islessequal, isgreater, isgreaterequal,
19629         islessgreater, isunordered, lgamma_r and pow10 as functions and
19630         macros not tested.  Mention which functions not tested are aliases
19631         for other functions.  Fix typo.  Note that signs of NaNs are not
19632         tested.
19633
19634         * scripts/config.guess: Update from config.git.
19635         * scripts/config.sub: Likewise.
19636
19637 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19638
19639         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19640         * misc/madvise.c (madvise): Renamed to __madvise.
19641         Make madvise a weak alias.
19642         * include/sys/mman.h: Declare __madvise.
19643         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19644         * sysdeps/unix/syscalls.list
19645         (madvise): Make __madvise the strong name, and madvise a weak alias.
19646         * sysdeps/unix/sysv/linux/syscalls.list
19647         (madvise, mmap): Remove redundant entries.
19648         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19649         * malloc/malloc.c (mtrim): Likewise.
19650         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19651
19652 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19653
19654         * sysdeps/mach/hurd/dl-cache.c: File removed.
19655         * config.h.in (USE_LDCONFIG): New #undef.
19656         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19657         * configure: Regenerated.
19658         * elf/Makefile (dl-routines): Add dl-cache only under
19659         [$(use-ldconfig) = yes].
19660         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19661         cache on [USE_LDCONFIG].
19662         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19663         [USE_LDCONFIG].
19664         * elf/rtld.c (dl_main): Likewise.
19665
19666 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19667
19668         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19669         _SC_LEVEL4_CACHE_LINESIZE.
19670
19671 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19672
19673         * sysdeps/unix/bsd/confstr.h: File removed.
19674
19675 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19676
19677         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19678         sys/sdt-config.h.
19679
19680 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19681
19682         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19683         Make 'mapoff' field ElfW(Off) rather than off_t.
19684
19685 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19686
19687         * nscd/Makefile: Remove nscd-cflags and all its users.
19688         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19689         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19690
19691         [BZ #10631]
19692         * malloc.c (malloc_printerr): Clarify error message.
19693
19694 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19695
19696         [BZ #14648]
19697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19698         Set bit_FMA_Usable if FMA is supported.
19699         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19700         macro.
19701         (bit_FMA4_Usable): Updated.
19702         (index_FMA_Usable): New macro.
19703         (CPUID_FMA): Likewise
19704         (HAS_FMA): Defined with bit_FMA_Usable.
19705
19706 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19707
19708         * bits/types.h (__swblk_t): Type removed.
19709         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19710         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19711         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19712         (__SWBLK_T_TYPE): Likewise.
19713         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19714         (__SWBLK_T_TYPE): Likewise.
19715         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19716         (__SWBLK_T_TYPE): Likewise.
19717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19718         (__SWBLK_T_TYPE): Likewise.
19719
19720 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19721             Honza Horak <hhorak@redhat.com>
19722
19723         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19724         (xdr_mapname): Use YPMAXMAP as maxsize.
19725         (xdr_peername): Use YPMAXPEER as maxsize.
19726         (xdr_keydat): Use YPAXRECORD as maxsize.
19727         (xdr_valdat): Use YPMAXRECORD as maxsize.
19728
19729 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19730
19731         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19732
19733         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19734         * csu/init-first.c: ... here.
19735         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19736         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19737         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19738         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19739         * sysdeps/i386/init-first.c: File removed.
19740         * sysdeps/sh/init-first.c: File removed.
19741
19742 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19743
19744         [BZ #14645]
19745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19746         if x * y might underflow to zero and z is zero.
19747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19749         * math/libm-test.inc (min_subnorm_value): New variable.
19750         (fma_test): Add more tests.
19751         (fma_test_towardzero): Likewise.
19752         (fma_test_downward): Likewise
19753         (fma_test_upward): Likewise.
19754         (initialize): Set min_subnorm_value.
19755
19756 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19757
19758         [BZ #14638]
19759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19760         0 + 0.
19761         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19762         mode for addition resulting in exact zero.
19763         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19765         exact 0 + 0.
19766         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19768         * math/libm-test.inc (fma_test): Add more tests.
19769         (fma_test_towardzero): New function.
19770         (fma_test_downward): Likewise.
19771         (fma_test_upward): Likewise.
19772         (main): Call the new functions.
19773
19774 2012-09-28  David S. Miller  <davem@davemloft.net>
19775
19776         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19777
19778 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19779
19780         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19781         instead of SIGALRM.
19782
19783         * sysdeps/gnu/_G_config.h: Moved to ...
19784         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19785         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19786         * sysdeps/generic/_G_config.h: ... here.
19787
19788         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19789
19790         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19791
19792         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19793         Conditionalize target on [libnss_test1.so-version].
19794
19795         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19796
19797         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19798         (elfobjdir): Move out of conditionals.
19799
19800         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19801         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19802         (__nss_lookup_function): Conditionalize label remove_from_tree on
19803         [!DO_STATIC_NSS || SHARED], matching its only use.
19804
19805 2012-09-28  David S. Miller  <davem@davemloft.net>
19806
19807         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19808         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19809         file.
19810         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19811         sysdep_routines.
19812         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19814         when HWCAP_SPARC_CRYPTO is present.
19815
19816 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19817
19818         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19819
19820 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19821
19822         [BZ #6530]
19823         * stdio-common/vfprintf.c (process_string_arg): Revert
19824         2000-07-22 change.
19825
19826 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19827
19828         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19829         for testcase.
19830         * stdio-common/tst-sprintf.c: Include <locale.h>
19831         (main): Test sprintf's handling of incomplete multibyte
19832         characters.
19833
19834 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19835
19836         * elf/dl-runtime.c (VERSYMIDX): Removed.
19837         * elf/dl-version.c (VERSYMIDX): Likewise.
19838         * elf/do-rel.h (VERSYMIDX): Likewise.
19839         (VALIDX): Likewise.
19840         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19841         * elf/rtld.c (VALIDX): Likewise.
19842         (ADDRIDX): Likewise.
19843         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19844         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19845         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19846         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19847         (VALIDX): Likewise.
19848         (ADDRIDX): Likewise.
19849
19850 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19851
19852         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19853
19854 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19855
19856         [BZ #11438]
19857         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19858         to global scope.
19859         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19860         addresses are in the same scope as 192.0.2/24.
19861         * posix/gai.conf: Document new scope table defaults.
19862
19863 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19864
19865         [BZ #5298]
19866         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19867         for ftell.  Compute offsets from write pointers instead.
19868         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19869
19870 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19871
19872         [BZ #14543]
19873         * libio/Makefile (tests): New test case tst-fseek.
19874         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19875         combination works in wide mode.
19876         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19877         state when the external buffer state changes.
19878
19879 2012-09-27  David S. Miller  <davem@davemloft.net>
19880
19881         [BZ #14376]
19882         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19883         pass reloc->r_addend in as the 'high' argument to
19884         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19885
19886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19887
19888 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19889
19890         * rt/tst-aio2.c: Include <pthread.h>.
19891         * rt/tst-aio3.c: Likewise.
19892
19893 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19894
19895         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19896
19897 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19898
19899         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19900         contents on [SHARED].
19901
19902 2012-09-26  Marek Polacek  <polacek@redhat.com>
19903
19904         [BZ #14530]
19905         [BZ #13741]
19906         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19907         for C++ and GCC <4.3 as well as for non GCC compilers.
19908
19909 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19910
19911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19912
19913 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19914
19915         * Makefile.in (all, install): Declare with .PHONY.
19916         Reported by Michael Hope <michael.hope@linaro.org>.
19917
19918 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19919
19920         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19921         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19922         system header.
19923         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19924         Likewise.
19925         (sydep_routines): Add the new and the internal functions.
19926         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19927         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19929         (GLIBC_2.17): Add the new function.
19930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19931         (GLIBC_2.17): Likewise.
19932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19933         (GLIBC_2.17): Likewise.
19934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19935         (GLIBC_2.17): Likewise.
19936         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19937
19938 2012-09-25  Alan Modra  <amodra@gmail.com>
19939
19940         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19941         Add release barrier before setting once_control to say
19942         initialisation is done.  Add hints on lwarx.  Use macro in
19943         place of isync.
19944         (clear_once_control): Add release barrier.
19945
19946 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19947
19948         [BZ #13629]
19949         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19950         specially.
19951         * math/s_clog10.c (__clog10): Likewise.
19952         * math/s_clog10f.c (__clog10f): Likewise.
19953         * math/s_clog10l.c (__clog10l): Likewise.
19954         * math/s_clogf.c (__clogf): Likewise.
19955         * math/s_clogl.c (__clogl): Likewise.
19956         * math/Makefile (libm-calls): Add x2y2m1.
19957         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19958         (__x2y2m1): Likewise.
19959         (__x2y2m1l): Likewise.
19960         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19961         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19962         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19963         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19964         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19965         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19966         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19967         * sysdeps/i386/fpu/libm-test-ulps: Update.
19968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19969
19970         [BZ #14621]
19971         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19972         int as type of variable DEPTH.
19973         (glob): Use size_t instead of int as type of variables NEWCOUNT
19974         and OLD_PATHC.
19975
19976 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19977
19978         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19979         Add s_sincosf-sse2.
19980         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19981         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19982         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19983         macros for using routine as __sincosf_ia32.
19984         Use macro for function declaration and weak_alias.
19985         * sysdeps/i386/fpu/libm-test-ulps: Update.
19986
19987         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19989
19990         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19991         subnormal argument.
19992         * math/s_cexpf.c (__cexpf): Likewise.
19993         * math/s_csinf.c (__csinf): Likewise.
19994         * math/s_csinhf.c (__csinhf): Likewise.
19995         * math/s_ctanf.c (__ctanf): Likewise.
19996         * math/s_ctanhf.c (__ctanhf): Likewise.
19997         * math/s_ccosh.c (__ccoshf): Likewise.
19998         * math/s_cexp.c (__cexpl): Likewise.
19999         * math/s_csin.c (__csin): Likewise.
20000         * math/s_csinh.c (__csinh): Likewise.
20001         * math/s_ctan.c (__ctan): Likewise.
20002         * math/s_ctanh.c (ctanh): Likewise.
20003         * math/s_ccoshl.c (__ccoshl): Likewise.
20004         * math/s_cexpl.c (__cexpl): Likewise.
20005         * math/s_csinl.c (__csinl): Likewise.
20006         * math/s_csinhl.c (__csinhl): Likewise.
20007         * math/s_ctanl.c (__ctanl): Likewise.
20008         * math/s_ctanhl.c (__ctanhl): Likewise.
20009
20010 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20011
20012         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20013         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20014         (_IO_off_t): Define to __off_t, not _G_off_t.
20015         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20016         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20017         (_IO_wint_t): Define to wint_t, not _G_wint_t.
20018         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20019         type of __dummy and __dummy2 fields.
20020         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20021         (_G_ssize_t): Likewise.
20022         (_G_off_t): Likewise.
20023         (_G_pid_t): Likewise.
20024         (_G_uid_t): Likewise.
20025         (_G_wchar_t): Likewise.
20026         (_G_wint_t): Likewise.
20027         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20028         (_G_ssize_t): Likewise.
20029         (_G_off_t): Likewise.
20030         (_G_pid_t): Likewise.
20031         (_G_uid_t): Likewise.
20032         (_G_wchar_t): Likewise.
20033         (_G_wint_t): Likewise.
20034         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20035         (_G_ssize_t): Likewise.
20036         (_G_off_t): Likewise.
20037         (_G_pid_t): Likewise.
20038         (_G_uid_t): Likewise.
20039         (_G_wchar_t): Likewise.
20040         (_G_wint_t): Likewise.
20041
20042 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20043
20044         * malloc/arena.c: Include malloc-sysdep.h.
20045         (shrink_heap): Use check_may_shrink_heap to decide if madvise
20046         is sufficient to shrink the heap or an unmap is needed.
20047         * sysdeps/generic/malloc-sysdep.h: New file.  Define
20048         new function check_may_shrink_heap.
20049         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
20050         new function check_may_shrink_heap.
20051
20052 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20053
20054         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20055         comments.
20056
20057 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
20058
20059         * catgets/test-gencat.sh: Add "set -e".
20060         * elf/tst-pathopt.sh: Likewise.
20061         * grp/tst_fgetgrent.sh: Likewise.
20062         * iconvdata/run-iconv-test.sh: Likewise.
20063         * intl/tst-gettext.sh: Likewise.
20064         * intl/tst-gettext2.sh: Likewise.
20065         * intl/tst-gettext4.sh: Likewise.
20066         * intl/tst-gettext6.sh: Likewise.
20067         * intl/tst-translit.sh: Likewise.
20068         * io/ftwtest-sh: Likewise.
20069         * libio/test-freopen.sh: Likewise.
20070         * malloc/tst-mtrace.sh: Likewise.
20071         * posix/globtest.sh: Likewise.
20072         * posix/tst-getconf.sh: Likewise.
20073         * posix/wordexp-tst.sh: Likewise.
20074         * stdio-common/tst-printf.sh: Likewise.
20075         * stdio-common/tst-unbputc.sh: Likewise.
20076         * stdlib/tst-fmtmsg.sh: Likewise.
20077         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20078         * catgets/Makefile: Do not specify -e option when running
20079         testsuite shell scripts.
20080         * elf/Makefile: Likewise.
20081         * grp/Makefile: Likewise.
20082         * iconvdata/Makefile: Likewise.
20083         * intl/Makefile: Likewise.
20084         * io/Makefile: Likewise.
20085         * libio/Makefile: Likewise.
20086         * malloc/Makefile: Likewise.
20087         * posix/Makefile: Likewise.
20088         * stdio-common/Makefile: Likewise.
20089         * stdlib/Makefile: Likewise.
20090         * sysdeps/x86_64/Makefile: Likewise.
20091
20092         * io/ftwtest-sh: Add copyright header.
20093         * posix/globtest.sh: Likewise.
20094         * posix/tst-getconf.sh: Likewise.
20095         * posix/wordexp-tst.sh: Likewise.
20096         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20097
20098 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20099
20100         [BZ #13679]
20101         * Makeconfig (+link): Defined as $(+link-static) if
20102         $(build-shared) isn't yes.
20103         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20104         isn't yes.
20105         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20106
20107         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20108
20109         [BZ #14562]
20110         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20111         new chunk size with MALLOC_ALIGN_MASK.
20112
20113 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20114
20115         [BZ #5044]
20116         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20117         <rounding-mode.h>.
20118         (__printf_fphex): Determine rounding using get_rounding_mode and
20119         round_away.
20120         * stdio-common/tst-printf-round.c (struct hex_test): New
20121         structure.
20122         (hex_tests): New variable.
20123         (test_hex_in_one_mode): New function.
20124         (do_test): Also run tests for hex float output.
20125
20126 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20127
20128         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20129         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20130         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20131         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20132         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20133         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20134         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20135         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20136
20137 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20138
20139         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20140         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20141         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20142         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20143
20144 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20145
20146         [BZ #14579]
20147         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20148         mode only.
20149         * elf/tst-rtld-load-self.sh: New test.
20150         * elf/Makefile: Run it.
20151
20152 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20153
20154         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20155         (tst-writev-ENV): Remove.
20156         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20157
20158 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20159
20160         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20161
20162 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20163
20164         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20165         unconditional.
20166         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20167         Likewise.
20168         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20169         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20170         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20171         Likewise.
20172
20173 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20174
20175         [BZ #14587]
20176         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20177         * config.make.in (have-cpp-asm-debuginfo): Removed.
20178         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20179         * configure: Regenerated.
20180
20181 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20182
20183         [BZ #5044]
20184         * stdio-common/printf_fp.c: Include <stdbool.h> and
20185         <rounding-mode.h>.
20186         (___printf_fp): Determine rounding using get_rounding_mode and
20187         round_away.
20188         * stdio-common/tst-printf-round.c: New file.
20189         * stdio-common/Makefile (tests): Add tst-printf-round.
20190         (link-libm): New variable.
20191         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20192
20193 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20194
20195         [BZ #14576]
20196         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20197         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20198         Likewise.
20199         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20200         Likewise.
20201
20202 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20203
20204         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20205         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20206         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20207         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20208
20209 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20210
20211         [BZ #14518]
20212         * include/rounding-mode.h: New file.
20213         * sysdeps/generic/get-rounding-mode.h: Likewise.
20214         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20215         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20216         (MAX_VALUE): New macro.
20217         (MIN_VALUE): Likewise.
20218         (overflow_value): New function.
20219         (underflow_value): Likewise.
20220         (round_and_return): Use overflow_value and underflow_value to
20221         determine return values in overflow and underflow cases.  Use
20222         round_away to determine rounding depending on rounding mode.
20223         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20224         determine return values in overflow and underflow cases.
20225         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20226         (struct test_results): New structure.
20227         (struct test): Use struct test_results to store expected results
20228         for all rounding modes.
20229         (TEST): Include expected results for all rounding modes.
20230         (test_in_one_mode): New function.
20231         (do_test): Use test_in_one_mode to compute and check results.
20232         Check results for all rounding modes.
20233         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20234         $(link-libm).
20235
20236 2012-12-09  Allan McRae  <allan@archlinux.org>
20237
20238         * sysdeps/i386/fpu/libm-test-ulps: Update
20239
20240 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20241
20242         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20243         (_G_int32_t): Likewise.
20244         (_G_uint16_t): Likewise.
20245         (_G_uint32_t): Likewise.
20246         (_G_HAVE_BOOL): Likewise.
20247         (_G_HAVE_ATEXIT): Likewise.
20248         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20249         (_G_HAVE_IO_FILE_OPEN): Likewise.
20250         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20251         (_G_int32_t): Likewise.
20252         (_G_uint16_t): Likewise.
20253         (_G_uint32_t): Likewise.
20254         (_G_HAVE_BOOL): Likewise.
20255         (_G_HAVE_ATEXIT): Likewise.
20256         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20257         (_G_HAVE_IO_FILE_OPEN): Likewise.
20258         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20259         (_G_int32_t): Likewise.
20260         (_G_uint16_t): Likewise.
20261         (_G_uint32_t): Likewise.
20262         (_G_HAVE_BOOL): Likewise.
20263         (_G_HAVE_ATEXIT): Likewise.
20264         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20265         (_G_HAVE_IO_FILE_OPEN): Likewise.
20266
20267 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20268
20269         * csu/libc-tls.c: Update copyright years.
20270
20271 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20272
20273         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20274         [!_G_USING_THUNKS]: Remove conditional code.
20275         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20276         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20277
20278         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20279         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20280         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20281         (_G_VTABLE_LABEL_PREFIX): Likewise.
20282         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20283         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20284         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20285         (_G_VTABLE_LABEL_PREFIX): Likewise.
20286         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20287         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20288         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20289         (_G_VTABLE_LABEL_PREFIX): Likewise.
20290         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20291
20292 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
20293
20294         * libio/Makefile: Include ../Makeconfig before tests.
20295         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20296         only if $(build-shared) is yes.
20297
20298         * iconv/gconv_db.c: Update copyright years.
20299
20300 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20301
20302         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20303         unwind info if defined PIC. Fix special cases description.
20304         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20305
20306         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20307         DP_HI_MASK entry.
20308         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20309
20310 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
20311
20312         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20313
20314         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20315         is NULL.
20316
20317         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20318         (LDLIBS-tst-chk4): This.
20319         (LDFLAGS-tst-chk5): Renamed to ...
20320         (LDLIBS-tst-chk5): This.
20321         (LDFLAGS-tst-chk6): Renamed to ...
20322         (LDLIBS-tst-chk6): This.
20323         (LDFLAGS-tst-lfschk4): Renamed to ...
20324         (LDLIBS-tst-lfschk4): This.
20325         (LDFLAGS-tst-lfschk5): Renamed to ...
20326         (LDLIBS-tst-lfschk5): This.
20327         (LDFLAGS-tst-lfschk6): Renamed to ...
20328         (LDLIBS-tst-lfschk6): This.
20329
20330         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20331         on $(common-objpfx)soversions.mk.
20332
20333 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20334
20335         [BZ #10014]
20336         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20337         example host name.
20338
20339 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20340
20341         * malloc/arena.c (arena_get_retry): New function that gets
20342         another arena for the caller to try its request on.
20343         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20344         current arena cannot fulfill the request.
20345         (__libc_memalign): Likewise.
20346         (__libc_memalign): Likewise.
20347         (__libc_pvalloc): Likewise.
20348         (__libc_calloc): Likewise.
20349
20350 2012-09-05  John Tobey  <john.tobey@gmail.com>
20351
20352         [BZ #13542]
20353         * manual/arith.texi (Operations on Complex): Fix description
20354         of carg branch cut.
20355
20356 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20357
20358         [BZ #10014]
20359         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20360         host name.
20361
20362         [BZ #10038]
20363         * manual/memory.texi (Memory): Make order of menu items match
20364         order of sections.
20365
20366 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20367
20368         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20369         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20370         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20371
20372 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20373
20374         * csu/libc-tls.c (static_dtv): Renamed to ...
20375         (_dl_static_dtv): This.  Make it global.
20376         (_dl_initial_dtv): Removed.
20377         (__libc_setup_tls): Updated.
20378         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20379         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20380         DL_INITIAL_DTV.
20381
20382 2012-09-06  Petr Machata  <pmachata@redhat.com>
20383
20384         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20385         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20386         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20387         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20388
20389 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20390
20391         [BZ #14545]
20392         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20393         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20394         freeing dtv[-1].
20395
20396 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20397
20398         [BZ #14544]
20399         * Makeconfig (link-static-before-libc): Replace $(+prector)
20400         with $(+prectorT).
20401         (link-static-after-libc): Replace $(+postctor) with
20402         $(+postctorT).
20403         (link-bounded): Replace $(+prector)/$(+postctor) with
20404         $(+prectorT)/$(+postctorT).
20405         (+prectorT): New macro.
20406         (+postctorT): Likewise.
20407
20408 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20409
20410         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20411         (round_str): Handle values above the maximum for IBM long double
20412         as inexact.
20413         * stdlib/tst-strtod-round.c (tests): Regenerated.
20414
20415 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20416
20417         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20418         assembler flag.
20419         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20420         zarch_nohighgprs around the zarch optimized routines.
20421         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20422         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20423         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20424         for zarch.
20425
20426 2012-09-05  David S. Miller  <davem@davemloft.net>
20427
20428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20429
20430         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20431         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20432         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20433         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20434         entries.
20435
20436 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20437
20438         * malloc/arena.c: Fold copyright years.
20439         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20440
20441 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20442
20443         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20444
20445 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20446
20447         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20448
20449 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20450
20451         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20452         change internal state upon failure.
20453
20454 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20455
20456         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20457         * malloc/memusage.c (mmap): Likewise.
20458         (mmap64, mremap): Likewise.  Adjust name in comment.
20459
20460 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20461
20462         * libio/fileops.c: Fix typos in comments.
20463         * libio/oldfileops.c: Likewise.
20464         * libio/wfileops.c: Likewise.
20465
20466 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20467
20468         [BZ #1349]
20469         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20470         (tst-malloc-usable-ENV): Set environment for test case.
20471         * malloc/hooks.c (malloc_check_get_size): New function to get
20472         requested size.
20473         * malloc/malloc.c (musable): Use malloc_check_get_size.
20474         * malloc/tst-malloc-usable.c: New test case.
20475
20476 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20477
20478         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20479
20480 2012-09-05  Allan McRae  <allan@archlinux.org>
20481
20482         [BZ #13966]
20483         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20484         determine header location.
20485         * configure: Regenerated.
20486
20487 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20488
20489         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20490         float format.
20491         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20492         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20493         format.
20494         (test): Regenerate.
20495
20496 2012-09-04  David S. Miller  <davem@davemloft.net>
20497
20498         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20499         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20500         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20501
20502 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20503
20504         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20505         failures.
20506
20507         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20508
20509 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20510
20511         [BZ #9914]
20512         * libio/iogetdelim.c: Include <limits.h>.
20513         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20514         + len + 1 would overflow.
20515
20516 2012-09-03  Andreas Jaeger  <aj@suse.de>
20517
20518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20519         * sysdeps/i386/fpu/libm-test-ulps: Update.
20520
20521 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20522
20523         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20524         Add s_sinf-sse2, s_conf-sse2.
20525
20526         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20527         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20528         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20529         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20530
20531         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20532         for using routine as __sinf_ia32.
20533         Use macro for function declaration and weak_alias.
20534         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20535         for using routine as __cosf_ia32.
20536         Use macro for function declaration and weak_alias.
20537
20538         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20539         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20540
20541         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20542         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20544
20545         * math/libm-test.inc (cos_test): Add more test cases.
20546         (sin_test): Likewise.
20547         (sincos_test): Likewise.
20548
20549 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20550
20551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20552         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20553         hidden.
20554         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20555
20556 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20557
20558         [BZ #14538]
20559         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20560         first element of the GOT.
20561         (elf_machine_load_address): Return the difference between
20562         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20563
20564 2012-09-01  Allan McRae  <allan@archlinux.org>
20565
20566         [BZ #13412]
20567         * configure.in (AWK): Require gawk version 3.0 or later.
20568         * configure: Regenerated.
20569
20570 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20571
20572         * sysdeps/unix/sysv/linux/kernel-features.h
20573         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20574         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20575         [__NR_clock_getres]: Make code unconditional.
20576         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20577         (clock_getcpuclockid): Remove code left unreachable by removal of
20578         conditionals.
20579         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20580         code unconditional.
20581         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20582         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20583         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20584         Make code unconditional.
20585         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20586         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20587         * sysdeps/unix/sysv/linux/clock_settime.c
20588         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20589         conditional code.
20590         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20591         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20592
20593 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20594
20595         [BZ #14476]
20596         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20597         scripts/test-installation.pl.
20598
20599         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20600         and $ld_so_version if it is set.
20601
20602 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20603
20604         [BZ #14516]
20605         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20606         failure if reading from procfs failed.
20607         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20608
20609 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20610
20611         * sysdeps/unix/sysv/linux/kernel-features.h
20612         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20613         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20614         Remove conditional code.
20615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20616         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20617         Remove conditional code.
20618         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20619         * sysdeps/unix/sysv/linux/i386/fxstat.c
20620         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20621         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20622         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20623         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20624         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20625         * sysdeps/unix/sysv/linux/i386/lxstat.c
20626         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20627         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20628         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20629         Remove conditional code.
20630         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20631         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20632         Remove conditional code.
20633         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20634         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20635         <kernel-features.h>.
20636         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20637         Remove.
20638         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20639         Remove conditional code.
20640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20641         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20642         Remove conditional.
20643
20644 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20645
20646         [BZ #5400]
20647         * NEWS: Add fixed bug number.
20648
20649 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20650
20651         [BZ #14519]
20652         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20653         underflowing exponent in case of negative sign.
20654         * stdlib/tst-strtod-round-data: Add more tests.
20655         * stdlib/tst-strtod-round.c (tests): Regenerated.
20656
20657         [BZ #3479]
20658         * stdlib/strtod_l.c (NDIG): Remove.
20659         (HEXNDIG): Likewise.
20660         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20661         smallest representable value.
20662         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20663         lie within an exact representation of 1/2 ulp of the result.
20664         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20665         unconditionally.
20666         (TENS_P9_IDX): Define unconditionally.
20667         (TENS_P9_SIZE): Likewise.
20668         (TENS_P10_IDX): Likewise.
20669         (TENS_P10_SIZE): Likewise.
20670         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20671         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20672         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20673         entries for 10^2^13 and 10^2^14.
20674         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20675         (TENS_P13_IDX): Define.
20676         (TENS_P13_SIZE): Likewise.
20677         (TENS_P14_IDX): Likewise.
20678         (TENS_P14_SIZE): Likewise.
20679         (_fpioconst_pow10): Change array size to
20680         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20681         unconditional.
20682         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20683         1024]: Add entries for 10^2^13 and 10^2^14.
20684         [LAST_POW10 > _LAST_POW10]: Remove #error.
20685         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20686         (_fpioconst_pow10): Change array size to
20687         FPIOCONST_POW10_ARRAY_SIZE.
20688         * stdlib/gen-fpioconst.c: New file.
20689         * stdlib/gen-tst-strtod-round.c: Likewise.
20690         * stdlib/tst-strtod-round-data: Likewise.
20691         * stdlib/tst-strtod-round.c: Likewise.
20692         * stdlib/Makefile (tests): Add tst-strtod-round.
20693
20694         [BZ #14459]
20695         * stdlib/strtod_l.c: Include <stdint.h>.
20696         (NDEBUG): Do not define.
20697         (round_and_return): Change EXPONENT parameter to type intmax_t.
20698         Rearrange calculations to avoid internal overflow possibilities.
20699         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20700         Rearrange calculations to avoid internal overflow possibilities.
20701         Assert that number fits inside MPNSIZE limbs.
20702         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20703         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20704         calculations and add assertions to avoid internal overflow
20705         possibilities.  Add casts to avoid signed/unsigned operations.
20706         * stdlib/tst-strtod-overflow.c: New file.
20707         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20708
20709 2012-08-25  Marek Polacek  <polacek@redhat.com>
20710
20711         * time/time.h: Fix some typos in comments.
20712
20713 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20714
20715         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20716         * posix/tst-rfc3484-2.c: Likewise.
20717         * posix/tst-rfc3484-3.c: Likewise.
20718
20719 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20720
20721         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20722         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20723
20724 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20725
20726         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20727         #include of fxstatat64.c.
20728
20729 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20730
20731         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20732         * shadow/getspent_r.c: Likewise.
20733         * shadow/getspnam.c: Likewise.
20734         * shadow/getspnam_r.c: Likewise.
20735         * gshadow/getsgent.c: Likewise.
20736         * gshadow/getsgent_r.c: Likewise.
20737         * gshadow/getsgnam.c: Likewise.
20738         * gshadow/getsgnam_r.c: Likewise.
20739         * inet/getnetbyad.c: Likewise.
20740         * inet/getnetbyad_r.c: Likewise.
20741         * inet/getnetbynm.c: Likewise.
20742         * inet/getnetbynm_r.c: Likewise.
20743         * inet/getnetent.c: Likewise.
20744         * inet/getnetent_r.c: Likewise.
20745         * inet/getproto.c: Likewise.
20746         * inet/getproto_r.c: Likewise.
20747         * inet/getprtent.c: Likewise.
20748         * inet/getprtent_r.c: Likewise.
20749         * inet/getprtname.c: Likewise.
20750         * inet/getprtname_r.c: Likewise.
20751         * inet/getrpcbyname.c: Likewise.
20752         * inet/getrpcbyname_r.c: Likewise.
20753         * inet/getrpcbynumber.c: Likewise.
20754         * inet/getrpcbynumber_r.c: Likewise.
20755         * inet/getrpcent.c: Likewise.
20756         * inet/getrpcent_r.c: Likewise.
20757         * inet/getaliasent.c: Likewise.
20758         * inet/getaliasent_r.c: Likewise.
20759         * inet/getaliasname.c: Likewise.
20760         * inet/getaliasname_r.c: Likewise.
20761         * nscd/getgrgid_r.c: Likewise.
20762         * nscd/getgrnam_r.c: Likewise.
20763         * nscd/gethstbyad_r.c: Likewise.
20764         * nscd/gethstbynm3_r.c: Likewise.
20765         * nscd/getpwnam_r.c: Likewise.
20766         * nscd/getpwuid_r.c: Likewise.
20767         * nscd/getsrvbynm_r.c: Likewise.
20768         * nscd/getsrvbypt_r.c: Likewise.
20769         * nscd/gai.c: Likewise.
20770
20771         * configure.in (build_nscd): New substituted variable, set
20772         by --disable-build-nscd and defaults to $use_nscd.
20773         * configure: Regenerated.
20774         * config.make.in (build-nscd): New substituted variable.
20775         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20776         Change conditional to require [$(build-nscd) = yes] as well.
20777         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20778
20779         [BZ# 13696]
20780         * configure.in (use_nscd): New substituted variable, set by
20781         --disable-nscd.  If enabled, define USE_NSCD.
20782         * configure: Regenerated.
20783         * config.h.in: Add USE_NSCD.
20784         * config.make.in (use-nscd): New substituted variable.
20785         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20786         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20787         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20788         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20789         (CFLAGS-getgrnam_r.c): Likewise.
20790         (CFLAGS-initgroups.c): Likewise.
20791         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20792         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20793         Variables removed.
20794         * inet/getnetgrent_r.c
20795         (nscd_setnetgrent): New function, broken out of ...
20796         (setnetgrent): ... here.  Call it.
20797         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20798         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20799         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20800         * nscd/Makefile (routines, aux): Move definitions after include of
20801         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20802         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20803         Conditionalize on [USE_NSCD].
20804         (is_nscd, nscd_init_cb): Likewise.
20805         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20806         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20807         * nss/nss_db/db-init.c: Likewise.
20808         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20809         [USE_NSCD].
20810         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20811         (make_request): Use it.
20812         (cache_valid_p): New function.
20813         (__check_pf): Use it.
20814         * NEWS: Add item for --disable-nscd.
20815
20816 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20817
20818         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20819         to support sed >= 4.2.1-20-ga9bf076.
20820         * configure: Regenerated.
20821
20822 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20823
20824         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20825         Conditionalize whole body on [IREL].
20826
20827 2012-08-22  Jeff Law <law@redhat.com>
20828
20829         [BZ #14505]
20830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20831         if the family is PF_UNSPEC.
20832
20833 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20834
20835         * Makerules (lib-version): Rename from V.
20836         (install-lib-nosubdir): Change V to lib-version.
20837
20838 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20839
20840         [BZ #14252]
20841         * powerpc32/power6/wcschr.c: New file.
20842         * powerpc32/power6/wcscpy.c: New file.
20843         * powerpc32/power6/wcsrchr.c: New file.
20844         * powerpc64/power6/wcschr.c: New file.
20845         * powerpc64/power6/wcscpy.c: New file.
20846         * powerpc64/power6/wcsrchr.c: New file.
20847
20848 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20849
20850         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20851         (two_way_short_needle): Use it.
20852         * string/strstr.c (AVAILABLE1_USES_J): Define.
20853         * string/strcasestr.c: Likewise.
20854
20855         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20856         array references.
20857         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20858
20859         [BZ #11607]
20860         * NEWS: Add an entry.
20861         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20862         define their defaults.
20863         (two_way_short_needle): Detect end-of-string on-the-fly.
20864         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20865         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20866         * string/bug-strcasestr1.c: New test.
20867         * string/Makefile: Run it.
20868
20869 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20870
20871         [BZ #11607]
20872         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20873         the first character.
20874
20875 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20876
20877         * csu/elf-init.c (__libc_csu_irel): Function removed.
20878         * csu/libc-start.c (apply_irel): New function.
20879         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20880
20881 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20882
20883         * sysdeps/unix/sysv/linux/kernel-features.h
20884         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20885         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20886         <kernel-features.h>.
20887         [__NR_fadvise64_64]: Make code unconditional.
20888         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20889         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20890         !__NR_fadvise64_64)]: Likewise.
20891         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20892         !__NR_fadvise64_64))]: Likewise.
20893         [__NR_fadvise64]: Make code unconditional.
20894         [!__NR_fadvise64]: Remove conditional code.
20895         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20896         <kernel-features.h>.
20897         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20898         unconditional.
20899         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20900         conditional code.
20901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20902         not include <kernel-features.h>.
20903         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20904         unconditional.
20905         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20906         conditional code.
20907         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20908         include <kernel-features.h>.
20909         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20910         unconditional.
20911         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20912         conditional code.
20913
20914 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20915
20916         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20917         slight instruction rearrangements per scrollpipe analysis.
20918         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20919
20920 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20921
20922         * manual/syslog.texi (syslog; vsyslog, closelog):
20923         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20924         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20925
20926         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20927         DSOCAPS to match condition on defining it.
20928
20929 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20930
20931         * sysdeps/unix/sysv/linux/kernel-features.h
20932         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20934         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20935         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20937         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20938         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20940         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20941         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20942
20943         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20944         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20945
20946         * sysdeps/unix/sysv/linux/kernel-features.h
20947         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20948         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20949         unconditional.
20950         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20951         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20952         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20953         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20954         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20955         Make code unconditional.
20956         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20957         (__mmap64) [!__NR_mmap2]: Likewise.
20958         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20959         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20960         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20961         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20962         [__NR_mmap2]: Make code unconditional.
20963         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20964         (__mmap64) [!__NR_mmap2]: Likewise.
20965
20966 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20967
20968         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20969
20970 2012-08-18  Andreas Jaeger  <aj@suse.de>
20971
20972         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20973
20974 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20975
20976         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20977         * include/unistd.h (__have_sock_cloexec): Likewise.
20978         (__have_pipe2): Likewise.
20979         (__have_dup3): Likewise.
20980
20981 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20982
20983         [BZ #9685]
20984         * include/unistd.h (__have_pipe2): Change define into an extern int.
20985         (__have_dup3): Likewise.
20986         * socket/have_sock_cloexec.c: Include fcntl.h.
20987         (__have_pipe2): New variable.
20988         (__have_dup3): Likewise.
20989
20990 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20991
20992         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20993
20994 2012-08-17  Marek Polacek  <polacek@redhat.com>
20995
20996         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20997         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20998
20999 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21000
21001         * configure.in: Add AC_SUBST for sysheaders.
21002         * configure: Regenerated.
21003         * config.make.in (sysheaders): New substituted variable.
21004
21005         * sysdeps/unix/mkfifo.c: Moved ...
21006         * sysdeps/posix/mkfifo.c: ... here.
21007         * sysdeps/unix/mkfifoat.c: Moved ...
21008         * sysdeps/posix/mkfifoat.c: ... here.
21009
21010         * sysdeps/unix/utime.c: Moved ...
21011         * sysdeps/posix/utime.c: ... here.
21012
21013         * sysdeps/unix/time.c: Moved ...
21014         * sysdeps/posix/time.c: ... here.
21015         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21016         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21017
21018         * sysdeps/unix/nice.c: Moved ...
21019         * sysdeps/posix/nice.c: ... here.
21020
21021         * sysdeps/unix/alarm.c: Moved ...
21022         * sysdeps/posix/alarm.c: ... here.
21023
21024         * intl/Makefile ($(codeset_mo)): Depend on the input file.
21025
21026 2012-08-17  Jeff Law <law@redhat.com>
21027
21028         * intl/Makefile (codeset_mo): New variable.
21029         ($(codeset_mo)): New target.
21030         (tst-codeset.out): Depend on that.  Remove explicit rule.
21031         (tst-gettext3.out, tst-gettext5.out): Likewise.
21032         (LOCPATH-ENV, tst-codeset-ENV): New variables.
21033         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21034         * intl/tst-codeset.sh: Remove.
21035         * intl/tst-gettext3.sh: Likewise.
21036         * intl/tst-gettext5.sh: Likewise.
21037
21038 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21039
21040         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
21041         * sysdeps/unix/syscalls.list: ... here.
21042
21043         * sysdeps/posix/getaddrinfo.c
21044         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21045         (gaiconf_init, gaiconf_reload): Use them.
21046         [!_STATBUF_ST_NSEC]
21047         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21048         Define using time_t rather than struct timespec.
21049
21050         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21051         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21052         Macros removed.
21053         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21054         [!NO_THREADS].
21055         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21056         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21057         Likewise.
21058
21059         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21060         __libc_cleanup_push argument.
21061
21062         * bits/param.h: New file.
21063         * misc/sys/param.h: New file.
21064         * include/sys/param.h: New file.
21065         * misc/Makefile (headers): Add bits/param.h.
21066         * sysdeps/generic/sys/param.h: File removed.
21067         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21068         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21069         * sysdeps/mach/hurd/bits/param.h: New file.
21070         * sysdeps/mach/hurd/sys/param.h: File removed.
21071
21072         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21073         last change.
21074
21075         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21076         [_IO_MTSAFE_IO].
21077         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21078         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21079         New macros.
21080
21081         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21082         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21083         rather than -D_IO_MTSAFE_IO conditionally.
21084         * stdio-common/Makefile (CPPFLAGS): Likewise.
21085         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21086         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21087         Use $(libio-mtsafe).
21088         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21089         of -D_IO_MTSAFE_IO.
21090         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21091         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21092         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21093         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21094         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21095         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21096         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21097         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21098         (CFLAGS-fread_u_chk.c): Likewise.
21099         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21100         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21101         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21102         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21103         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21104         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21105         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21106         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21107         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21108
21109         * libio/Makefile: Test [$(libc-reentrant) = yes]
21110         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21111
21112         * Makeconfig
21113         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21114         * sysdeps/pthread/configure: File removed.
21115         * sysdeps/pthread/Makeconfig: New file.
21116         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21117         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21118
21119 2012-08-16  Gary Benson  <gbenson@redhat.com>
21120
21121         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21122         unmapping the first object in a namespace.
21123
21124 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21125
21126         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21127         (__internal_setnetgrent): ... this.  Add internal_function to
21128         definition.  Add libc_hidden_def.
21129         (setnetgrent): Update caller.
21130         (internal_endnetgrent): Renamed to ...
21131         (__internal_endnetgrent): ... this.  Add internal_function to
21132         definition.  Add libc_hidden_def.
21133         (endnetgrent): Update caller.
21134         (internal_getnetgrent_r): Renamed to ...
21135         (__internal_getnetgrent_r): ... this.  Add internal_function to
21136         definition.  Add libc_hidden_def.
21137         (__getnetgrent_r): Update caller.
21138         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21139
21140 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21141
21142         * stdlib/longlong.h: Update from GCC.
21143
21144 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21145
21146         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21147         on _QL, which is set by umul_ppmm but never used.
21148         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21149         variables, which are set by GMP macros but never used.
21150         * stdio-common/_itowa.c (_itowa): Likewise.
21151         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21152         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21153
21154 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21155
21156         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21157         struct La_sh_regs is not constant.
21158         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21159         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21160         and struct La_sparc64_regs are not constant.
21161
21162 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21163
21164         * sysdeps/unix/sysv/linux/kernel-features.h
21165         (__ASSUME_POSIX_TIMERS): Remove.
21166         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21167         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21168         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21169         Make code unconditional.
21170         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21171         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21172         Make code unconditional.
21173         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21174         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21175         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21176         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21177         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21178         Make code unconditional.
21179         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21180         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21181         (__libc_missing_posix_timers): Remove.
21182
21183 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21184
21185         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21186         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21187
21188         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21189
21190         * elf/dl-sym.c: Include <stdlib.h>.
21191
21192         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21193         constants, which avoids warnings in 32-bit builds.
21194
21195         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21196         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21197
21198         * misc/lseek.c: File moved to ...
21199         * io/lseek.c: ... here.
21200
21201         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21202
21203         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21204         shifting LEN more than 31 bits at once.
21205
21206 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21207
21208         [BZ #14195]
21209         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21210         segmentation fault for a case of two empty input strings.
21211         * string/test-strncasecmp.c (check1): Renamed to...
21212         (bz12205): ...this.
21213         (bz14195): Add new testcase for two empty input strings and N > 0.
21214         (test_main): Call new testcase, adapt for renamed function.
21215
21216 2012-08-15  Andreas Jaeger  <aj@suse.de>
21217
21218         [BZ #14090]
21219         * crypt/md5test2.c: New test, based on test supplied by Serge
21220         Belyshev <belyshev@depni.sinp.msu.ru>.
21221         * crypt/Makefile (xtests): Add md5test-giant..
21222         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21223
21224 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21225
21226         [BZ #14090]
21227         * crypt/md5.c (md5_process_block): Don't assume the buffer
21228         length is less than 2**32.
21229         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21230         length is less than 2**64.
21231
21232 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21233
21234         * string/str-two-way.h: Include <sys/param.h>.
21235         (MAX): Macro removed.
21236
21237         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21238         Move #define and #undef of memmove to just before and after
21239         including <string.h>.
21240
21241         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21242         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21243         and after including <string.h>.  Move declarations of
21244         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21245         to before #include "string/memmove.c".
21246
21247         * include/dirent.h: Declare __getdirentries.
21248
21249         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21250         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21251
21252 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21253
21254         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21255         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21256         * sysdeps/i386/configure: Regenerated.
21257         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21258         STABS_CURRENT_FILE, and STABS_FUN.
21259         (END): Remove call to STABS_FUN_END.
21260         (STABS_CURRENT_FILE1): Delete.
21261         (STABS_CURRENT_FILE): Likewise.
21262         (STABS_FUN): Likewise.
21263         (STABS_FUN_END): Likewise.
21264         (STABS_FUN2): Likewise.
21265         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21266         * sysdeps/x86_64/configure: Regenerated.
21267
21268 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21269
21270         * elf/dl-open.c: Include <atomic.h>.
21271         * elf/dl-lookup.c: Likewise.
21272
21273 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21274
21275         * sysdeps/unix/sysv/linux/kernel-features.h
21276         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21277         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21278         unconditionally.
21279         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21280         unconditionally.
21281         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21282         condition on __ASSUME_CLONE_THREAD_FLAGS.
21283
21284 2012-08-14  Andreas Jaeger  <aj@suse.de>
21285
21286         * sysdeps/i386/fpu/libm-test-ulps: Update.
21287
21288 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21289
21290         * include/atomic.h (atomic_exchange_and_add): Split into ...
21291         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21292         New atomic macros.
21293
21294 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
21295
21296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21297
21298 2012-08-13  Jeff Law <law@redhat.com>
21299
21300         * manual/stdio.texi (snprintf): Clarify handling of the trailing
21301         null byte in the output string.
21302
21303 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
21304
21305         * sysdeps/unix/sysv/linux/kernel-features.h
21306         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21307         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21308         (__ASSUME_ARG_MAX_STACK_BASED): Define.
21309         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21310         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21311         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
21312         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21313
21314 2012-08-09  Jeff Law <law@redhat.com>
21315
21316         [BZ #13939]
21317         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21318         When avoid_arena is set, don't retry in the that arena.  Pick the
21319         next one, whatever it might be.
21320         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21321         (arena_lock): Pass in new parameter to arena_get2.
21322         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21323         arena_get2.
21324         (__libc_malloc): Unify retrying after main arena failure with
21325         __libc_memalign version.
21326         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21327
21328 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21329
21330         [BZ #14166]
21331         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21332         to __redirect_strstr.
21333         (__strstr_sse42): Use typeof __redirect_strstr.
21334         (__strstr_ia32): Likewise.
21335         (__libc_strstr): New prototype.
21336         (strstr): Renamed to ...
21337         (__libc_strstr): This.
21338         (strstr): New strong alias of __libc_strstr.
21339         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21340         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21341         __redirect_time.
21342         Include <time.h>.
21343         (__libc_time): New prototype.
21344         (time_ifunc): Replace time with __libc_time.
21345         (time): New strong alias and hidden definition of __libc_time.
21346         (__GI_time): Remove strong alias.
21347         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21348         Include <stddef.h>.
21349         (memmove): Redefined to __redirect_memmove.
21350         (__memmove_sse2): Use typeof __redirect_memmove.
21351         (__memmove_ssse3): Likewise.
21352         (__memmove_ssse3_back): Likewise.
21353         (__libc_memmove): New prototype.
21354         (memmove): Renamed to ...
21355         (__libc_memmove): This.
21356         (memmove): New strong alias of __libc_memmove.
21357
21358 2012-08-08  Mark Salter  <msalter@redhat.com>
21359
21360         * elf/elf.h
21361         (R_MN10300_TLS_GD): Define.
21362         (R_MN10300_TLS_LD): Likewise.
21363         (R_MN10300_TLS_LDO): Likewise.
21364         (R_MN10300_TLS_GOTIE): Likewise.
21365         (R_MN10300_TLS_IE): Likewise.
21366         (R_MN10300_TLS_LE): Likewise.
21367         (R_MN10300_TLS_DTPMOD): Likewise.
21368         (R_MN10300_TLS_DTPOFF): Likewise.
21369         (R_MN10300_TLS_TPOFF): Likewise.
21370         (R_MN10300_SYM_DIFF): Likewise.
21371         (R_MN10300_ALIGN): Likewise.
21372         (R_MN10300_NUM): Update.
21373
21374 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21375
21376         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21377         Remove.
21378
21379 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21380
21381         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21382
21383         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21384         sysdeps/unix -> sysdeps/posix move.
21385         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21386
21387 2012-08-07      Allan McRae     <allan@archlinux.org>
21388
21389         [BZ #14303]
21390         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21391         (SUNOS_CPP): Likewise.
21392         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21393         not found.
21394         (open_input): Call CPP using execvp.
21395
21396 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21397
21398         * sysdeps/unix/sysv/linux/kernel-features.h
21399         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21400         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21401         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21402         (__ASSUME_WAITID_SYSCALL): Likewise.
21403         * sysdeps/unix/sysv/linux/dl-execstack.c
21404         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21405         code unconditional.
21406         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21407         conditional code.
21408         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21409         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21410         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21411         code.
21412         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21413         unconditional.
21414         [__ASSUME_WAITID_SYSCALL]: Likewise.
21415         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21416
21417 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21418
21419         * sysdeps/unix/closedir.c: Renamed to ...
21420         * sysdeps/posix/closedir.c: ... here.
21421         * sysdeps/unix/dirfd.c: Renamed to ...
21422         * sysdeps/posix/dirfd.c: ... here.
21423         * sysdeps/unix/dirstream.h: Renamed to ...
21424         * sysdeps/posix/dirstream.h: ... here.
21425         * sysdeps/unix/fdopendir.c: Renamed to ...
21426         * sysdeps/posix/fdopendir.c: ... here.
21427         * sysdeps/unix/opendir.c: Renamed to ...
21428         * sysdeps/posix/opendir.c: ... here.
21429         * sysdeps/unix/readdir.c: Renamed to ...
21430         * sysdeps/posix/readdir.c: ... here.
21431         * sysdeps/unix/readdir_r.c: Renamed to ...
21432         * sysdeps/posix/readdir_r.c: ... here.
21433         * sysdeps/unix/rewinddir.c: Renamed to ...
21434         * sysdeps/posix/rewinddir.c: ... here.
21435         * sysdeps/unix/seekdir.c: Renamed to ...
21436         * sysdeps/posix/seekdir.c: ... here.
21437         * sysdeps/unix/telldir.c: Renamed to ...
21438         * sysdeps/posix/telldir.c: ... here.
21439         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21440         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21441         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21442         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21443
21444         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21445         * bits/fcntl.h: ... here.
21446
21447         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21448         not 0.
21449         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21450         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21451         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21452         (struct flock): Move l_start, l_len to the beginning.
21453         Use __pid_t for l_pid.
21454         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21455         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21456         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21457         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21458         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21459         [__USE_LARGEFILE64] (struct flock64): New type.
21460         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21461
21462         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21463         * bits/dirent.h: ... here.
21464
21465         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21466         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21467
21468 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21469
21470         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21471         Change from 2.6.0 to 2.6.16.
21472         * sysdeps/unix/sysv/linux/configure: Regenerated.
21473         * sysdeps/unix/sysv/linux/kernel-features.h
21474         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21475         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21476         version.
21477         (__ASSUME_UTIMES): Likewise.
21478         (__ASSUME_CLONE_STOPPED): Remove.
21479         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21480         architectures, not kernel version.
21481         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21482         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21483         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21484         (__ASSUME_WAITID_SYSCALL): Likewise.
21485         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21486         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21487         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21488         refer to older versions.
21489
21490 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21491
21492         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21493         Define alphasort64 as an alias.
21494         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21495         Define versionsort64 as an alias.
21496         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21497         Define scandir64 as an alias.
21498         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21499         Define scandirat64 as an alias.
21500         * dirent/alphasort64.c (alphasort64):
21501         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21502         * dirent/versionsort64.c: Likewise.
21503         * dirent/scandir64.c: Likewise.
21504         * dirent/scandirat64.c: Likewise.
21505         * sysdeps/wordsize-64/alphasort.c: File removed.
21506         * sysdeps/wordsize-64/alphasort64.c: File removed.
21507         * sysdeps/wordsize-64/scandir.c: File removed.
21508         * sysdeps/wordsize-64/scandir64.c: File removed.
21509         * sysdeps/wordsize-64/scandirat.c: File removed.
21510         * sysdeps/wordsize-64/scandirat64.c: File removed.
21511         * sysdeps/wordsize-64/versionsort.c: File removed.
21512         * sysdeps/wordsize-64/versionsort64.c: File removed.
21513         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21514         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21515         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21516         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21517         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21518         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21519         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21520         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21521
21522         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21524         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21525         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21526         [defined __arch64__ || defined __sparcv9]
21527         (__INO_T_MATCHES_INO64_T): New macro.
21528         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21529         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21530         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21531         * sysdeps/unix/sysv/linux/bits/dirent.h
21532         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21533         (_DIRENT_MATCHES_DIRENT64): New macro.
21534
21535         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21536         Define lockf64 as an alias.
21537         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21538         Define fseeko64 as an alias.
21539         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21540         Define ftello64 as an alias.
21541         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21542         Define _IO_fgetpos64 and fgetpos64 as aliases.
21543         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21544         Define _IO_fsetpos64 and fsetpos64 as aliases.
21545         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21546         Conditionalize body on this.
21547         * libio/fseeko64.c: Likewise.
21548         * libio/ftello64.c: Likewise.
21549         * libio/iofgetpos64.c: Likewise.
21550         * libio/iofsetpos64.c: Likewise.
21551         * sysdeps/wordsize-64/lockf.c: File removed.
21552         * sysdeps/wordsize-64/lockf64.c: File removed.
21553         * sysdeps/wordsize-64/fseeko.c: File removed.
21554         * sysdeps/wordsize-64/fseeko64.c: File removed.
21555         * sysdeps/wordsize-64/ftello.c: File removed.
21556         * sysdeps/wordsize-64/ftello64.c: File removed.
21557         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21558         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21559         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21560         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21561         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21562         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21563         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21564         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21565         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21566         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21567         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21568         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21569         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21570         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21571
21572         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21573         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21574         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21575         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21576         [defined __arch64__ || defined __sparcv9]
21577         (__OFF_T_MATCHES_OFF64_T): New macro.
21578         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21579         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21581         (__OFF_T_MATCHES_OFF64_T): New macro.
21582
21583 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21584
21585         * stdlib/secure-getenv.c (__secure_getenv): Replace
21586         GLIBC_2_16 with GLIBC_2_17.
21587
21588 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21589
21590         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21591         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21592
21593 2012-08-03  David S. Miller  <davem@davemloft.net>
21594
21595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21596
21597 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21598
21599         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21600         Remove.
21601         (__ASSUME_CORRECT_SI_PID): Likewise.
21602         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21603         (__ASSUME_TMPFS_NAME): Likewise.
21604         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21605         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21606         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21607         (HAVE_AUX_SECURE): Make definition unconditional.
21608         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21609         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21610
21611 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21612
21613         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21614         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21615         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21616         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21617         __eloop_threshold instead of SYMLOOP_MAX.
21618
21619         * sysdeps/generic/eloop-threshold.h: New file.
21620         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21621         of MAXSYMLINKS.
21622         * elf/chroot_canon.c (chroot_canon): Likewise.
21623
21624 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21625
21626         [BZ #13717]
21627         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21628         Change to 2.6.0 everywhere.
21629         * sysdeps/unix/sysv/linux/configure: Regenerated.
21630         * sysdeps/unix/sysv/linux/kernel-features.h
21631         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21632         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21633         kernel versions.
21634         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21635         (__ASSUME_FUTEX_REQUEUE): Remove.
21636         (__ASSUME_STATFS64): Define unconditionally.
21637         (__ASSUME_AT_SECURE): Likewise.
21638         (__ASSUME_CORRECT_SI_PID): Likewise.
21639         (__ASSUME_TGKILL): Define without depending on kernel version for
21640         i386.
21641         (__ASSUME_UTIMES): Likewise.
21642         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21643         kernel version.
21644         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21645         (__ASSUME_TMPFS_NAME): Likewise.
21646         * README: Update reference to Linux kernel versions.
21647
21648 2012-08-02  Marek Polacek  <polacek@redhat.com>
21649
21650         [BZ# 14150]
21651         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21652         libc_cv_asm_type_prefix with %.
21653         * configure: Regenerated.
21654         * include/libc-symbols.h: Remove comment about
21655         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21656         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21657         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21658         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21659         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21660         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21661         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21662         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21663         * elf/tst-unique2mod1.c: Likewise.
21664         * elf/tst-unique1mod2.c: Likewise.
21665         * elf/tst-unique1mod1.c: Likewise.
21666         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21667         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21668         Replace ASM_TYPE_DIRECTIVE with .type.
21669         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21670         * sysdeps/i386/sysdep.h: Likewise.
21671         * sysdeps/x86_64/sysdep.h: Likewise.
21672         * sysdeps/sh/sysdep.h: Likewise.
21673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21674         Do not define ASM_TYPE_DIRECTIVE.
21675         * sysdeps/powerpc/sysdep.h: Likewise.
21676         * sysdeps/powerpc/powerpc32/sysdep.h:
21677         Replace ASM_TYPE_DIRECTIVE with .type.
21678         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21679         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21680         * sysdeps/i386/fpu/e_powf.S: Likewise.
21681         * sysdeps/i386/fpu/e_expl.S: Likewise.
21682         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21683         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21684         * sysdeps/i386/fpu/e_pow.S: Likewise.
21685         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21686         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21687         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21688         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21689         * sysdeps/i386/fpu/e_log2.S: Likewise.
21690         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21691         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21692         * sysdeps/i386/fpu/e_powl.S: Likewise.
21693         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21694         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21695         * sysdeps/i386/fpu/e_logl.S: Likewise.
21696         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21697         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21698         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21699         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21700         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21701         * sysdeps/i386/fpu/e_log.S: Likewise.
21702         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21703         * sysdeps/i386/fpu/e_logf.S: Likewise.
21704         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21705         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21706         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21707         * sysdeps/i386/fpu/e_log10.S: Likewise.
21708         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21709         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21710         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21711         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21712         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21713         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21714         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21715         * sysdeps/i386/i686/strtok.S: Likewise.
21716         * sysdeps/i386/i386-mcount.S: Likewise.
21717         * sysdeps/i386/strtok.S: Likewise.
21718         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21719         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21720         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21721         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21722         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21723         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21724         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21725         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21726         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21727         * sysdeps/x86_64/_mcount.S: Likewise.
21728         * sysdeps/x86_64/strtok.S: Likewise.
21729         * sysdeps/sh/_mcount.S: Likewise.
21730
21731 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21732
21733         * libio/iofopen.c: Include <fcntl.h>.
21734         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21735         (_IO_fopen64, fopen64): Define as aliases.
21736         * libio/iofopen64.c: Include <fcntl.h>.
21737         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21738         Conditionalize body on this.
21739         * sysdeps/wordsize-64/iofopen.c: File removed.
21740         * sysdeps/wordsize-64/iofopen64.c: File removed.
21741
21742 2012-08-01  Marek Polacek  <polacek@redhat.com>
21743
21744         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21745         Use dlfcn directly instead of a variable.
21746         (binfmt-subdir): Do not define.
21747         (dlfcn): Likewise.
21748
21749 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21750
21751         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21752         Remove all definitions.
21753         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21754         <kernel-features.h>.
21755         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21756         (miss_F_GETOWN_EX): Remove all definitions.
21757         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21758         macro definition.
21759         [!__ASSUME_FCNTL64]: Remove conditional code.
21760         [__ASSUME_FCNTL64]: Make code unconditional.
21761         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21762         <kernel-features.h>.
21763         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21764         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21765         (lockf64) [__NR_fcntl64]: Make code unconditional.
21766         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21767
21768         * sysdeps/unix/sysv/linux/kernel-features.h
21769         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21770         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21771         Make code unconditional.
21772         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21773         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21775         [__NR_vfork]: Make code unconditional.
21776         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21777         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21779         [__NR_vfork]: Make code unconditional.
21780         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21781         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21782
21783 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21784
21785         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21786         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21787
21788         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21789         Define mkstemp64 as an alias.
21790         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21791         Define mkstemps64 as an alias.
21792         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21793         Define mkostemp64 as an alias.
21794         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21795         Define mkostemps64 as an alias.
21796         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21797         Conditionalize body on this.
21798         * misc/mkostemp64.c: Likewise.
21799         * misc/mkostemps64.c: Likewise.
21800         * misc/mkstemps64.c: Likewise.
21801         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21802         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21803         * sysdeps/wordsize-64/mkostemp.c: File removed.
21804         * sysdeps/wordsize-64/mkstemp.c: File removed.
21805         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21806         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21808         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21809
21810         [BZ #14138]
21811         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21812         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21813         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21814         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21815
21816         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21817         compat_symbol macros from <shlib-compat.h> rather than the underlying
21818         default_symbol_version and symbol_version macros, so that DEFAULT
21819         lines in shlib-versions are respected.
21820         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21821
21822 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21823
21824         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21825         Declare with warn_unused_result.
21826         (setgid, setregid, setegid, setresgid): Likewise.
21827         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21828         Likewise.
21829         * WUR-REPORT: Remove set*id functions.
21830
21831 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21832
21833         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21834
21835 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21836
21837         [BZ #10191]
21838         * include/sys/socket.h (__libc_accept, __libc_accept4):
21839         Add attribute_hidden.
21840         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21841
21842         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21843         use of PTR_MANGLE.
21844         * inet/getnetgrent_r.c (setup): Likewise.
21845
21846         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21847
21848 2012-07-31  David S. Miller  <davem@davemloft.net>
21849
21850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21851
21852 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21853
21854         [BZ #13629]
21855         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21856         value between 1.0 and 2.0 and smaller part has absolute value less
21857         than 1.0.
21858         * math/s_clog10.c (__clog10): Likewise.
21859         * math/s_clog10f.c (__clog10f): Likewise.
21860         * math/s_clog10l.c (__clog10l): Likewise.
21861         * math/s_clogf.c (__clogf): Likewise.
21862         * math/s_clogl.c (__clogl): Likewise.
21863         * math/libm-test.inc (clog_test): Add more tests.
21864         (clog10_test): Likewise.
21865         * sysdeps/i386/fpu/libm-test-ulps: Update.
21866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21867
21868 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21869
21870         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21871         Exit with zero in case no suitable GID is found, and write a
21872         message to standard error.
21873
21874 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21875
21876         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21877         rather than to 1.
21878         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21879         (MAXPATHLEN): Removed.
21880         (NOGROUP, NODEV): New macros.
21881         (setbit, clrbit, isset, isclr): New macros.
21882         (howmany, roundup, powerof2): New macros.
21883         (DEV_BSIZE): New macro.
21884
21885         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21886         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21887
21888         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21889         definition on [!__NO_LONG_DOUBLE_MATH].
21890
21891         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21892         PTR_MANGLE and PTR_DEMANGLE.
21893
21894         * socket/accept4.c (accept4): Rename to __libc_accept4.
21895         Define accept4 as a weak alias.
21896
21897         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21898         on [_DIRENT_HAVE_D_TYPE].
21899         * io/ftw.c (ftw_dir): Likewise.
21900
21901         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21902
21903         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21904
21905         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21906         Use the BSD numbers rather than the arbitrary ones we had.
21907         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21908         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21909         (SIGXCPU, SIGXFSZ): New macros.
21910         (_NSIG): Now 32.
21911
21912         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21913         initializer on [_LIBC_REENTRANT].
21914
21915         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21916         definitions inside [_POSIX_MAPPED_FILES].
21917
21918         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21919
21920         * dirent/opendir.c: Include <fcntl.h>.
21921
21922         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21923         (__libc_getspecific): Likewise.
21924         (__libc_key_create): Likewise.
21925
21926         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21927         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21928         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21929         (tmpfile64): Define as alias.
21930         * sysdeps/wordsize-64/tmpfile.c: File removed.
21931         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21932         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21933         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21934
21935         * stdio-common/vfscanf.c: Include <stdbool.h>.
21936         * nss/makedb.c: Likewise.
21937         * stdio-common/_i18n_number.h: Likewise.
21938         * argp/argp-help.c: Likewise.
21939         * posix/wordexp.c: Likewise.
21940         * sysdeps/posix/spawni.c: Likewise.
21941         * nss/nss_files/files-initgroups.c: Likewise.
21942         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21943         * nss/nss_files/files-initgroups.c: Likewise.
21944         * nss/nss_db/db-netgrp.c: Likewise.
21945         * nss/nss_db/db-initgroups.c: Likewise.
21946         * io/fchmodat.c: Include <sys/stat.h>.
21947
21948         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21949         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21950
21951         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21952         [HAVE_MMAP].
21953
21954         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21955         Add multiple inclusion protection.
21956
21957 2012-07-27  David S. Miller  <davem@davemloft.net>
21958
21959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21960
21961 2012-07-27  Gary Benson  <gbenson@redhat.com>
21962
21963         [BZ #14298]
21964         * elf/rtld.c: Include <stap-probe.h>.
21965         (dl_main): Added static probes "init_start" and "init_complete".
21966         * elf/dl-load.c: Include <stap-probe.h>.
21967         (lose): Take new parameter "nsid".
21968         Added static probe "map_failed".
21969         (_dl_map_object_from_fd): Pass namespace id to lose.
21970         Added static probe "map_start".
21971         (open_verify): Pass namespace id to lose.
21972         * elf/dl-open.c: Include <stap-probe.h>.
21973         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21974         and "reloc_complete".
21975         * elf/dl-close.c: Include <stap-probe.h>.
21976         (_dl_close_worker): Added static probes "unmap_start" and
21977         "unmap_complete".
21978         * elf/rtld-debugger-interface.txt: New file documenting the above.
21979
21980 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21981
21982         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21983         rather than a string variable.
21984         * sunrpc/rpc_main.c (h_output): Likewise.
21985         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21986
21987 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21988
21989         * inet/check_native.c: New file.
21990
21991 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21992
21993         [BZ #13629]
21994         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21995         if larger part has absolute value 1.0.
21996         * math/s_clog10.c (__clog10): Likewise.
21997         * math/s_clog10f.c (__clog10f): Likewise.
21998         * math/s_clog10l.c (__clog10l): Likewise.
21999         * math/s_clogf.c (__clogf): Likewise.
22000         * math/s_clogl.c (__clogl): Likewise.
22001         * math/libm-test.inc (clog_test): Add more tests.
22002         (clog10_test): Likewise.
22003         * sysdeps/i386/fpu/libm-test-ulps: Update.
22004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005
22006         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22007         (pltexit): Likewise.
22008         (La_regs): Likewise.
22009         (La_retval): Likewise.
22010         (int_retval): Likewise.
22011         Update #error for removed macros to refer only to definitions in
22012         tst-audit.h.
22013         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22014         macro.
22015         (pltexit): Likewise.
22016         (La_regs): Likewise.
22017         (La_retval): Likewise.
22018         (int_retval): Likewise.
22019         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22020         macro.
22021         (pltexit): Likewise.
22022         (La_regs): Likewise.
22023         (La_retval): Likewise.
22024         (int_retval): Likewise.
22025         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22026         macro.
22027         (pltexit): Likewise.
22028         (La_regs): Likewise.
22029         (La_retval): Likewise.
22030         (int_retval): Likewise.
22031         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22032         macro.
22033         (pltexit): Likewise.
22034         (La_regs): Likewise.
22035         (La_retval): Likewise.
22036         (int_retval): Likewise.
22037         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22038         macro.
22039         (pltexit): Likewise.
22040         (La_regs): Likewise.
22041         (La_retval): Likewise.
22042         (int_retval): Likewise.
22043         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22044         macro.
22045         (pltexit): Likewise.
22046         (La_regs): Likewise.
22047         (La_retval): Likewise.
22048         (int_retval): Likewise.
22049         * sysdeps/generic/tst-audit.h: Update comment to refer only to
22050         macro definitions in tst-audit.h.
22051         * sysdeps/i386/tst-audit.h: New file.
22052         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22053         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22054         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22055         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22056         * sysdeps/sh/tst-audit.h: Likewise.
22057         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22058         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22059         * sysdeps/x86_64/tst-audit.h: Likewise.
22060
22061 2012-07-26  Andreas Jaeger  <aj@suse.de>
22062
22063         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22064         ptrace.
22065
22066         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22067         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22068         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22069         PTRACE_O_MASK.
22070         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22071         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22072         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22073
22074         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22075         value.
22076
22077         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22078         _sigsys.
22079         (si_call_addr, si_syscall, si_arch): Define new macro.
22080         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22081         _sigsys.
22082         (si_call_addr, si_syscall, si_arch): Define new marcro.
22083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22084         _sigsys.
22085         (si_call_addr, si_syscall, si_arch): Define new macro.
22086         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22087         _sigsys.
22088         (si_call_addr, si_syscall, si_arch): Define new macro.
22089
22090 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22091
22092         [BZ #13717]
22093         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22094         Change to 2.4.21 where previously 2.4.1.
22095         * sysdeps/unix/sysv/linux/configure: Regenerated.
22096         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22097         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22098         Linux kernel version.
22099         (__ASSUME_STD_AUXV): Remove.
22100         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22101         kernel version.
22102         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22103         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22104         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22105         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22106         (__ASSUME_NETLINK_SUPPORT): Likewise.
22107         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22108         (__no_netlink_support): Remove conditional definition.
22109         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22110         Remove.
22111         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22112         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22113         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22114         (if_nameindex_ioctl): Remove.
22115         (if_nameindex_netlink): Do not handle __no_netlink_support.
22116         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22117         code.
22118         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22119         Remove conditional code.
22120         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22121         code.
22122         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22123         unconditional.
22124         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22125         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22126         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22127         Remove.
22128         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22129         [!__ASSUME_STD_AUXV]: Remove conditional code.
22130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22131         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22132         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22134         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22135         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22136         code.
22137         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22139         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22140         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22141         conditional code.
22142         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22144         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22145         code.
22146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22147         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22148         conditional code.
22149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22150         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22151         code unconditional.
22152         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22153         conditional code.
22154         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22155         unconditional.
22156         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22157         conditional code.
22158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22159         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22160         unconditional.
22161         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22162         conditional code.
22163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22164         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22165         code unconditional.
22166         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22167         conditional code.
22168         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22169         unconditional.
22170         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22171         conditional code.
22172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22173         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22174         code unconditional.
22175         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22176         conditional code.
22177         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22178         unconditional.
22179         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22180         conditional code.
22181
22182 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22183
22184         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22185         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22186         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22187         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22188         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22189         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22190         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22191         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22192         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22193         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22194         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22195         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22196         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22197         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22198         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22199         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22200         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22201         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22202         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22204         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22205         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22206         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22207
22208 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22209
22210         * Versions.def: Add GLIBC_2.17.
22211         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22212         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22213         Introduce __libc_secure_getenv.
22214         * stdlib/Versions (2.17): Add secure_getenv
22215         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22216         * stdlib/secure-getenv.c: Rename __secure_getenv to
22217         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22218         symbol __secure_getenv for GLIBC_2.0.
22219         * stdlib/tst-secure-getenv.c: New.
22220         * stdlib/Makefile (tests): Add testcase.
22221         * manual/startup.texi (Environment Access): Document
22222         secure_getenv.
22223         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22224         __libc_secure_getenv.
22225         * inet/ruserpass.c (ruserpass): Likewise.
22226         * malloc/mtrace.c (mtrace): Likewise.
22227         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22228         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22229         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22230         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22231         HAVE_SECURE_GETENV.
22232         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22233         __secure_getenv to __libc_secure_getenv.
22234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22236         Likewise.
22237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22238         Likewise.
22239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22241         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22246
22247 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22248
22249         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22250         (struct La_i86_retval): Likewise.
22251         (struct La_x86_64_regs): Likewise.
22252         (struct La_x86_64_retval): Likewise.
22253         (struct La_x32_regs): Likewise.
22254         (struct La_x32_retval): Likewise.
22255         (struct La_ppc32_regs): Likewise.
22256         (struct La_ppc32_retval): Likewise.
22257         (struct La_ppc64_regs): Likewise.
22258         (struct La_ppc64_retval): Likewise.
22259         (struct La_sh_regs): Likewise.
22260         (struct La_sh_retval): Likewise.
22261         (struct La_s390_32_regs): Likewise.
22262         (struct La_s390_32_retval): Likewise.
22263         (struct La_s390_64_regs): Likewise.
22264         (struct La_s390_64_retval): Likewise.
22265         (struct La_sparc32_regs): Likewise.
22266         (struct La_sparc32_retval): Likewise.
22267         (struct La_sparc64_regs): Likewise.
22268         (struct La_sparc64_retval): Likewise.
22269         (struct audit_ifaces): Remove architecture-specific pltenter and
22270         pltexit members.
22271         * sysdeps/i386/ldsodefs.h: New file.
22272         * sysdeps/powerpc/ldsodefs.h: Likewise.
22273         * sysdeps/s390/ldsodefs.h: Likewise.
22274         * sysdeps/sh/ldsodefs.h: Likewise.
22275         * sysdeps/sparc/ldsodefs.h: Likewise.
22276         * sysdeps/x86_64/ldsodefs.h: Likewise.
22277
22278 2012-07-25  Marek Polacek  <polacek@redhat.com>
22279
22280         [BZ #6808]
22281         * math/libm-test.inc (yn_test): Add another test.
22282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22283         to ERANGE when the result is +-Inf.
22284         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22285         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22286         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22287         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22288
22289 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22290
22291         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22292         equal to 0.
22293         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
22294         clock_t.
22295         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
22296
22297 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
22298
22299         * configure.in <sysdeps resolving>: Correct printing
22300         Implies_before.
22301         * configure: Regenerate.
22302
22303 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
22304
22305         * math/w_ilogb.c: Include <limits.h>.
22306         * math/w_ilogbl.c: Likewise.
22307
22308 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22309
22310         * manual/lang.texi (__va_copy): Document primarily as ISO C99
22311         va_copy.  Document allowing for unavailable va_copy only as
22312         pre-C99 compatibility.
22313         * manual/string.texi (Copying and Concatenation): Use va_copy
22314         instead of __va_copy in concat example.
22315
22316 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
22317
22318         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22319         (__sendto): Use create_address_port.  Initialize APORT and deallocate
22320         it if not null.
22321
22322         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22323         with O_NOLINK passed to __file_name_lookup.
22324
22325         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22326         with O_NOLINK passed to __file_name_lookup.
22327
22328         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22329         negative N or less than NGIDS.
22330
22331         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22332         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22333         enough.  Use memcpy instead of strncpy.
22334
22335 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22336
22337         * elf/Makefile (check-data): Remove.
22338         (localplt.data): New vpath directive.
22339         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22340         instead of $(check-data).
22341         * scripts/data/localplt-generic.data: Move to ...
22342         * sysdeps/generic/localplt.data: ... here.
22343         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22344         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22345         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22347         ... here.
22348         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22350         ... here.
22351         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22353         ... here.
22354         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22356         ... here.
22357         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22359         ... here.
22360         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22362         ... here.
22363
22364 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22365
22366         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22367         PPC32 and PPC64 files.
22368         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22369         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22370
22371 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22372
22373         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22374         __makecontext_ret to ...
22375         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22376         ... here and call exit if uc_link is NULL.  New file.
22377         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22378         __makecontext_ret.S.
22379         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22380         __makecontext_ret to ...
22381         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22382         ... here and call exit if uc_link is NULL.  New file.
22383         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22384         __makecontext_ret.S.
22385
22386 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22387
22388         * elf/elf.h (R_390_IRELATIVE): New definition.
22389         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22390         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22391         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22392         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22393         (elf_machine_lazy_rel): Likewise.
22394         * sysdeps/s390/dl-irel.h: New file.
22395         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22396         * sysdeps/s390/s390-64/memset.S: New asm code.
22397         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22398         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22399         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22400         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22401         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22402         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22403         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22404         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22405         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22406         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22407         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22408         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22409         * sysdeps/s390/s390-32/memset.S: New asm code.
22410         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22411
22412 2012-07-17  Marek Polacek  <polacek@redhat.com>
22413
22414         [BZ #14349]
22415         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22416         * sysdeps/s390/s390-64/configure.in: Likewise.
22417         * sysdeps/sparc/configure.in: Likewise.
22418         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22419         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22420         * sysdeps/i386/configure.in: Likewise.
22421         * sysdeps/x86_64/configure.in: Likewise.
22422         * sysdeps/sh/configure.in: Likewise.
22423         * sysdeps/s390/s390-32/configure: Regenerated.
22424         * sysdeps/s390/s390-64/configure: Likewise.
22425         * sysdeps/x86_64/configure: Likewise.
22426         * sysdeps/sh/configure: Likewise.
22427         * sysdeps/powerpc/powerpc64/configure: Likewise.
22428         * sysdeps/powerpc/powerpc32/configure: Likewise.
22429         * sysdeps/sparc/configure: Likwise.
22430         * sysdeps/i386/configure: Likewise.
22431
22432         * elf/dl-open.c: Comment fixes.
22433
22434 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22435
22436         * Makefile [CXX] (check-data): Remove.
22437         [CXX] (c++-types.data): New vpath directive.
22438         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22439         vpath.  Do not allow for C++ type data being missing.
22440         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22441         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22442         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22443         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22444         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22445         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22446         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22448         ... here.
22449         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22451         ... here.
22452         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22454         ... here.
22455         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22457         ... here.
22458         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22460         ... here.
22461         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22463         ... here.
22464         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22466         ... here.
22467         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22469
22470         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22471         definitions to architecture-specific files.
22472         (TLS_IE): Likewise.
22473         (TLS_LD): Likewise.
22474         (TLS_GD): Likewise.
22475         * sysdeps/i386/tls-macros.h: New file.
22476         * sysdeps/powerpc/tls-macros.h: Likewise.
22477         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22478         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22479         * sysdeps/sh/tls-macros.h: Likewise.
22480         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22481         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22482         * sysdeps/x86_64/tls-macros.h: Likewise.
22483
22484 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22485
22486         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22487         zero value for regular exit case.
22488
22489         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22490         (__start_context): Preserve zero value for regular exit case.
22491
22492 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22493             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22494
22495         * manual/setjmp.texi (setcontext): Clarify normal process
22496         termination when uc_link is the null pointer.
22497         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22498         exit call.
22499
22500 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22501
22502         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22503         preprocessor.  Test for each exception mask separately.
22504
22505 2012-07-16  Andreas Jaeger  <aj@suse.de>
22506
22507         * po/ru.po: Update from translation team.
22508
22509 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22510
22511         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22512         equal to 0.
22513         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22514         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22515         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22516         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22517         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22518
22519 2012-07-13  Andreas Jaeger  <aj@suse.de>
22520
22521         * po/fr.po: Update from translation team.
22522
22523 2012-07-12  Marek Polacek  <polacek@redhat.com>
22524
22525         [BZ #14173]
22526         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22527         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22528         loop condition.
22529
22530 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22531
22532         [BZ #13717]
22533         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22534         Change to 2.4.1 where previously 2.4.0.
22535         * sysdeps/unix/sysv/linux/configure: Regenerated.
22536         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22537         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22538         version.
22539         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22540         (__ASSUME_AT_CLKTCK): Remove.
22541         (__ASSUME_AT_PAGESIZE): Likewise.
22542         (__ASSUME_AT_XID): Likewise.
22543         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22544         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22545         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22546         unconditionally.
22547         (HAVE_AUX_PAGESIZE): Likewise.
22548         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22549         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22550         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22551
22552 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22553
22554         [BZ #14307]
22555         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22556         the temporary buffer used to invoke __gethostbyname2_r,
22557         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22558         host_data / struct gaih_addrtuple.
22559         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22560         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22561         header file nss/nsswitch.h.
22562         * nss/nsswitch.h (global scope): Add definition of implementation
22563         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22564         resolv/nss_dns/dns-host.c).
22565
22566 2012-07-11  Andreas Jaeger  <aj@suse.de>
22567
22568         * po/fr.po: Update from translation team.
22569
22570         * po/sv.po: Update from translation team
22571         * po/fr.po: Another update from translation team.
22572
22573 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22574
22575         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22576         for subnormals or multiply small sinh result by itself.
22577         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22579
22580 2012-07-11  David S. Miller  <davem@davemloft.net>
22581
22582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22583
22584 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22585
22586         [BZ #14347]
22587         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22588         (INTERNAL_MARK): Shift it here.
22589
22590 2012-07-10  Marek Polacek  <polacek@redhat.com>
22591
22592         [BZ #14151]
22593         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22594         libc_cv_asm_global_directive with .globl.
22595         * configure: Regenerated.
22596         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22597         with .globl.
22598         * sysdeps/i386/configure: Regenerated.
22599         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22600         with .globl.
22601         * sysdeps/x86_64/configure: Regenerated.
22602         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22603         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22604         * elf/tst-unique2mod2.c: Likewise.
22605         * elf/tst-unique2mod1.c: Likewise.
22606         * elf/tst-unique1mod2.c: Likewise.
22607         * elf/tst-unique1mod1.c: Likewise.
22608         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22609         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22610         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22611         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22612         * sysdeps/mach/sysdep.h: Likewise.
22613         * sysdeps/i386/sysdep.h: Likewise.
22614         * sysdeps/i386/i386-mcount.S: Likewise.
22615         * sysdeps/x86_64/_mcount.S: Likewise.
22616         * sysdeps/x86_64/sysdep.h: Likewise.
22617         * sysdeps/sh/_mcount.S: Likewise.
22618         * sysdeps/sh/sysdep.h: Likewise.
22619         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22620         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22621         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22622         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22623         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22624         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22625         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22626         * locale/localeinfo.h: Likewise.
22627         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22628         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22629
22630 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22631
22632         [BZ #14336]
22633         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22634         system".
22635         * manual/message.texi (The Uniforum approach): Likewise.
22636         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22637         (glibc iconv Implementation): Likewise.
22638
22639 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22640
22641         [BZ #14337]
22642         * math/s_clog.c (__clog): Avoid scaling a value down where that
22643         could result in underflow.
22644         * math/s_clog10.c (__clog10): Likewise.
22645         * math/s_clog10f.c (__clog10f): Likewise.
22646         * math/s_clog10l.c (__clog10l): Likewise.
22647         * math/s_clogf.c (__clogf): Likewise.
22648         * math/s_clogl.c (__clogl): Likewise.
22649         * math/libm-test.inc (clog_test): Add more tests.
22650         (clog10_test): Likewise.
22651         * sysdeps/i386/fpu/libm-test-ulps: Update.
22652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22653
22654 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22655
22656         [BZ #14283]
22657         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22658         by 7 not 8 to examine high bit of fractional part.
22659
22660         [BZ #14042]
22661         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22662         for call to __mcount_internal.
22663         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22664         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22665         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22666
22667 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22668
22669         [BZ #14154]
22670         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22671         approximation for values within 0x1p-13f of an odd multiple of
22672         pi/4.
22673         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22674         exception.  Add more tests.
22675         * sysdeps/i386/fpu/libm-test-ulps: Update.
22676
22677         [BZ #6778]
22678         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22679         inputs and return -1 for them.  Do not check for +Inf in case not
22680         reachable for +Inf.
22681         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22682         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22683         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22684         and return -1 for them.  Do not check for +Inf in case not
22685         reachable for +Inf.
22686         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22687         define.
22688         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22689         and return -1 for them.  Do not check for +Inf in case not
22690         reachable for +Inf.
22691         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22692         spurious underflow.
22693         * sysdeps/i386/fpu/libm-test-ulps: Update.
22694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22695
22696 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22697
22698         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22699
22700 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22701
22702         [BZ #14157]
22703         [BZ #14331]
22704         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22705         could result in spurious underflow.  Scale down values above
22706         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22707         * math/s_csqrtf.c (__csqrtf): Likewise.
22708         * math/s_csqrtl.c (__csqrtl): Likewise.
22709         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22710         spurious underflow.
22711         * sysdeps/i386/fpu/libm-test-ulps: Update.
22712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22713
22714 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22715
22716         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22717         xopen-msg.sed.
22718         * catgets/xopen-msg.awk: New file.
22719         * catgets/xopen-msg.sed: Removed.
22720
22721         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22722         po2text.sed.
22723         * intl/po2test.awk: New file.
22724         * intl/po2test.sed: Removed.
22725
22726 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22727
22728         [BZ #14328]
22729         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22730         or multiply small sinh result by itself.
22731         * math/s_ctanf.c (__ctanf): Likewise.
22732         * math/s_ctanh.c (__ctanh): Likewise.
22733         * math/s_ctanhf.c (__ctanhf): Likewise.
22734         * math/s_ctanhl.c (__ctanhl): Likewise.
22735         * math/s_ctanl.c (__ctanl): Likewise.
22736         * math/libm-test.inc (ctan_test_tonearest): New function.
22737         (ctan_test_towardzero): Likewise.
22738         (ctan_test_downward): Likewise.
22739         (ctan_test_upward): Likewise.
22740         (ctanh_test_tonearest): Likewise.
22741         (ctanh_test_towardzero): Likewise.
22742         (ctanh_test_downward): Likewise.
22743         (ctanh_test_upward): Likewise.
22744         (main): Call these new functions.
22745         * sysdeps/i386/fpu/libm-test-ulps: Update.
22746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22747
22748 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22749
22750         * .gitignore: Delete /ports entry.
22751
22752 2012-07-03  Andreas Jaeger  <aj@suse.de>
22753
22754         * po/bg.po: Update from translation team.
22755         * po/cs.po: Likewise.
22756         * po/de.po: Likewise.
22757         * po/hr.po: Likewise.
22758         * po/nl.pl: Likewise.
22759         * po/pl.po: Likewise.
22760         * po/vi.po: Likewise.
22761
22762 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22763
22764         * Makeconfig [!+link] (+link-before-libc): New variable.
22765         [!+link] (+link-after-libc): Likewise.
22766         [!+link] (+link-tests): Likewise.
22767         [!+link] (+link): Define in terms of $(+link-before-libc) and
22768         $(+link-after-libc).
22769         [!+link-static] (+link-static-before-libc): New variable.
22770         [!+link-static] (+link-static-after-libc): Likewise.
22771         [!+link-static] (+link-static-tests): Likewise.
22772         [!+link-static] (+link-static): Define in terms of
22773         $(+link-static-before-libc) and $(+link-static-after-libc).
22774         [build-shared] (link-libc-before-gnulib): New variable.
22775         [build-shared] (link-libc-tests): Likewise.
22776         [build-shared] (link-libc): Define in terms of
22777         $(link-libc-before-gnulib).
22778         [!build-shared] (link-libc-tests): New variable.
22779         (link-libc-static-tests): New variable.
22780         [!gnulib] (gnulib-arch): New variable.
22781         [!gnulib] (gnulib-tests): Likewise.
22782         [!gnulib] (static-gnulib-arch): Likewise.
22783         [!gnulib] (static-gnulib-tests): Likewise.
22784         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22785         Define with "=" instead of ":=".
22786         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22787         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22788         * Rules (binaries-all-notests): New variable.
22789         (binaries-all-tests): Likewise.
22790         (binaries-static-notests): Likewise.
22791         (binaries-static-tests): Likewise.
22792         (binaries-all): Define using $(binaries-all-notests) and
22793         $(binaries-all-tests).
22794         (binaries-static): Define using $(binaries-static-notests) and
22795         $(binaries-static-tests).
22796         (binaries-shared-tests): New variable.
22797         (binaries-shared-notests): Likewise.
22798         (binaries-shared): Remove variable.
22799         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22800         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22801         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22802         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22803         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22804         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22805         * elf/Makefile (sln-modules): New variable.
22806         (extra-objs): Add $(sln-modules:=.o).
22807         (ldconfig-modules): Add static-stubs.
22808         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22809         * elf/static-stubs.c: New file.
22810
22811         [BZ #14283]
22812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22813         by 7 not 8 to examine high bit of fractional part.  Use volatile
22814         variables when splitting into final array of floats if
22815         __FLT_EVAL_METHOD__ != 0.
22816         * math/libm-test.inc (cos_test): Add another test.
22817         (sin_test): Likewise.
22818         * sysdeps/i386/fpu/libm-test-ulps: Update.
22819
22820         [BZ #14273]
22821         * math/libm-test.inc (cosh_test): Add more tests.
22822
22823         * version.h (RELEASE): Set to "development".
22824         (VERSION): Set to "2.16.90".
22825
22826 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22827
22828         * NEWS: Update copyright. Remove last-updated date.
22829         Mention math library bug fixes and timezone data changes.
22830         * README: Mention GNU/Hurd, x32, and HPPA support status.
22831
22832 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22833
22834         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22835
22836 2012-06-27  Andreas Jaeger  <aj@suse.de>
22837
22838         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22839
22840 2012-06-25  Andreas Jaeger  <aj@suse.de>
22841
22842         * sysdeps/s390/fpu/libm-test-ulps: Update.
22843
22844 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22845             Thomas Schwinge  <thomas@codesourcery.com>
22846
22847         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22848         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22849         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22850         fanotify_mark.
22851
22852 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22853
22854         * sysdeps/mach/start.c: Remove file.
22855         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22856         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22857         * sysdeps/sh/init-first.c: Likewise.
22858
22859         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22860         registers for frame unwinding purposes, add CFI directives.
22861         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22862         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22863         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22864         Likewise.
22865
22866         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22867         __fortify_fail returning.
22868         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22869
22870         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22871         sysdeps/sh/____longjmp_chk.S.
22872         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22873         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22874         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22875         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22876
22877         * sysdeps/sh/abort-instr.h: New file.
22878         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22879         process in case exit returns.
22880
22881         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22882         initialize the GOT register before use.
22883
22884         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22885         calculation of ARGC > 4.
22886
22887         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22888         meaningful names to some local labels.
22889
22890 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22891             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22892
22893         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22894         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22895         (__arch_compare_and_exchange_val_16_acq): Likewise.
22896         (__arch_compare_and_exchange_val_32_acq): Likewise.
22897         (atomic_exchange_and_add): Fix gUSA sequence.
22898         (atomic_add): Likewise.
22899         (atomic_add_negative): Likewise.
22900         (atomic_add_zero): Likewise.
22901         (atomic_bit_test_set): Likewise.
22902
22903 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22904
22905         [BZ #13579]
22906         * include/link.h (struct link_map): Add l_free_initfini.
22907         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22908         l_initfini.
22909         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22910         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22911         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22912         set.
22913
22914 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22915
22916         * configure.in: Use AC_LANG_SOURCE.
22917         * configure: Regenerate.
22918
22919 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22920
22921         * configure.in (libc_cv_localstatedir): New substituted variable.
22922         * configure: Regenerated.
22923         * config.make.in (localstatedir): New variable, substituted from
22924         libc_cv_localstatedir.
22925         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22926         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22927         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22928         * sysdeps/gnu/configure: Regenerated.
22929
22930 2012-06-21  Jeff Law  <law@redhat.com>
22931
22932         [BZ #14277]
22933         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22934         free.  Simplify list management for _LIBC case.
22935
22936 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22937
22938         [BZ #14273]
22939         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22940         Clear sign bit of 64-bit integer value before comparing against
22941         overflow value.
22942
22943         * sysdeps/mach/configure: Regenerated.
22944
22945 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22946
22947         [BZ #14278]
22948         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22949
22950 2012-06-21  Jeff Law  <law@redhat.com>
22951
22952         [BZ #13882]
22953         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22954         uint16_t for elements in the "seen" array to avoid char overflows.
22955         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22956         * elf/dl-open.c (dl_open_worker): Likewise.
22957
22958 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22959
22960         * scripts/list-sources.sh: Scan PORTS for translations.
22961         * po/libc.pot: Regenerated.
22962
22963 2012-06-21  Andreas Jaeger  <aj@suse.de>
22964
22965         [BZ #12194]
22966         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22967         warning.
22968         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22969         * bits/byteswap-16.h (__bswap_16): Likewise.
22970         * bits/byteswap.h (__bswap_constant_16): Likewise.
22971
22972 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22973
22974         [BZ #14117]
22975         * sysdeps/i386/fpu_control.h: Removed.
22976         * sysdeps/x86_64/fpu_control.h: Moved to ...
22977         * sysdeps/x86/fpu_control.h: Here.
22978
22979         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22980         (_FPU_SETCW): Likewise.
22981
22982 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22983
22984         [BZ #14117]
22985         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22986         * sysdeps/x86/fpu/bits/mathinline.h: This.
22987         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22988
22989         [BZ #14050]
22990         [BZ #14117]
22991         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22992         functions if __x86_64__ is defined.
22993
22994 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22995
22996         * string/endian.h: Add !__ASSEMBLER__ condition for including
22997         conversion interfaces.
22998
22999 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
23000
23001         [BZ #14241]
23002         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23003         of ABS(x) in calculating zero to negative powers other than odd
23004         integers.
23005         * math/libm-test.inc (pow_test): Add more tests.
23006
23007 2012-06-15  Andreas Jaeger  <aj@suse.de>
23008
23009         * manual/contrib.texi (Contributors): Update entry of Liubov
23010         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23011         Machado Filho.
23012
23013 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
23014
23015         * string/string.h: Add __wur to GNU version of strerror_r.
23016
23017 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
23018
23019         [BZ #14229]
23020         * string/Makefile (tests): Add tst-strtok_r.
23021         * string/tst-strtok_r.c: New file.
23022         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23023         RAX_LP/RDX_LP on SAVE_PTR.
23024
23025 2012-06-14  Roland McGrath  <roland@hack.frob.com>
23026
23027         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23028
23029 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
23030
23031         * libm_test.inc (csqrt_test): Allow more spurious underflow
23032         exceptions.
23033         (j0_test): Likewise.
23034         (j1_test): Likewise.
23035         (y0_test): Likewise.
23036         (y1_test): Likewise.
23037
23038 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
23039
23040         * po/Makefile (libc.pot): Use UTF-8 charset.
23041
23042 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
23043
23044         [BZ #14210]
23045         Suppress sign-conversion warning from FD_SET.
23046         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23047         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23048         not unsigned long int.
23049         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23050
23051 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
23052
23053         [BZ #14050]
23054         [BZ #14117]
23055         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23056         __extern_always_inline instead of __extern_inline.
23057         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23058         (__signbit): Likewise.
23059         (__signbitl): Support C++ namespace.
23060         (lrintf): New inline function.
23061         (lrint): Likewise.
23062         (llrintf): Likewise.
23063         (llrint): Likewise.
23064         (fmaxf): Likewise.
23065         (fmax): Likewise.
23066         (fminf): Likewise.
23067         (fmin): Likewise.
23068         (rint): Likewise.
23069         (rintf): Likewise.
23070         (ceil): Likewise.
23071         (ceilf): Likewise.
23072         (floor): Likewise.
23073         (floorf): Likewise.
23074         (nearbyint): Likewise.
23075         (nearbyintf): Likewise.
23076
23077 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23078
23079         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23080         non-default versions.
23081
23082 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23083
23084         [BZ #14218]
23085         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23086
23087 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23088
23089         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23090         (FE_UPWARD, FE_DOWNWARD): Don't define.
23091         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23092         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23093
23094         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23095         reading it.
23096         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23097         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23098
23099 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23100
23101         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23103         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23104         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23105
23106 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23107
23108         [BZ #14117]
23109         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23110         * sysdeps/i386/fpu/Implies: New file.
23111         * sysdeps/x86_64/fpu/Implies: Likewise.
23112         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23113         * sysdeps/x86/fpu/bits/fenv.h: This.
23114
23115         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23116         __SSE_MATH__.
23117
23118 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23119
23120         [BZ #14134]
23121         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23122         character 0xffff that matches the last element of the
23123         conversion table.
23124
23125 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23126
23127         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23128         fmodl commit.
23129
23130 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23131
23132         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23133         values higher than 25.6283.
23134
23135 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23136
23137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23138         subnormal exponent extraction and add some __builtin_expect.
23139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23140         Fix for subnormal mantissa calculation.
23141
23142 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23143
23144         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23145         cpu2 is -1 and errno is not ENOSYS.
23146
23147 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23148
23149         [BZ #14117]
23150         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23151         * sysdeps/x86/bits/string.h: This.
23152         * sysdeps/x86_64/bits/string.h: Removed.
23153
23154         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23155         if not compiling for x86-64, but compiling for >= i486.
23156
23157         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23158         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23159
23160         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23161         New macro from Linux kernel 3.4.0.
23162         (FP_XSTATE_MAGIC2): Likewise.
23163         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23164         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23165         (struct _fpx_sw_bytes): New struct.
23166         (struct _xsave_hdr): Likewise.
23167         (struct _ymmh_state): Likewise.
23168         (struct _xstate): Likewise.
23169
23170         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23171         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23172         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23173         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23174         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23175         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23176
23177         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23178         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23179         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23180         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23181         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23182         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23183
23184 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23185
23186         [BZ #13743]
23187         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23188         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23189         (sysdep_headers): Include sys/platform/ppc.h.
23190         * sysdeps/powerpc/test-gettimebase.c: Test for
23191         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23192         * manual/Makefile (appendices): Include platform.texi.
23193         * manual/contrib.texi (Contributors): Update @node pointers.
23194         * manual/maint.texi (Maintenance): Likewise.
23195         (Platform): New node.
23196         * manual/platform.texi: New file.  Document the new features.
23197
23198 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23199             Jakub Jelinek  <jakub@redhat.com>
23200
23201         [BZ #14188]
23202         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23203         where __builtin_expect is unavailable.
23204
23205 2012-06-03  David S. Miller  <davem@davemloft.net>
23206
23207         * stdlib/longlong.h: Updated from GCC.
23208
23209 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23210
23211         [BZ #14042]
23212         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23213         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23214         __mcount_internal.
23215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23216         (GLIBC_2.16): Likewise.
23217
23218 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23219
23220         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23221
23222 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23223
23224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23225         (default-abi): New variable.
23226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23227         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23228         variable.
23229         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23230         Likewise.
23231         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23232         Likewise.
23233         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23234         Likewise.
23235
23236         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23237         definition.  Document in comment.
23238
23239 2012-06-01  David S. Miller  <davem@davemloft.net>
23240
23241         * stdlib/longlong.h: Updated from GCC.
23242
23243 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23244
23245         [BZ #14117]
23246         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23247         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23248         sys/debugreg.h sys/io.h here.
23249         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23250         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23251         sys/io.h.
23252         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23253         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23254         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23255         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23256         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23257         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23258
23259         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23260         Define only if __x86_64__ is defined.
23261
23262 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23263
23264         [BZ #14048]
23265         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23266         Use int64_t for variable i.
23267         * math/libm-test.inc (fmod_test): Add more tests.
23268
23269         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23270         z computation is not scheduled after fetestexcept.
23271         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23272         Use math_force_eval instead of asm to ensure calculation scheduled
23273         before exception test.
23274         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23275         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23276
23277 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23278
23279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23280         computation is not scheduled after fetestexcept.
23281
23282 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23283
23284         [BZ #14117]
23285         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23286         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23287
23288 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23289
23290         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23291         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23292
23293 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23294
23295         [BZ #14117]
23296         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23297         <bits/wordsize.h>.
23298         (__WCHAR_MIN): Support __WORDSIZE == 64.
23299         (__WCHAR_MAX): Likewise.
23300
23301         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23302         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23303
23304         [BZ #14183]
23305         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23306         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23307
23308         [BZ #14117]
23309         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23310         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23311
23312         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23313         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23314
23315         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23316         Defined to 1 if __x86_64__ isn't defined.
23317         (_STAT_VER_LINUX_OLD): New.
23318         (st_atime): Remove duplicate.
23319         (st_mtime): Likewise.
23320         (st_ctime): Likewise.
23321
23322 2012-05-31  David S. Miller  <davem@davemloft.net>
23323
23324         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23325         entries.
23326
23327 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
23328
23329         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23330         gen-libm-test.pl.
23331
23332         [BZ #14132]
23333         * elf/dl-reloc.c: Include <_itoa.h>.
23334         (_dl_reloc_bad_type): Remove use of INTUSE.
23335         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23336         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23337         * stdio-common/psiginfo.c (psiginfo): Likewise.
23338         * stdio-common/psignal.c (psignal): Likewise.
23339         * string/strsignal.c (strsignal): Likewise.
23340         * include/signal.h (_sys_siglist): Declare hidden proto.
23341         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23342         INTVARDEF with libc_hidden_data_def.
23343         * stdio-common/itoa-udigits.c: Likewise.
23344         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23345         (_itoa_lower_digits_internal): Remove declaration.
23346         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23347         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23348         (_sys_sigabbrev_internal): Remove aliases.
23349         (_sys_siglist): Define hidden alias.
23350
23351 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23352
23353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23354         bits/sysctl.h.
23355
23356 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23357
23358         [BZ #14117]
23359         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23360         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23361
23362         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23363         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23364         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23365         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23366         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23367         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23368
23369         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23370         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23371         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23372
23373         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23374         with __addr.
23375         (insw): Likewise.
23376         (insl): Likewise.
23377         (outsb): Likewise.
23378         (outsw): Likewise.
23379         (outsl): Likewise.
23380
23381         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23382         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23383         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23384
23385         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23386         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23387         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23388         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23389         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23390         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23391
23392         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23393         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23394
23395         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23396         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23397
23398         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23399         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23400         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23401
23402         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23403         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23404         to ...
23405         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23406
23407         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23408         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23409         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23410
23411         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23412         for x86-64.
23413         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23414
23415 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23416
23417         * math/math.h (M_El): Use two more decimal places.
23418         (M_LOG2El): Likewise.
23419         (M_LOG10El): Likewise.
23420         (M_LN2l): Likewise.
23421         (M_LN10l): Likewise.
23422         (M_PIl): Likewise.
23423         (M_PI_2l): Likewise.
23424         (M_PI_4l): Likewise.
23425         (M_1_PIl): Likewise.
23426         (M_2_PIl): Likewise.
23427         (M_2_SQRTPIl): Likewise.
23428         (M_SQRT2l): Likewise.
23429         (M_SQRT1_2l): Likewise.
23430
23431 2012-05-31  David S. Miller  <davem@davemloft.net>
23432
23433         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23434         values between float registers.
23435         * sysdeps/sparc/sparc64/memset.S: Likewise.
23436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23437
23438 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23439
23440         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23441         -D_FORTIFY_SOURCE=1.
23442         (CPPFLAGS-tst-longjmp_chk.c): Define.
23443         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23444         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23445         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23446         CFLAGS-tst-wchar-h.c.
23447
23448 2012-05-31  Marek Polacek  <polacek@redhat.com>
23449
23450         [BZ #14132]
23451         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23452         __endmntent_internal): Remove declaration.
23453         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23454         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23455         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23456
23457 2012-05-30  David S. Miller  <davem@davemloft.net>
23458
23459         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23460         (___Q_simulate_exceptions): Use real FP ops rather than writing
23461         into the %fsr.
23462         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23463         Likewise.
23464
23465 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23466
23467         [BZ #14117]
23468         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23469         * sysdeps/x86/bits/xtitypes.h: This.
23470
23471         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23472         * sysdeps/x86/bits/wordsize.h: This.
23473
23474         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23475         * sysdeps/x86/bits/huge_vall.h: This.
23476
23477         * sysdeps/i386/bits/select.h: Removed.
23478         * sysdeps/x86_64/bits/select.h: Renamed to ...
23479         * sysdeps/x86/bits/select.h: This.
23480
23481         * sysdeps/i386/bits/setjmp.h: Removed.
23482         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23483         * sysdeps/x86/bits/setjmp.h: This.
23484
23485         * sysdeps/i386/bits/mathdef.h: Removed.
23486         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23487         * sysdeps/x86/bits/mathdef.h: This.
23488
23489 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23490
23491         [BZ #14132]
23492         * include/sys/socket.h (__connect_internal)
23493         (__libc_sa_len_internal): Remove declaration.
23494         (__connect, __libc_sa_len): Declare hidden_proto.
23495         (SA_LEN): Remove use of INTUSE.
23496         * socket/connect.c: Add libc_hidden_def.
23497         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23498         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23499         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23500         alias.
23501         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23503         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23504         of adding _internal alias.
23505
23506 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23507
23508         [BZ #14117]
23509         * sysdeps/i386/bits/link.h: Removed.
23510         * sysdeps/i386/bits/linkmap.h: Likewise.
23511         * sysdeps/x86_64/bits/link.h: Renamed to ...
23512         * sysdeps/x86/bits/link.h: This.
23513         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23514         * sysdeps/x86/bits/linkmap.h: This.
23515
23516         * sysdeps/i386/bits/endian.h: Removed.
23517         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23518         * sysdeps/x86/bits/endian.h: This.
23519
23520         * sysdeps/i386/bits/byteswap.h: Removed.
23521         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23522         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23523         * sysdeps/x86/bits/byteswap.h: This.
23524         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23525         * sysdeps/x86/bits/byteswap-16.h: This.
23526         * sysdeps/i386/Implies: Add x86.
23527         * sysdeps/x86_64/Implies: Likewise.
23528
23529 2012-05-30  David S. Miller  <davem@davemloft.net>
23530
23531         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23532         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23533         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23534         (FP_TRAPPING_EXCEPTIONS): Define.
23535         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23536         (FP_TRAPPING_EXCEPTIONS): Define.
23537         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23538         subnormals only when inexact has been signalled or underflow
23539         exceptions are enabled.
23540         (_FP_PACK_CANONICAL): Likewise.
23541
23542 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23543
23544         [BZ #14183]
23545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23546         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23547
23548 2012-05-30  Richard Henderson  <rth@twiddle.net>
23549
23550         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23551         with #ifndef NOT_IN_libc.
23552
23553         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23554         marked to avoid plt entry.
23555
23556 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23557
23558         [BZ #14112]
23559         * Makeconfig (default-abi): New macro.
23560         (abi-includes): Likewise.
23561         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23562         $(abi-$(default-abi)-lib-soname) for soname if defined.
23563         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23564         abi-variants.
23565         * Makefile (installed-stubs): Likewise.
23566         * include/stubs-biarch.h: Removed.
23567         * scripts/lib-names.awk: Only handle one library at a time.
23568         * scripts/soversions.awk: Remove WORDSIZE support.
23569         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23570         entries.
23571         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23572         Removed.
23573         (syscall-list-default-condition): Likewise.
23574         (syscall-list-default-condition): Likewise.
23575         (syscall-list-includes): Likewise.
23576         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23577         syscall-list-* with abi-*.  Handle undefined abi-variants.
23578         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23579         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23580         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23581         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23582         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23583         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23584         Removed.
23585         (syscall-list-32-options): Likewise.
23586         (syscall-list-32-condition): Likewise.
23587         (syscall-list-64-options): Likewise.
23588         (syscall-list-64-condition): Likewise.
23589         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23590         macro.
23591         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23592         Renamed to ...
23593         (abi-*): This.
23594         (abi-64-ld-soname): New macro.
23595         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23596         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23597         Renamed to ...
23598         (abi-*): This.
23599         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23600         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23601
23602 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23603
23604         * sysdeps/unix/sysv/linux/kernel-features.h
23605         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23606         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23607         include <kernel-features.h>.
23608         [!__NR_ftruncate64]: Remove conditional code.
23609         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23610         [__NR_ftruncate64]: Make code unconditional.
23611         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23612         * sysdeps/unix/sysv/linux/truncate64.c: Do not
23613         include <kernel-features.h>.
23614         [!__NR_ftruncate64]: Remove conditional code.
23615         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23616         [__NR_ftruncate64]: Make code unconditional.
23617         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23619         include <kernel-features.h>.
23620         [!__NR_ftruncate64]: Remove conditional code.
23621         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23622         [__NR_ftruncate64]: Make code unconditional.
23623         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23625         include <kernel-features.h>.
23626         [!__NR_ftruncate64]: Remove conditional code.
23627         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23628         [__NR_ftruncate64]: Make code unconditional.
23629         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23630
23631         * configure.in (libc_cv_fpie): Weaken to a compile test using
23632         LIBC_TRY_CC_OPTION.
23633         * configure: Regenerated.
23634
23635 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23636
23637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23641         Refreshed.
23642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23648         Refreshed.
23649
23650 2012-05-27  David S. Miller  <davem@davemloft.net>
23651
23652         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23653         (___Q_zero): New.
23654         (__Q_simulate_exceptions): Return void.  Change to simulate
23655         exceptions by writing into the %fsr.
23656         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23657         (__Qp_handle_exceptions): Likewise.
23658         (numbers): Delete.
23659         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23660         __Qp_handle_exceptions.
23661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23662         __Qp_handle_exceptions.
23663         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23664         as unused and give dummy FP_RND_NEAREST initializer.
23665         (FP_INHIBIT_RESULTS): Define.
23666         (___Q_simulate_exceptions): Update declaration.
23667         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23668         formatting.
23669         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23670         as unused and give dummy FP_RND_NEAREST initializer.
23671         (__Qp_handle_exceptions): Update declaration.
23672         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23673         formatting.
23674
23675 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23676
23677         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23678         the temporary FPU control word.
23679         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23680         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23681         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23682         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23683         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23684         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23685         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23686         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23687         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23688         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23689         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23690
23691 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23692
23693         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23694         fields.
23695
23696 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23697
23698         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23699         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23700         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23701         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23702         Likewise.
23703         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23704         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23705         Likewise.
23706
23707 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23708
23709         * po/h.po: Update from translation team.
23710
23711 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23712
23713         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23714
23715         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23716         handling of denormals.
23717         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23718         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23719         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23720         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23721         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23723         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23724         Likewise.
23725
23726 2012-05-26  Marek Polacek  <polacek@redhat.com>
23727
23728         [BZ #14152]
23729         * math/libm-test.inc (fma_test): Don't always expect underflow
23730         exception.
23731
23732 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23733
23734         [BZ #12416]
23735         * elf/tst-execstack.c: Include stackinfo.h.
23736         (do_test): Adjust test case to ensure that pthread_getattr_np
23737         behaviour remains the same after marking stack executable.
23738
23739 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23740
23741         * sysdeps/unix/sysv/linux/kernel-features.h
23742         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23743         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23744         kernel-features.h.
23745         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23746         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23747         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23748         kernel-features.h.
23749         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23750         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23751
23752 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23753
23754         * configure.in: Define the default includes to being none.
23755         * configure: Regenerated.
23756
23757 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23758
23759         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23760         * sysdeps/x86_64/setjmp.S: Likewise.
23761         * sysdeps/i386/bsd-setjmp.S: Likewise.
23762         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23763         * sysdeps/i386/setjmp.S: Likewise.
23764         * sysdeps/i386/__longjmp.S: Likewise.
23765         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23766         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23767
23768         * include/stap-probe.h: New file.
23769         * configure.in: Handle --enable-systemtap.
23770         * configure: Regenerated.
23771         * config.h.in (USE_STAP_PROBE): New #undef.
23772         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23773         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23774         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23775
23776 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23777
23778         [BZ #13717]
23779         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23780         to 2.4.0 where earlier.
23781         * sysdeps/unix/sysv/linux/configure: Regenerated.
23782         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23783         <kernel-features.h>.
23784         [__ASSUME_32BITUIDS]: Make code unconditional.
23785         [!__ASSUME_32BITUIDS]: Remove conditional code.
23786         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23787         <kernel-features.h>.
23788         [__ASSUME_32BITUIDS]: Make code unconditional.
23789         [!__ASSUME_32BITUIDS]: Remove conditional code.
23790         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23791         [__ASSUME_32BITUIDS]: Make code unconditional.
23792         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23793         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
23798         <kernel-features.h>.
23799         [__ASSUME_32BITUIDS]: Make code unconditional.
23800         [!__ASSUME_32BITUIDS]: Remove conditional code.
23801         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23802         <kernel-features.h>.
23803         [__ASSUME_32BITUIDS]: Make code unconditional.
23804         [!__ASSUME_32BITUIDS]: Remove conditional code.
23805         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23806         <kernel-features.h>.
23807         [__ASSUME_32BITUIDS]: Make code unconditional.
23808         [!__ASSUME_32BITUIDS]: Remove conditional code.
23809         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23810         <kernel-features.h>.
23811         [__ASSUME_32BITUIDS]: Make code unconditional.
23812         [!__ASSUME_32BITUIDS]: Remove conditional code.
23813         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23814         <kernel-features.h>.
23815         [__ASSUME_32BITUIDS]: Make code unconditional.
23816         [!__ASSUME_32BITUIDS]: Remove conditional code.
23817         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23818         <kernel-features.h>.
23819         [__ASSUME_32BITUIDS]: Make code unconditional.
23820         [!__ASSUME_32BITUIDS]: Remove conditional code.
23821         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23822         <kernel-features.h>.
23823         [__ASSUME_32BITUIDS]: Make code unconditional.
23824         [!__ASSUME_32BITUIDS]: Remove conditional code.
23825         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23826         <kernel-features.h>.
23827         [__ASSUME_32BITUIDS]: Make code unconditional.
23828         [!__ASSUME_32BITUIDS]: Remove conditional code.
23829         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23830         <kernel-features.h>.
23831         [__ASSUME_32BITUIDS]: Make code unconditional.
23832         [!__ASSUME_32BITUIDS]: Remove conditional code.
23833         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23834         <kernel-features.h>.
23835         [__NR_setresgid] (__setresgid): Do not declare.
23836         [__ASSUME_32BITUIDS]: Make code unconditional.
23837         [!__ASSUME_32BITUIDS]: Remove conditional code.
23838         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23839         <kernel-features.h>.
23840         [__NR_setresuid] (__setresuid): Do not declare.
23841         [__ASSUME_32BITUIDS]: Make code unconditional.
23842         [!__ASSUME_32BITUIDS]: Remove conditional code.
23843         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
23848         <kernel-features.h>.
23849         [__ASSUME_32BITUIDS]: Make code unconditional.
23850         [!__ASSUME_32BITUIDS]: Remove conditional code.
23851         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23852         <kernel-features.h>.
23853         [__ASSUME_32BITUIDS]: Make code unconditional.
23854         [!__ASSUME_32BITUIDS]: Remove conditional code.
23855         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23856         <kernel-features.h>.
23857         [__ASSUME_32BITUIDS]: Make code unconditional.
23858         [!__ASSUME_32BITUIDS]: Remove conditional code.
23859         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23860         <kernel-features.h>.
23861         [__ASSUME_32BITUIDS]: Make code unconditional.
23862         [!__ASSUME_32BITUIDS]: Remove conditional code.
23863         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23864         <kernel-features.h>.
23865         [__ASSUME_32BITUIDS]: Make code unconditional.
23866         [!__ASSUME_32BITUIDS]: Remove conditional code.
23867         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23868         <kernel-features.h>.
23869         [__ASSUME_32BITUIDS]: Make code unconditional.
23870         [!__ASSUME_32BITUIDS]: Remove conditional code.
23871         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23872         <kernel-features.h>.
23873         [__ASSUME_32BITUIDS]: Make code unconditional.
23874         [!__ASSUME_32BITUIDS]: Remove conditional code.
23875         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23876         <kernel-features.h>.
23877         [__ASSUME_32BITUIDS]: Make code unconditional.
23878         [!__ASSUME_32BITUIDS]: Remove conditional code.
23879         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23880         <kernel-features.h>.
23881         [__ASSUME_32BITUIDS]: Make code unconditional.
23882         [!__ASSUME_32BITUIDS]: Remove conditional code.
23883         * sysdeps/unix/sysv/linux/kernel-features.h
23884         (__ASSUME_SETRESUID_SYSCALL): Remove.
23885         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23886         (__ASSUME_32BITUIDS): Likewise.
23887         (__ASSUME_LDT_WORKS): Likewise.
23888         (__ASSUME_O_DIRECTORY): Likewise.
23889         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23890         architecture but not kernel version.
23891         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23892         (__ASSUME_MMAP2_SYSCALL): Likewise.
23893         (__ASSUME_STAT64_SYSCALL): Likewise.
23894         (__ASSUME_IPC64): Likewise.
23895         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23896         <kernel-features.h>.
23897         [__ASSUME_32BITUIDS]: Make code unconditional.
23898         [!__ASSUME_32BITUIDS]: Remove conditional code.
23899         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23900         <kernel-features.h>.
23901         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23902         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23903         132096]: Remove conditional code.
23904         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23905         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23906         <kernel-features.h>.
23907         [__ASSUME_32BITUIDS]: Make code unconditional.
23908         [!__ASSUME_32BITUIDS]: Remove conditional code.
23909         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23910         <kernel-features.h>.
23911         [__ASSUME_32BITUIDS]: Make code unconditional.
23912         [!__ASSUME_32BITUIDS]: Remove conditional code.
23913         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23914         <kernel-features.h>.
23915         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23916         unconditional.
23917         (__setresgid): Do not declare.
23918         [__ASSUME_32BITUIDS]: Make code unconditional.
23919         [!__ASSUME_32BITUIDS]: Remove conditional code.
23920         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23921         <kernel-features.h>.
23922         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23923         unconditional.
23924         (__setresuid): Do not declare.
23925         [__ASSUME_32BITUIDS]: Make code unconditional.
23926         [!__ASSUME_32BITUIDS]: Remove conditional code.
23927         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23928         <kernel-features.h>.
23929         [__ASSUME_32BITUIDS]: Make code unconditional.
23930         [!__ASSUME_32BITUIDS]: Remove conditional code.
23931         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23932         <kernel-features.h>.
23933         [__ASSUME_32BITUIDS]: Make code unconditional.
23934         [!__ASSUME_32BITUIDS]: Remove conditional code.
23935
23936 2012-05-25  Richard Henderson  <rth@twiddle.net>
23937
23938         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23939         dl_hwcap to ifunc resolver.
23940         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23941         elf_ifunc_invoke.
23942         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23943         dl_hwcap to ifunc resolver.
23944         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23945
23946 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23947
23948         [BZ #14153]
23949         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23950         for |x| <= 2**-26, not 2**-57.
23951         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23952         exception.
23953
23954 2012-05-24  Jeff Law  <law@redhat.com>
23955
23956         * stdio-common/Makefile (tests): Add bug25.
23957         * stdio-common/bug25.c: New test.
23958
23959 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23960
23961         [BZ #13576]
23962         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23963         multiple of MALLOC_ALIGNMENT in size.
23964         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23965
23966 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23967
23968         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23969         Require >= 256.
23970         (FILENAME_MAX): Use macro-int-constant.
23971         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23972         (_IOFBF): Use macro-int-constant.
23973         (_IOLBF): Likewise.
23974         (_IONBF): Likewise.
23975         (SEEK_CUR): Likewise.
23976         (SEEK_END): Likewise.
23977         (SEEK_SET): Likewise.
23978         (TMP_MAX): Likewise.
23979         (EOF): Use macro-int-constant.  Require < 0.
23980         (NULL): Use macro-constant.  Require == 0.
23981         (stdin): Require type to be FILE *.
23982         (stdout): Likewise.
23983         (stderr): Likewise.
23984         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23985         macro-int-constant.
23986         (EXIT_SUCCESS): Likewise.
23987         (NULL): Use macro-constant.  Require == 0.
23988         (RAND_MAX): Use macro-int-constant.
23989         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23990         [C99-based standards] (strtof): Require function.
23991         [C99-based standards] (strtold): Likewise.
23992         [C99-based standards] (strtoll): Likewise.
23993         [C99-based standards] (strtoull): Likewise.
23994         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23995         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23996         [ISO || ISO99 || ISO11] (math.h): Likewise.
23997         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23998         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24000
24001 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
24002
24003         [BZ #14132]
24004         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24005         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24006         * intl/dgettext.c (DCGETTEXT): Likewise.
24007         * intl/gettext.c (DCGETTEXT): Likewise.
24008         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24009         * posix/regex_internal.h (gettext): Likewise.
24010         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24011         Remove declaration.
24012         * include/argz.h (__argz_count_internal)
24013         (__argz_stringify_internal): Remove declaration.
24014         (__argz_count, __argz_stringify): Declare hidden proto.
24015         * intl/dcgettext.c: Remove use of INTDEF.
24016         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24017         * string/argz-stringify.c: Likewise.
24018         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24019         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24020         Declare hidden proto.
24021         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24022         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24023         Declare hidden proto.
24024         * include/stdio.h (__asprintf_internal): Don't declare.
24025         (__asprintf): Don't define as macro.  Declare hidden proto.
24026         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24027         (__fsetlocking): Declare hidden proto.
24028         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24029         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24030         hidden proto.
24031         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24032         (_IO_setlinebuf): Remove use of INTUSE.
24033         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24034         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24035         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24036         Remove declaration.
24037         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24038         (_IO_do_flush): Remove use of INTUSE.
24039         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24040         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24041         (_IO_adjust_column, _IO_least_wmarker)
24042         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24043         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24044         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24045         (_IO_default_doallocate, _IO_wdefault_doallocate)
24046         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24047         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24048         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24049         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24050         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24051         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24052         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24053         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24054         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24055         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24056         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24057         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24058         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24059         proto.
24060         (_IO_flush_all_internal, _IO_adjust_column_internal)
24061         (_IO_default_uflow_internal, _IO_default_finish_internal)
24062         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24063         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24064         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24065         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24066         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24067         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24068         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24069         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24070         (_IO_file_close_internal, _IO_file_close_it_internal)
24071         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24072         (_IO_file_init_internal, _IO_file_attach_internal)
24073         (_IO_file_fopen_internal, _IO_file_read_internal)
24074         (_IO_file_sync_internal, _IO_file_seek_internal)
24075         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24076         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24077         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24078         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24079         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24080         (_IO_list_all_internal, _IO_link_in_internal)
24081         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24082         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24083         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24084         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24085         (_IO_do_write_internal, _IO_padn_internal)
24086         (_IO_getline_info_internal, _IO_getline_internal)
24087         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24088         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24089         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24090         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24091         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24092         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24093         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24094         with libc_hidden_ver, remove use of INTUSE.
24095         * libio/genops.c: Likewise.
24096         * libio/freopen.c: Likewise.
24097         * libio/freopen64.c: Likewise.
24098         * libio/iofclose.c: Likewise.
24099         * libio/iofdopen.c: Likewise.
24100         * libio/iofflush.c: Likewise.
24101         * libio/iofflush_u.c: Likewise.
24102         * libio/iofgets.c: Likewise.
24103         * libio/iofgets_u.c: Likewise.
24104         * libio/iofopen.c: Likewise.
24105         * libio/iofopncook.c: Likewise.
24106         * libio/iofread.c: Likewise.
24107         * libio/iofread_u.c: Likewise.
24108         * libio/ioftell.c: Likewise.
24109         * libio/iofwrite.c: Likewise.
24110         * libio/iogetline.c: Likewise.
24111         * libio/iogets.c: Likewise.
24112         * libio/iogetwline.c: Likewise.
24113         * libio/iopadn.c: Likewise.
24114         * libio/iopopen.c: Likewise.
24115         * libio/ioseekoff.c: Likewise.
24116         * libio/ioseekpos.c: Likewise.
24117         * libio/iosetbuffer.c: Likewise.
24118         * libio/iosetvbuf.c: Likewise.
24119         * libio/ioungetc.c: Likewise.
24120         * libio/ioungetwc.c: Likewise.
24121         * libio/iovdprintf.c: Likewise.
24122         * libio/iovsprintf.c: Likewise.
24123         * libio/iovsscanf.c: Likewise.
24124         * libio/memstream.c: Likewise.
24125         * libio/obprintf.c: Likewise.
24126         * libio/oldfileops.c: Likewise.
24127         * libio/oldiofclose.c: Likewise.
24128         * libio/oldiofdopen.c: Likewise.
24129         * libio/oldiofopen.c: Likewise.
24130         * libio/oldiopopen.c: Likewise.
24131         * libio/oldstdfiles.c: Likewise.
24132         * libio/putc.c: Likewise.
24133         * libio/setbuf.c: Likewise.
24134         * libio/setlinebuf.c: Likewise.
24135         * libio/stdfiles.c: Likewise.
24136         * libio/strops.c: Likewise.
24137         * libio/vasprintf.c: Likewise.
24138         * libio/vscanf.c: Likewise.
24139         * libio/vsnprintf.c: Likewise.
24140         * libio/vswprintf.c: Likewise.
24141         * libio/wfiledoalloc.c: Likewise.
24142         * libio/wfileops.c: Likewise.
24143         * libio/wgenops.c: Likewise.
24144         * libio/wmemstream.c: Likewise.
24145         * libio/wstrops.c: Likewise.
24146         * libio/__fpurge.c: Likewise.
24147         * libio/__fsetlocking.c: Likewise.
24148         * assert/assert.c: Likewise.
24149         * debug/fgets_chk.c: Likewise.
24150         * debug/fgets_u_chk.c: Likewise.
24151         * debug/fread_chk.c: Likewise.
24152         * debug/fread_u_chk.c: Likewise.
24153         * debug/gets_chk.c: Likewise.
24154         * debug/obprintf_chk.c: Likewise.
24155         * debug/vasprintf_chk.c: Likewise.
24156         * debug/vdprintf_chk.c: Likewise.
24157         * debug/vsnprintf_chk.c: Likewise.
24158         * debug/vsprintf_chk.c: Likewise.
24159         * malloc/mtrace.c: Likewise.
24160         * misc/error.c: Likewise.
24161         * misc/syslog.c: Likewise.
24162         * stdio-common/asprintf.c: Likewise.
24163         * stdio-common/fxprintf.c: Likewise.
24164         * stdio-common/getw.c: Likewise.
24165         * stdio-common/isoc99_fscanf.c: Likewise.
24166         * stdio-common/isoc99_scanf.c: Likewise.
24167         * stdio-common/isoc99_vfscanf.c: Likewise.
24168         * stdio-common/isoc99_vscanf.c: Likewise.
24169         * stdio-common/isoc99_vsscanf.c: Likewise.
24170         * stdio-common/printf-prs.c: Likewise.
24171         * stdio-common/printf_fp.c: Likewise.
24172         * stdio-common/printf_fphex.c: Likewise.
24173         * stdio-common/printf_size.c: Likewise.
24174         * stdio-common/putw.c: Likewise.
24175         * stdio-common/scanf.c: Likewise.
24176         * stdio-common/sprintf.c: Likewise.
24177         * stdio-common/tmpfile.c: Likewise.
24178         * stdio-common/vfprintf.c: Likewise.
24179         * stdio-common/vfscanf.c: Likewise.
24180         * stdlib/strfmon_l.c: Likewise.
24181         * sunrpc/openchild.c: Likewise.
24182         * sunrpc/xdr_stdio.c: Likewise.
24183         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24184         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24185
24186 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24187
24188         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24189
24190         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24191         in the third column, to generate for the shared library an IFUNC
24192         that uses _dl_vdso_vsym.
24193         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24194         * Makeconfig (object-suffixes-noshared): New variable.
24195
24196         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24197         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24198         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24199         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24200
24201         [BZ #14132]
24202         * include/sys/time.h (__gettimeofday): Remove macro.
24203         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24204         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24205         Remove INTDEF.
24206         (__gettimeofday): Add libc_hidden_def.
24207         (gettimeofday): Add libc_hidden_weak.
24208         * sysdeps/mach/gettimeofday.c: Likewise.
24209         * sysdeps/posix/gettimeofday.c: Likewise.
24210         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24211         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24212         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24213         (__gettimeofday_internal): Remove strong_alias.
24214         (__gettimeofday): Add libc_hidden_def.
24215         (gettimeofday): Add libc_hidden_weak.
24216         * sysdeps/unix/syscalls.list (gettimeofday):
24217         Remove __gettimeofday_internal alias.
24218
24219 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24220             H.J. Lu  <hongjiu.lu@intel.com>
24221
24222         [BZ #12495]
24223         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24224         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24225         (largebin_index_32_big): New.
24226         (largebin_index): Use it for 16-byte alignment.
24227         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24228         correction with front_misalign.
24229
24230 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24231
24232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24234         Likewise.
24235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24236         Likewise.
24237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24238         Likewise.
24239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24240         Likewise.
24241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24242         Likewise.
24243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24244         Likewise.
24245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24246         Likewise.
24247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24248         Likewise.
24249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24250         Likewise.
24251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24252         Likewise.
24253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24254         Likewise.
24255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24256         Likewise.
24257
24258         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24259         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24260
24261 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24262
24263         [BZ #10846]
24264         [BZ #14036]
24265         * math/libm-test.inc (exp_test): Add test from bug 14036.
24266         (pow_test): Add test from bug 10846.
24267
24268         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24269         and other flags.
24270         (special_function): Do not include flags in test name.
24271         (parse_args): Likewise.
24272         * sysdeps/i386/fpu/libm-test-ulps: Update.
24273         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24274         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24275         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24277
24278         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24279         exceptions.
24280         * math/libm-test.inc ("Philosophy"): Update comment about
24281         exception testing.
24282         (UNDERFLOW_EXCEPTION): New macro.
24283         (UNDERFLOW_EXCEPTION_OK): Likewise.
24284         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24285         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24286         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24287         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24288         (INVALID_EXCEPTION_OK): Update value.
24289         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24290         (OVERFLOW_EXCEPTION_OK): Likewise.
24291         (IGNORE_ZERO_INF_SIGN): Likewise.
24292         (test_exceptions): Handle underflow exceptions.
24293         (acos_test): Update for underflow exception expectations.
24294         (cexp_test): Likewise.
24295         (clog_test): Likewise.
24296         (clog10_test): Likewise.
24297         (csqrt_test): Likewise.
24298         (ctan_test): Likewise.
24299         (ctanh_test): Likewise.
24300         (exp_test): Likewise.
24301         (exp10_test): Likewise.
24302         (exp2_test): Likewise.
24303         (expm1_test): Likewise.
24304         (fma_test): Likewise.
24305         (j0_test): Likewise.
24306         (jn_test): Likewise.
24307         (nexttoward_test): Likewise.
24308         (pow_test): Likewise.
24309         (scalbn_test): Likewise.
24310         (scalbln_test): Likewise.
24311         (tan_test): Likewise.
24312         (y1_test): Likewise.
24313         * sysdeps/i386/fpu/libm-test-ulps: Update.
24314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24315
24316 2012-05-23  David S. Miller  <davem@davemloft.net>
24317
24318         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24319         (__libc_sigaction): Remove unused local variables.
24320
24321 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24322
24323         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24324
24325 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
24326
24327         mktime: avoid signed integer overflow
24328         * time/mktime.c (__mktime_internal): Do not mishandle the case
24329         where diff == INT_MIN.
24330
24331         mktime: simplify computation of average
24332         * time/mktime.c (ranged_convert): Use new time_t_avg function
24333         instead of rolling our own (probably-slower) code.
24334
24335         mktime: do not assume signed right shift propagates sign bit
24336         * time/mktime.c (isdst_differ): New static function.
24337         (__mktime_internal): No need to normalize tm_isdst now.
24338         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24339         tm_isdst values.
24340
24341         mktime: merge another wrapv change from gnulib
24342         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24343         from some compilers.
24344
24345         mktime: remove incorrect attempt at unusual arithmetics
24346         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24347         The code didn't really work on such machines anyway.
24348         (TYPE_MINIMUM): Assume two's complement.
24349         (twos_complement_arithmetic): Verify that long_int and time_t
24350         are two's complement (or unsigned, in the latter case).
24351
24352         mktime: check signed shifts on long_int and time_t, too
24353         * time/mktime.c (SHR): Check that shifts work as desired
24354         on the types long_int and time_t too, as SHR is used on
24355         such types.
24356
24357         mktime: do not assume 'long' is wide enough
24358         * time/mktime.c (verify): Move decl up.
24359         (long_int): New type.
24360         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24361         to remove assumption in the code that 'long' is wide enough to
24362         store year values.  This assumption is not true on x32 and on
24363         some non-glibc platforms.
24364
24365         mktime: merge wrapv change from gnulib
24366         * time/mktime.c (WRAPV): New macro.
24367         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24368         (guess_time_tm, __mktime_internal): Do not assume that signed
24369         integer overflow wraps around; modern compilers generate code
24370         where this assumption is no longer valid.
24371
24372 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24373
24374         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24375         Replace "jmp L(pseudo_end)" with "ret".
24376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24377         Likewise.
24378
24379 2012-05-23  Andreas Jaeger  <aj@suse.de>
24380
24381         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24382         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24383
24384 2012-05-23  Andreas Jaeger  <aj@suse.de>
24385             Maximilian Attems  <max@stro.at>
24386
24387         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24388         New macros.
24389
24390 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24391
24392         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24393         code so that pseudo_end is just ret and the stack pointer is
24394         correct also for static library in error case.
24395
24396 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24397
24398         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24399         move to syscalls.list.
24400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24404
24405         * manual/install.texi (Running make install): Do not mention Linux
24406         kernel version for which pt_chown is not needed.
24407         (Linux): Do not mention problems with nscd with 2.0 kernels.
24408         * INSTALL: Regenerated.
24409
24410 2012-05-23  Andreas Jaeger  <aj@suse.de>
24411
24412         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24413         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24414         macro.
24415         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24416         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24417         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24418         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24419         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24420         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24421         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24422         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24423         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24424         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24425         * sysdeps/unix/sysv/linux/bits/in.h
24426         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24427
24428 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24429
24430         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24431         (PREPARE_VERSION): Just use assert instead, it will be elided
24432         under [NDEBUG] anyway.
24433
24434 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24435
24436         * sysdeps/unix/sysv/linux/Makefile: Include
24437         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24438         (sysdep_routines): Remove sysctl.
24439         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24440         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24441         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24442         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24443         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24444
24445 2012-05-22  Andreas Jaeger  <aj@suse.de>
24446
24447         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24448         that pseudo_end is just ret and the stack pointer is correct also
24449         for static library in error case.
24450
24451 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24452
24453         [BZ #14122]
24454         * nss/nsswitch.c (defconfig_entries): New variable.
24455         (__nss_database_lookup): Don't leak defconfig entries.
24456         (nss_parse_service_list): Don't leak on error paths.
24457         (free_database_entries): New function.
24458         (free_defconfig): New function.
24459         (free_mem): Move common code to free_database_entries.
24460
24461 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24462
24463         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24464         Add arch_prctl.
24465         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24466
24467         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24468         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24470         New macro.
24471         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24472         (INTERNAL_SYSCALL_TYPES): Likewise.
24473         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24474         (LOAD_REGS_TYPES_[1-6]): Likewise.
24475         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24476         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24477
24478 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24479
24480         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24481         copysignl for GLIBC_2_0.
24482         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24483         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24485         logbl for GLIBC_2_0.
24486         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24487         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24488
24489 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24490
24491         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24492         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24493
24494         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24495         Use "neg %eax".
24496
24497         * time/mktime.c: Update copyright years.
24498
24499 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24500
24501         mktime: merge comment-quoting-style change from gnulib
24502         * time/mktime.c: Quote 'like this' in comments.
24503         The GNU coding standards suggest that we no longer quote `like this',
24504         as "`" and "'" are typically rendered asymmetrically nowadays.
24505         The typical gnulib style is to quote 'like this' when quoting
24506         code, and "like this" when quoting English.
24507
24508         * time/mktime.c (compile-command): Add "-I.".
24509
24510         mktime: merge mktime-internal.h change from gnulib
24511         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24512
24513         mktime: merge time_r change from gnulib
24514         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24515
24516         mktime: merge DEBUG change from gnulib
24517         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24518         case system <time.h> has a #define.
24519
24520         mktime: merge <sys/types.h> change from gnulib
24521         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24522         since <time.t> is now guaranteed to define time_t.
24523
24524         mktime: merge HAVE_CONFIG_H change from gnulib
24525         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24526
24527 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24528
24529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24530         Use "neg %eax".
24531
24532         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24533         __rlim_t cast.
24534         (struct rusage): Use anonymous union to pad each field to
24535         __syscall_slong_t.
24536
24537 2012-05-21  David S. Miller  <davem@davemloft.net>
24538
24539         * Makefules (o-iterator): Remove .s cases.
24540         (compile-command.s): Delete.
24541         (COMPILE.s): Delete.
24542         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24543
24544 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24545
24546         * configure.in (libc_cv_predef_stack_protector): Only consider
24547         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24548         * configure: Regenerated.
24549
24550 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24551
24552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24553         New macro.  Use R*LP on int and pointer.
24554         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24555         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24556         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24557         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24558
24559         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24560         [__WORDSIZE_TIME64_COMPAT32] instead of
24561         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24562         (struct utmp): Likewise.
24563         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24564         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24565         Renamed to ...
24566         (__WORDSIZE_TIME64_COMPAT32): This.
24567         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24568         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24569         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24570         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24571         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24572         (__WORDSIZE_TIME64_COMPAT32): New macro.
24573
24574 2012-05-21  Andreas Jaeger  <aj@suse.de>
24575
24576         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24577         only if [SHARED]. Add prototype for __wcschr_ia32.
24578
24579 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24580
24581         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24582         of %rbp unmolested in the jmp_buf while mangling the low bits.
24583         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24584         unmolested high bits of %rbp while demangling the low bits.
24585         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24586
24587 2012-05-21  Andreas Jaeger  <aj@suse.de>
24588
24589         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24590         * sunrpc/svc_simple.c: Use it for registerrpc.
24591         * sunrpc/xcrypt.c: Use it for passwd2des.
24592
24593         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24594
24595 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24596
24597         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24598         Don't define if [__SYSCALL_WORDSIZE != 32].
24599         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24600         New macro.
24601
24602 2012-05-21  Bruno Haible  <bruno@clisp.org>
24603             Andreas Jaeger  <aj@suse.de>
24604
24605         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24606         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24607         inptr and inend for must_buffer_ch.
24608         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24609         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24610         * stdio-common/Makefile (tests): Remove bug15.
24611         (bug15-ENV): Remove macro.
24612         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24613         anymore.
24614
24615 2012-05-19  Andreas Jaeger  <aj@suse.de>
24616             Roland McGrath  <roland@hack.frob.com>
24617
24618         * manual/contrib.texi: Completely rewritten. It contains now an
24619         alphabetical list of contributors and their contributions.
24620
24621 2012-05-21  Richard Henderson  <rth@twiddle.net>
24622
24623         * misc/getauxval.c (__getauxval): Use unsigned long int.
24624         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24625         (getauxval): Use unsigned long int.
24626
24627 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24628
24629         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24630
24631 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24632
24633         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24634         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24635         __alignof__ (long double).
24636
24637 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24638
24639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24640
24641 2012-05-20  Richard Henderson  <rth@twiddle.net>
24642
24643         * misc/getauxval.c: New file.
24644         * misc/sys/auxv.h: New file.
24645         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24646         (routines): Add getauxval.
24647         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24648         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24649         * elf/dl-sysdep.c (_dl_auxv): Remove.
24650         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24651         * elf/dl-support.c (_dl_auxv): New variable.
24652         (_dl_aux_init): Initialize it.
24653         * manual/startup.texi (Auxiliary Vector): New node.
24654         * sysdeps/generic/bits/hwcap.h: New file.
24655         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24656         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24657         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24658         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24659         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24660         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24662         Update.
24663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24671
24672 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24673
24674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24675
24676 2012-05-19  David S. Miller  <davem@davemloft.net>
24677
24678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24679
24680 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24681
24682         [BZ #14123]
24683         * math/s_ccosh.c: Include <float.h>
24684         (__ccosh): Avoid internal overflow calculating sinh and cosh
24685         values before multiplying by sin and cos values.
24686         * math/s_ccoshf.c: Likewise.
24687         * math/s_ccoshl.c: Likewise.
24688         * math/s_csin.c: Likewise.
24689         * math/s_csinf.c: Likewise.
24690         * math/s_csinl.c: Likewise.
24691         * math/s_csinh.c: Likewise.
24692         * math/s_csinhf.c: Likewise.
24693         * math/s_csinhl.c: Likewise.
24694         * math/libm-test.inc (ccos_test): Add more tests.
24695         (ccosh_test): Likewise.
24696         (csin_test): Likewise.
24697         (csinh_test): Likewise.
24698         * sysdeps/i386/fpu/libm-test-ulps: Update.
24699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24700
24701 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24702
24703         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24704         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24705
24706         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24707
24708 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24709
24710         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24711         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24712         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24713         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24714         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24715         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24716         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24717         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24718         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24719         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24720         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24721         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24722         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24723         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24724         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24725         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24726         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24727         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24728         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24729         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24730         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24731         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24732         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24733         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24734         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24735         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24736         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24737         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24738         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24739         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24740         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24741
24742 2012-05-18  Andreas Jaeger  <aj@suse.de>
24743
24744         * csu/.gitignore: Delete.
24745
24746 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24747
24748         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24749         (timex): Use __syscall_slong_t.
24750
24751 2012-05-18  Andreas Jaeger  <aj@suse.de>
24752             Carlos O'Donell  <carlos_odonell@mentor.com>
24753
24754         * manual/install.texi (Configuring and compiling): Update
24755         description about files modified in the source directory.
24756         * INSTALL: Regenerated.
24757
24758 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24759
24760         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24761         value.  Use "or" to set return value to -1.
24762         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24763         negate return value.
24764
24765 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24766
24767         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24768         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24769         failure if the compiler has Graphite support disabled.
24770         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24771         Likewise.
24772         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24773         CFLAGS-memmove.c): Likewise.
24774         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24775         Likewise.
24776
24777 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24778
24779         * sysdeps/x86_64/x32/_itoa.h: New file.
24780
24781         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24782         getdents system call only if kernel and user dirents have the
24783         same d_ino and d_off.
24784
24785         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24786         LLONG_MAX != LONG_MAX.
24787         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24788         (_fitoa_word): Likewise.
24789
24790         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24791         years.
24792         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24793         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24794         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24795
24796         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24797         include <bits/wordsize.h>.  Check __x86_64__ instead of
24798         __WORDSIZE.
24799         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24800         if __x86_64__ is defined.  Use anonymous union on fpstate.
24801
24802         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24803         anonymous union.
24804
24805 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24806
24807         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24808         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24810         Refer to _rtld_local_ro instead of _rtld_global_ro.
24811         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24812         Likewise.
24813         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24814         Likewise.
24815         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24816         Likewise.
24817         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24818         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24819         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24820
24821         * sysdeps/powerpc/powerpc32/dl-machine.c
24822         (__elf_machine_runtime_setup) [PROF]: Don't reference
24823         _dl_prof_resolve.
24824
24825 2012-05-18  Andreas Jaeger  <aj@suse.de>
24826
24827         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24828         function only available for GCCs before 3.4 since GCC 3.4
24829         introduced a builtin.
24830         (lrint): Likewise.
24831         (llrintf): Likewise.
24832         (llrint): Likewise.
24833         (fmaxf): Likewise.
24834         (fmax): Likewise.
24835         (fminf): Likewise.
24836         (fmin): Likewise.
24837         (rint): Likewise.
24838         (rintf): Likewise.
24839         (nearbyint): Likewise.
24840         (nearbyintf): Likewise.
24841         (ceil): Likewise.
24842         (ceilf): Likewise.
24843         (floor): Likewise.
24844         (floorf): Likewise.
24845
24846 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24847
24848         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24849         on both fields and cast pointer to __syscall_ulong_t.
24850
24851         * bits/types.h (__fsword_t): New type.
24852         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24853         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24855         (__FSWORD_T_TYPE): Likewise.
24856         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24857         (__FSWORD_T_TYPE): Likewise.
24858         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24859         (__FSWORD_T_TYPE): Likewise.
24860         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24861         (__FSWORD_T_TYPE): Likewise.
24862         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24863         __SWORD_TYPE with __fsword_t.
24864         (statfs64): Likewise.
24865
24866 2012-05-17  David S. Miller  <davem@davemloft.net>
24867
24868         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24869
24870 2012-05-17  Andreas Jaeger  <aj@suse.de>
24871
24872         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24873         warning.
24874
24875 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24876
24877         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24878
24879 2012-05-17  Andreas Jaeger  <aj@suse.de>
24880
24881         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24882         when it is used.
24883
24884 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24885
24886         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24887
24888 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24889
24890         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24891         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24892
24893 2012-05-17  Andreas Jaeger  <aj@suse.de>
24894             Carlos O'Donell  <carlos_odonell@mentor.com>
24895
24896         [BZ #14059]
24897         * sysdeps/x86_64/multiarch/init-arch.h
24898         (bit_YMM_Usable): Rename to...
24899         (bit_AVX_Usable): ... this.
24900         (bit_FMA4_Usable): New macro.
24901         (bit_XMM_state): New macro.
24902         (bit_YMM_state): New macro.
24903         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24904         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24905         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24906         (CPUID_OSXSAVE): New macro.
24907         (CPUID_AVX): New macro.
24908         (CPUID_FMA4): New macro.
24909         (index_YMM_Usable): Rename to...
24910         (index_AVX_Usable): ... this.
24911         (HAS_AVX): Use HAS_ARCH_FEATURE.
24912         (HAS_FMA4): Likewise.
24913         (HAS_YMM_USABLE): Remove.
24914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24915         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24916         are present.
24917         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24918         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24919         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24920         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24921         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24922
24923 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24924
24925         * math/libm-test.c: Support platforms without multiple rounding modes.
24926         * math/bug-nextafter.c: Support platforms without FP exceptions.
24927         * math/bug-nexttoward.c: Likewise.
24928         * math/test-fenv.c: Likewise.
24929         * math/test-misc.c: Likewise.
24930         * stdlib/bug-getcontext.c: Likewise.
24931
24932 2012-05-17  Andreas Jaeger  <aj@suse.de>
24933
24934         * manual/examples/search.c (critter_cmp): Change signature to
24935         avoid warnings.
24936         * manual/string.texi (Collation Functions): Likewise.
24937
24938 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24939
24940         * bits/types.h: Fold copyright years.
24941         * bits/typesizes.h: Likewise.
24942         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24943         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24944         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24945         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24946         * time/time.h: Likewise.
24947
24948 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24949
24950         [BZ #208]
24951         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24952         in instead of returning them.  Return void.
24953         (__libc_mallinfo): Accumulate over all arenas.
24954         (__malloc_stats): Adjust for change in int_mallinfo interface.
24955
24956 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24957
24958         [BZ #10375]
24959         * configure.in (NM): Add AC_CHECK_TOOL for it.
24960         (libc_extra_cflags): New substituted variable.
24961         Check for -fstack-protector being used implicitly.
24962         * configure: Regenerated.
24963         * config.make.in (config-extra-cflags): New variable,
24964         gets @libc_extra_cflags@.
24965         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24966
24967         [BZ #10375]
24968         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24969         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24970         * configure: Regenerated.
24971         * config.make.in (CPPUNDEFS): New substituted variable.
24972         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24973         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24974         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24975
24976 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24977
24978         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24979         (mq_attr): Use __syscall_slong_t.
24980
24981 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24982
24983         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24984         Check __x86_64__ instead of __WORDSIZE.
24985         (_STAT_VER_LINUX): Likewise.
24986         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24987         __syscall_ulong_t and __syscall_slong_t.
24988         (stat64): Likewise.
24989
24990 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24991
24992         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24993
24994 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24995
24996         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24997
24998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24999
25000         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25001         __syscall_ulong_t.
25002
25003         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25004         include <bits/wordsize.h>.  Check __x86_64__ instead of
25005         __WORDSIZE.
25006         (greg_t): Use "__extension__ long long int" if __x86_64__ is
25007         defined.
25008         (mcontext_t): Replace "unsigned long" with "unsigned long long".
25009
25010         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25011         include <bits/wordsize.h>.  Check __x86_64__ instead of
25012         __WORDSIZE.
25013         (user_regs_struct): Use "__extension__ unsigned long long"
25014         instead of "unsigned long" if __x86_64__ is defined.
25015         (user): Likewise.  Pad after pointer field if __ILP32__ is
25016         defined.
25017
25018 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
25019
25020         * configure.in (makeinfo): Require version 4.5 or later.  Allow
25021         versions 5 to 9.
25022         * configure: Regenerated.
25023         * manual/install.texi (texinfo): Increase version requirement to
25024         4.5 or later.
25025         * INSTALL: Regenerated.
25026
25027         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25028
25029 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25030
25031         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25032
25033         * sysdeps/x86_64/x32/ffs.c: New file.
25034
25035         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25036         __syscall_ulong_t.
25037         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25038         defined.  Use __syscall_ulong_t.
25039         (shminfo): Use __syscall_ulong_t.
25040         (shm_info): Likewise.
25041
25042         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25043         __syscall_ulong_t.
25044
25045         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25046         <bits/wordsize.h>.
25047         (msgqnum_t): Use __syscall_ulong_t.
25048         (msglen_t): Likewise.
25049         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
25050         __syscall_ulong_t.
25051
25052         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25053         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25054
25055         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25056
25057         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25058         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25059
25060         * sysvipc/sys/msg.h (msgbuf): Replace long int with
25061         __syscall_slong_t.
25062
25063         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25064         include <bits/wordsize.h>.  Check __x86_64__ instead of
25065         __WORDSIZE.
25066
25067         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25068         "unsigned long long int" if __x86_64__ is defined.
25069         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25070
25071         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25072         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25073         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25074
25075         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25076         <stdint.h>.
25077         (GET_PC): Cast to uintptr_t first.
25078         (GET_FRAME): Likewise.
25079         (GET_STACK): Likewise.
25080
25081         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25082         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25083         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25084         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25085         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25086         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25087         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25088         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25089         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25090         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25091         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25092         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25093         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25094         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25095         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25096         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25097         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25098         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25099         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25100         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25101         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25102         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25103         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25104         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25105         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25106         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25107         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25108         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25109         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25110
25111 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25112
25113         * Makerules (+depfiles): Also collect depfiles from .oS in
25114         $(extra-objs).
25115         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25116         .oS, $(libnldbl-routines)).
25117
25118         * Makerules (native-compile-mkdep-flags): Define.
25119         * sunrpc/Makefile (extra-objs): Add $(addprefix
25120         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25121         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25122         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25123         calling $(make-target-directory).
25124
25125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25126
25127         * bits/types.h (__snseconds_t): Removed.
25128         * time/time.h (struct timespec): Replace __snseconds_t with
25129         __syscall_slong_t.
25130         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25131         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25132         Likewise.
25133         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25134         (__SNSECONDS_T_TYPE): Likewise.
25135         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25136         (__SNSECONDS_T_TYPE): Likewise.
25137         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25138         (__SNSECONDS_T_TYPE): Likewise.
25139
25140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25141
25142         * sysdeps/mach/hurd/bits/typesizes.h
25143         (__SYSCALL_SLONG_TYPE): New macro.
25144         (__SYSCALL_ULONG_TYPE): Likewise.
25145
25146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25147
25148         * bits/types.h (__syscall_slong_t): New type.
25149         (__syscall_ulong_t): Likewise.
25150
25151         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25152         (__SYSCALL_ULONG_TYPE): Likewise.
25153         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25154         (__SYSCALL_SLONG_TYPE): Likewise.
25155         (__SYSCALL_ULONG_TYPE): Likewise.
25156         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25157         (__SYSCALL_SLONG_TYPE): Likewise.
25158         (__SYSCALL_ULONG_TYPE): Likewise.
25159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25160         (__SYSCALL_SLONG_TYPE): Likewise.
25161         (__SYSCALL_ULONG_TYPE): Likewise.
25162
25163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25164
25165         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25166         Add sigaltstack-offsets.sym.
25167         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25168         <sigaltstack-offsets.h>.
25169         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25170         longjmp_msg pointer.
25171         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25172         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25173         signal stack.
25174         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25175
25176 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25177
25178         * elf/stackguard-macros.h: Remove file.
25179         * sysdeps/generic/stackguard-macros.h: New file.
25180         * sysdeps/i386/stackguard-macros.h: Likewise.
25181         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25182         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25183         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25184         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25185         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25186         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25187         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25188         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25189         <elf/stackguard-macros.h>.
25190
25191         [BZ #14109]
25192         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25193         __aligned__ in attribute.
25194         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25195         (gregset_t): Likewise.
25196
25197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25198
25199         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25200         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25201         * sysdeps/x86_64/x32/Implies-after: New file.
25202
25203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25204
25205         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25206         and access return value for _dl_profile_fixup.  Use R10_LP to
25207         load frame size.
25208
25209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25210
25211         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25212
25213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25214
25215         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25216         * sysdeps/x86_64/x32/sysdep.h: New file.
25217
25218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25219
25220         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25221         * sysdeps/x86_64/setjmp.S: Likewise.
25222
25223 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25224
25225         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25226         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25227         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25228         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25229         remove unused global constant.
25230
25231 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25232
25233         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25234         include of <not-cancel.h>.
25235
25236 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25237
25238         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25239
25240 2012-05-15  Jeff Law  <law@redhat.com>
25241             Andreas Jaeger  <aj@suse.de>
25242
25243         [BZ #13594]
25244         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25245         out from...
25246         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25247         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25248         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25249         code changing __hst_map_handle.map.
25250
25251 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25252
25253         * configure.in (sysnames): Look for Implies-before and Implies-after
25254         files.
25255         * configure: Regenerated.
25256
25257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25258
25259         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25260         8-byte data alignment with LP_SIZE alignment.
25261
25262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25263
25264         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25265         into R10_LP.
25266
25267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25268
25269         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25270
25271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25272
25273         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25274         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25275         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25276         Likewise.
25277         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25278
25279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25280
25281         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25282         (stackinfo_sub_sp): Likewise.
25283
25284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25285
25286         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25287         RAX_LP.
25288
25289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25290
25291         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25292         into R*_LP.
25293
25294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25295
25296         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25297         sizes into R*_LP.
25298
25299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25300
25301         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25302
25303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25304
25305         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25306         into R11_LP and load __x86_64_shared_cache_size_half into
25307         R8_LP.
25308
25309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25310
25311         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25312         R8_LP.
25313
25314 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25315
25316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25317         logb for POWER7.
25318         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25319         logbf for POWER7.
25320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25321         logbl for POWER7.
25322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25323         powerpc32/power7/fpu/s_logb.c via #include.
25324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25325         powerpc32/power7/fpu/s_logbf.c via #include.
25326         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25327         powerpc32/power7/fpu/s_logbl.c via #include.
25328
25329 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25330
25331         * README.libm: Remove file.
25332
25333 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25334
25335         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25336         count for x32.  Use R*_LP and omit operand-size suffix.
25337
25338 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25339
25340         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25341         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25342         * sysdeps/x86_64/x32/shlib-versions: New file.
25343
25344 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25345
25346         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25347         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25348         Use _dl_fatal_printf instead.
25349
25350 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25351
25352         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25353         set if not set by the user.  Do not allow for being unset.
25354         * sysdeps/unix/sysv/linux/configure: Regenerated.
25355
25356 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25357
25358         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25359         the `q' suffix from lea and replace .quad with ASM_ADDR.
25360
25361 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25362
25363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25364         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25365         instead of $17.
25366         (PTR_DEMANGLE): Likewise.
25367
25368 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25369
25370         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25371         (LP_OP): Likewise.
25372         (ASM_ADDR): Likewise.
25373         (RAX_LP): Likewise.
25374         (RBP_LP): Likewise.
25375         (RBX_LP): Likewise.
25376         (RCX_LP): Likewise.
25377         (RDI_LP): Likewise.
25378         (RSI_LP): Likewise.
25379         (RSP_LP): Likewise.
25380         (R8_LP): Likewise.
25381         (R9_LP): Likewise.
25382         (R10_LP): Likewise.
25383         (R10_LP): Likewise.
25384         (R11_LP): Likewise.
25385         (R12_LP): Likewise.
25386         (R13_LP): Likewise.
25387         (R14_LP): Likewise.
25388         (R15_LP): Likewise.
25389
25390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25391
25392         * sysdeps/x86_64/x32/dl-machine.h: New file.
25393
25394 2012-05-14  Andreas Jaeger  <aj@suse.de>
25395
25396         * manual/Makefile (subdir): Remove export of subdir.
25397         (all): Remove target.
25398         (.PHONY): Remove all from list.
25399         (mkinstalldirs): Remove.
25400         (.PHONY): Remove installdirs from list.
25401         ($(inst_infodir)/libc.info): Use make-target-directory.
25402         (installdirs): Remove.
25403         (subdir_%): Remove.
25404         (glibc-targets): Remove.
25405         (lib): Remove.
25406         (stubs): Remove.
25407         ($(objpfx)stubs ../po/manual.pot): Remove.
25408         ($(objpfx)stamp%): Remove.
25409         (make-target-directory): Remove.
25410         (subdir_install): Remove.
25411         (routines): Remove.
25412         (aux): Remove.
25413         (sources): Remove.
25414         (objects): Remove.
25415         (headers): Remove.
25416
25417         [BZ #13750]
25418         * manual/.gitignore: Remove, it's not needed anymore.
25419         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25420         all files in it.
25421         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25422         directory.
25423         (texis): Renamed to $(objpfx)texis.
25424         (texis-path): New, contains path to generated files.
25425         (chapters.%): Use texis-path for complete path, add extra argument
25426         libc-texinfo.sh.
25427         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25428         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25429         (summary,texi, stamp-summary): Use complete path of
25430         files. Generate files in build dir.
25431         (dir-add.texi): Build in build dir.
25432         (libm-err.texi,stamp-libm-err): Likewise.
25433         (version.texi, stamp-version): Likewise.
25434         (.%c.texi): Likewise.
25435         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25436         (mostlyclean): Remove target.
25437         (realclean): Remove target.
25438         (generated): Add new variable with contents from mostlyclean and
25439         realclean, remove entries duplicated in common-mostlyclean, add
25440         stamp-libm-err and stamp-version.
25441         (generated-dirs): Add libc directory.
25442         ($(inst_infodir)/libc.info): Install files from build dir.
25443
25444         * manual/install.texi (Configuring and compiling): Adjust since
25445         the info files are not part of the tar ball anymore.
25446
25447 2012-05-14  Andreas Jaeger  <aj@suse.de>
25448
25449         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25450         variable.
25451
25452 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25453
25454         [BZ #13717]
25455         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25456         to 2.2.0 where earlier.
25457         * sysdeps/unix/sysv/linux/configure: Regenerated.
25458         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25459         Remove conditional code.
25460         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25461         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25462         Remove conditional code.
25463         [!__NR_lchown]: Likewise.
25464         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25465         [__NR_lchown]: Likewise.
25466         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25467         comment referencing __ASSUME_LCHOWN_SYSCALL.
25468         * sysdeps/unix/sysv/linux/i386/sigaction.c
25469         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25470         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25471         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25472         Remove conditional code.
25473         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25474         (__protocol_available): Remove #if 0 code.
25475         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25476         conditional code.
25477         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25478         * sysdeps/unix/sysv/linux/kernel-features.h
25479         (__ASSUME_GETCWD_SYSCALL): Don't define.
25480         (__ASSUME_REALTIME_SIGNALS): Likewise.
25481         (__ASSUME_PREAD_SYSCALL): Likewise.
25482         (__ASSUME_PWRITE_SYSCALL): Likewise.
25483         (__ASSUME_POLL_SYSCALL): Likewise.
25484         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25485         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25486         non-SPARC.
25487         (__ASSUME_SIOCGIFNAME): Don't define.
25488         (__ASSUME_MSG_NOSIGNAL): Likewise.
25489         (__ASSUME_SENDFILE): Define unconditionally.
25490         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25491         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25492         conditional code.
25493         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25494         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25495         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25496         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25497         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25498         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25499         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25501         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25502         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25504         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25505         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25507         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25508         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25510         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25511         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25513         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25514         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25516         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25517         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25519         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25520         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25522         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25523         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25524         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25525         Remove conditional code.
25526         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25527         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25528         Remove conditional code.
25529         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25530         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25531         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25532         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25533         Remove conditional code.
25534         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25535         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25536         Remove conditional code.
25537         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25538         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25539         Remove conditional code.
25540         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25541         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25542         Remove conditional code.
25543         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25544         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25545         Remove conditional code.
25546         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25547         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25548         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25549         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25550         * sysdeps/unix/sysv/linux/sigaction.c
25551         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25552         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25553         * sysdeps/unix/sysv/linux/sigpending.c
25554         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25555         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25556         * sysdeps/unix/sysv/linux/sigprocmask.c
25557         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25558         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25559         * sysdeps/unix/sysv/linux/sigsuspend.c
25560         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25561         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25562         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25563         (__libc_missing_rt_sigs): Remove.
25564         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25565         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25566         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25567         Remove conditional code.
25568         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25569         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25570         return 1.
25571         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25572         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25573         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25574         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25575
25576 2012-05-14  Andreas Jaeger  <aj@suse.de>
25577
25578         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25579         it's not used in glibc.
25580         (__coshm1): Likewise.
25581         (__acosh1p): Likewise.
25582         (__sgn): Likewise.
25583
25584         * manual/string.texi (Copying and Concatenation): Add missing
25585         variable in concat example.
25586         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25587
25588 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25589
25590         [BZ #14103]
25591         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25592         __builtin_clzl with __builtin_clzll.
25593
25594 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25595
25596         [BZ #14104]
25597         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25598         libc_freeres_ptr.
25599
25600 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25601
25602         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25603         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25604         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25605         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25606
25607 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25608
25609         * NEWS: Update ia64 info.
25610
25611 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25612
25613         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25614         used as bcopy.
25615
25616 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25617
25618         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25619         * sysdeps/unix/syscalls.list (dup3): Likewise.
25620         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25621         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25622
25623 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25624
25625         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25626         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25627
25628 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25629
25630         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25631         thread pointer.
25632         (TLS_IE): Use mov/add instead of movq/addq to load thread
25633         pointer.
25634         (TLS_GD_PREFIX): New.
25635         (TLS_GD): Use it.
25636
25637 2012-05-11  David S. Miller  <davem@davemloft.net>
25638
25639         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25640         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25641         (_FPU_SETCW): Likewise.
25642
25643 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25644
25645         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25646         is 32-byte aligned.
25647
25648 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25649
25650         [BZ #11837]
25651         * iconvdata/gb18030.c: Update tables.
25652         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25653         characters specially.
25654         (BODY for TO_LOOP): Add encoding of missing ranges.
25655
25656 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25657
25658         [BZ #13673]
25659         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25660         * sysdeps/mach/hurd/dup3.c: Likewise.
25661         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25662         * sysdeps/powerpc/memmove.c:: Likewise.
25663
25664 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25665
25666         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25667         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25668
25669 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25670
25671         * elf/elf.h (R_X86_64_RELATIVE64): New.
25672         (R_X86_64_NUM): Updated.
25673         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25674         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25675         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25676         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25677         tst-quad1pie tst-quad2pie
25678         (modules-names): Add tst-quadmod1 tst-quadmod2.
25679         ($(objpfx)tst-quad1): New dependency.
25680         ($(objpfx)tst-quad2): Likewise.
25681         ($(objpfx)tst-quad1pie): Likewise.
25682         ($(objpfx)tst-quad2pie): Likewise.
25683         * sysdeps/x86_64/tst-quad1.c: New file.
25684         * sysdeps/x86_64/tst-quad1pie.c: New file.
25685         * sysdeps/x86_64/tst-quad2.c: Likewise.
25686         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25687         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25688         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25689         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25690         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25691
25692 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25693
25694         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25695         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25696         * streams/stropts.h (t_scalar_t): Define type.
25697
25698         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25699         (_PATH_PRESERVE): Set to "/var/lib".
25700         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25701
25702         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25703         instead of int.
25704
25705         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25706         if __dir_mkfile succeeded.
25707
25708         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25709         checking for _hurd_dtablesize.  Unlock it right after having
25710         finished _hurd_dtable allocation.
25711
25712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25713
25714         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25715         * sysdeps/mach/hurd/configure: Regenerated.
25716         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25717         special-casing to...
25718         * sysdeps/gnu/configure.in: ... this new file.
25719         * sysdeps/unix/sysv/linux/configure: Regenerated.
25720         * sysdeps/gnu/configure: New generated file.
25721
25722         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25723         for Linux: use nsec instead of usec, as well as:
25724         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25725         members of type struct timespec.
25726         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25727         New macros.
25728         (struct stat64): Likewise.
25729         (_STATBUF_ST_NSEC): New macro.
25730         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25731
25732         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25733         __strtoul_internal rather than strtoul.
25734
25735 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25736
25737         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25738         and reject them.
25739
25740 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25741
25742         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25743         which preserves existing values.
25744         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25745
25746 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25747
25748         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25749         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25750         greater than FD_SETSIZE.
25751
25752 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25753
25754         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25755         allocated, call __vm_protect to finish enabling the existing space, and
25756         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25757         allocate the remainder.
25758
25759 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25760
25761         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25762         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25763
25764 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25765
25766         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25767         sysdeps/mach/hurd/readlink.c.
25768
25769         * posix/tst-sysconf.c (posix_options): Only use
25770         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25771         _POSIX_SYNCHRONIZED_IO when they are defined
25772         * sysdeps/mach/hurd/bits/posix_opt.h:
25773         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25774         (_XOPEN_REALTIME): Undefine macro.
25775         (_XOPEN_REALTIME_THREADS): Undefine macro.
25776         (_XOPEN_SHM): Undefine macro.
25777         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25778         macro to -1.
25779         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25780         macro to -1.
25781         (_POSIX_ASYNC_IO): Undefine macro.
25782         (_POSIX_PRIORITIZED_IO): Undefine macro.
25783         (_POSIX_SPIN_LOCKS): Define macro to -1.
25784
25785         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25786         SA_NODEFER, SA_RESETHAND.
25787         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25788         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25789         F_DUPFD_CLOEXEC.
25790
25791 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25792
25793         * elf/Makefile (pldd-modules): Define unconditionally.
25794
25795 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25796
25797         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25798
25799 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25800
25801         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25802         Return ENOENT when name is empty.
25803         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25804
25805 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25806
25807         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25808
25809         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25810
25811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25812
25813         Fix mlock in all cases except non-readable pages.
25814         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25815         instead of VM_PROT_ALL as parameter to __vm_wire function.
25816
25817         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25818         (__mkdir): When path is `/', just fail with EEXIST.
25819         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25820
25821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25822
25823         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25824         <sys/uio.h> (for writev).
25825         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25826         and <sys/param.h> (for MIN).
25827
25828 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25829
25830         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25831         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25832         if interrupted.
25833
25834 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25835
25836         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25837         Depend on against $(link-rpcuserlibs).
25838
25839 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25840
25841         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25842         (__libc_stack_end): Do not use attribute_relro.
25843         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25844         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25845         to libthread-provided value.
25846         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25847         attribute_relro.
25848
25849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25850
25851         [BZ #3748]
25852         * bits/libc-lock.h (__libc_once_get): New macro.
25853         * sysdeps/mach/bits/libc-lock.h: Likewise.
25854         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25855         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25856         instead of using implementation details.
25857
25858         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25859         * libio/freopen.c: Likewise.
25860         * libio/freopen64.c: Likewise.
25861         * misc/syslog.c: Likewise.
25862         * nscd/connections.c: Likewise.
25863         * nscd/netgroupcache.c: Likewise.
25864         * sysdeps/posix/getcwd.c: Likewise.
25865
25866 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25867
25868         * math/w_ilogbf.c: Add #include <limits.h>.
25869
25870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25871
25872         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25873         path instead of returning without unlocking.
25874
25875         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25876         immediate-write ioctls.
25877         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25878
25879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25880
25881         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25882         __builtin_frame_address instead of making assumptions about the
25883         location of the return address relative to DATA.  Force early load of
25884         the return address.
25885         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25886         __builtin_frame_address.
25887
25888         dup3 for GNU Hurd.
25889         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25890         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25891         implement dup3 and do some further code clean-ups.
25892         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25893         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25894
25895 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25896
25897         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25898
25899         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25900         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25901         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25902         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25903         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25904         d->port.lock.
25905
25906         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25907         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25908         when handler == SIG_ERR, not when handler != SIG_ERR.
25909
25910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25911
25912         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25913         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25914         definitions.
25915
25916         accept4 for GNU Hurd.
25917         * include/sys/socket.h (__libc_accept4): New prototype.
25918         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25919         to implement __libc_accept4.
25920         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25921         __libc_accept4.
25922         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25923
25924         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25925         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25926         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25927         signal-defines.sym.
25928
25929 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25930
25931         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25932
25933 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25934
25935         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25936         assertion on O_CLOEXEC flag.
25937         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25938         * hurd/intern-fd.c: Likewise.
25939         * hurd/port2fd.c: Likewise.
25940
25941 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25942
25943         [BZ #3906]
25944         * bits/in.h (IPV6_PKTINFO): Define new macro.
25945         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25946
25947 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25948
25949         [BZ #13954]
25950         [BZ #13955]
25951         [BZ #13956]
25952         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25953         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25954         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25955         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25956         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25957         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25958         * math/libm-test.inc (logb_test) : Additional logb tests.
25959
25960 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25961             Andreas Jaeger  <aj@suse.de>
25962
25963         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25964         * configure: Regenerated.
25965         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25966         * config.make.in (link-obsolete-rpc): New substituted variable.
25967         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25968         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25969         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25970         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25971         so that libc.a contains the symbols.
25972         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25973         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25974         * sunrpc/auth_none.c: Likewise.
25975         * sunrpc/auth_unix.c: Likewise.
25976         * sunrpc/authdes_prot.c: Likewise.
25977         * sunrpc/authuxprot.c: Likewise.
25978         * sunrpc/clnt_gen.c: Likewise.
25979         * sunrpc/clnt_perr.c: Likewise.
25980         * sunrpc/clnt_raw.c: Likewise.
25981         * sunrpc/clnt_simp.c: Likewise.
25982         * sunrpc/clnt_tcp.c: Likewise.
25983         * sunrpc/clnt_udp.c: Likewise.
25984         * sunrpc/clnt_unix.c: Likewise.
25985         * sunrpc/des_crypt.c: Likewise.
25986         * sunrpc/des_soft.c: Likewise.
25987         * sunrpc/get_myaddr.c: Likewise.
25988         * sunrpc/key_call.c: Likewise.
25989         * sunrpc/key_prot.c: Likewise.
25990         * sunrpc/netname.c: Likewise.
25991         * sunrpc/pm_getmaps.c: Likewise.
25992         * sunrpc/pm_getport.c: Likewise.
25993         * sunrpc/pmap_clnt.c: Likewise.
25994         * sunrpc/pmap_prot.c: Likewise.
25995         * sunrpc/pmap_prot2.c: Likewise.
25996         * sunrpc/pmap_rmt.c: Likewise.
25997         * sunrpc/publickey.c: Likewise.
25998         * sunrpc/rpc_cmsg.c: Likewise.
25999         * sunrpc/rpc_common.c: Likewise.
26000         * sunrpc/rpc_dtable.c: Likewise.
26001         * sunrpc/rpc_prot.c: Likewise.
26002         * sunrpc/rpc_thread.c: Likewise.
26003         * sunrpc/rtime.c: Likewise.
26004         * sunrpc/svc.c: Likewise.
26005         * sunrpc/svc_auth.c: Likewise.
26006         * sunrpc/svc_raw.c: Likewise.
26007         * sunrpc/svc_run.c: Likewise.
26008         * sunrpc/svc_tcp.c: Likewise.
26009         * sunrpc/svc_udp.c: Likewise.
26010         * sunrpc/svc_unix.c: Likewise.
26011         * sunrpc/svcauth_des.c: Likewise.
26012         * sunrpc/xcrypt.c: Likewise.
26013         * sunrpc/xdr.c: Likewise.
26014         * sunrpc/xdr_array.c: Likewise.
26015         * sunrpc/xdr_float.c: Likewise.
26016         * sunrpc/xdr_intXX_t.c: Likewise.
26017         * sunrpc/xdr_mem.c: Likewise.
26018         * sunrpc/xdr_rec.c: Likewise.
26019         * sunrpc/xdr_ref.c: Likewise.
26020         * sunrpc/xdr_sizeof.c: Likewise.
26021         * sunrpc/xdr_stdio.c: Likewise.
26022
26023 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26024
26025         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26026         change.  Update copyright years.
26027
26028 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26029
26030         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26031
26032 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
26033             Joseph Myers  <joseph@codesourcery.com>
26034             Paul Pluzhnikov  <ppluzhnikov@google.com>
26035
26036         [BZ #14012]
26037         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26038         requiring rpcgen.
26039         [cross-compiling] (extra-libs): Likewise.
26040         [cross-compiling] (extra-libs-others): Likewise.
26041         [cross-compiling] (librpcsvc-routines): Likewise.
26042         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26043         [cross-compiling] (omit-deps): Likewise.
26044         (sunrpc-CPPFLAGS): New variable.
26045         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26046         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26047         (cross-rpcgen-objs): New variable.
26048         (extra-objs): Append $(cross-rpcgen-objs).
26049         ($(cross-rpcgen-objs)): New rule.
26050         ($(objpfx)cross-rpcgen): Likewise.
26051         (rpcgen-cmd): Define to use $(built-program-file).  Expand
26052         comment.
26053         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26054         ($(objpfx)x%.stmp): Likewise.
26055         * sunrpc/proto.h [IS_IN_build] (_): Define.
26056         [IS_IN_build] (_libc_intl_domainname): Likewise.
26057
26058 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26059
26060         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26061         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26062         and R_X86_64_TPOFF64.
26063
26064 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26065
26066         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26067         sysdeps/unix/sysv/syscalls.list.
26068         (stime): Likewise.
26069         (utime): Likewise.
26070         * sysdeps/unix/sysv/syscalls.list: Remove file.
26071
26072 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26073
26074         [BZ #3440]
26075         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26076         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26077         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26078         (__LC_IDENTIFICATION): Make these macros useful in #if
26079         expressions, as required by C99.
26080
26081 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26082
26083         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26084         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26085         after this.
26086
26087 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26088
26089         * stdlib/longlong.h: Updated from GCC.
26090
26091 2012-05-09  Andreas Jaeger  <aj@suse.de>
26092
26093         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26094         default is first entry.
26095         (run_mode): Set type.
26096         (main): Remove informal message about syslog.
26097         (options): Fix typo.
26098
26099         [BZ #14053]
26100         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26101         to asm.
26102         (lrint): Likewise.
26103         (llrintf): Likewise.
26104         (llrint): Likewise.
26105         (rint): Likewise.
26106         (rintf): Likewise.
26107         (nearbyint): Likewise.
26108         (nearbyintf): Likewise.
26109
26110 2012-05-09  Andreas Jaeger  <aj@suse.de>
26111             Pedro Alves  <palves@redhat.com>
26112
26113         * nscd/nscd.c (run_mode): Use enum.
26114         (main): Cleanup coding style issue.
26115
26116 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26117             Andreas Jaeger  <aj@suse.de>
26118
26119         * nscd/nscd.c (go_background): Replaced with...
26120         (run_mode): ... this.
26121         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26122         (options): Add -F --foreground.
26123         (main): Implement it.
26124         (parse_opt): Parse it.
26125
26126 2012-05-09  Andreas Jaeger  <aj@suse.de>
26127
26128         [BZ #14083]
26129         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26130         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26131         -Wconversion warning.
26132         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26133         Likewise.
26134
26135 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26136
26137         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26138         == 0.
26139         (LC_ALL): Use macro-int-constant.
26140         (LC_COLLATE): Likewise.
26141         (LC_CTYPE): Likewise.
26142         (LC_MESSAGES): Likewise.
26143         (LC_MONETARY): Likewise.
26144         (LC_NUMERIC): Likewise.
26145         (LC_TIME): Likewise.
26146         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26147         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26148         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26149         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26150         Specify type.
26151         [C99-based standards] (float_t): Expect type.
26152         [C99-based standards] (double_t): Expect type.
26153         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26154         type.
26155         [C99-based standards] (HUGE_VALL): Likewise.
26156         [C99-based standards] (INFINITY): Likewise.
26157         [C99-based standards] (NAN): Likewise.
26158         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26159         [C99-based standards] (FP_NAN): Likewise.
26160         [C99-based standards] (FP_NORMAL): Likewise.
26161         [C99-based standards] (FP_SUBNORMAL): Likewise.
26162         [C99-based standards] (FP_ZERO): Likewise.
26163         [C99-based standards] (FP_FAST_FMA): Use
26164         optional-macro-int-constant.  Specify type.  Require == 1.
26165         [C99-based standards] (FP_FAST_FMAF): Likewise.
26166         [C99-based standards] (FP_FAST_FMAL): Likewise.
26167         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26168         [C99-based standards] (FP_ILOGBNAN): Likewise.
26169         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26170         Specify type.
26171         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26172         [C99-based standards] (math_errhandling): Specify type.
26173         [ISO99 || ISO11] (signgam): Do not allow.
26174         [non-C99-based standards] (copysignf): Do not allow.
26175         [non-C99-based standards] (exp2f): Likewise.
26176         [non-C99-based standards] (log2f): Likewise.
26177         [non-C99-based standards] (modff): Allow.
26178         [non-C99-based standards] (erff): Do not allow.
26179         [non-C99-based standards] (erfcf): Likewise.
26180         [non-C99-based standards] (gammaf): Likewise.
26181         [non-C99-based standards] (hypotf): Likewise.
26182         [non-C99-based standards] (j0f): Likewise.
26183         [non-C99-based standards] (j1f): Likewise.
26184         [non-C99-based standards] (jnf): Likewise.
26185         [non-C99-based standards] (lgammaf): Likewise.
26186         [non-C99-based standards] (tgammaf): Likewise.
26187         [non-C99-based standards] (y0f): Likewise.
26188         [non-C99-based standards] (y1f): Likewise.
26189         [non-C99-based standards] (ynf): Likewise.
26190         [non-C99-based standards] (isnanf): Likewise.
26191         [non-C99-based standards] (acoshf): Likewise.
26192         [non-C99-based standards] (asinhf): Likewise.
26193         [non-C99-based standards] (atanhf): Likewise.
26194         [non-C99-based standards] (cbrtf): Likewise.
26195         [non-C99-based standards] (expm1f): Likewise.
26196         [non-C99-based standards] (ilogbf): Likewise.
26197         [non-C99-based standards] (log1pf): Likewise.
26198         [non-C99-based standards] (logbf): Likewise.
26199         [non-C99-based standards] (nextafterf): Likewise.
26200         [non-C99-based standards] (remainderf): Likewise.
26201         [non-C99-based standards] (rintf): Likewise.
26202         [non-C99-based standards] (scalbf): Likewise.
26203         [non-C99-based standards] (copysignl): Likewise.
26204         [non-C99-based standards] (exp2l): Likewise.
26205         [non-C99-based standards] (log2l): Likewise.
26206         [non-C99-based standards] (modfl): Allow.
26207         [non-C99-based standards] (erfl): Do not allow.
26208         [non-C99-based standards] (erfcl): Likewise.
26209         [non-C99-based standards] (gammal): Likewise.
26210         [non-C99-based standards] (hypotl): Likewise.
26211         [non-C99-based standards] (j0l): Likewise.
26212         [non-C99-based standards] (j1l): Likewise.
26213         [non-C99-based standards] (jnl): Likewise.
26214         [non-C99-based standards] (lgammal): Likewise.
26215         [non-C99-based standards] (tgammal): Likewise.
26216         [non-C99-based standards] (y0l): Likewise.
26217         [non-C99-based standards] (y1l): Likewise.
26218         [non-C99-based standards] (ynl): Likewise.
26219         [non-C99-based standards] (isnanl): Likewise.
26220         [non-C99-based standards] (acoshl): Likewise.
26221         [non-C99-based standards] (asinhl): Likewise.
26222         [non-C99-based standards] (atanhl): Likewise.
26223         [non-C99-based standards] (cbrtl): Likewise.
26224         [non-C99-based standards] (expm1l): Likewise.
26225         [non-C99-based standards] (ilogbl): Likewise.
26226         [non-C99-based standards] (log1pl): Likewise.
26227         [non-C99-based standards] (logbl): Likewise.
26228         [non-C99-based standards] (nextafterl): Likewise.
26229         [non-C99-based standards] (remainderl): Likewise.
26230         [non-C99-based standards] (rintl): Likewise.
26231         [non-C99-based standards] (scalbl): Likewise.
26232         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26233         [non-C99-based standards] (FP_*): Do not allow.
26234         [C99-based standards] (FP_*): Change to
26235         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26236         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26237         allow.
26238         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26239         (SIG_ERR): Likewise.
26240         [X/Open-based standards] (SIG_HOLD): Likewise.
26241         (SIG_IGN): Likewise.
26242         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26243         positive value.
26244         (SIGFPE): Likewise.
26245         (SIGILL): Likewise.
26246         (SIGINT): Likewise.
26247         (SIGSEGV): Likewise.
26248         (SIGTER): Likewise.
26249         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26250         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26251         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26252         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26253         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26254         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26255         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26256         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26257         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26258         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26259         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26260         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26261         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26262         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26263         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26264         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26265         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26266         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26267         [X/Open-based standards] (SIGTRAP): Likewise.
26268         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26269         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26270         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26271         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26272         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26273         allow.
26274
26275 2012-05-08  Ian Wienand  <ianw@vmware.com>
26276
26277         [BZ #14080]
26278         * time/tzset.c (__tzset_parse_tz): Update default rules for
26279         daylight time changes in the Energy Policy Act of 2005.
26280
26281 2012-05-09  Andreas Jaeger  <aj@suse.de>
26282
26283         [BZ #13983]
26284         * elf/ldconfig.c (parse_conf): Change string to make clear that
26285         ldconfig only issued a warning if ld.so.conf does not exist.
26286
26287 2012-05-08  David S. Miller  <davem@davemloft.net>
26288
26289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26290         movxtod instead of popping the value on the stack.
26291
26292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26293
26294 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
26295
26296         * config.h.in: Add HAVE_ARM_PCS_VFP.
26297
26298 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
26299
26300         [BZ #13979]
26301         * include/features.h: Warn if user requests __FORTIFY_SOURCE
26302         checking but the checks are disabled for any reason.
26303
26304 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
26305
26306         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26307         and ELF64_R_TYPE with ELFW(R_TYPE).
26308
26309 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
26310
26311         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26312         (ulimit): Likewise.
26313
26314         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26315         (settimeofday): Likewise.
26316
26317 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
26318
26319         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
26320         a struct th_u2 inside the union, and move tu_block/tu_code into
26321         a new th_u3 union of tu_block/tu_code inside of that.  Move
26322         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
26323         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
26324         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26325         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26326         (th_stuff): Change to th_u1.tu_stuff.
26327         (th_data): Define.
26328         (th_msg): Change to th_u1.th_u2.tu_data.
26329
26330 2012-05-07  David S. Miller  <davem@davemloft.net>
26331
26332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26333
26334         [BZ #14074]
26335         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26336         (SETUP_PIC_REG): Use it.
26337         (SETUP_PIC_REG_LEAF): Use it.
26338
26339 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26340
26341         [BZ #13885]
26342         [BZ #13923]
26343         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26344         USE_AS_EXPM1L.
26345         (EXPL_FINITE): Likewise.
26346         (FLDLOG): Likewise.
26347         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26348         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26349         e_expl.S.
26350         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26351         USE_AS_EXPM1L.
26352         (EXPL_FINITE): Likewise.
26353         (FLDLOG): Likewise.
26354         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26355         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26356         e_expl.S.
26357         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26358         test of -max_value argument for long double.
26359         * sysdeps/i386/fpu/libm-test-ulps: Update.
26360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26361
26362 2012-05-06  David S. Miller  <davem@davemloft.net>
26363
26364         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26365         quad soft-float symbols whose references which are compiler
26366         generated.
26367         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26368
26369 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26370
26371         [BZ #13884]
26372         [BZ #13914]
26373         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26374         USE_AS_EXP10L.
26375         (EXPL_FINITE): Likewise.
26376         (FLDLOG): Likewise.
26377         (c0): Likewise.
26378         (c1): Likewise.
26379         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26380         Adjust comments for base varying.
26381         (__expl_finite): Change alias to EXPL_FINITE.
26382         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26383         e_expl.S.
26384         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26385         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26386         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26387         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26388         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26389         USE_AS_EXP10L.
26390         (EXPL_FINITE): Likewise.
26391         (FLDLOG): Likewise.
26392         (c0): Likewise.
26393         (c1): Likewise.
26394         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26395         Adjust comments for base varying.
26396         (__expl_finite): Change alias to EXPL_FINITE.
26397         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26398         tests for bugs.
26399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26400
26401         [BZ #14064]
26402         * math/libm-test.inc (check_float_internal): Correct ulp
26403         calculation for subnormal expected results.
26404
26405 2012-05-06  Andreas Jaeger  <aj@suse.de>
26406
26407         * Makeconfig (+math-flags): New, set to -frounding-math.
26408         (+cflags): Add +math-flags so that all of glibc gets compiled with
26409         it.
26410
26411         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26412
26413 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26414
26415         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26416         Disable one test.
26417
26418         [BZ #13787]
26419         [BZ #13922]
26420         [BZ #14036]
26421         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26422         (__ieee754_expl): Allow for and saturate large arguments.
26423         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26424         (u_threshold): Likewise.
26425         (__exp): Call __ieee754_exp before checking for overflow and
26426         underflow.
26427         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26428         (u_threshold): Likewise.
26429         (__expf): Call __ieee754_expf before checking for overflow and
26430         underflow.
26431         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26432         (u_threshold): Likewise.
26433         (__expl): Call __ieee754_expl before checking for overflow and
26434         underflow.
26435         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26436         (__ieee754_expl): Allow for and saturate large arguments.
26437         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26438         missing overflow exception on overflow.
26439         (expm1_test): Do not allow missing overflow exception on overflow.
26440
26441         * sysdeps/i386/fpu/e_expl.c: Move to ...
26442         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26443         rather than using inline asm.
26444         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26445         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26446         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26447
26448         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26449         (nice): Likewise.
26450         (poll): Likewise.
26451         (signal): Likewise.
26452         (time): Likewise.
26453         (times): Likewise.
26454
26455 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26456
26457         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26458         sysdeps/unix/common/syscalls.list.
26459         (fchmod): Likewise.
26460         (fchown): Likewise.
26461         (ftruncate): Likewise.
26462         (getrusage): Likewise.
26463         (gettimeofday): Likewise.
26464         (setpgid): Likewise.
26465         (setregid): Likewise.
26466         (setreuid): Likewise.
26467         (sigaction): Likewise.
26468         (truncate): Likewise.
26469         (vhangup): Likewise.
26470         * sysdeps/unix/common/syscalls.list: Remove file.
26471         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26472         * sysdeps/unix/sysv/linux/Implies: Likewise.
26473
26474 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26475
26476         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26478         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26479         Moved to ...
26480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26481         Here.
26482         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26483         to ...
26484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26485         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26486         to ...
26487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26488         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26489         to ...
26490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26491         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26492         to ...
26493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26494         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26495         to ...
26496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26497         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26498         to ...
26499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26500         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26501         to ...
26502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26503         Here.
26504         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26505         to ...
26506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26507         Here.
26508         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26509         to ...
26510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26511         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26512         Moved to ...
26513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26514         Here.
26515         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26516         to ...
26517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26518
26519 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26520
26521         * sysdeps/unix/common/bits/dirent.h: Remove file.
26522         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26523
26524         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26525         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26526         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26527         * sysdeps/unix/bsd/isatty.c: Likewise.
26528         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26529         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26530         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26531
26532 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26533
26534         [BZ #13563]
26535         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26536         long double comparison inaccuracies.
26537         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26539
26540 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26541
26542         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26543         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26544
26545 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26546
26547         [BZ #14049]
26548         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26549         nonzero digits before rounding a hex value.
26550         * stdlib/tst-strtod.c (tests): Add another test.
26551
26552 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26553
26554         * sysdeps/s390/fpu/libm-test-ulps: Update.
26555
26556 2012-05-03  Andreas Jaeger  <aj@suse.de>
26557
26558         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26559         does not get optimized out.
26560         (malloc_opt_barrier): New.
26561
26562 2012-05-03  Andreas Jaeger  <aj@suse.de>
26563             Roland McGrath  <roland@hack.frob.com>
26564
26565         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26566         intermediate file deletion.
26567         (generated): Add .symlist files.
26568
26569 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26570
26571         [BZ #13775]
26572         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26573         Redirect under this condition.
26574         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26575         [__USE_GNU] (__dprintf_chk): Not under this condition.
26576         [__USE_GNU] (__vdprintf_chk): Likewise.
26577         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26578         under this condition.
26579         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26580         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26581         [__USE_XOPEN2K8] (vdprintf): Likewise.
26582         [__USE_GNU] (__dprintf_chk): Not under this condition.
26583         [__USE_GNU] (__vdprintf_chk): Likewise.
26584         [__USE_GNU] (dprintf): Likewise.
26585         [__USE_GNU] (vdprintf): Likewise.
26586
26587 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26588
26589         * elf/Makefile (common-generated): Set this instead of generated for
26590         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26591         $(all-built-dso)-derived lists.
26592
26593 2012-05-03  Andreas Jaeger  <aj@suse.de>
26594
26595         * sysdeps/i386/fpu/libm-test-ulps: Update.
26596
26597         * FAQ: Removed.
26598         * FAQ.in: Likewise.
26599         * scripts/gen-FAQ.pl: Likewise.
26600         * manual/install.texi (Installation): Point to online location of
26601         FAQ.
26602         * Makefile (files-for-dist): Remove FAQ.
26603         (FAQ): Remove.
26604
26605 2012-05-02  Allan McRae  <allan@archlinux.org>
26606
26607         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26608         (LDFLAGS-reldepmod5.so): Likewise.
26609         (LDFLAGS-reldep6mod1.so): Likewise.
26610         (LDFLAGS-reldep6mod4.so): Likewise.
26611         (LDFLAGS-reldep8mod3.so): Likewise.
26612         (LDFLAGS-unload4mod1.so): Likewise.
26613         (LDFLAGS-unload4mod2.so): Likewise.
26614         (LDFLAGS-tst-initorder): Likewise.
26615         (LDFLAGS-tst-initordera2.so): Likewise.
26616         (LDFLAGS-tst-initordera3.so): Likewise.
26617         (LDFLAGS-tst-initordera4.so): Likewise.
26618         (LDFLAGS-tst-initorderb2.so): Likewise.
26619         (LDFLAGS-noload): Likewise.
26620         (LDFLAGS-next): Likewise.
26621         (LDFLAGS-order2mod1.so): Likewise.
26622         (LDFLAGS-order2mod2.so): Likewise.
26623         (LDFLAGS-tst-initorder2): Likewise.
26624         (LDFLAGS-tst-initorder2a.so): Likewise.
26625         (LDFLAGS-tst-initorder2b.so): Likewise.
26626         (LDFLAGS-tst-initorder2c.so): Likewise.
26627         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26628
26629 2012-05-02  David S. Miller  <davem@davemloft.net>
26630
26631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26632
26633 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26634
26635         [BZ #14055]
26636         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26637
26638 2012-05-02  Andreas Jaeger  <aj@suse.de>
26639
26640         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26641         since we manipulate rounding mode.
26642         (CPPFLAGS-test-idouble.c): Likewise.
26643         (CPPFLAGS-test-ifloat.c): Likewise.
26644         (CFLAGS-test-ldouble.c): Likewise.
26645         (CFLAGS-test-double.c): Likewise.
26646         (CFLAGS-test-float.c): Likewise.
26647         (CFLAGS-test-misc.c): Likewise.
26648         (CFLAGS-test-test-fenv.c): Likewise.
26649
26650 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26651
26652         [BZ #2550]
26653         [BZ #2570]
26654         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26655         comparisons to determine direction to adjust input.
26656
26657 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26658
26659         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26660         output to the target.
26661
26662         * scripts/localplt.awk: New file.
26663         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26664         (check-localplt-CFLAGS): Variable removed.
26665         ($(all-built-dso:=.jmprel)): New static pattern rule.
26666         (generated): Add those targets.
26667         (localplt-built-dso): New variable.
26668         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26669
26670         * elf/check-localplt.c: File removed.
26671
26672         * scripts/check-execstack.awk: New file.
26673         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26674         (check-execstack-CFLAGS): Variable removed.
26675         ($(objpfx)check-execstack.h): Target removed.
26676         ($(objpfx)execstack-default): New target.
26677         (generated): Add that instead of check-execstack.h.
26678         ($(all-built-dso:=.phdr)): New static pattern rule.
26679         (generated): Add those targets.
26680         * elf/check-execstack.c: File removed.
26681
26682         * scripts/check-textrel.awk: New file.
26683         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26684         (check-textrel-CFLAGS): Variable removed.
26685         (all-built-dso): Use := to define.o
26686         ($(all-built-dso:=.dyn)): New static pattern rule.
26687         (generated): Add those targets.
26688         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26689         * config.make.in (READELF): New substituted variable.
26690         * elf/check-textrel.c: File removed.
26691
26692 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26693
26694         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26695         allow.
26696         * conform/data/ctype.h-data [C99-based standards] (isblank):
26697         Expect function.
26698         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26699         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26700         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26701         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26702         Specify type.  Require positive value.
26703         (EILSEQ): Likewise.
26704         (ERANGE): Likewise.
26705         [ISO || POSIX] (EILSEQ): Do not expect.
26706         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26707         Specify type.  Require positive value.
26708         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26709         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26710         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26711         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26712         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26713         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26714         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26715         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26716         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26717         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26718         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26719         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26720         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26721         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26722         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26723         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26724         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26725         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26726         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26727         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26728         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26729         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26730         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26731         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26732         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26733         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26734         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26735         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26736         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26737         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26738         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26739         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26740         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26741         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26742         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26743         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26744         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26745         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26746         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26747         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26748         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26749         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26750         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26751         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26752         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26753         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26754         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26755         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26756         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26757         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26758         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26759         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26760         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26761         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26762         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26763         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26764         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26765         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26766         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26767         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26768         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26769         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26770         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26771         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26772         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26773         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26774         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26775         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26776         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26777         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26778         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26779         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26780         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26781         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26782         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26783         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26784         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26785         Require >= 2.
26786         (FLT_ROUNDS): Expect as macro, not constant.
26787         (FLT_MANT_DIG): Use macro-int-constant.
26788         (DBL_MANT_DIG): Likewise.
26789         (LDBL_MANT_DIG): Likewise.
26790         (FLT_DIG): Likewise.
26791         (DBL_DIG): Likewise.
26792         (LDBL_DIG): Likewise.
26793         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26794         (DBL_MIN_EXP): Likewise.
26795         (LDBL_MIN_EXP): Likewise.
26796         (FLT_MAX_EXP): Use macro-int-constant.
26797         (DBL_MAX_EXP): Likewise.
26798         (LDBL_MAX_EXP): Likewise.
26799         (FLT_MAX_10_EXP): Likewise.
26800         (DBL_MAX_10_EXP): Likewise.
26801         (LDBL_MAX_10_EXP): Likewise.
26802         (FLT_MAX): Use macro-constant.
26803         (DBL_MAX): Likewise.
26804         (LDBL_MAX): Likewise.
26805         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26806         (DBL_EPSILON): Likewise.
26807         (LDBL_EPSILON): Likewise.
26808         (FLT_MIN): Likewise.
26809         (DBL_MIN): Likewise.
26810         (LDBL_MIN): Likewise.
26811         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26812         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26813         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26814         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26815         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26816         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26817         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26818         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26819         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26820         [ISO11] (FLT_TRUE_MIN): Likewise.
26821         [ISO11] (LDBL_TRUE_MIN): Likewise.
26822         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26823         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26824         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26825         (SCHAR_MAX): Likewise.
26826         (UCHAR_MAX): Likewise.
26827         (CHAR_MIN): Likewise.
26828         (CHAR_MAX): Likewise.
26829         (MB_LEN_MAX): Use macro-int-constant.
26830         (SHRT_MIN): Use macro-int-constant.  Specify type.
26831         (SHRT_MAX): Likewise.
26832         (USHRT_MAX): Likewise.
26833         (INT_MAX): Likewise.
26834         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26835         bound negative.
26836         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26837         bound with "U".
26838         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26839         bound with "L".
26840         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26841         bound negative.  Suffix upper bound with "L".
26842         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26843         bound with "UL".
26844         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26845         Specify type.
26846         [C99-based standards] (LLONG_MAX): Likewise.
26847         [C99-based standards] (ULLONG_MAX): Likewise.
26848         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26849         == 0.
26850         [ISO11] (max_align_t): Require type.
26851         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26852
26853         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26854         from $CFLAGS, without defining away __attribute__ calls.
26855         (checknamespace): Use $CFLAGS_namespace.
26856
26857         * conform/conformtest.pl (@keywords): Only include C99 keywords
26858         for standards based on C99 or C11.
26859
26860         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26861         Disable tests.
26862         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26863         UNIX98]: Likewise.
26864
26865         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26866         usability of symbols in #if.
26867
26868         * conform/conformtest.pl: If macro or constant types start
26869         "promoted:", expect the symbol to be of the following type
26870         promoted by the integer promotions.
26871
26872         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26873         in one place.  Also handle "macro-constant".
26874
26875         * conform/conformtest.pl: Only accept expected macro values with
26876         "==".  Parse all "macro" lines in one place.
26877         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26878
26879         * conform/conformtest.pl: Handle braced types on "constant" lines
26880         instead of handling "typed-constant".
26881         * conform/data/signal.h-data: Use "constant" instead of
26882         "typed-constant".
26883
26884         * conform/conformtest.pl: Handle "optional-" at start of lines in
26885         one place rather than duplicating several cases.  Handle each
26886         format of "macro" line with initial "optional-".
26887
26888         * conform/conformtest.pl: Only accept expected constant or
26889         optional-constant values with "==".  Parse all "constant" lines in
26890         one place.  Parse all "optional-constant" lines in one place.
26891         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26892         * conform/data/fmtmsg.h-data: Likewise.
26893         * conform/data/netinet/in.h-data: Likewise.
26894         * conform/data/tar.h-data: Likewise.
26895         * conform/data/limits.h-data: Use "==" form on "constant" and
26896         "optional-constant" lines.
26897
26898         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26899         Use -std=c99 for XOPEN2K.
26900         (@knownproblems): Remove.
26901         (newtoken): Don't check %isknown.
26902
26903         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26904         Do not expect macro.
26905         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26906         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26907         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26908         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26909         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26910         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26911         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26912         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26913         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26914         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26915         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26916         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26917         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26918         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26919         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26920         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26921         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26922         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26923         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26924         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26925         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26926         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26927         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26928         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26929         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26930         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26931         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26932         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26933         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26934         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26935         [XPG3] (acosh): Likewise.
26936         [XPG3] (asinh): Likewise.
26937         [XPG3] (atanh): Likewise.
26938         [XPG3] (cbrt): Likewise.
26939         [XPG3] (expm1): Likewise.
26940         [XPG3] (ilogb): Likewise.
26941         [XPG3] (log1p): Likewise.
26942         [XPG3] (logb): Likewise.
26943         [XPG3] (nextafter): Likewise.
26944         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26945         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26946         [XPG3] (remainder): Likewise.
26947         [XPG3] (rint): Likewise.
26948         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26949         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26950         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26951         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26952         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26953         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26954         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26955         [UNIX98 || XOPEN2K] (scalb): Expect.
26956         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26957         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26958         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26959         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26960         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26961         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26962         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26963         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26964         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26965         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26966         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26967         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26968         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26969         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26970         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26971         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26972         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26973         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26974         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26975         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26976         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26977         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26978         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26979         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26980         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26981         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26982         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26983         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26984         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26985         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26986         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26987         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26988         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26989         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26990         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26991         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26992         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26993         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26994         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26995         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26996         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26997         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26998         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26999         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27000         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27001         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27002         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27003         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27004         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27005         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27006         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27007         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27008         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27009         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27010         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27011         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27012         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27013         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27014         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27015         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27016         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27017         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27018         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27019         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27020         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27021         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27022         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27023         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27024         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27025         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27026         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27027         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27028         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27029         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27030         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27031         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27032         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27033         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27034         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27035         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27036         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27037         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27038         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27039         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27040         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27041         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27042         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27043         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27044         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27045         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27046         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27047         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27048         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27049         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27050         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27051         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27052         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27053         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27054         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27055         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27056         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27057         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27058         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27059         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27060         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27061         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27062         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27063         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27064         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27065         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27066         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27067         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27068         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27069         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27070         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27071         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27072         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27073         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27074         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27075         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27076         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27077         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27078         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27079         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27080         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27081         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27082         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27083         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27084         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27085         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27086         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27087         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27088         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27089         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27090         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27091         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27092         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27093
27094         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27095         _XOPEN_SOURCE_EXTENDED for XPG4.
27096
27097         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27098
27099         * Makeconfig (localtime): Remove variable.
27100         (inst_localtime-file): Likewise.
27101
27102 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27103
27104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27105         Update.
27106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27107         Update.
27108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27109         Update.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27111         Update.
27112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27113         Update.
27114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27115         Update.
27116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27117         Update.
27118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27119         Update.
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27121         Update.
27122
27123 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27124
27125         [BZ #2550]
27126         [BZ #2570]
27127         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27128         comparisons to determine direction to adjust input.
27129         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27130         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27131         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27132         Likewise.
27133         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27134         Likewise.
27135         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27136         Likewise.
27137         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27138         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27139         Likewise.
27140         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27141         Likewise.
27142         * math/libm-test.inc (nexttoward_test): Add more tests.
27143
27144 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27145
27146         [BZ #14040]
27147         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27148         in version GLIBC_2.1, not GLIBC_2.0.
27149         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27150         Likewise.
27151
27152 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27153
27154         [BZ #13942]
27155         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27156         (1 - x) * (1 + x).
27157         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27158         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27159         * math/libm-test.inc (acos_test): Add more tests.
27160         (asin_test): Likewise.
27161         * sysdeps/i386/fpu/libm-test-ulps: Update.
27162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27163
27164         [BZ #14034]
27165         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27166         of square root.
27167         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27168         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27169         * math/libm-test.inc (acos_test_tonearest): New function.
27170         (acos_test_towardzero): Likewise.
27171         (acos_test_downward): Likewise.
27172         (acos_test_upward): Likewise.
27173         (asin_test_tonearest): Likewise.
27174         (asin_test_towardzero): Likewise.
27175         (asin_test_downward): Likewise.
27176         (asin_test_upward): Likewise.
27177         (main): Call the new functions.
27178         * sysdeps/i386/fpu/libm-test-ulps: Update.
27179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27180
27181         [BZ #13884]
27182         [BZ #13924]
27183         * math/e_exp10.c: Include <float.h>.
27184         (__ieee754_exp10): Handle underflow here rather than multiplying
27185         large negative argument by M_LN10.
27186         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27187         of __ieee754_expf.
27188         * math/e_exp10l.c: Include <float.h>.
27189         (__ieee754_exp10l): Handle underflow here rather than multiplying
27190         large negative argument by M_LN10l.
27191         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27192         spurious overflow exception on underflow.
27193
27194 2012-04-29  Marek Polacek  <polacek@redhat.com>
27195
27196         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27197         (__fortify_function): New macro.
27198         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27199         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27200         __extern_always_inline.
27201         * libio/bits/stdio2.h: Likewise.
27202         * libio/bits/stdio.h: Likewise.
27203         * string/string.h: Likewise.
27204         * string/bits/string3.h: Likewise.
27205         * include/stdio.h: Likewise.
27206         * stdlib/bits/stdlib.h: Likewise.
27207         * stdlib/stdlib.h: Likewise.
27208         * rt/bits/mqueue2.h: Likewise.
27209         * rt/mqueue.h: Likewise.
27210         * posix/bits/unistd.h: Likewise.
27211         * posix/unistd.h: Likewise.
27212         * io/bits/poll2.h: Likewise.
27213         * io/bits/fcntl2.h: Likewise.
27214         * io/fcntl.h: Likewise.
27215         * io/sys/poll.h: Likewise.
27216         * misc/bits/syslog.h: Likewise.
27217         * misc/bits/syslog-ldbl.h: Likewise.
27218         * misc/sys/syslog.h: Likewise.
27219         * socket/bits/socket2.h: Likewise.
27220         * socket/sys/socket.h: Likewise.
27221         * debug/tst-chk1.c: Likewise.
27222         * wcsmbs/bits/wchar2.h: Likewise.
27223         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27224         * wcsmbs/wchar.h: Likewise.
27225
27226 2012-04-29  Andreas Jaeger  <aj@suse.de>
27227
27228         * Makerules (tests): Remove enable-check-abi protection.
27229         (check-abi-warn): Remove.
27230         (check-abi-%): Remove check-abi-warn usage.
27231
27232         * configure.in: Remove check-abi configure option.
27233         * configure: Regenerated.
27234         * config.make.in (enable-check-abi): Remove.
27235
27236 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27237
27238         [BZ #14033]
27239         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27240         double functions to double *_finite functions.
27241
27242         [BZ #13941]
27243         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27244         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27245         LDBL_MIN_EXP.
27246         * stdio-common/Makefile (tests): Add tst-sprintf3.
27247         * stdio-common/tst-sprintf3.c: New file.
27248
27249         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27250         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27251
27252 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27253
27254         * conform/conformtest.pl: Remove duplicate typed-constant
27255         handling.
27256
27257 2012-04-28  David S. Miller  <davem@davemloft.net>
27258
27259         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27260         (check-abi-%): Remove AWK script prerequisite and explicit
27261         abilist directory.
27262         (check-abi): Rewrite to just diff the symlist with the abilist.
27263         (config-tls, config-abi-config): Delete, no longer used.
27264         (update-abi-%): Remove AWK script and explicit abilist directory.
27265         (update-abi): Rewrite to simply compare and conditionally copy the
27266         symlist and the sysdep abilist file.  Remove update-abi-config
27267         checks.
27268         * abilist/ld.abilist: Remove.
27269         * abilist/libBrokenLocale.abilist: Remove.
27270         * abilist/libanl.abilist: Remove.
27271         * abilist/libcrypt.abilist: Remove.
27272         * abilist/libdl.abilist: Remove.
27273         * abilist/librt.abilist: Remove.
27274         * abilist/libthread_db.abilist: Remove.
27275         * abilist/libutil.abilist: Remove.
27276         * scripts/extract-abilist.awk: Remove.
27277         * scripts/merge-abilist.awk: Remove.
27278         * sysdeps/generic/libcidn.abilist: New file.
27279         * sysdeps/generic/libnss_compat.abilist: New file.
27280         * sysdeps/generic/libnss_db.abilist: New file.
27281         * sysdeps/generic/libnss_dns.abilist: New file.
27282         * sysdeps/generic/libnss_files.abilist: New file.
27283         * sysdeps/generic/libnss_hesiod.abilist: New file.
27284         * sysdeps/generic/libnss_nis.abilist: New file.
27285         * sysdeps/generic/libnss_nisplus.abilist: New file.
27286         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27287         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27288         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27289         file.
27290         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27291         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27292         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27293         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27294         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27295         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27296         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27297         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27298         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27299         file.
27300         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27301         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27302         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27303         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27304         file.
27305         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27306         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27307         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27308         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27309         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27310         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27311         file.
27312         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27313         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27314         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27315         file.
27316         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27318         New file.
27319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27320         New file.
27321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27322         New file.
27323         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27324         New file.
27325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27326         New file.
27327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27328         New file.
27329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27330         New file.
27331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27332         New file.
27333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27334         New file.
27335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27336         New file.
27337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27338         New file.
27339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27340         New file.
27341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27342         New file.
27343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27344         file.
27345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27346         New file.
27347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27348         New file.
27349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27350         file.
27351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27352         New file.
27353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27354         New file.
27355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27356         file.
27357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27358         New file.
27359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27360         New file.
27361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27362         New file.
27363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27364         New file.
27365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27366         New file.
27367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27368         New file.
27369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27371         file.
27372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27373         New file.
27374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27375         file.
27376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27377         file.
27378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27379         file.
27380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27381         file.
27382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27383         file.
27384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27385         New file.
27386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27387         file.
27388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27389         file.
27390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27391         New file.
27392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27393         file.
27394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27396         file.
27397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27398         New file.
27399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27400         file.
27401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27402         file.
27403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27404         file.
27405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27406         file.
27407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27408         file.
27409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27410         New file.
27411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27412         file.
27413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27414         file.
27415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27416         New file.
27417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27418         file.
27419         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27420         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27421         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27422         file.
27423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27424         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27425         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27426         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27427         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27428         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27429         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27430         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27431         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27432         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27435         file.
27436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27437         New file.
27438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27439         file.
27440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27441         file.
27442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27443         file.
27444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27445         file.
27446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27447         file.
27448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27449         New file.
27450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27451         New file.
27452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27453         file.
27454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27455         New file.
27456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27457         file.
27458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27460         file.
27461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27462         New file.
27463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27464         file.
27465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27466         file.
27467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27468         file.
27469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27470         file.
27471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27472         file.
27473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27474         New file.
27475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27476         New file.
27477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27478         file.
27479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27480         New file.
27481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27482         file.
27483
27484 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27485
27486         * conform/conformtest.pl: Fix typo in handling typed-constant from
27487         allow-header.
27488
27489 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27490
27491         * README: Cut down references to pre-2.6 Linux kernels and
27492         Linuxthreads.  Update lists of configurations in libc and ports
27493         and sort alphabetically.  Say "or newer" with Linux kernel version
27494         requirements.
27495
27496         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27497
27498 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27499
27500         [BZ #887]
27501         * math/libm-test.inc (logb_test_downward): New test to expose
27502         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27503         rounding mode.
27504
27505 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27506
27507         [BZ #14027]
27508         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27509         to be done.
27510         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27511         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27512
27513 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27514
27515         * sysdeps/unix/i386/brk.S: Remove file.
27516         * sysdeps/unix/i386/dl-brk.S: Likewise.
27517         * sysdeps/unix/i386/pipe.S: Likewise.
27518         * sysdeps/unix/i386/sigreturn.S: Likewise.
27519         * sysdeps/unix/i386/syscall.S: Likewise.
27520         * sysdeps/unix/i386/vfork.S: Likewise.
27521         * sysdeps/unix/i386/wait.S: Likewise.
27522
27523         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27524         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27525
27526         * configure.in (arm*-none*): Do not allow without
27527         --enable-hacker-mode.
27528         (netbsd*): Remove case setting base_os.
27529         (386bsd*): Likewise.
27530         (freebsd*): Likewise.
27531         (bsdi*): Likewise.
27532         (osf*): Likewise.
27533         (sunos*): Likewise.
27534         (ultrix*): Likewise.
27535         (newsos*): Likewise.
27536         (dynix*): Likewise.
27537         (*bsd*): Likewise.
27538         (sysv*): Likewise.
27539         (isc*): Likewise.
27540         (esix*): Likewise.
27541         (sco*): Likewise.
27542         (minix*): Likewise.
27543         (irix4*): Likewise.
27544         (irix6*): Likewise.
27545         (solaris[2-9]*): Likewise.
27546         (none): Likewise.
27547         * configure: Regenerated.
27548
27549 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27550
27551         [BZ #11521]
27552         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27553         overflow or cancellation in calculating denominator.
27554         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27555         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27556         down expression to avoid unexpected rounding in newer GCCs.
27557         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27558
27559 2012-04-26  David S. Miller  <davem@davemloft.net>
27560
27561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27562         long-double compat symbols.
27563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27576
27577 2012-04-25  David S. Miller  <davem@davemloft.net>
27578
27579         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27580         HWCAP_* values only after the memory barriers have been defined.
27581         (atomic_full_barrier): Define.
27582         (atomic_read_barrier): Define.
27583         (atomic_write_barrier): Define.
27584
27585 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27586
27587         * shlib-versions: Add libgcc_s version information.
27588         * sysdeps/generic/libgcc_s.h: Remove.
27589         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27590         libgcc_s.h.
27591         * sysdeps/gnu/unwind-resume.c: Likewise.
27592         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27593
27594 2012-04-25  David S. Miller  <davem@davemloft.net>
27595
27596         * sysdeps/unix/sparc/brk.S: Delete.
27597         * sysdeps/unix/sparc/dl-brk.S: Delete.
27598         * sysdeps/unix/sparc/pipe.S: Delete.
27599         * sysdeps/unix/sparc/sysdep.S: Delete.
27600         * sysdeps/unix/sparc/sysdep.h: Delete.
27601         * sysdeps/unix/sparc/vfork.S: Delete.
27602         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27603         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27604         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27605         ret_ERRVAL, r0, r1, MOVE): Define.
27606         (JUMPTARGET): Remove.
27607         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27608         sysdeps/unix/sparc/sysdep.h
27609         (ENTRY, END): Remove.
27610         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27611
27612 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27613
27614         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27615         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27616         -DIS_IN_build.
27617
27618         * timezone/README: Update upstream location and email address for
27619         tzcode and tzdata.
27620         * timezone/zdump.c: Update from tzcode 2012b.
27621         * timezone/zic.c: Likewise.
27622
27623         * configure.in (libc_cv_as_needed): Remove test.
27624         * configure: Regenerated.
27625         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27626         conditional definition.
27627         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27628         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27629         * config.make.in (have-as-needed): Remove variable.
27630
27631 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27632             Paul Pluzhnikov  <ppluzhnikov@google.com>
27633
27634         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27635         strings correctly.
27636
27637 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27638
27639         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27640         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27641         * sysdeps/sh/strlen.S: Likewise.
27642
27643 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27644
27645         * sysdeps/unix/fork.S: Remove file.
27646         * sysdeps/unix/i386/fork.S: Likewise.
27647         * sysdeps/unix/sparc/fork.S: Likewise.
27648
27649         * sysdeps/unix/system.c: Remove file.
27650         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27651
27652         * sysdeps/unix/getegid.S: Remove file.
27653         * sysdeps/unix/geteuid.S: Likewise.
27654
27655 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27656
27657         * scripts/check-localplt.awk: New file.
27658         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27659         of diff.
27660         * scripts/data/localplt-generic.data: Add a comment.
27661
27662         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27663         NODE when __dir_mkfile failed.
27664         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27665         Reported by Ludovic Courtès <ludo@gnu.org>.
27666
27667 2012-04-24  Andreas Jaeger  <aj@suse.de>
27668
27669         * Makerules (common-clean): Also remove gen-as-const-headers
27670         files.
27671
27672 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27673
27674         * Makerules (native-compile): Do not change working directory for
27675         build.  Use $(OUTPUT_OPTION) in command.
27676         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27677
27678 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27679
27680         [BZ #13886]
27681         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27682         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27683         * math/libm-test.inc (floor_test): Add more tests.
27684         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27685
27686 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27687
27688         * sysdeps/unix/getdents.c: Remove file.
27689         * sysdeps/unix/sysv/getdents.c: Likewise.
27690         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27691
27692         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27693         sysdeps/unix/mman/syscalls.list.
27694         (mmap): Likewise.
27695         (mprotect): Likewise.
27696         (msync): Likewise.
27697         (munmap): Likewise.
27698         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27699         * sysdeps/unix/mman/syscalls.list: Remove.
27700         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27701
27702         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27703         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27704         * configure: Regenerated.
27705         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27706         $(libgcc_s_suffix).
27707         * config.make.in (libgcc_s_suffix): Remove variable.
27708
27709 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27710
27711         * sysdeps/unix/sysv/gethostname.c: Move to ...
27712         * sysdeps/posix/gethostname.c: ... here.
27713
27714         * sysdeps/unix/execve.S: Remove file.
27715
27716         * sysdeps/unix/_exit.S: Remove file.
27717
27718 2012-04-23  Andreas Jaeger  <aj@suse.de>
27719
27720         [BZ #13739]
27721         * manual/Makefile: Remove make dist support, there's no
27722         need for a stand-alone documentation tar ball.
27723         (TEXI2DVI): Define always, it's not in Makeconfig.
27724         (dist): Removed.
27725         (tar-it): Removed.
27726         (edition): Removed.
27727         (glibc-doc-$(edition).tar): Removed
27728         (%.Z): Removed.
27729         (%.gz): Removed.
27730         (%.uu): Removed.
27731         (ETAGS): Remove, it's in Makeconfig.
27732         (move-if-change): Remove, it's in Makeconfig.
27733
27734 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27735
27736         [BZ #13970]
27737         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27738         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27739         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27740         (strtod_l, strtof_l, strtold_l): Remove __wur.
27741         It is not necessarily an error to ignore strtol's return value.
27742         One can reliably look at the stored endptr to decide whether
27743         the number had valid syntax.
27744
27745 2012-04-21  Andreas Jaeger  <aj@suse.de>
27746
27747         [BZ #13739]
27748         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27749
27750 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27751
27752         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27753         * sysdeps/unix/sysv/Versions: Remove file.
27754
27755 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27756
27757         [BZ #13927]
27758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27759
27760 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27761
27762         [BZ #7064]
27763         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27764         version from __vm86.
27765
27766 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27767
27768         * sysdeps/unix/common/lxstat.c: Remove file.
27769         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27770
27771         * sysdeps/unix/sysv/Makefile: Remove file.
27772
27773         * sysdeps/unix/sysv/direct.h: Remove file.
27774
27775         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27776         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27777         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27778         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27779         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27780         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27781         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27782
27783         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27784
27785         * sysdeps/unix/xmknod.c: Remove file.
27786         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27787
27788         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27789
27790         * sysdeps/unix/sysv/i386/time.S: Remove file.
27791
27792         * sysdeps/unix/fxstat.c: Remove file.
27793         * sysdeps/unix/xstat.c: Likewise.
27794         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27795
27796         * sysdeps/unix/sysv/sigaction.c: Remove file.
27797
27798         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27799         (sysdep_headers): Remove variable.
27800         [termio.h not in sysdep_headers] (generated): Likewise.
27801         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27802         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27803         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27804         * sysdeps/unix/sysv/tcflow.c: Likewise.
27805         * sysdeps/unix/sysv/tcflush.c: Likewise.
27806         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27807         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27808         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27809         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27810         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27811
27812         * sysdeps/unix/siglist.c: Remove file.
27813
27814         * sysdeps/unix/getppid.S: Remove file.
27815
27816         * sysdeps/unix/mkdir.c: Remove file.
27817         * sysdeps/unix/rmdir.c: Likewise.
27818
27819 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27820
27821         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27822         ERR_MAX value.
27823         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27824         errlist-compat value.
27825
27826 2012-04-18  David S. Miller  <davem@davemloft.net>
27827
27828         * sysdeps/generic/memcopy.h (reg_char): Delete.
27829         * debug/strcat_chk.c: Use char, not reg_char.
27830         * debug/strcpy_chk.c: Likewise.
27831         * debug/strncat_chk.c: Likewise.
27832         * debug/strncpy_chk.c: Likewise.
27833         * string/memchr.c: Likewise.
27834         * string/memrchr.c: Likewise.
27835         * string/rawmemchr.c: Likewise.
27836         * string/strcat.c: Likewise.
27837         * string/strchr.c: Likewise.
27838         * string/strchrnul.c: Likewise.
27839         * string/strcmp.c: Likewise.
27840         * string/strcpy.c: Likewise.
27841         * string/strncat.c: Likewise.
27842         * string/strncmp.c: Likewise.
27843         * string/strncpy.c: Likewise.
27844
27845 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27846
27847         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27848         __builtin_memcopy is called when src and dest ranges are known to not
27849         overlap.
27850
27851 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27852
27853         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27854         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27855         fwd_align_merge macro call.
27856         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27857         bwd_align_merge macro call.
27858         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27859
27860 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27861
27862         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27863         bwd_align_merge macros.
27864         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27865         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27866         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27867
27868 2012-04-18  David S. Miller  <davem@davemloft.net>
27869
27870         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27871
27872 2012-04-18  Andreas Jaeger  <aj@suse.de>
27873
27874         [BZ# 6794]
27875         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27876         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27877         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27878
27879         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27880         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27881         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27882
27883         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27884         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27885         Adjust for changed ldbl-128 files.
27886
27887         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27888         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27889         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27890
27891 2012-04-17  David S. Miller  <davem@davemloft.net>
27892
27893         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27894
27895 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27896
27897         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27898         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27899         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27900         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27901         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27902         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27903
27904 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27905
27906         [BZ #6794]
27907         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27908         * math/libm-test.inc: Add ilogb errno and exception tests.
27909         * math/w_ilogb.c: New file: ilogb wrapper.
27910         * math/w_ilogbf.c: New file: ilogbf wrapper.
27911         * math/w_ilogbl.c: New file: ilogbl wrapper.
27912         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27913         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27914         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27915         exception being thrown with 0.0 as argument.
27916         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27917         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27918         exception being thrown with 0.0 as argument.
27919         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27920         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27921         exception being thrown with 0.0 as argument.
27922         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27923         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27924         exception being thrown with 0.0 as argument.
27925         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27926         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27927         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27928         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27929         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27930         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27931         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27932         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27933         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27934
27935 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27936
27937         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27938         with altivec.
27939
27940 2012-04-16  Marek Polacek  <polacek@redhat.com>
27941
27942         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27943
27944 2012-04-16  Marek Polacek  <polacek@redhat.com>
27945
27946         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27947         operands of fdivp instruction.
27948
27949 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27950
27951         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27952         * elf/tst-auditmod3b.c: Likewise.
27953         * elf/tst-auditmod4b.c: Likewise.
27954         * elf/tst-auditmod5b.c: Likewise.
27955         * elf/tst-auditmod6b.c: Likewise.
27956         * elf/tst-auditmod6c.c: Likewise.
27957         * elf/tst-auditmod7b.c: Likewise.
27958         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27959         * sysdeps/x86_64/preconfigure.in: Likewise.
27960         * sysdeps/x86_64/preconfigure: Regenerated.
27961
27962 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27963
27964         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27965         __ILP32__.
27966
27967 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27968
27969         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27970         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27971
27972 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27973
27974         [BZ #13973]
27975         * locale/iso-639.def: Fix gl language name. Spotted by
27976         Yaron Shahrabani.
27977
27978 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27979
27980         [BZ #2074]
27981         * libio/libio.h (__io_write_fn): Update comment.
27982
27983 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27984
27985         [BZ #2074]
27986         * stdio.texi (Hook Functions): The user provided writer function
27987         is not allowed to return -1.
27988
27989 2012-04-11  David S. Miller  <davem@davemloft.net>
27990
27991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27992
27993 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27994
27995         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27996         Add a leading slash to rtkaio.
27997
27998 2012-04-11  Jim Meyering  <meyering@redhat.com>
27999
28000         [BZ #11959]
28001         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28002         It is not necessarily an error to ignore fwrite's return
28003         value.  One can reliably use ferror to test for errors after
28004         the fact.
28005
28006 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28007
28008         * bits/types.h (__snseconds_t): New type.
28009         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28010
28011         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28012         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28013         (__SNSECONDS_T_TYPE): Likewise.
28014         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28015         (__SNSECONDS_T_TYPE): Likewise.
28016         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28017         (__SNSECONDS_T_TYPE): Likewise.
28018
28019 2012-04-10  Andreas Jaeger  <aj@suse.de>
28020
28021         [BZ #2636]
28022         * manual/time.texi (Processor Time): Return type of times is
28023         elapsed real time since an arbitrary point in the past.
28024         (CPU Time): Move CLK_TCK from here...
28025         (Processor Time): ...to here.  Correct description.
28026         * manual/conf.texi (Constants for Sysconf): Correct description of
28027         _SC_CLK_TCK.
28028
28029 2012-04-10  David S. Miller  <davem@davemloft.net>
28030
28031         [BZ #13967]
28032         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28033         where the is a gap between DT_REL(A) and DT_JMPREL.
28034
28035 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28036
28037         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28038         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28039         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28040
28041 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28042
28043         * elf/dl-support.c (_dl_inhibit_cache): New variable.
28044         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28045         (dl_main): Handle --inhibit-cache.
28046         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28047         _dl_inhibit_cache.
28048         * elf/dl-load.c (_dl_map_object): Use it.
28049         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28050
28051 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28052
28053         [BZ #13872]
28054         * sysdeps/i386/fpu/e_powl.S (p78): New object.
28055         (__ieee754_powl): Saturate large exponents rather than testing for
28056         overflow of y*log2(x).
28057         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28058         * math/libm-test.inc (pow_test): Do not permit spurious overflow
28059         exceptions.
28060
28061         [BZ #11521]
28062         * math/s_ctan.c: Include <float.h>.
28063         (__ctan): Avoid internal overflow or cancellation in calculating
28064         denominator.
28065         * math/s_ctanf.c: Likewise.
28066         * math/s_ctanl.c: Likewise.
28067         * math/s_ctanh.c: Likewise.
28068         * math/s_ctanhf.c: Likewise.
28069         * math/s_ctanhl.c: Likewise.
28070         * math/libm-test.inc (ctan_test): Add more tests.
28071         (ctanh_test): Likewise.
28072         * sysdeps/i386/fpu/libm-test-ulps: Update.
28073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28074
28075 2012-04-09  Andreas Jaeger  <aj@suse.de>
28076
28077         [BZ #6894]
28078         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28079         is an optional BSD extension.
28080
28081         [BZ #10254]
28082         * manual/stdio.texi (Opening Streams): Document additional fopen
28083         parameters.
28084
28085 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28086
28087         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28088         %eax without telling the compiler.
28089
28090 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28091
28092         [BZ # 13963]
28093         * manual/install.texi: Use sourceware.org.
28094
28095 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28096
28097         [BZ #13873]
28098         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28099         (__ieee754_pow): Generate overflow and underflow using huge*huge
28100         and tiny*tiny rather than just returning constant infinity or zero
28101         for large exponents.
28102         * math/libm-test.inc (pow_test): Require overflow exceptions for
28103         applicable cases of large exponents.
28104
28105         [BZ #706]
28106         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28107         (__ieee754_pow): Use iterative multiplication algorithm only for
28108         integer exponents with absolute value below 1024.  Check for odd
28109         integer exponents when using algorithm for real exponents.
28110         * math/libm-test.inc (pow_test): Add more tests.
28111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28112
28113 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28114
28115         [BZ #13705]
28116         * math/libm-test.inc (exp_test): Do not allow overflow exception
28117         on underflow test.
28118
28119 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28120
28121         [BZ #13705]
28122         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28123         instead of __kernel_standard_f.
28124
28125 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28126
28127         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28128         * sysdeps/x86_64/memset_chk.S: Likewise.
28129
28130 2012-04-08  Andreas Jaeger  <aj@suse.de>
28131
28132         [BZ #10153]
28133         * manual/startup.texi (Environment Access): Describe return value
28134         for putenv and setenv.
28135
28136         [BZ #6895]
28137         * manual/filesys.texi (Directory Entries): Add description for
28138         DT_LNK.
28139
28140         [BZ #6890]
28141         * manual/filesys.texi (Directory Entries): Clarify that it's file
28142         system not operating system in the description of DT_UNKNOWN.
28143
28144         [BZ #6578]
28145         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28146
28147 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28148
28149         [BZ #6649]
28150         * manual/llio.texi (Opening and Closing Files): Add cross
28151         reference to explain mode argument.
28152
28153 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28154
28155         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28156         * sysdeps/x86_64/memset_chk.S: Likewise.
28157
28158 2012-04-07  David S. Miller  <davem@davemloft.net>
28159
28160         * elf/elf.h (R_SPARC_WDISP10): Define.
28161         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28162         R_SPARC_SIZE32.
28163         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28164         R_SPARC_SIZE64 and R_SPARC_H34.
28165
28166 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28167
28168         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28169         conditions and remove no longer applicable assertion.
28170
28171 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28172
28173         * bits/byteswap.h: Include <features.h>.
28174         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28175         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28176
28177 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28178
28179         * bits/byteswap.h (__bswap_16): Removed.
28180         Include <bits/byteswap-16.h> to get __bswap_16.
28181         * sysdeps/i386/bits/byteswap.h: Likewise.
28182         * sysdeps/s390/bits/byteswap.h: Likewise.
28183         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28184         * bits/byteswap-16.h: New file.
28185         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28186         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28187         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28188         * string/Makefile (headers): Add bits/byteswap-16.h.
28189
28190 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28191
28192         [BZ #13895]
28193         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28194         extra indirection.
28195         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28196         * nss/tst-nss-static.c: New.
28197
28198 2012-04-06  Robert Millan  <rmh@gnu.org>
28199
28200         [BZ #6486]
28201         * manual/llio.texi (File Position Primitive): lseek
28202         refers to WHENCE when it really means OFFSET.
28203
28204 2012-04-06  Andreas Jaeger  <aj@suse.de>
28205
28206         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28207         strncmp declarations.
28208
28209         * abilist/libc.abilist: Add __poll and __ppoll.
28210
28211 2012-04-05  David S. Miller  <davem@davemloft.net>
28212
28213         * scripts/check-local-headers.sh: Accept a host triplet in the
28214         path matched by the exclude regexp.
28215
28216         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28217         definition.
28218         * sysdeps/powerpc/powerpc32/dl-machine.h
28219         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28220         * sysdeps/s390/s390-32/dl-machine.h
28221         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28222         * sysdeps/sparc/sparc32/dl-machine.h
28223         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28224         * sysdeps/sparc/sparc64/dl-machine.h
28225         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28226
28227         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28228         lazy binding.
28229         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28230         undefined symbol errors.
28231
28232         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28233         DT_NEEDED entries.
28234
28235 2012-04-05  Michael Matz  <matz@suse.de>
28236
28237         [BZ #13592]
28238         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28239
28240 2012-04-05  Andreas Jaeger  <aj@suse.de>
28241
28242         [BZ #13908]
28243         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28244         comment.
28245
28246 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28247
28248         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28249         which ROUND is no valid rounding mode.
28250
28251 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28252
28253         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28254         read again.
28255         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28256
28257 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28258
28259         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28260         an exception using FPU order intentionally.
28261
28262 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28263
28264         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28265         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28266         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28267         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28268
28269 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28270
28271         [BZ #12340]
28272         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28273         EINVAL when BUFLEN is too smal.
28274
28275 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28276
28277         [BZ #13553]
28278         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28279         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28280
28281 2012-04-03  Andreas Jaeger  <aj@suse.de>
28282
28283         [BZ #13938]
28284         * manual/setjmp.texi (System V contexts): Fix sentence.
28285
28286         [BZ #13926]
28287         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28288         New macro for this case.
28289         [!__GNUC__] (__bswap_64): New inline function for this case.
28290         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28291         * bits/byteswap.h: Likewise.
28292         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28293         ull, guard with __GLIBC_HAVE_LONG_LONG.
28294
28295         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28296         __GLIBC_HAVE_LONG_LONG.
28297
28298         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28299         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28300
28301 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28302
28303         [BZ #13691]
28304         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28305         inptr and inend, rather than using last_ch.
28306
28307 2012-04-02  David S. Miller  <davem@davemloft.net>
28308
28309         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28310         * stdio-common/printf-parse.h (read_int): Change return type to
28311         'int', return -1 on INT_MAX overflow.
28312         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28313         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
28314         overflows INT_MAX.  Check for overflow of in-format-string precision
28315         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
28316         SIZE_MAX not INT_MAX for integer overflow test.
28317         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28318         skip the construct in the format string but do not record anything.
28319         * stdio-common/bug22.c: Adjust to test both width/prevision
28320         INT_MAX overflow as well as total length INT_MAX overflow.  Check
28321         explicitly for proper errno values.
28322
28323 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28324
28325         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28326         CHAR_MAX.
28327         * string/test-strcmp.c [! WIDE]: Likewise.
28328         * time/tst-mktime2.c: Likewise for INT_MAX.
28329         * string/test-string.h: #include <sys/param.h> for MIN.
28330
28331         * csu/init-first.c (__libc_init_first): Call __ctype_init.
28332         * sysdeps/i386/init-first.c (init): Likewise.
28333         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28334         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28335         * sysdeps/sh/init-first.c (init): Likewise.
28336
28337 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28338
28339         * po/ru.po: Update from translation team.
28340         * po/vi.po: Likewise.
28341
28342 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28343
28344         * resolv/nss_dns/dns-host.c: Merge copyright years.
28345
28346 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28347
28348         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28349         Optimize memcpy with prefetch if
28350         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28351         src, dst pointers have unequal 16 byte alignments.
28352
28353 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28354
28355         [BZ #13928]
28356         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28357         from a CNAME entry and return the minimum ttl for the query.
28358         (gaih_getanswer_slice): Likewise.
28359
28360 2012-03-30  Jeff Law  <law@redhat.com>
28361
28362         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28363         due to long keys.
28364         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28365         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28366
28367         * resolv/nss_dns/dns-host.c: Update copyright year.
28368
28369 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28370
28371         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28372         requests to save a system call.  Fix check that all bytes are sent.
28373
28374         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28375         comments for sendmmsg.
28376
28377 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28378
28379         [BZ #13691]
28380         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28381         with only 1 character between 0x0041 and 0x01b0.
28382         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28383         * wcsmbs/tst-mbsnrtowcs.c: New file.
28384
28385 2012-03-29  David S. Miller  <davem@davemloft.net>
28386
28387         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28388         small copies by hand.
28389
28390 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28391
28392         [BZ #13761]
28393         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28394         _nss_compat_initgroups_dyn): Fall back to malloc/free
28395         for large group memberships.
28396
28397 2012-03-28  David S. Miller  <davem@davemloft.net>
28398
28399         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28400         that branches into memcpy.
28401         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28402         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28403         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28404         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28405         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28406         bits.
28407         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28408         implementation too.
28409         * sysdeps/sparc/mempcpy.S: New file.
28410
28411         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28412         the IFUNC routine in the libc case.
28413         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28414
28415         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28416         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28417         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28418         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28419         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28420         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28421         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28422         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28423
28424         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28425         loop to 256 bytes instead of 64 bytes and fix test signedness.
28426
28427         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28428         * sysdeps/sparc/sparc32/Makefile: rather than here...
28429         * sysdeps/sparc/sparc64/Makefile: and here.
28430
28431 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28432
28433         * malloc/mallocbug.c: Avoid warnings about unused variables.
28434
28435 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28436
28437         [BZ #13760]
28438         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28439         in the right place. Discard and retry query if response is
28440         larger than input buffer size.
28441
28442 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28443
28444         [BZ #369]
28445         [BZ #2678]
28446         [BZ #3866]
28447         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28448         x for large integer exponent.
28449         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28450         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28451         sign of result as needed afterwards.
28452         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28453         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28454         result for underflowing pow the same as for overflow.
28455         (__kernel_standard_l): Handle powl overflow and underflow here
28456         rather than calling __kernel_standard.
28457         * math/libm-test.inc (pow_test): Add more tests.
28458
28459         [BZ #3868]
28460         [BZ #13879]
28461         [BZ #13910]
28462         [BZ #13911]
28463         [BZ #13912]
28464         [BZ #13913]
28465         [BZ #13915]
28466         [BZ #13916]
28467         [BZ #13917]
28468         [BZ #13918]
28469         [BZ #13919]
28470         [BZ #13920]
28471         [BZ #13921]
28472         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28473         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28474         (__kernel_standard_l): New function.
28475         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28476         __kernel_standard.
28477         * math/w_acosl.c (__acosl): Likewise.
28478         * math/w_asinl.c (__asinl): Likewise.
28479         * math/w_atan2l.c (__atan2l): Likewise.
28480         * math/w_atanhl.c (__atanhl): Likewise.
28481         * math/w_coshl.c (__coshl): Likewise.
28482         * math/w_exp10l.c (__exp10l): Likewise.
28483         * math/w_exp2l.c (__exp2l): Likewise.
28484         * math/w_fmodl.c (__fmodl): Likewise.
28485         * math/w_hypotl.c (__hypotl): Likewise.
28486         * math/w_j0l.c (__j0l, __y0l): Likewise.
28487         * math/w_j1l.c (__j1l, __y1l): Likewise.
28488         * math/w_jnl.c (__jnl, __ynl): Likewise.
28489         * math/w_lgammal.c (__lgammal): Likewise.
28490         * math/w_log10l.c (__log10l): Likewise.
28491         * math/w_log2l.c (__log2l): Likewise.
28492         * math/w_logl.c (__logl): Likewise.
28493         * math/w_powl.c (__powl): Likewise.
28494         * math/w_remainderl.c (__remainderl): Likewise.
28495         * math/w_scalbl.c (sysv_scalbl): Likewise.
28496         * math/w_sinhl.c (__sinhl): Likewise.
28497         * math/w_sqrtl.c (__sqrtl): Likewise.
28498         * math/w_tgammal.c (__tgammal): Likewise.
28499         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28500         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28501         * math/libm-test.inc (acos_test): Add more tests.
28502         (acosh_test): Likewise.
28503         (asin_test): Likewise.
28504         (atanh_test): Likewise.
28505         (exp_test): Likewise.
28506         (exp10_test): Likewise.
28507         (exp2_test): Likewise.
28508         (expm1_test): Likewise.
28509         (lgamma_test): Likewise.
28510         (log_test): Likewise.
28511         (log10_test): Likewise.
28512         (log1p_test): Likewise.
28513         (log2_test): Likewise.
28514         (pow_test): Do not allow some spurious overflow exceptions.
28515         (sqrt_test): Add more tests.
28516         (tgamma_test): Likewise.
28517         (y0_test): Likewise.
28518         (y1_test): Likewise.
28519         (yn_test): Likewise.
28520
28521 2012-03-27  Anton Blanchard  <anton@samba.org>
28522
28523         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28524         MAP_HUGETLB.
28525         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28526         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28527         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28528
28529 2012-03-27  David S. Miller  <davem@davemloft.net>
28530
28531         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28532
28533         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28534         have-as-vis3 check.
28535
28536 2012-03-27  Andreas Jaeger  <aj@suse.de>
28537
28538         * sysdeps/x86_64/elf/configure.in: Moved to ...
28539         * sysdeps/x86_64/configure.in: ... here.
28540         * sysdeps/x86_64/elf/start.S: Moved to ...
28541         * sysdeps/x86_64/start.S: ... here.
28542         * sysdeps/x86_64/elf/configure: Delete.
28543
28544         * sysdeps/x86_64/configure.in: Merge contents from
28545         sysdeps/i386/configure.in (without i686 check).
28546
28547         * sysdeps/i386/elf/Versions: Merge into ...
28548         * sysdeps/i386/Versions: ... this.
28549         * sysdeps/i386/elf/Versions: Delete file.
28550         * sysdeps/i386/elf/start.S: Moved to ...
28551         * sysdeps/i386/start.S: ...here.
28552         * sysdeps/i386/elf/configure.in: Merge into...
28553         * sysdeps/i386/configure.in: ...here.
28554         * sysdeps/i386/elf/configure.in: Delete file.
28555         * sysdeps/i386/elf/configure: Delete file.
28556
28557         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28558         * debug/backtracesyms.c: ... here.
28559         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28560         * debug/backtracesymsfd.c: ... here.
28561         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28562         * sysdeps/generic/ifunc-sel.h: ... here.
28563
28564         * sysdeps/unix/i386/start.c: Delete file.
28565         * sysdeps/unix/sparc/start.c: Delete file.
28566         * sysdeps/unix/start.c: Delete file.
28567
28568         * sysdeps/sh/elf/configure.in: Moved to ...
28569         * sysdeps/sh/configure.in: ... here.
28570         * sysdeps/sh/elf/start.S: Moved to ...
28571         * sysdeps/sh/start.S: ... here.
28572         * sysdeps/sh/elf/configure: Delete file.
28573
28574         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28575         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28576         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28577         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28578         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28579         * sysdeps/powerpc/powerpc64/start.S: here.
28580         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28581         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28582         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28583         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28584         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28585
28586         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28587         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28588         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28589         * sysdeps/powerpc/powerpc32/start.S: ... here.
28590         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28591         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28592         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28593
28594         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28595         * sysdeps/powerpc/ifunc-sel.h: ... here.
28596         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28597         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28598
28599         * sysdeps/sparc/elf/configure.in: Moved to ...
28600         * sysdeps/sparc/configure.in: ... here.
28601         * sysdeps/sparc/elf/configure: Delete file.
28602         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28603         * sysdeps/sparc/sparc32/start.S: ... here.
28604         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28605         * sysdeps/sparc/sparc64/start.S: ... here.
28606         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28607         * sysdeps/sparc/sparc32/Makefile: ... this.
28608         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28609         * sysdeps/sparc/sparc64/Makefile: ... this.
28610
28611         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28612         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28613         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28614         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28615         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28616         * sysdeps/s390/s390-32/setjmp.S: ... here.
28617         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28618         * sysdeps/s390/s390-32/configure.in: ... here.
28619         * sysdeps/s390/s390-32/elf/configure: Delete file.
28620         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28621         * sysdeps/s390/s390-32/start.S: ... here.
28622
28623         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28624         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28625         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28626         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28627         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28628         * sysdeps/s390/s390-64/setjmp.S: ... here.
28629         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28630         * sysdeps/s390/s390-64/configure.in: ... here
28631         * sysdeps/s390/s390-64/elf/configure: Delete file.
28632         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28633         * sysdeps/s390/s390-64/start.S: ... here.
28634         * sysdeps/s390/s390-64/elf/configure: Delete.
28635
28636         * configure.in: Remove support for elf directories in sysdeps.
28637
28638         * configure: Regenerated.
28639         * sysdeps/i386/configure: Regenerated.
28640         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28641         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28642         * sysdeps/s390/s390-32/configure: Regenerated.
28643         * sysdeps/s390/s390-64/configure: Regenerated.
28644         * sysdeps/sh/configure: Regenerated.
28645         * sysdeps/sparc/configure: Regenerated.
28646         * sysdeps/x86_64/configure: Regenerated.
28647
28648 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28649
28650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28651
28652         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28653         denormal result into account.
28654
28655 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28656
28657         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28658         Reported by Allan McRae <allan@archlinux.org>.
28659
28660 2012-03-23  Jeff Law  <law@redhat.com>
28661
28662         * nss/getnssent.c (__nss_getent): Fix typo.
28663
28664 2012-03-23  David S. Miller  <davem@davemloft.net>
28665
28666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28667
28668 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28669
28670         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28671         to pad to uint64_t for each field.
28672         (dl_tls_index): Replace unsigned long with uint64_t.
28673
28674 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28675         Paul Pluzhnikov  <ppluzhnikov@google.com>
28676
28677         [BZ #6528]
28678         * grp/Makefile (otherlibs): Don't set it.
28679         * inet/Makefile (otherlibs): Likewise.
28680         * login/Makefile (otherlibs): Likewise.
28681         * nscd/Makefile (otherlibs): Likewise.
28682         * posix/Makefile (otherlibs): Likewise.
28683         * pwd/Makefile (otherlibs): Likewise.
28684         * rt/Makefile (otherlibs): Likewise.
28685         * sunrpc/Makefile (otherlibs): Likewise.
28686         * nss/Makefile (otherlibs): Likewise.
28687         Add libnss_files to routines and static-only-routines.
28688         ($(objpfx)getent): Remove rule.
28689         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28690         static-only-routines.
28691
28692 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28693
28694         [BZ #13892]
28695         * math/s_cexp.c: Include <float.h>.
28696         (__cexp): Handle exp result overflowing not necessarily
28697         overflowing both real and imaginary parts of result.
28698         * math/s_cexpf.c: Likewise.
28699         * math/s_cexpl.c: Likewise.
28700         * math/libm-test.inc (cexp_test): Add more tests.
28701         * sysdeps/i386/fpu/libm-test-ulps: Update.
28702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28703
28704 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28705
28706         * include/link.h (ELFW): New macro.
28707         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28708         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28709
28710 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28711
28712         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28713         with uint64_t.
28714
28715 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28716
28717         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28718         declaration.
28719         (struct La_x32_retval): Likewise.
28720
28721 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28722
28723         * sysdeps/x86_64/preconfigure.in: New file.
28724         * sysdeps/x86_64/preconfigure: New generated file.
28725
28726 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28727
28728         [BZ #13824]
28729         * math/e_exp2l.c: Include <float.h>.
28730         (__ieee754_exp2l): Handle overflow and underflow cases
28731         separately.  Only pass fractional part of argument to
28732         __ieee754_expl.
28733         * math/libm-test.inc (exp2_test): Add more tests.
28734
28735         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28736         negating x to take absolute value.
28737         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28738         Likewise.
28739         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28740         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28741         Likewise.
28742         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28743         computing low part if x was negated.
28744         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28745
28746 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28747
28748         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28749         la_x32_gnu_pltexit.
28750         (pltexit): Cast int_retval to ptrdiff_t.
28751         * elf/tst-auditmod3b.c: Likewise.
28752         * elf/tst-auditmod4b.c: Likewise.
28753         * elf/tst-auditmod5b.c: Likewise.
28754         * elf/tst-auditmod6b.c: Likewise.
28755         * elf/tst-auditmod6c.c: Likewise.
28756         * elf/tst-auditmod7b.c: Likewise.
28757
28758         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28759         and x32_gnu_pltexit.
28760
28761         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28762         __ELF_NATIVE_CLASS.
28763         (La_x32_regs): New macro.
28764         (La_x32_retval): Likewise.
28765         (la_x32_gnu_pltenter): New function prototype.
28766         (la_x32_gnu_pltexit): Likewise.
28767
28768 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28769
28770         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28771         exponent.
28772
28773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28774
28775         * configure.in (libc_cv_cc_nofma): Check for option to disable
28776         generation of FMA instructions.
28777         * configure: Regenerate.
28778         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28779         * sysdeps/ieee754/dbl-64/Makefile: New file.
28780         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28781         Remove brandred-fma4.
28782         (CFLAGS-brandred-fma4.c): Remove.
28783         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28784         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28785         define.
28786         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28787         define.
28788
28789 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28790
28791         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28792         LLONG_MAX != LONG_MAX.
28793         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28794         (_fitoa_word): Likewise.
28795         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28796         LLONG_MAX != LONG_MAX.
28797         * stdio-common/_itowa.h: Include <_itoa.h>.
28798         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28799         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28800         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28801         only if not defined.
28802         (_ITOA_WORD_TYPE): Likewise.
28803         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28804         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28805
28806 2012-03-21  David S. Miller  <davem@davemloft.net>
28807
28808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28809
28810 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28811
28812         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28813         of x86_64 when setting libc_cv_slibdir, libdir and
28814         libc_cv_localedir.
28815         * sysdeps/unix/sysv/linux/configure: Regenerated.
28816
28817 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28818
28819         * manual/lang.texi (Old Varargs): Remove section.
28820         (How Variadic): Update menu.
28821         (va_start): Do not mention varargs.h.
28822
28823 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28824             Joseph Myers  <joseph@codesourcery.com>
28825
28826         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28827         link test.
28828         * configure: Regenerated.
28829
28830 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28831
28832         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28833         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28834         conformtest.pl
28835
28836 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28837
28838         * NOTES: Remove.
28839         * Makefile (files-for-dist): Remove NOTES.
28840         (NOTES): Remove rule.
28841         * README: Don't refer to NOTES.
28842         * manual/creature.texi: Don't include macros.texi.
28843         * manual/intro.texi (creature.texi): Remove comment referring to
28844         NOTES.
28845
28846         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28847         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28848         * configure: Regenerated.
28849         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28850         LIBC_TRY_CC_OPTION.
28851         (libc_cv_as_i686): Likewise.
28852         (libc_cv_cc_avx): Likewise.
28853         (libc_cv_cc_sse2avx): Likewise.
28854         (libc_cv_cc_fma4): Likewise.
28855         (libc_cv_cc_novzeroupper): Likewise.
28856         * sysdeps/i386/configure: Regenerated.
28857
28858         [BZ #13883]
28859         * sysdeps/i386/fpu/s_cexp.S: Remove.
28860         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28861         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28862         * math/libm-test.inc (cexp_test): Add more tests.
28863         * sysdeps/i386/fpu/libm-test-ulps: Update.
28864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28865
28866 2012-03-21  Allan McRae  <allan@archlinux.org>
28867
28868         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28869
28870 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28871
28872         [BZ #13871]
28873         * math/w_exp2.c: Do not include <float.h>.
28874         (o_threshold, u_threshold): Remove.
28875         (__exp2): Calculate result before checking finiteness and calling
28876         __kernel_standard.
28877         * math/w_exp2f.c: Likewise.
28878         * math/w_exp2l.c: Likewise.
28879         * math/libm-test.inc (exp2_test): Require overflow exception for
28880         1e6 input.
28881
28882         [BZ #3866]
28883         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28884         range of signed 64-bit integers before using fistpll.  Remove
28885         checks for whether integers fit in mantissa bits.
28886         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28887         the range of signed 32-bit integers before using fistpl.  Remove
28888         checks for whether integers fit in mantissa bits.
28889         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28890         (__ieee754_powl): Test for y outside the range of signed 64-bit
28891         integers before using fistpll.  Reduce 64-bit values to 63-bit
28892         ones as needed.
28893         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28894         divide-by-zero is raised for zero to large negative powers.
28895         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28896         (__ieee754_powl): Test for y outside the range of signed 64-bit
28897         integers before using fistpll.  Reduce 64-bit values to 63-bit
28898         ones as needed.
28899         * math/libm-test.inc (pow_test): Add more tests.
28900
28901 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28902
28903         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28904         <stdio-common/_itoa.h>.
28905         * debug/segfault.c: Likewise.
28906         * elf/dl-cache.c: Likewise.
28907         * elf/dl-minimal.c: Likewise.
28908         * elf/dl-misc.c: Likewise.
28909         * elf/dl-sysdep.c: Likewise.
28910         * elf/dl-version.c: Likewise.
28911         * elf/rtld.c: Likewise.
28912         * hurd/hurdsock.c: Likewise.
28913         * hurd/lookup-retry.c: Likewise.
28914         * malloc/malloc.c: Likewise.
28915         * malloc/mtrace.c: Likewise.
28916         * nscd/nscd_getgr_r.c: Likewise.
28917         * nscd/nscd_getpw_r.c: Likewise.
28918         * nscd/nscd_getserv_r.c: Likewise.
28919         * posix/getopt_init.c: Likewise.
28920         * posix/wordexp.c: Likewise.
28921         * stdio-common/_itoa.c: Likewise.
28922         * stdio-common/printf_fphex.c: Likewise.
28923         * stdio-common/vfprintf.c: Likewise.
28924         * string/_strerror.c: Likewise.
28925         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28926         * sysdeps/i386/i686/hp-timing.h: Likewise.
28927         * sysdeps/mach/_strerror.c: Likewise.
28928         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28929         * sysdeps/mach/hurd/sethostid.c: Likewise.
28930         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28931         * sysdeps/mach/xpg-strerror.c: Likewise.
28932         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28933         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28934         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28935         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28936         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28937         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28938         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28939         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28940         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28941         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28942         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28943         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28944         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28945         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28946         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28947         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28948         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28949         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28950         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28951         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28952         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28953
28954         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28955
28956         * stdio-common/_itoa.h: Moved to ...
28957         * sysdeps/generic/_itoa.h: Here.
28958
28959         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28960
28961         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28962         instead of "_itoa.h" and "_itowa.h".
28963         * stdio-common/vfprintf.: Likewise.
28964
28965 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28966
28967         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28968         <bits/wordsize.h>.
28969         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28970         (__signbit): Likwise.
28971         (llrintf): Likwise.
28972         (llrint): Likwise.
28973
28974 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28975
28976         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28977         __WORDSIZE != 64.
28978
28979 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28980
28981         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28982         OVERFLOW_EXCEPTION_OK.
28983         * math/libm-test.inc ("Philosophy"): Update comment about
28984         exception testing.
28985         (OVERFLOW_EXCEPTION): Define.
28986         (OVERFLOW_EXCEPTION_OK): Likewise.
28987         (INVALID_EXCEPTION_OK): Renumber.
28988         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28989         (IGNORE_ZERO_INF_SIGN): Likewise.
28990         (test_exceptions): Handle FE_OVERFLOW.
28991         (exp10_test): Expect overflow exceptions.
28992         (exp2_test): Likewise.
28993         (expm1_test): Likewise.
28994         (nextafter_test): Likewise.
28995         (pow_test): Likewise.
28996         (scalbn_test): Likewise.
28997         (scalbln_test): Likewise.
28998
28999 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29000
29001         * sysdeps/x86_64/bits/atomic.h
29002         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29003         64bit integer.
29004         (atomic_exchange_acq): Likewise.
29005         (__arch_exchange_and_add_body): Likewise.
29006         (__arch_add_body): Likewise.
29007         (atomic_add_negative): Likewise.
29008         (atomic_add_zero): Likewise.
29009
29010 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29011
29012         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29013         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29014
29015 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29016
29017         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29018         Check __x86_64__ instead of __WORDSIZE.
29019
29020 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29021
29022         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29023
29024 2012-03-19  David S. Miller  <davem@davemloft.net>
29025
29026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29027
29028         * sysdeps/sparc/fpu/fenv_private.h: New file.
29029         * sysdeps/sparc/fpu/math_private.h: Use it.
29030         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29031         Remove.
29032         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29033         (libc_feholdexcept_setroundl): Remove.
29034         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29035         Remove.
29036         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29037         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29038
29039 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29040
29041         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29042         int64_t instead of long int.
29043         (INSERT_WORDS64): Likwise.
29044
29045 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29046
29047         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29048         _Unwind_GetCFA return to _Unwind_Ptr first.
29049
29050 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
29051
29052         [BZ #13629]
29053         * math/s_clog.c: Include <float.h>.
29054         (__clog): Scale large or subnormal inputs.
29055         * math/s_clogf.c: Likewise.
29056         * math/s_clogl.c: Likewise.
29057         * math/s_clog10.c: Include <float.h>.
29058         (M_LOG10_2): Define.
29059         (__clog10): Scale large or subnormal inputs.
29060         * math/s_clog10f.c: Likewise.
29061         * math/s_clog10l.c: Likewise.
29062         * math/libm-test.inc (clog_test): Add more tests.
29063         (clog10_test): Likewise.
29064         * sysdeps/i386/fpu/libm-test-ulps: Update.
29065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29066
29067         [BZ #11451]
29068         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29069         x and y.
29070         * math/libm-test.inc (atan2_test): Add another test.
29071
29072         * Makerules (common-objdir-compile): Remove.
29073         * sysdeps/unix/Makefile (config-generated): Do not add
29074         $(unix-generated) to variable.
29075         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29076         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29077         Remove rule.
29078         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29079         Likewise.
29080         [generic bits/local_lim.h] (before-compile): Do not append to
29081         variable.
29082         [generic bits/local_lim.h] (common-generated): Likewise.
29083         [generic sys/param.h] (before-compile): Do not append to variable.
29084         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29085         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29086         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29087         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29088         include.
29089         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29090         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29091         [generic sys/param.h] ($(addprefix
29092         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29093         [generic sys/param.h] (common-generated): Do not append to
29094         variable.
29095         [generic sys/param.h] (sysdep_headers): Likewise.
29096         [generic bits/errno.h] (before-compile): Do not append to
29097         variable.
29098         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29099         rule.
29100         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29101         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29102         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29103         [generic bits/errno.h] (common-generated): Do not append to
29104         variable.
29105         [generic bits/ioctls.h] (before-compile): Do not append to
29106         variable.
29107         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29108         rule.
29109         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29110         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29111         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29112         rule.
29113         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29114         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29115         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29116         [generic bits/ioctls.h] (common-generated): Do not append to
29117         variable.
29118         [generic sys/syscall.h] (syscall.h): Remove variable.
29119         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29120         rule.
29121         [generic sys/syscall.h] (before-compile): Do not append to
29122         variable.
29123         [generic sys/syscall.h] (common-generated): Likewise.
29124         * sysdeps/unix/errnos-tmpl.c: Remove file.
29125         * sysdeps/unix/errnos.awk: Likewise.
29126         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29127         * sysdeps/unix/ioctls.awk: Likewise.
29128         * sysdeps/unix/mk-local_lim.c: Likewise.
29129         * sysdeps/unix/snarf-ioctls: Likewise.
29130
29131 2012-03-19  Richard Henderson  <rth@twiddle.net>
29132
29133         * sysdeps/i386/fpu/fenv_private.h: New file.
29134         * sysdeps/i386/fpu/math_private.h: Use it.
29135         (math_opt_barrier, math_force_eval): Remove.
29136         (libc_feholdexcept_setround_53bit): Remove.
29137         (libc_feupdateenv_53bit): Remove.
29138         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29139         (math_opt_barrier, math_force_eval): Remove.
29140         (libc_feholdexcept): Remove.
29141         (libc_feholdexcept_setround): Remove.
29142         (libc_fetestexcept, libc_fesetenv): Remove.
29143         (libc_feupdateenv_test): Remove.
29144         (libc_feupdateenv, libc_feholdsetround): Remove.
29145         (libc_feresetround): Remove.
29146
29147         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29148         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29149
29150         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29151         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29152         (libc_feupdateenv_testl): New.
29153         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29154         (libc_feupdateenv_testf): New.
29155         (libc_feupdateenv): Use libc_feupdateenv_test.
29156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29157         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29158
29159         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29160         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29161         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29162         (libc_feresetround_noex): New.
29163         (libc_feresetround_noexf): New.
29164         (libc_feresetround_noexl): New.
29165         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29166         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29167         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29168         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29169         SET_RESTORE_ROUND.
29170         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29171         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29172         (__cos): Likewise.
29173         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29174         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29175         SET_RESTORE_ROUND_NOEX.
29176         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29177         SET_RESTORE_ROUND_NOEXF.
29178         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29179         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29180         (libc_feholdsetroundf): New.
29181         (libc_feresetround, libc_feresetroundf): New.
29182
29183         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29184         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29185         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29186
29187         * sysdeps/generic/math_private.h: Include <fenv.h>.
29188         (default_libc_feholdexcept): New.
29189         (default_libc_feholdexcept_setround): New.
29190         (default_libc_fesetenv, default_libc_feupdateenv): New.
29191         (libc_feholdexcept): Only define if undefined.
29192         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29193         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29194         (libc_feholdexcept_setroundl): Likewise.
29195         (libc_feholdexcept_setround_53bit): Likewise.
29196         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29197         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29198         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29199         (libc_feupdateenv_53bit): Likewise.
29200         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29201         (libc_feholdexcept): Convert from macro to inline function.
29202         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29203         (libc_fesetenv, libc_feupdateenv): Likewise.
29204
29205         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29206         not previously defined.
29207         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29208         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29209         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29210         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29211         * sysdeps/ieee754/flt-32/math_private.h: New file.
29212         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29213         math_private.h below SET_FLOAT_WORD.
29214         (__isnan, __isinf_ns, __finite): Remove.
29215         (__isnanf, __isinf_nsf, __finitef): Remove.
29216
29217 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29218
29219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29220
29221 2012-03-17  David S. Miller  <davem@davemloft.net>
29222
29223         [BZ #6471]
29224         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29225         for 2.16.
29226
29227 2012-03-16  David S. Miller  <davem@davemloft.net>
29228
29229         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29230         warnings.
29231
29232         [BZ #6471]
29233         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29234         properly.
29235         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29236         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29237         sysdep_routines when subdir is sysvipc.
29238         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29239         __getshmlba helper.
29240
29241         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29242
29243 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29244
29245         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29246         [__LP64__].
29247
29248 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29249
29250         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29251         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29252         (__lround): Renamed to ...
29253         (__llround): This.  Replace long int with long long int.
29254         Define lround functions as aliases of llround functions.
29255         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29256
29257 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29258
29259         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29260         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29261         adresses to uintptr_t.  Replace "long int" and "unsigned long
29262         int" with "greg_t" on va_arg.
29263
29264 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29265
29266         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29267         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29268
29269         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29270         Move e_machine check before EI_CLASS check.  Handle x32
29271         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29272         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29273         SKIP_EM_IA_64 and include
29274         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29275
29276         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29277         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29278         (add_system_dir): New macro.
29279
29280         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29281         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29282
29283 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29284
29285         [BZ #2551]
29286         [BZ #2552]
29287         [BZ #2553]
29288         [BZ #2554]
29289         [BZ #2562]
29290         [BZ #2563]
29291         [BZ #2565]
29292         [BZ #2566]
29293         [BZ #2576]
29294         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29295         (y0): Likewise.
29296         * math/w_j0f.c (j0f): Likewise.
29297         (y0f): Likewise.
29298         * math/w_j0l.c (__j0l): Likewise.
29299         (__y0l): Likewise.
29300         * math/w_j1.c (j1): Likewise.
29301         (y1): Likewise.
29302         * math/w_j1f.c (j1f): Likewise.
29303         (y1f): Likewise.
29304         * math/w_j1l.c (__j1l): Likewise.
29305         (__y1l): Likewise.
29306         * math/w_jn.c (jn): Likewise.
29307         (yn): Likewise.
29308         * math/w_jnf.c (jnf): Likewise.
29309         (ynf): Likewise.
29310         * math/w_jnl.c (__jnl): Likewise.
29311         (__ynl): Likewise.
29312         * math/libm-test.inc (j0_test): Add more tests.
29313         (j1_test): Likewise.
29314         (jn_test): Likewise.  Add trailing semicolon to existing test.
29315         (y0_test): Likewise.
29316         (y1_test): Likewise.
29317         * sysdeps/i386/fpu/libm-test-ulps: Update.
29318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29319
29320         [BZ #13851]
29321         [BZ #13854]
29322         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29323         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29324         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29325         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29326         (__tanl): Set errno for infinite argument.
29327         * sysdeps/i386/fpu/mptan.c: Remove.
29328         * sysdeps/i386/fpu/s_tan.S: Likewise.
29329         * sysdeps/i386/fpu/s_tanl.S: Likewise.
29330         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29331         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29332         * math/libm-test.inc (tan_test): Add more tests and enable more
29333         tests for double and long double.
29334         * sysdeps/i386/fpu/libm-test-ulps: Update.
29335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29336
29337 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29338
29339         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29340         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29341
29342 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29343
29344         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29345         * configure.in: Use it for both main tree and add-ons.
29346         * configure: Regenerated.
29347
29348 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29349
29350         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29351
29352 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29353
29354         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29355         in comment.
29356
29357         [BZ #13851]
29358         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29359         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29360         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29361         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29362         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29363         infinite argument.
29364         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29365         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29366         != 0 for prec == 2.
29367         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29368         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29369         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29370         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29371         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29372         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29373         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29374         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29375         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29376         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29377         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29378         * math/libm-test.inc (cos_test): Add more tests and enable more
29379         tests for long double.
29380         (sin_test): Likewise.
29381         (sincos_test): Likewise.
29382         * sysdeps/i386/fpu/libm-test-ulps: Update.
29383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29384
29385 2012-03-16  David S. Miller  <davem@davemloft.net>
29386
29387         * sysdeps/sparc/fpu/math_private.h: New file.
29388
29389 2012-03-15  David S. Miller  <davem@davemloft.net>
29390
29391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29392         file.
29393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29395         file.
29396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29401         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29402         sysdep routines.
29403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29404
29405         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29406         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29407
29408         * sysdeps/sparc/sparc-ifunc.h: New file.
29409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29410         sparc-ifunc.h
29411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29413         Likewise.
29414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29415         Likewise.
29416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29420         Likewise.
29421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29426         Likewise.
29427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29428         Likewise.
29429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29434         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29435         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29436         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29447         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29448         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29449         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29450         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29451         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29452         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29453
29454 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29455
29456         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29457         scaling.
29458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29459
29460 2012-03-15  Andreas Jaeger  <aj@suse.de>
29461
29462         [BZ #13852]
29463         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29464         ieee754/flt-32 implementation for sin, cos and sincos.
29465         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29466         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29467         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29468         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29469         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29470         ieee754/flt-32 implementation for tan.
29471
29472         * math/libm-test.inc (cos_test): Enable some large input tests for
29473         float as well
29474         (sin_test): Likewise.
29475         (sincos_test): Likewise.
29476         (tan_test): Add tests for large input.
29477
29478         * sysdeps/i386/fpu/libm-test-ulps: Update.
29479
29480 2012-03-15  Andreas Jaeger  <aj@suse.de>
29481
29482         [BZ #13658]
29483         * math/libm-test.inc (cos_test): Add more test cases.
29484         (sin_test): Likewise.
29485         (sincos_test): Likewise.
29486
29487 2012-03-15  Andreas Jaeger  <aj@suse.de>
29488
29489         [BZ #13837]
29490         * math/libm-test.inc (cos_test): Add a test case for large input
29491         value.
29492         (sin_test): Likewise.
29493         (sincos_test): Likewise.
29494
29495 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29496         Joseph Myers  <joseph@codesourcery.com>
29497
29498         [BZ #13658]
29499         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29500         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29501         * sysdeps/i386/fpu/branred.c: Likewise.
29502         * sysdeps/i386/fpu/dosincos.c: Likewise.
29503         * sysdeps/i386/fpu/mpa.c: Likewise.
29504         * sysdeps/i386/fpu/s_cos.S: Likewise.
29505         * sysdeps/i386/fpu/s_sin.S: Likewise.
29506         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29507         * sysdeps/i386/fpu/sincos32.c: Likewise.
29508
29509         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29510         Define.
29511         (libc_feupdateenv_53bit): Define.
29512         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29513         Define.
29514         (libc_feupdateenv_53bit): Define.
29515
29516         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29517         53 bit (without extend i386 double precision).
29518
29519         * math/libm-test.inc (sincos_test): Add tests for large input.
29520         (sin): Likewise.
29521         (cos): Likewise.
29522
29523         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29524
29525 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29526
29527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29528
29529 2012-03-15  David S. Miller  <davem@davemloft.net>
29530
29531         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29532         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29533         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29534         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29547         file.
29548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29550         file.
29551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29553         file.
29554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29556         file.
29557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29558         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29559         fmin/fmax sysdep routines.
29560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29561
29562 2012-03-14  David S. Miller  <davem@davemloft.net>
29563
29564         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29565         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29568         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29570         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29571         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29576         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29583         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29584         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29585         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29586         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29587         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29588         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29589         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29590         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29591         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29592         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29593         routines.
29594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29595         file.
29596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29598         file.
29599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29601         file.
29602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29604         file.
29605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29607         file.
29608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29610         file.
29611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29612         file.
29613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29614         file.
29615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29616         file.
29617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29618         New file.
29619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29620         file.
29621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29622         file.
29623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29625         file.
29626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29628         file.
29629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29631         file.
29632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29634         VIS3 routines.
29635
29636         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29637         New file.
29638
29639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29640
29641         * sysdeps/sparc/configure.in: New file.
29642         * sysdeps/sparc/configure: Generate.
29643         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29644         * configure: Regenerate.
29645         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29646         * config.make.in (have-as-vis3): New.
29647         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29648         available use -Av9d instead of -Av9a.
29649         * sysdeps/sparc/sparc64/Makefile: Likewise.
29650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29652         New file.
29653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29654         file.
29655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29656         New file.
29657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29658         file.
29659         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29660         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29661         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29662         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29663         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29664
29665         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29666         fzeros/fnegs to load 0x80000000 into a float register instead of
29667         using the stack.
29668         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29669
29670 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29671
29672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29673         bits/syscall.h.
29674         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29675         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29676         ($(inst_includedir)/bits/syscall.h): Remove rule.
29677         ($(objpfx)bits/syscall.d): Include instead of
29678         $(objpfx)syscall-list.d.
29679         (generated): Change syscall-list.h and syscall-list.d to
29680         bits/syscall.h and bits/syscall.d.
29681
29682 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29683
29684         [BZ #13846]
29685         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29686
29687 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29688
29689         [BZ #13841]
29690         * math/s_csqrt.c: Include <float.h>.
29691         (__csqrt): Scale large or subnormal inputs.
29692         * math/s_csqrtf.c: Likewise.
29693         * math/s_csqrtl.c: Likewise.
29694         * math/libm-test.inc (csqrt_test): Add more tests.
29695         * sysdeps/i386/fpu/libm-test-ulps: Update.
29696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29697
29698         [BZ #13840]
29699         * math/libm-test.inc (hypot_test): Add more tests.
29700
29701 2012-03-13  David S. Miller  <davem@davemloft.net>
29702
29703         [BZ #13840]
29704         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29705         double-precision for the calculation instead of scaling.
29706
29707 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29708
29709         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29710         manipulate bits before adding and subtracting TWO52[sx].
29711         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29712         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29713         Likewise.
29714         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29715
29716 2012-03-13  David S. Miller  <davem@davemloft.net>
29717
29718         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29719         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29720         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29721         rtld-global-offsets.h
29722         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29723
29724         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29725         large parameters.
29726
29727         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29728
29729         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29730         'err' in the ifdef scope in which it is actually used.
29731
29732         * nss/nss_db/db-init.c: Include string.h
29733
29734 2012-03-12  David S. Miller  <davem@davemloft.net>
29735
29736         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29737         masking out of the most significant byte of random value used.
29738         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29739         Fix coding style in previous change.
29740
29741         * sysdeps/unix/sysv/linux/kernel-features.h
29742         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29743         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29744         expression.
29745         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29746         later.
29747
29748 2012-03-11  David S. Miller  <davem@davemloft.net>
29749
29750         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29751         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29752         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29753         for 'resultvar' otherwise things get truncated on 64-bit.
29754
29755         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29756         Fix masking out of the most significant byte of random value used.
29757
29758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29759
29760 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29761
29762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29763
29764 2012-03-09  David S. Miller  <davem@davemloft.net>
29765
29766         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29767         variables with appropriate CPP guards.
29768         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29769         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29770         on resulting framesize and the management of the outregs buffer for pltexit.
29771         Preserve floating point return values across _dl_call_pltexit call.
29772         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29773         framesize and the management of the outregs buffer for pltexit.
29774         Preserve floating point return values across _dl_call_pltexit
29775         call.
29776         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29777         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29778         (print_exit): Fix format string for return register value.
29779
29780 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29781
29782         * sunrpc/Makefile (others): Add rpcgen.
29783         ($(objpfx)rpcgen): Remove special build rule and dependency on
29784         libc.
29785         * sunrpc/rpcgen.c: New file.
29786
29787 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29788
29789         [BZ #13673]
29790         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29791         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29792         * sysdeps/i386/crti.S: Likewise.
29793         * sysdeps/i386/crtn.S: Likewise.
29794         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29795         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29796         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29797         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29798         * sysdeps/sh/crti.S: Likewise.
29799         * sysdeps/sh/crtn.S: Likewise.
29800         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29801
29802         [BZ #13673]
29803         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29804         with URL.
29805         * locale/programs/locfile-kw.gperf: Likewise.
29806         * locale/programs/charmap-kw.h: Regenerated.
29807         * locale/programs/locfile-kw.h: Likewise.
29808
29809         [BZ #13673]
29810         * intl/plural.y: Replace FSF snail mail address with URL.
29811         * intl/plural.c: Regenerated.
29812
29813 2012-03-09  Richard Henderson  <rth@twiddle.net>
29814
29815         * include/math_private.h: Remove file.
29816         * math/math_private.h: Move file ...
29817         * sysdeps/generic/math_private.h: ... here.
29818
29819         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29820         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29821         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29822
29823         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29824         and <math_private.h>.
29825         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29826         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29827         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29828         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29829         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29830         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29831         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29832         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29833         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29834         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29835         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29836         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29837         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29838         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29839         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29840         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29841         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29842         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29843         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29844         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29845         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29846         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29847         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29848         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29849         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29850         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29851         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29852         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29853         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29854         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29855         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29856         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29857         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29858         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29859         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29860         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29861         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29862         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29863         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29864         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29866         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29868         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29869         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29870         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29871         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29872         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29873         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29874         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29875         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29876         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29877         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29879         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29885         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29905         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29907         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29910         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29911         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29913         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29914         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29915         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29916         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29917         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29918         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29919         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29920         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29921         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29922         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29923         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29924         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29925         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29926         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29927         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29928         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29929         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29930         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29931         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29932         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29933         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29934         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29935         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29936         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29937         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29938         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29939         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29940         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29941         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29942         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29943         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29944         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29945         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29946         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29947         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29948         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29949         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29950         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29951         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29952         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29953         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29954         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29955         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29956         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29957         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29958         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29959         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29960         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29961         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29962         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29963         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29964         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29965         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29966         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29967         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29968         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29969         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29970         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29971         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29972         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29973         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29974         * sysdeps/ieee754/k_standard.c: Likewise.
29975         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29976         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29977         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29978         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29979         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29980         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29981         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29982         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29983         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29984         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29985         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29986         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29987         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29988         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29989         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29990         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29991         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29992         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29993         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29994         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29995         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29996         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29997         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29998         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29999         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30000         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30001         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30002         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30003         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30004         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30005         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30006         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30007         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30008         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30009         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30010         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30011         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30012         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30013         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30014         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30015         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30016         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30020         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30021         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30022         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30025         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30026         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30027         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30029         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30030         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30032         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30033         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30034         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30036         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30037         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30038         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30039         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30040         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30041         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30042         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30044         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30046         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30048         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30049         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30051         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30052         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30053         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30054         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30055         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30056         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30057         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30058         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30059         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30060         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30061         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30062         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30063         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30064         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30065         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30066         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30067         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30068         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30069         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30071         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30072         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30073         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30074         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30076         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30078         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30079         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30080         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30081         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30082         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30083         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30084         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30085         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30086         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30087         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30088         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30089         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30090         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30091         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30093         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30094         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30095         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30097         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30098         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30099         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30100         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30101         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30102         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30103         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30105         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30106         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30107         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30108         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30109         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30110         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30111         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30112         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30113         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30114         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30115         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30116         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30117         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30118         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30119         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30120         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30121         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30122         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30123         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30124         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30125         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30126         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30127         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30128         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30129         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30130         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30131         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30132         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30133         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30134         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30135         * sysdeps/ieee754/s_lib_version.c: Likewise.
30136         * sysdeps/ieee754/s_matherr.c: Likewise.
30137         * sysdeps/ieee754/s_signgam.c: Likewise.
30138         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30139         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30140         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30141         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30142         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30143         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30144         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30145         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30146         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30147         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30148         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30149         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30150         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30151         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30152         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30153         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30154         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30155         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30156         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30158         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30159
30160 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30161
30162         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30163         * sunrpc/rpc_main.c: Likewise.
30164         * sunrpc/rpc_svcout.c: Likewise.
30165
30166 2012-03-09  David S. Miller  <davem@davemloft.net>
30167
30168         * include/math_private.h: New file.
30169
30170 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30171
30172         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30173         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30174         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30175         from <bits/socket_type.h>.
30176         (enum __socket_type): Don't define here.
30177         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30179         bits/socket_type.h.
30180
30181         [BZ #13566]
30182         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30183         checking __USE_GNU.
30184
30185         * Makerules ($(inst_includedir)/%.h): New rule.
30186         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30187         (install-others): Remove variable setting.
30188         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30189
30190 2012-03-08  Richard Henderson  <rth@twiddle.net>
30191
30192         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30193         from macro to inline function; merge with the
30194         !__LIBC_INTERNAL_MATH_INLINES version.
30195         (__ieee754_sqrtf): Likewise.
30196
30197         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30198         to inline function.
30199         (__rintf, __floor, __floorf): Likewise.
30200
30201         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30202         macro to inline function.
30203         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30204
30205         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30206         not <math/math_private.h>.
30207
30208 2012-03-08  David S. Miller  <davem@davemloft.net>
30209
30210         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30211         copyright year.
30212         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30213
30214 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30215
30216         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30217         normalization.
30218         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30219         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30220
30221 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30222
30223         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30224         be defined individually, they must be defined as a block.  Define
30225         S for printing a string instead of hidint the different by using a
30226         macro for adding the 'l'.
30227         * stdio-common/tst-fphex-wide.c: Adjust.
30228
30229 2012-03-07  Marek Polacek  <polacek@redhat.com>
30230
30231         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30232
30233 2012-03-08  Marek Polacek  <polacek@redhat.com>
30234
30235         [BZ #13806]
30236         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30237         * stdio-common/tst-fphex.c: Define a few macros to make the
30238         test reusable.  Use them.
30239         * stdio-common/tst-fphex-wide.c: New file.
30240
30241 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30242
30243         [BZ #6911]
30244         * manual/macros.texi (gnusystems): New macro.
30245         (nongnusystems): Likewise.
30246         (gnulinuxhurdsystems): Likewise.
30247         (gnuhurdsystems): Likewise..
30248         (gnulinuxsystems): Likewise.
30249         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30250         variants of the GNU system, not "GNU system".
30251         * manual/conf.texi: Likewise.
30252         * manual/errno.texi: Likewise.  Update example of errno macro
30253         expansion.
30254         * manual/filesys.texi: Likewise.
30255         (getumask): Document as specific to GNU/Hurd.
30256         * manual/install.texi: Likewise.  Reword some references to
30257         GNU/Linux.
30258         * manual/intro.texi: Likewise.
30259         * manual/io.texi: Likewise.
30260         (File Name Portability): Detail which constraints are inapplicable
30261         to all GNU systems and which are only inapplicable to GNU/Hurd.
30262         * manual/job.texi: Likewise.
30263         * manual/llio.texi: Likewise.
30264         (O_NOCTTY): Document as present on GNU/Linux.
30265         * manual/maint.texi: Likewise.
30266         * manual/memory.texi: Likewise.
30267         * manual/pattern.texi: Likewise.
30268         * manual/pipe.texi: Likewise.
30269         * manual/process.texi: Likewise.
30270         * manual/resource.texi: Likewise.
30271         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30272         child on GNU/Hurd.
30273         * manual/setjmp.texi: Likewise.
30274         * manual/signal.texi: Likewise.
30275         * manual/startup.texi: Likewise.
30276         * manual/stdio.texi: Likewise.
30277         * manual/terminal.texi: Likewise.
30278         (ONLCR): Document as POSIX.
30279         (OXTABS): Document availability on GNU/Linux as XTABS.
30280         (ONOEOT): Document availability separately from other bits.
30281         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30282         * manual/time.texi: Likewise.
30283         * manual/users.texi: Likewise.
30284         * INSTALL: Regenerated.
30285         * sysdeps/gnu/errlist.c: Regenerated.
30286
30287         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30288         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30289         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30290         puts.
30291         * configure: Regenerated.
30292
30293 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
30294
30295         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30296         default includes instead of AC_HEADER_CHECK.
30297         * sysdeps/i386/configure: Regenerated.
30298
30299         [BZ #10716]
30300         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30301         * math/s_cacoshf.c (__cacoshf): Likewise.
30302         * math/s_cacoshl.c (__cacoshl): Likewise.
30303         * math/s_casinh.c (__casinh): Set signs of result from argument.
30304         * math/s_casinhf.c (__casinhf): Likewise.
30305         * math/s_casinhl.c (__casinhl): Likewise.
30306         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30307         (casinh_test): Add more tests.
30308         * sysdeps/i386/fpu/libm-test-ulps: Update.
30309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30310
30311 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
30312
30313         * po/zh_TW.po: Update from translation team.
30314
30315         * login/Makefile (distribute): Remove variable.
30316         * catgets/Makefile: Likewise.
30317         * mach/Makefile: Likewise.
30318         * malloc/Makefile: Likewise.
30319         * misc/Makefile: Likewise.
30320         * iconv/Makefile: Likewise.
30321         * nscd/Makefile: Likewise.
30322         * hurd/Makefile: Likewise.
30323         * manual/Makefile: Likewise.
30324         * locale/Makefile: Likewise.
30325         * intl/Makefile: Likewise.
30326         * conform/Makefile: Likewise.
30327         * nss/Makefile: Likewise.
30328         * time/Makefile: Likewise.
30329         * soft-fp/Makefile: Likewise.
30330         * dirent/Makefile: Likewise.
30331         * gmon/Makefile: Likewise.
30332         * po/Makefile: Likewise.
30333         * rt/Makefile: Likewise.
30334         * socket/Makefile: Likewise.
30335         * math/Makefile: Likewise.
30336         * signal/Makefile: Likewise.
30337         * debug/Makefile: Likewise.
30338         * elf/Makefile: Likewise.
30339         * timezone/Makefile: Likewise.
30340         * stdlib/Makefile: Likewise.
30341         * iconvdata/Makefile: Likewise.
30342         * sunrpc/Makefile: Likewise.
30343         * io/Makefile: Likewise.
30344         * argp/Makefile: Likewise.
30345         * inet/Makefile: Likewise.
30346         * hesiod/Makefile: Likewise.
30347         * grp/Makefile: Likewise.
30348         * csu/Makefile: Likewise.
30349         * wctype/Makefile: Likewise.
30350         * crypt/Makefile: Likewise.
30351         * libio/Makefile: Likewise.
30352         * string/Makefile: Likewise.
30353         * nis/Makefile: Likewise.
30354         * resolv/Makefile: Likewise.
30355         * stdio-common/Makefile: Likewise.
30356         * wcsmbs/Makefile: Likewise.
30357         * dlfcn/Makefile: Likewise.
30358         * posix/Makefile: Likewise.
30359
30360         [BZ #6959]
30361         * timezone/Makefile: Don't install timezone files, just the programs
30362         and scripts.
30363
30364 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30365
30366         * nss/databases.def: Add missing gshadow entry.
30367
30368         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30369
30370 2012-03-06  Marek Polacek  <polacek@redhat.com>
30371
30372         [BZ #13726]
30373         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30374         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30375         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30376         * stdio-common/tst-long-dbl-fphex.c: New file.
30377
30378 2012-03-06  David S. Miller  <davem@davemloft.net>
30379
30380         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30381         (set_obp_int): New function.
30382         (get_obp_int): New function.
30383         (__get_clockfreq_via_dev_openprom): Likewise.
30384         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30385         Avoid unused variable warnings on 'val' and use builtin_expect.
30386         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30387         __builtin_expect.
30388         (INLINE_CLONE_SYSCALL): Likewise.
30389
30390 2012-03-05  David S. Miller  <davem@davemloft.net>
30391
30392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30393
30394 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30395
30396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30397
30398         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30399         only for |x| >= 40.
30400         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30401
30402 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30403
30404         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30405         Replace gettimeofday with __vdso_gettimeofday.
30406
30407         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30408         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30409         __vdso_clock_gettime and __vdso_getcpu.
30410
30411         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30412         time with __vdso_time.
30413
30414 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30415
30416         * manual/lang.texi (size_t): Note types to which size_t may be
30417         equivalent with the GNU C Library, but do not describe when
30418         differences between them are significant.
30419
30420 2012-03-05  Andreas Jaeger  <aj@suse.de>
30421
30422         * sysdeps/i386/fpu/libm-test-ulps: Update.
30423
30424 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30425
30426         [BZ #3976]
30427         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30428         (__ieee754_pow): Save and restore rounding mode and use
30429         round-to-nearest for main computations.
30430         * math/libm-test.inc (pow_test_tonearest): New function.
30431         (pow_test_towardzero): Likewise.
30432         (pow_test_downward): Likewise.
30433         (pow_test_upward): Likewise.
30434         (main): Call the new functions.
30435         * sysdeps/i386/fpu/libm-test-ulps: Update.
30436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30437
30438         [BZ #3976]
30439         * math/libm-test.inc (cosh_test_tonearest): New function.
30440         (cosh_test_towardzero): Likewise.
30441         (cosh_test_downward): Likewise.
30442         (cosh_test_upward): Likewise.
30443         (sinh_test_tonearest): Likewise.
30444         (sinh_test_towardzero): Likewise.
30445         (sinh_test_downward): Likewise.
30446         (sinh_test_upward): Likewise.
30447         (main): Call the new functions.
30448         * sysdeps/i386/fpu/libm-test-ulps: Update.
30449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30450
30451 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30452
30453         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30454         default stack guard is set in last bytes.
30455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30456
30457 2012-03-05  Kees Cook  <keescook@chromium.org>
30458
30459         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30460
30461         [BZ #13656]
30462         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30463         possibly allocate from heap instead of stack.
30464         * stdio-common/bug-vfprintf-nargs.c: New file.
30465         * stdio-common/Makefile (tests): Add nargs overflow test.
30466
30467 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30468
30469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30470
30471 2012-03-03  Marek Polacek  <polacek@redhat.com>
30472
30473         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30474         * math/math_private.h: Likewise.
30475         * stdlib/tst-strtod.c: Likewise.
30476         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30477         * sysdeps/x86_64/bits/atomic.h: Likewise.
30478
30479 2012-03-02  David S. Miller  <davem@davemloft.net>
30480
30481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30485         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30486         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30487         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30488         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30489
30490 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30491
30492         [BZ #13792]
30493         * manual/examples/README: New file, says the example source files
30494         can be used under GPL>=2.
30495         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30496         line containing just "*/".
30497         * manual/examples/add.c: Add copyright header (GPL>=2).
30498         * manual/examples/argp-ex1.c: Likewise.
30499         * manual/examples/argp-ex2.c: Likewise.
30500         * manual/examples/argp-ex3.c: Likewise.
30501         * manual/examples/argp-ex4.c: Likewise.
30502         * manual/examples/atexit.c: Likewise.
30503         * manual/examples/db.c: Likewise.
30504         * manual/examples/dir.c: Likewise.
30505         * manual/examples/dir2.c: Likewise.
30506         * manual/examples/execinfo.c: Likewise.
30507         * manual/examples/filecli.c: Likewise.
30508         * manual/examples/filesrv.c: Likewise.
30509         * manual/examples/fmtmsgexpl.c: Likewise.
30510         * manual/examples/genpass.c: Likewise.
30511         * manual/examples/inetcli.c: Likewise.
30512         * manual/examples/inetsrv.c: Likewise.
30513         * manual/examples/isockad.c: Likewise.
30514         * manual/examples/longopt.c: Likewise.
30515         * manual/examples/memopen.c: Likewise.
30516         * manual/examples/memstrm.c: Likewise.
30517         * manual/examples/mkfsock.c: Likewise.
30518         * manual/examples/mkisock.c: Likewise.
30519         * manual/examples/mygetpass.c: Likewise.
30520         * manual/examples/pipe.c: Likewise.
30521         * manual/examples/popen.c: Likewise.
30522         * manual/examples/rprintf.c: Likewise.
30523         * manual/examples/search.c: Likewise.
30524         * manual/examples/select.c: Likewise.
30525         * manual/examples/setjmp.c: Likewise.
30526         * manual/examples/sigh1.c: Likewise.
30527         * manual/examples/sigusr.c: Likewise.
30528         * manual/examples/stpcpy.c: Likewise.
30529         * manual/examples/strdupa.c: Likewise.
30530         * manual/examples/strftim.c: Likewise.
30531         * manual/examples/strncat.c: Likewise.
30532         * manual/examples/subopt.c: Likewise.
30533         * manual/examples/swapcontext.c: Likewise.
30534         * manual/examples/termios.c: Likewise.
30535         * manual/examples/testopt.c: Likewise.
30536         * manual/examples/testpass.c: Likewise.
30537         * manual/examples/timeval_subtract.c: Likewise.
30538
30539         [BZ #13792]
30540         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30541         function to ...
30542         * manual/timeval_subtract.c.texi: ... here, new file.
30543
30544 2012-03-02  David S. Miller  <davem@davemloft.net>
30545
30546         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30547
30548 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30549
30550         [BZ #3976]
30551         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30552         (__sin): Save and restore rounding mode and use round-to-nearest
30553         for all computations.
30554         (__cos): Save and restore rounding mode and use round-to-nearest
30555         for all computations.
30556         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30557         <fenv.h>.
30558         (tan): Save and restore rounding mode and use round-to-nearest for
30559         all computations.
30560         * math/libm-test.inc (cos_test_tonearest): New function.
30561         (cos_test_towardzero): Likewise.
30562         (cos_test_downward): Likewise.
30563         (cos_test_upward): Likewise.
30564         (sin_test_tonearest): Likewise.
30565         (sin_test_towardzero): Likewise.
30566         (sin_test_downward): Likewise.
30567         (sin_test_upward): Likewise.
30568         (tan_test_tonearest): Likewise.
30569         (tan_test_towardzero): Likewise.
30570         (tan_test_downward): Likewise.
30571         (tan_test_upward): Likewise.
30572         (main): Call the new functions.
30573         * sysdeps/i386/fpu/libm-test-ulps: Update.
30574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30575
30576         [BZ #10135]
30577         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30578         small n, then large n, before computing and testing k+n.
30579         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30581         Likewise.
30582         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30583         Likewise.
30584         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30585         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30586         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30587         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30588         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30589         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30590         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30591         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30592         * math/libm-test.inc (scalbn_test): Add more tests.
30593         (scalbln_test): Likewise.
30594
30595         * manual/filesys.texi (mode_t): Describe constraints on size and
30596         signedness, not exact equivalence to a particular type.
30597         (ino_t): Likewise.
30598         (ino64_t): Likewise.
30599         (dev_t): Likewise.
30600         (nlink_t): Likewise.
30601         (blkcnt_t): Likewise.
30602         (blkcnt64_t): Likewise.
30603         * manual/llio.texi (off_t): Likewise.
30604
30605         [BZ #3976]
30606         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30607         (__ieee754_exp): Save and restore rounding mode and use
30608         round-to-nearest for all computations.
30609         * math/libm-test.inc (exp_test_tonearest): New function.
30610         (exp_test_towardzero): Likewise.
30611         (exp_test_downward): Likewise.
30612         (exp_test_upward): Likewise.
30613         (main): Call the new functions.
30614         * sysdeps/i386/fpu/libm-test-ulps: Update.
30615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30616
30617 2012-03-01  Chris Demetriou  <cgd@google.com>
30618
30619         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30620         have predictable order.
30621
30622 2012-03-01  David S. Miller  <davem@davemloft.net>
30623
30624         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30625
30626         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30627         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30628         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30629         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30630
30631         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30632         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30633         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30635         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30636         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30637         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30638         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30639         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30640
30641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30642
30643         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30644         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30645         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30646
30647         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30648         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30649         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30650         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30651         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30652         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30653         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30654         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30655         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30656         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30657         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30658         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30660         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30661         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30662         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30663         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30664         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30665         * sysdeps/sparc/elf/configure: Regenerated.
30666
30667 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30668
30669         * configure.in (AS, LD): Require binutils 2.20 or later.
30670         * configure: Regenerated.
30671         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30672         as required minimum version.
30673         * INSTALL: Regenerated.
30674
30675         [BZ #2541]
30676         [BZ #4108]
30677         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30678         before squaring exponent.
30679         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30680         bottom long double and 27 bits of top long double before squaring
30681         exponent.
30682         * math/libm-test.inc (erfc_test): Add more tests.
30683         * sysdeps/i386/fpu/libm-test-ulps: Update.
30684         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30686
30687 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30688
30689         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30690         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30691         containing bit-fields.
30692         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30693         * soft-fp/single.h (_FP_UNION_S): Likewise.
30694         * soft-fp/double.h (_FP_UNION_D): Likewise.
30695
30696 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30697
30698         [BZ #13786]
30699         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30700         not include ../strcmp.S.
30701         [USE_AS_STRNCASECMP_L]: Likewise.
30702         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30703         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30704         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30705         (__strncasecmp_l_ia32): Define as alias to
30706         __strncasecmp_l_nonascii.
30707
30708         [BZ #5794]
30709         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30710         * sysdeps/i386/fpu/libm-test-ulps: Update.
30711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30712
30713         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30715
30716 2012-02-29  Jeff Law  <law@redhat.com>
30717
30718         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30719         out of bounds read.
30720
30721 2012-02-29  Marek Polacek  <polacek@redhat.com>
30722
30723         [BZ #13706]
30724         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30725         * elf/Makefile: Add rules to run tst-unused-dep.out.
30726
30727 2012-02-28  David S. Miller  <davem@davemloft.net>
30728
30729         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30730         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30731         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30732         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30733         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30734         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30735
30736 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30737
30738         * math/libm-test.inc (llround_test): Move one test from
30739         lround_test.  Use TEST_f_L in moved test.
30740         (lround_test): Move misplaced test to llround_test.  Add testcase
30741         from bug 2561.
30742
30743 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30744
30745         * sysdeps/x86_64/fpu/e_expf.S: New file.
30746         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30747
30748 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30749
30750         [BZ #13637]
30751         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30752         of remain_len that may cause incomplete multi-byte character and
30753         false match.
30754         * posix/bug-regex33.c: New file.
30755         * posix/Makefile (tests): Add bug-regex33.
30756
30757 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30758
30759         * manual/macros.texi: New file.
30760         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30761         * manual/libc.texinfo: Include macros.texi.
30762         * manual/creatute.texi: Likewise.
30763         * manual/install.texi: Likewise.
30764         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30765         @glibcadj{} in references to the GNU C Library.
30766         * manual/charset.texi: Likewise.
30767         * manual/conf.texi: Likewise.
30768         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30769         when not using those macros.
30770         * manual/creature.texi: Likewise.
30771         * manual/crypt.texi: Likewise.
30772         * manual/errno.texi: Likewise.
30773         * manual/filesys.texi: Likewise.
30774         * manual/header.texi: Likewise.
30775         * manual/install.texi: Likewise.
30776         * manual/intro.texi: Likewise.
30777         * manual/io.texi: Likewise.
30778         * manual/job.texi: Likewise.
30779         * manual/lang.texi: Likewise.
30780         * manual/libc.texiinfo: Likewise.
30781         * manual/llio.texi: Likewise.
30782         * manual/locale.texi: Likewise.
30783         * manual/maint.texi: Likewise.
30784         * manual/math.texi: Likewise.
30785         * manual/memory.texi: Likewise.
30786         * manual/message.texi: Likewise.
30787         * manual/nss.texi: Likewise.
30788         * manual/pattern.texi: Likewise.
30789         * manual/process.texi: Likewise.
30790         * manual/resource.texi: Likewise.
30791         * manual/search.texi: Likewise.
30792         * manual/setjmp.texi: Likewise.
30793         * manual/signal.texi: Likewise.
30794         * manual/socket.texi: Likewise.
30795         * manual/startup.texi: Likewise.
30796         * manual/stdio.texi: Likewise.
30797         * manual/string.texi: Likewise.
30798         * manual/sysinfo.texi: Likewise.
30799         * manual/syslog.texi: Likewise.
30800         * manual/terminal.texi: Likewise.
30801         * manual/time.texi: Likewise.
30802         * manual/users.texi: Likewise.
30803         * INSTALL: Regenerated.
30804         * NOTES: Regenerated.
30805         * sysdeps/gnu/errlist.c: Regenerated.
30806
30807 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30808
30809         * include/dirent.h: Include <dirstream.h> before
30810         <dirent/dirent.h>.
30811
30812 2012-02-28  David S. Miller  <davem@davemloft.net>
30813
30814         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30815         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30816         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30817         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30818
30819 2012-02-27  David S. Miller  <davem@davemloft.net>
30820
30821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30823         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30824         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30825
30826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30827         frame pointer instead of stack pointer relative arg slot.
30828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30829         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30830         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30831
30832 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30833
30834         [BZ #3992]
30835         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30836
30837 2012-02-27  David S. Miller  <davem@davemloft.net>
30838
30839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30843         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30844         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30845         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30846         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30847
30848 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30849
30850         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30851         later.  Allow versions 5-9.
30852         * configure: Regenerated.
30853         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30854         required minimum version and 4.6 as recommended version.  Do not
30855         mention bugs in GCC 2.7 and 2.8.
30856         * INSTALL: Regenerated.
30857
30858 2012-02-27  David S. Miller  <davem@davemloft.net>
30859
30860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30864         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30865         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30866         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30867         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30868
30869         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30870         manipulate bits before adding and subtracting TWO112[sx].
30871         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30872
30873 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30874
30875         [BZ #13775]
30876         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30877         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30878         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30879         being in POSIX, because they are in 1003.1-2008.
30880
30881         * rt/tst-aio.c: Include <fcntl.h>.
30882         * rt/tst-aio7.c: Likewise.
30883         * rt/tst-aio64.c: Likewise.
30884
30885         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30886
30887 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30888
30889         * manual/install.texi (--with-headers): Describe headers as
30890         interface headers, not private headers.
30891         (Specific advice for GNU/Linux systems): Describe use of headers
30892         from "make headers_install", not private headers from older
30893         kernels.
30894         * INSTALL: Regenerated.
30895         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30896         Change to 2.6.19.
30897         * sysdeps/unix/sysv/linux/configure: Regenerated.
30898
30899         * manual/llio.texi (fclean): Remove documentation.
30900
30901         * manual/Makefile (libc-texi-generated): New variable.  Include
30902         version.texi.
30903         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30904         $(libc-texi-generated), not duplicated list of files.
30905         (version.texi, stamp-version): New rules.
30906         (realclean): Remove $(libc-texi-generated), not individual files
30907         from that list.  Do not remove dir-add.texinfo.
30908         * manual/libc.texinfo: Comment out uses of edition numbers and
30909         references to printed manual.  Remove last-updated dates.
30910         (EDITION): Comment out.
30911         (ISBN): Likewise.
30912         (VERSION, UPDATED): Remove.
30913         (version.texi): Include.
30914
30915 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30916
30917         * sysdeps/posix/spawni.c: Include <signal.h>.
30918         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30919         * sysdeps/pthread/aio_fsync.c: Likewise.
30920
30921 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30922
30923         * conform/Makefile (tests): Run only when not cross-compiling and
30924         when fast-check is not defined.
30925
30926         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30927         * conform/data/limits.h-data: Fixes for POSIX2008.
30928         * conform/run-conformtest.sh: Run all tests.
30929         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30930         headers.
30931         * include/bits/dlfcn.h: Likewise.
30932         * include/langinfo.h: Likewise.
30933         * include/monetary.h: Likewise.
30934         * include/sys/poll.h: Likewise.
30935
30936         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30937         for __USE_GNU.
30938         * posix/spawn.h: Define __need_sigset_t.
30939         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30940         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30941         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30942         to get sigevent_t only.
30943         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30944         only for __USE_GNU.
30945         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30946         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30947         process_vm_writev only for __USE_GNU.
30948         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30949
30950         * conform/Makefile: For now ignore errors from run-conformtest.
30951         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30952         POSIX to avoid namespace pollution.  Don't prepend headers.
30953         * conform/data/aio.h-data: Fixes for POSIX testing.
30954         * conform/data/fcntl.h-data: Likewise.
30955         * conform/data/glob.h-data: Likewise.
30956         * conform/data/grp.h-data: Likewise.
30957         * conform/data/pthread.h-data: Likewise.
30958         * conform/data/pwd.h-data: Likewise.
30959         * conform/data/signal.h-data: Likewise.
30960         * conform/data/spawn.h-data: Likewise.
30961         * conform/data/stdio.h-data: Likewise.
30962         * conform/data/stdlib.h-data: Likewise.
30963         * conform/data/stropts.h-data: Likewise.
30964         * conform/data/sys/mman.h-data: Likewise.
30965         * conform/data/sys/stat.h-data: Likewise.
30966         * conform/data/sys/types.h-data: Likewise.
30967         * conform/data/sys/wait.h-data: Likewise.
30968         * conform/data/time.h-data: Likewise.
30969         * conform/data/unistd.h-data: Likewise.
30970         * conform/data/utime.h-data: Likewise.
30971
30972         * io/sys/stat.h: fchmod was always in POSIX.
30973         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30974         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30975         * rt/aio.h: Define __need_timespec before including <time.h>.
30976         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30977         struct.  Add forward declaration of pthread_attr_t and use it in
30978         sigevent.
30979         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30980         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30981         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30982         always remove CLK_TCK definition.
30983
30984 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30985
30986         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30987
30988 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30989
30990         * conform/run-conformtest.sh: New file.
30991         * conform/Makefile: Run run-conformtest for tests.
30992         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30993         support.
30994
30995         * conform/data/uchar.h-data: New file.
30996         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30997         * conform/data/arpa/inet.h-data: Likewise.
30998         * conform/data/assert.h-data: Likewise.
30999         * conform/data/complex.h-data: Likewise.
31000         * conform/data/cpio.h-data: Likewise.
31001         * conform/data/ctype.h-data: Likewise.
31002         * conform/data/dirent.h-data: Likewise.
31003         * conform/data/dlfcn.h-data: Likewise.
31004         * conform/data/errno.h-data: Likewise.
31005         * conform/data/fcntl.h-data: Likewise.
31006         * conform/data/float.h-data: Likewise.
31007         * conform/data/fmtmsg.h-data: Likewise.
31008         * conform/data/fnmatch.h-data: Likewise.
31009         * conform/data/ftw.h-data: Likewise.
31010         * conform/data/glob.h-data: Likewise.
31011         * conform/data/grp.h-data: Likewise.
31012         * conform/data/iconv.h-data: Likewise.
31013         * conform/data/inttypes.h-data: Likewise.
31014         * conform/data/langinfo.h-data: Likewise.
31015         * conform/data/libgen.h-data: Likewise.
31016         * conform/data/limits.h-data: Likewise.
31017         * conform/data/locale.h-data: Likewise.
31018         * conform/data/math.h-data: Likewise.
31019         * conform/data/monetary.h-data: Likewise.
31020         * conform/data/mqueue.h-data: Likewise.
31021         * conform/data/ndbm.h-data: Likewise.
31022         * conform/data/net/if.h-data: Likewise.
31023         * conform/data/netdb.h-data: Likewise.
31024         * conform/data/netinet/in.h-data: Likewise.
31025         * conform/data/nl_types.h-data: Likewise.
31026         * conform/data/poll.h-data: Likewise.
31027         * conform/data/pthread.h-data: Likewise.
31028         * conform/data/pwd.h-data: Likewise.
31029         * conform/data/regex.h-data: Likewise.
31030         * conform/data/sched.h-data: Likewise.
31031         * conform/data/search.h-data: Likewise.
31032         * conform/data/semaphore.h-data: Likewise.
31033         * conform/data/setjmp.h-data: Likewise.
31034         * conform/data/signal.h-data: Likewise.
31035         * conform/data/spawn.h-data: Likewise.
31036         * conform/data/stdarg.h-data: Likewise.
31037         * conform/data/stdio.h-data: Likewise.
31038         * conform/data/stdlib.h-data: Likewise.
31039         * conform/data/string.h-data: Likewise.
31040         * conform/data/strings.h-data: Likewise.
31041         * conform/data/stropts.h-data: Likewise.
31042         * conform/data/sys/ipc.h-data: Likewise.
31043         * conform/data/sys/mman.h-data: Likewise.
31044         * conform/data/sys/msg.h-data: Likewise.
31045         * conform/data/sys/resource.h-data: Likewise.
31046         * conform/data/sys/select.h-data: Likewise.
31047         * conform/data/sys/sem.h-data: Likewise.
31048         * conform/data/sys/shm.h-data: Likewise.
31049         * conform/data/sys/socket.h-data: Likewise.
31050         * conform/data/sys/stat.h-data: Likewise.
31051         * conform/data/sys/statvfs.h-data: Likewise.
31052         * conform/data/sys/time.h-data: Likewise.
31053         * conform/data/sys/timeb.h-data: Likewise.
31054         * conform/data/sys/times.h-data: Likewise.
31055         * conform/data/sys/types.h-data: Likewise.
31056         * conform/data/sys/uio.h-data: Likewise.
31057         * conform/data/sys/un.h-data: Likewise.
31058         * conform/data/sys/utsname.h-data: Likewise.
31059         * conform/data/sys/wait.h-data: Likewise.
31060         * conform/data/syslog.h-data: Likewise.
31061         * conform/data/tar.h-data: Likewise.
31062         * conform/data/termios.h-data: Likewise.
31063         * conform/data/utime.h-data: Likewise.
31064         * conform/data/utmpx.h-data: Likewise.
31065         * conform/data/varargs.h-data: Likewise.
31066         * conform/data/wchar.h-data: Likewise.
31067         * conform/data/wctype.h-data: Likewise.
31068         * conform/data/wordexp.h-data: Likewise.
31069
31070         * include/stropts.h: New file.
31071         * include/uchar.h: New file.
31072         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31073         * include/assert.h: Likewise.
31074         * include/ctype.h: Likewise.
31075         * include/dirent.h: Likewise.
31076         * include/dlfcn.h: Likewise.
31077         * include/fcntl.h: Likewise.
31078         * include/fnmatch.h: Likewise.
31079         * include/glob.h: Likewise.
31080         * include/grp.h: Likewise.
31081         * include/libio.h: Likewise.
31082         * include/locale.h: Likewise.
31083         * include/math.h: Likewise.
31084         * include/net/if.h: Likewise.
31085         * include/netdb.h: Likewise.
31086         * include/netinet/in.h: Likewise.
31087         * include/pthread.h: Likewise.
31088         * include/pwd.h: Likewise.
31089         * include/regex.h: Likewise.
31090         * include/sched.h: Likewise.
31091         * include/search.h: Likewise.
31092         * include/setjmp.h: Likewise.
31093         * include/signal.h: Likewise.
31094         * include/stdio.h: Likewise.
31095         * include/stdlib.h: Likewise.
31096         * include/string.h: Likewise.
31097         * include/sys/cdefs.h: Likewise.
31098         * include/sys/mman.h: Likewise.
31099         * include/sys/msg.h: Likewise.
31100         * include/sys/resource.h: Likewise.
31101         * include/sys/select.h: Likewise.
31102         * include/sys/socket.h: Likewise.
31103         * include/sys/stat.h: Likewise.
31104         * include/sys/statvfs.h: Likewise.
31105         * include/sys/time.h: Likewise.
31106         * include/sys/times.h: Likewise.
31107         * include/sys/uio.h: Likewise.
31108         * include/sys/utsname.h: Likewise.
31109         * include/sys/wait.h: Likewise.
31110         * include/termios.h: Likewise.
31111         * include/time.h: Likewise.
31112         * include/ulimit.h: Likewise.
31113         * include/unistd.h: Likewise.
31114         * include/utime.h: Likewise.
31115         * include/wchar.h: Likewise.
31116         * include/wctype.h: Likewise.
31117         * include/wordexp.h: Likewise.
31118
31119         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31120
31121         * time/time.h: TIME_UTC must be a macro.
31122         Make timespec_get available for ISO C11 only as well.
31123
31124 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31125
31126         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31127         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31128
31129 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31130
31131         * configure.in: Use -o not -a in test for unsupported multi-arch.
31132
31133 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31134
31135         * manual/texinfo.tex: Update to version 2012-01-19.16.
31136
31137 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31138
31139         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31140
31141 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31142
31143         [BZ #13738]
31144         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31145         * manual/fdl-1.3.texi: New file.
31146         * manual/fdl-1.1.texi: File removed.
31147
31148         [BZ #13738]
31149         * manual/libc.texinfo (FDL_VERSION): New @set.
31150         Use it for mention of FDL in cover text.
31151         (Documentation License): Use it in @include file name.
31152
31153 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31154             Roland McGrath  <roland@hack.frob.com>
31155
31156         [BZ #5461]
31157         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31158         not LONG_LONG_MAX and LONG_LONG_MIN.
31159         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31160         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31161         name.
31162         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31163
31164 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31165
31166         [BZ #2547]
31167         [BZ #11365]
31168         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31169         manipulate bits before adding and subtracting TWO23[sx].
31170         * math/libm-test.inc (nearbyint_test): Add more tests.
31171
31172 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31173
31174         [BZ #2548]
31175         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31176         bits before adding and subtracting TWO23[sx].
31177         * math/libm-test.inc (rint_test): Add more tests.
31178         (rint_test_tonearest): Likewise.
31179         (rint_test_towardzero): Likewise.
31180         (rint_test_downward): Likewise.
31181         (rint_test_upward: Likewise.
31182
31183 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31184
31185         [BZ #10110]
31186         * include/stdc-predef.h: New file.  Extracted from features.h.
31187         * include/features.h: Include stdc-predef.h.
31188         * Makefile (headers): Add stdc-predef.h.
31189         * CONFORMANCE (Compiler limitations): Update.
31190
31191 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31192
31193         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31194
31195 2012-02-21  David S. Miller  <davem@davemloft.net>
31196
31197         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31198         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31199
31200 2012-02-20  David S. Miller  <davem@davemloft.net>
31201
31202         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31203         using a normal save/restore sequence, rather than allocating a
31204         dummy stack frame just to store a frame pointer and restore.
31205         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31206
31207 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31208
31209         * manual/install.texi: Fix stray word in line-wrapped comment.
31210
31211 2012-02-20  David S. Miller  <davem@davemloft.net>
31212
31213         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31214         both binutils and gcc support GOTDATA.
31215
31216         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31217         "rd %pc" in the PIC register setup sequences.
31218
31219         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31220         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31221         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31222         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31223         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31224         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31225         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31226         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31228         (SYSCALL_ERROR_HANDLER): Likewise.
31229         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31230         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31232         (SYSCALL_ERROR_HANDLER): Likewise.
31233
31234         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31235         (HAVE_GCC_GOTDATA): New.
31236         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31237         relocation support in both binutils and gcc.
31238         * sysdeps/sparc/elf/configure: Regenerate.
31239
31240         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31241         * sysdeps/sparc/sparc32/elf/configure: Delete.
31242         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31243         * sysdeps/sparc/sparc64/elf/configure: Delete.
31244         * sysdeps/sparc/elf/configure.in: New file.
31245         * sysdeps/sparc/elf/configure: Generate.
31246
31247         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31248         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31249         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31250         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31251         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31252
31253 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31254
31255         * manual/install.texi: Do not mention specific glibc version
31256         numbers.
31257         * manual/libc.texinfo (VERSION, UPDATED): Update.
31258         (@copying): Use @copyright{} and range of years.
31259
31260 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31261
31262         [BZ #13695]
31263         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31264         [crti.S not in sysdirs] (generated): Do not append.
31265         [crti.S not in sysdirs] (omit-deps): Likewise.
31266         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31267         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31268         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31269         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31270         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31271         Likewise.
31272         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31273         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31274         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31275         * csu/defs.awk: Remove file.
31276         * sysdeps/generic/initfini.c: Likewise.
31277         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31278         variable.
31279         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31280         Likewise.
31281
31282 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31283
31284         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31285         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31286         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31287         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31288         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31289         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31290         <bits/epoll.h>.
31291         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31292         (__EPOLL_PACKED): Define to empty if not defined by
31293         <bits/epoll.h>.
31294         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31296         bits/epoll.h.
31297
31298 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31299
31300         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31301         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31302         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31303         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31304         <bits/timerfd.h>.
31305         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31306         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31307         bits/timerfd.h.
31308
31309 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31310
31311         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31312         in C locale.
31313         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31314         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31315         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31317
31318 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
31319
31320         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31321         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31322
31323 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
31324
31325         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31326         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31327         defined.
31328         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31329         Likewise.
31330         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31331         entry for 2.16.
31332
31333 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31334
31335         * math/w_acos.c: Use non-signaling floating-point comparisons.
31336         * math/w_acosf.c: Likewise.
31337         * math/w_acosh.c: Likewise.
31338         * math/w_acoshf.c: Likewise.
31339         * math/w_acoshl.c: Likewise.
31340         * math/w_acosl.c: Likewise.
31341         * math/w_asin.c: Likewise.
31342         * math/w_asinf.c: Likewise.
31343         * math/w_asinl.c: Likewise.
31344         * math/w_atanh.c: Likewise.
31345         * math/w_atanhf.c: Likewise.
31346         * math/w_atanhl.c: Likewise.
31347         * math/w_exp2.c: Likewise.
31348         * math/w_exp2f.c: Likewise.
31349         * math/w_exp2l.c: Likewise.
31350         * math/w_j0.c: Likewise.
31351         * math/w_j0f.c: Likewise.
31352         * math/w_j0l.c: Likewise.
31353         * math/w_j1.c: Likewise.
31354         * math/w_j1f.c: Likewise.
31355         * math/w_j1l.c: Likewise.
31356         * math/w_jn.c: Likewise.
31357         * math/w_jnf.c: Likewise.
31358         * math/w_log.c: Likewise.
31359         * math/w_log10.c: Likewise.
31360         * math/w_log10f.c: Likewise.
31361         * math/w_log10l.c: Likewise.
31362         * math/w_log2.c: Likewise.
31363         * math/w_log2f.c: Likewise.
31364         * math/w_log2l.c: Likewise.
31365         * math/w_logf.c: Likewise.
31366         * math/w_logl.c: Likewise.
31367         * math/w_sqrt.c: Likewise.
31368         * math/w_sqrtf.c: Likewise.
31369         * math/w_sqrtl.c: Likewise.
31370         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31371         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31372         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31373         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31374         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31375
31376 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31377
31378         [BZ #9739]
31379         * manual/string.texi (strnlen): Use correct parameter name in
31380         equivalent expression.
31381
31382 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31383
31384         [BZ #11174]
31385         * manual/users.texi (seteuid): Consistently use neweuid for
31386         argument name.
31387
31388 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31389
31390         [BZ #13704]
31391         * manual/nss.texi (Services in the NSS configuration): Correct
31392         list of services in example configuration file.
31393
31394 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31395
31396         [BZ #11322]
31397         * manual/arith.texi: Remove statements about negative zero
31398         behaving identically to zero.
31399
31400 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31401
31402         [BZ #5993]
31403         * manual/install.texi: Do not document upgrading from libc5.
31404
31405 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31406
31407         [BZ #4596]
31408         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31409
31410 2012-02-18  David S. Miller  <davem@davemloft.net>
31411
31412         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31413         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31414         %o7 across the call.
31415         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31416         instead.
31417         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31418         SETUP_PIC_REG_LEAF.
31419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31420         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31421         * sysdeps/sparc/crtn.S: Likewise.
31422
31423 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31424
31425         * aout/Makefile: Remove.
31426
31427 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31428
31429         [BZ #13058]
31430         * manual/examples/argp-ex1.c (main): Format definition in GNU
31431         style.
31432         * manual/examples/argp-ex2.c (main): Likewise.
31433         * manual/examples/argp-ex3.c (main): Likewise.
31434         * manual/examples/argp-ex4.c (main): Likewise.
31435         * manual/examples/longopt.c (main): Use new-style prototype
31436         definition.
31437         * manual/examples/strncat.c (main): Specify return type and use
31438         (void) for arguments.
31439         * manual/examples/subopt.c (main): Use char **argv argument.
31440
31441 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31442
31443         [BZ #5077]
31444         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31445         rounding modes.
31446
31447 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31448
31449         [BZ #6907]
31450         * manual/string.texi (strchr): Change when strchrnul is
31451         recommended.
31452
31453 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31454
31455         [BZ #174]
31456         * manual/locale.texi (setlocale): Document LOCPATH.
31457
31458 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31459
31460         [BZ #10210]
31461         * manual/process.texi (execle): Move @dots{} before last argument.
31462
31463 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31464
31465         [BZ #12047]
31466         * manual/charset.texi (Generic Charset Conversion): Fix typo
31467         (LC_TYPE -> LC_CTYPE).
31468
31469 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31470
31471         [BZ #5805]
31472         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31473         (scalbnf): Likewise.
31474         (scalbnl): Likewise.
31475         (scalbln): Likewise.
31476         (scalblnf): Likewise.
31477         (scalblnl): Likewise.
31478         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31479         (vwarnx): Likewise.
31480         (verr): Likewise.
31481         (verrx): Likewise.
31482         * manual/filesys.texi (telldir): Use braces around return type.
31483         * manual/llio.texi (mmap): Add space after comma.
31484         (mmap64): Likewise.
31485         * manual/math.texi (jn): Use @var{} on parameter names.
31486         (jnf): Likewise.
31487         (jnl): Likewise.
31488         (yn): Likewise.
31489         (ynf): Likewise.
31490         (ynl): Likewise.
31491         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31492         line.
31493         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31494         "...".
31495         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31496         (sched_get_priority_max): Likewise.
31497         * manual/signal.texi (sigvec): Add space after comma.
31498         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31499         names.
31500         (if_indextoname): Likewise.
31501         (if_freenameindex): Likewise.
31502         (sendto): Use ',' instead of '.' in prototype.
31503         * manual/startup.texi (syscall): Use @dots{} instead of literal
31504         "...".
31505         * manual/stdio.texi (__fpending): Separate initial words of
31506         paragraph from @deftypefun line.
31507         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31508         "...".
31509         (vsyslog): Use @var{} on parameter names.
31510         * manual/terminal.texi (stty): Use @var{} on parameter names.
31511         * manual/users.texi (getutmp): Use @var{} on parameter names.
31512         (getutmpx): Likewise.
31513
31514 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31515
31516         [BZ #6884]
31517         * manual/stdio.texi (fopen): Fix typos in description of
31518         ",ccs=STRING".
31519
31520 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31521
31522         [BZ #4026]
31523         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31524         get clock_id definition.
31525
31526 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31527
31528         [BZ #4822]
31529         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31530         (madvise): Cast every argument to void on its own.
31531
31532 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31533
31534         [BZ #9902]
31535         * manual/startup.texi (Exit Status): Fix typo.
31536
31537 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31538
31539         [BZ #10140]
31540         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31541         * manual/examples/argp-ex2.c: Likewise.
31542         * manual/examples/argp-ex3.c: Likewise.
31543
31544 2012-02-16  Richard Henderson  <rth@redhat.com>
31545
31546         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31547         * sysdeps/s390/s390-32/initfini.c: Remove.
31548         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31549         * sysdeps/s390/s390-64/initfini.c: Remove.
31550
31551 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31552
31553         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31554         compiler output for sysdeps/generic/initfini.c.
31555         * sysdeps/sh/elf/initfini.c: Remove file.
31556
31557 2012-02-16  David S. Miller  <davem@davemloft.net>
31558
31559         [BZ #11494]
31560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31561
31562         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31563         * sysdeps/sparc/crti.S: New file.
31564         * sysdeps/sparc/crtn.S: New file.
31565         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31566         * sysdeps/sparc/sparc64/Makefile: Likewise.
31567
31568 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31569
31570         [BZ #3335]
31571         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31572
31573 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31574
31575         [BZ #4822]
31576         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31577
31578         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31579         (write, read, close): Likewise.
31580         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31581
31582 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31583
31584         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31585         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31586         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31587         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31588         <bits/signalfd.h>.
31589         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31591         bits/signalfd.h.
31592
31593 2012-02-14  Marek Polacek  <polacek@redhat.com>
31594
31595         * sysdeps/x86_64/crti.S: New file.
31596         * sysdeps/x86_64/crtn.S: New file.
31597         * sysdeps/x86_64/elf/initfini.c: Remove file.
31598
31599 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31600
31601         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31602         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31603         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31604         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31605         <bits/inotify.h>.
31606         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31608         bits/inotify.h.
31609
31610 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31611
31612         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31613         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31614         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31615         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31616         <bits/eventfd.h>.
31617         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31618         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31619         bits/eventfd.h.
31620
31621 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31622
31623         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31624         __feraiseexcept instead of feraiseexcept.
31625
31626         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31627         nanosleep invocations.
31628         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31629         strings, and add error checking for a nanosleep invocations.
31630
31631 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31632
31633         Replace FSF snail mail address with URLs, as per GNU coding standards.
31634         Most of the snail mail addresses were wrong anyway, and omitting
31635         them makes the source code easier to maintain.  Almost all of the
31636         changes are to license notices and to locale LC_IDENTIFICATION
31637         addresses, except for this one:
31638         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31639         not its snail mail address.
31640
31641 2012-02-09  Richard Henderson  <rth@twiddle.net>
31642
31643         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31644         of kernel-features.h.
31645
31646         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31647
31648 2012-02-08  Marek Polacek  <polacek@redhat.com>
31649
31650         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31651         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31652         * sysdeps/gnu/_G_config.h: Likewise.
31653         * sysdeps/generic/_G_config.h: Likewise.
31654
31655 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31656
31657         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31658         tests.
31659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31660
31661         * sysdeps/powerpc/powerpc32/crti.S: New file.
31662         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31663         * sysdeps/powerpc/powerpc64/crti.S: New file.
31664         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31665
31666         * Makeconfig (have-initfini): Don't set.
31667         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31668         * configure.in (nopic_initfini): Don't substitute.
31669         * config.h.in (HAVE_INITFINI): Don't #undef.
31670         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31671         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31672
31673 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31674
31675         Support crti.S and crtn.S provided directly by architectures.
31676         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31677         [crti.S in sysdirs] (omit-deps): Likewise.
31678         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31679         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31680         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31681         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31682         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31683         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31684         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31685         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31686         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31687         compiler output for sysdeps/generic/initfini.c.
31688         * sysdeps/i386/elf/Makefile: Remove file.
31689         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31690
31691 2012-02-07  Marek Polacek  <polacek@redhat.com>
31692
31693         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31694         * sysdeps/gnu/_G_config.h: Likewise.
31695         * sysdeps/mach/hurd/_G_config.h: Likewise.
31696
31697 2012-02-07  Marek Polacek  <polacek@redhat.com>
31698
31699         * math/Makefile (tests): Add tst-CMPLX2.
31700         * math/tst-CMPLX2.c: New file.
31701
31702 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31703
31704         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31705
31706         * math/libm-test.inc (jn_test): Add missing L suffix.
31707
31708 2012-02-06  Marek Polacek  <polacek@redhat.com>
31709
31710         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31711         * sysdeps/i386/fpu/e_powf.S: Likewise.
31712         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31713         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31714         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31715         * sysdeps/i386/fpu/e_pow.S: Likewise.
31716         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31717         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31718         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31719         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31720         * sysdeps/i386/fpu/e_log2.S: Likewise.
31721         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31722         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31723         * sysdeps/i386/fpu/e_powl.S: Likewise.
31724         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31725         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31726         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31727         * sysdeps/i386/fpu/e_logl.S: Likewise.
31728         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31729         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31730         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31731         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31732         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31733         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31734         * sysdeps/i386/fpu/e_log.S: Likewise.
31735         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31736         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31737         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31738         * sysdeps/i386/fpu/e_logf.S: Likewise.
31739         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31740         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31741         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31742         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31743         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31744         * sysdeps/i386/fpu/e_log10.S: Likewise.
31745         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31746         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31747         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31748         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31749         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31750         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31751         * sysdeps/i386/asm-syntax.h: Likewise.
31752         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31753         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31754         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31755         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31756         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31757         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31758         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31759         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31760         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31761         * sysdeps/powerpc/sysdep.h: Likewise.
31762         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31763         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31764
31765 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31766
31767         [BZ #411]
31768         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31769
31770 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31771
31772         * sysdeps/i386/sysdep.h: Include <features.h>.
31773         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31774         version.
31775
31776 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31777
31778         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31779         Define.
31780         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31781         LOAD_PIC_REG_STR.
31782
31783 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31784
31785         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31786         (SETUP_PIC_REG): Use GET_PC_THUNK.
31787         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31788         macro.
31789
31790 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31791
31792         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31793         for non-PIC compilation.
31794         (SETUP_PIC_REG): Add .p2align directive.
31795         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31796         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31797         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31798         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31799         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31800         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31801         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31802         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31803         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31804         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31805         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31806         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31807         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31808         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31809         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31810         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31811         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31812         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31813         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31814         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31815         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31816         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31817         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31818         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31819         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31820         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31821         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31822         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31823         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31824         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31825         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31826         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31827         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31828         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31829         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31830         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31831         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31832         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31833         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31834         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31835         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31836
31837 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31838
31839         * math/tst-CMPLX.c: Include <stdio.h>.
31840
31841 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31842
31843         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31844         float.
31845         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31846         * sysdeps/sparc/bits/mathdef.h: Likewise.
31847
31848 2012-01-31  Marek Polacek  <polacek@redhat.com>
31849
31850         * libio/libio.h: Don't define _PARAMS.
31851         * locale/programs/config.h: Don't define PARAMS.
31852         * stdlib/strtol_l.c: Likewise.
31853         (__strtol_l): Remove PARAMS from the prototype.
31854
31855 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31856
31857         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31858         names.  Just use the correct names.  Remove unnecessary wrapper
31859         functions.
31860         * malloc/arena.c: Likewise.
31861         * malloc/hooks.c: Likewise.
31862
31863         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31864         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31865         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31866
31867 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31868
31869         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31870         into tail calls.
31871         (update_get_addr): New function.
31872         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31873         GET_ADDR_MODULE parameter.
31874
31875 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31876
31877         * crypt/cert.c: Remove __STDC__ conditionals.
31878         * crypt/crypt-entry.c: Likewise.
31879         * crypt/crypt_util.c: Likewise.
31880         * libio/filedoalloc.c: Likewise.
31881         * libio/fileops.c: Likewise.
31882         * libio/genops.c: Likewise.
31883         * libio/iofclose.c: Likewise.
31884         * libio/iofdopen.c: Likewise.
31885         * libio/iofopen.c: Likewise.
31886         * libio/iofopen64.c: Likewise.
31887         * libio/iogetdelim.c: Likewise.
31888         * libio/iopopen.c: Likewise.
31889         * libio/obprintf.c: Likewise.
31890         * libio/oldfileops.c: Likewise.
31891         * libio/oldiofclose.c: Likewise.
31892         * libio/oldiofdopen.c: Likewise.
31893         * libio/oldiofopen.c: Likewise.
31894         * libio/oldiopopen.c: Likewise.
31895         * libio/wfiledoalloc.c: Likewise.
31896         * libio/wgenops.c: Likewise.
31897         * locale/programs/xmalloc.c: Likewise.
31898         * misc/syslog.c: Likewise.
31899         * stdio-common/xbug.c: Likewise.
31900         * string/memchr.c: Likewise.
31901         * string/memcmp.c: Likewise.
31902         * string/memrchr.c: Likewise.
31903         * string/rawmemchr.c: Likewise.
31904         * sysdeps/posix/getcwd.c: Likewise.
31905         * time/strftime_l.c: Likewise.
31906
31907 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31908
31909         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31910         * config.make.in (config-cflags-sse2avx): Define.
31911         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31912         Fix typo.
31913
31914 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31915
31916         * scripts/config.guess: Update from upstream config git repository.
31917         * scripts/config.sub: Likewise.
31918
31919 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31920
31921         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31922         (EM_NUM): Update.
31923         (R_TILEPRO_*, R_TILEGX_*): New macros.
31924
31925         * scripts/firstversions.awk: Fix bug in version range handling.
31926
31927         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31928
31929         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31930
31931         * include/sys/epoll.h: New file.
31932         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31933         libc_hidden_def.
31934
31935 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31936
31937         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31938         Avoid unnecessary __WORDSIZE == 64 test.
31939         (fmaxf): Use VEX format if possible.
31940         (fmax): Likewise.
31941         (fminf): Likewise.
31942         (fmin): Likewise.
31943
31944         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31945         * math/math_private.h: Remove libc_fegetround* and
31946         libc_fesetround*.
31947         * sysdeps/i386/configure.in: Check for -msse2avx.
31948         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31949         also if SSE2AVX is defined.
31950         Remove libc_fegetround* and libc_fesetround*.
31951         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31952         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31953         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31954         of HAS_YMM_USABLE.
31955         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31956         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31957         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31958         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31959         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31960
31961         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31962
31963 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31964
31965         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31966         size is not set.
31967         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31968
31969 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31970
31971         [BZ #13618]
31972         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31973         relocation.
31974         * Makeconfig (libm): Define.
31975         * elf/Makefile: Add rules to build and run tst-relsort1.
31976         * elf/tst-relsort1.c: New file.
31977         * elf/tst-relsort1mod1.c: New file.
31978         * elf/tst-relsort1mod2.c: New file.
31979
31980 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31981
31982         * math/s_ldexp.c: Remove __STDC__ conditionals.
31983         * math/s_ldexpf.c: Likewise.
31984         * math/s_ldexpl.c: Likewise.
31985         * math/s_nextafter.c: Likewise.
31986         * math/s_nexttowardf.c: Likewise.
31987         * math/s_significand.c: Likewise.
31988         * math/s_significandf.c: Likewise.
31989         * math/s_significandl.c: Likewise.
31990         * math/w_jnl.c: Likewise.
31991         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31992         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31993         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31994         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31995         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31996         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31997         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31998         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31999         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32000         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32001         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32002         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32003         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32004         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32005         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32006         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32007         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32008         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32010         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32011         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32012         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32013         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32014         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32015         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32016         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32017         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32018         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32019         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32020         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32021         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32022         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32023         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32024         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32025         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32026         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32027         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32028         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32029         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32030         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32031         * sysdeps/ieee754/k_standard.c: Likewise.
32032         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32033         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32034         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32035         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32036         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32037         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32038         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32039         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32040         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32041         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32042         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32043         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32044         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32045         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32046         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32047         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32048         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32049         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32050         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32051         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32052         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32053         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32054         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32055         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32056         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32057         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32058         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32059         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32060         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32061         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32062         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32063         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32064         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32065         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32066         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32067         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32068         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32069         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32070         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32071         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32072         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32074         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32075         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32076         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32077         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32078         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32079         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32080         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32081         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32082         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32083         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32085         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32086         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32087         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32088         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32089         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32090         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32091         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32092         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32093         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32094         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32095         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32099         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32100         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32101         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32102         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32105         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32106         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32107         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32108         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32109         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32110         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32111         * sysdeps/ieee754/s_matherr.c: Likewise.
32112         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32113         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32114         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32115         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32116
32117 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32118
32119         * crypt/md5.h: Remove __STDC__ conditionals.
32120         * libio/libioP.h: Likewise.
32121         * locale/programs/config.h: Likewise.
32122         * sysdeps/generic/sysdep.h: Likewise.
32123         * sysdeps/i386/asm-syntax.h: Likewise.
32124         * sysdeps/s390/asm-syntax.h: Likewise.
32125         * sysdeps/unix/sysdep.h: Likewise.
32126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32128
32129 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32130
32131         * libio/libio.h: Remove __STDC__ conditionals.
32132         * malloc/obstack.h: Likewise.
32133         * math/complex.h: Likewise.
32134         * math/math.h: Likewise.
32135         * sysdeps/generic/_G_config.h: Likewise.
32136         * sysdeps/gnu/_G_config.h: Likewise.
32137         * sysdeps/mach/hurd/_G_config.h: Likewise.
32138         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32139         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32140         * sysdeps/sparc/bits/mathdef.h: Likewise.
32141
32142 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32143
32144         [BZ #13583]
32145         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32146         Clean up HAS_* macros.
32147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32148         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32149         possible.
32150         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32151         HAS_AVX.
32152         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32153         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32154         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32155         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32156         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32157
32158 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32159
32160         * elf/tst-unique3.cc (gets): Remove declaration.
32161         * elf/tst-unique3lib.cc (gets): Likewise.
32162         * elf/tst-unique3lib2.cc (gets): Likewise.
32163         * elf/tst-unique4.cc (gets): Likewise.
32164
32165 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32166
32167         * include/stdio.h: Add C++ protection.  Add gets declarations and
32168         definitions.
32169         * debug/tst-chk1.c: Don't declare gets here.
32170         * stdio-common/tst-gets.c: Likewise.
32171
32172 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32173
32174         * posix/glob: Remove directory.
32175
32176 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32177
32178         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32179
32180 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32181
32182         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32183         of the non-standard EPFNOSUPPORT.
32184
32185 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32186
32187         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32188         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32189         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32190
32191 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32192
32193         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32194
32195 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32196
32197         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32198         transient errors.
32199         * nscd/grpcache.c (cache_addgr): Likewise.
32200         * nscd/hstcache.c (cache_addhst): Likewise.
32201         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32202         * nscd/pwdcache.c (cache_addpw): Likewise.
32203         * nscd/servicescache.c (cache_addserv): Likewise.
32204
32205 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32206
32207         * malloc/malloc.c: Various cleanups.
32208         * malloc/hooks.c: Likewise.
32209
32210         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32211         * stdlib/bug-fmtmsg1.c: New file.
32212
32213         * stdlib/fmtmsg.c (init): Add missing unlock.
32214         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32215
32216 2012-01-12  Marek Polacek  <polacek@redhat.com>
32217
32218         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32219         and _GNU_SOURCE.
32220
32221 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32222
32223         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32224         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32225         macro to ensure uniqueness of label name.
32226         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32227         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32228
32229 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32230
32231         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32232
32233         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32234         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32235         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32236         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32237
32238 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32239
32240         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32241
32242         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32243         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32244         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32245
32246         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32247
32248         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32249         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32250         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32252
32253         * math/bits/math-finite.h: Add ldexp support.
32254
32255 2012-01-10  Marek Polacek  <polacek@redhat.com>
32256
32257         * locale/programs/localedef.h (show_archive_content): Add noreturn
32258         attribute.
32259
32260 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32261
32262         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32263
32264 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32265
32266         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32267
32268         * io/Makefile (headers): Add bits/poll2.h.
32269
32270 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32271
32272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32273         typo #include statement.
32274
32275 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32276
32277         * include/sys/cdefs.h: Define __attribute_alloc_size.
32278         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32279         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32280         * elf/pldd.c: Likewise.
32281         * iconv/iconv_charmap.c: Likewise.
32282         * iconv/iconvconfig.c: Likewise.
32283         * iconv/strtab.c: Likewise.
32284         * locale/programs/locale.c: Likewise.
32285         * locale/programs/localedef.h: Likewise.
32286         * locale/programs/simple-hash.c: Likewise.
32287         * nscd/nscd.h: Likewise.
32288         * nss/makedb.c: Likewise.
32289         * sysdeps/generic/ldconfig.h: Likewise.
32290         * locale/programs/localedef.c: Remove xmalloc prototype.
32291         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32292
32293 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32294
32295         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32296         appropriate.
32297
32298 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32299
32300         * math/Makefile (tests): Add tst-CMPLX.
32301         * math/tst-CMPLX.c: New file.
32302
32303         * math/complex.h (CMPLXL): Fix typo.
32304
32305         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32306         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32307         GLIBC_2.16.
32308         * debug/tst-chk1.c: Add poll and ppoll tests.
32309         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32310         * include/sys/poll.h: Add hidden proto for ppoll.
32311         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32312         * sysdeps/mach/hurd/ppoll.c: Likewise.
32313         * io/ppoll.c: Likewise.
32314         * debug/poll_chk.c: New file.
32315         * debug/ppoll_chk.c: New file.
32316         * include/bits/poll2.h: New file.
32317         * io/bits/poll2.h: New file.
32318
32319         [BZ #1350]
32320         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32321
32322         * configure.in: static is always set to yes.  Remove.
32323         * config.make.in: Don't set build-static.
32324         * Makeconfig: Remove use of build-static.
32325         * dlfcn/Makefile: Likewise.
32326         * elf/Makefile: Likewise.
32327         * math/Makefile: Likewise.
32328         * misc/Makefile: Likewise.
32329         * nptl/Makefile: Likewise.
32330         * sysdeps/mach/hurd/Makefile: Likewise.
32331
32332         * configure.in: PWD_P is not used anymore.
32333         * config.make.in: Remove PWD_P entry.
32334
32335         * configure.in: Remove last remnants of RANLIB.
32336         No need to check for signed size_t anymore.
32337         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32338         and IA-64.
32339         Remove __builtin_expect test because we require at least gcc 3.4.
32340         * aclocal.m4: Likewise.
32341
32342         * wcsmbs/mbrtoc16.c: Implement using towc function.
32343         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32344         * wcsmbs/wcsmbsload.c: Likewise.
32345         * iconv/gconv_simple.c: Likewise.
32346         * iconv/gconv_int.h: Likewise.
32347         * iconv/gconv_builtin.h: Likewise.
32348         * iconv/iconv_prog.c: Remove CHAR16 handling.
32349
32350         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32351
32352         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32353
32354         * configure.in: Remove --with-elf and --enable-bounded options.
32355         Dont set base_machine for ia64.  More non-ELF conditions removed.
32356         Remove testing and setting of leading underscore information.
32357         * config.make.in (build-bounded): Set to no.
32358         * config.h.in: Remove NO_UNDERSCORES entry.
32359         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32360         them.
32361         * csu/start.c: Remove !NO_UNDERSCORE code.
32362         * locale/localeinfo.h: Likewise.
32363         * sysdeps/generic/machine-gmon.h: Likewise.
32364         * sysdeps/generic/sysdep.h: Likewise.
32365         * sysdeps/i386/sysdep.h: Likewise.
32366         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32367         * sysdeps/mach/sysdep.h: Likewise.
32368         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32369         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32370         * sysdeps/sh/sysdep.h: Likewise.
32371         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32372         * sysdeps/unix/i386/sysdep.S: Likewise.
32373         * sysdeps/unix/sparc/start.c: Likewise.
32374         * sysdeps/unix/sparc/sysdep.S: Likewise.
32375         * sysdeps/unix/sparc/sysdep.h: Likewise.
32376         * sysdeps/unix/start.c: Likewise.
32377         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32378         * sysdeps/x86_64/sysdep.h: Likewise.
32379
32380 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32381
32382         [BZ #13553]
32383         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32384         for non-gcc.
32385         * argp/argp-fmtstream.h: Use const instead __const.
32386         * argp/argp.h: Likewise.
32387         * assert/assert.h: Likewise.
32388         * bits/fenv.h: Likewise.
32389         * bits/sched.h: Likewise.
32390         * bits/sigset.h: Likewise.
32391         * bits/sigthread.h: Likewise.
32392         * catgets/nl_types.h: Likewise.
32393         * conform/data/pthread.h-data: Likewise.
32394         * crypt/crypt-private.h: Likewise.
32395         * crypt/crypt.h: Likewise.
32396         * crypt/crypt_util.c: Likewise.
32397         * ctype/ctype.h: Likewise.
32398         * debug/execinfo.h: Likewise.
32399         * debug/mbsnrtowcs_chk.c: Likewise.
32400         * debug/mbsrtowcs_chk.c: Likewise.
32401         * debug/wcsnrtombs_chk.c: Likewise.
32402         * debug/wcsrtombs_chk.c: Likewise.
32403         * debug/wcstombs_chk.c: Likewise.
32404         * dirent/dirent.h: Likewise.
32405         * dlfcn/dlfcn.h: Likewise.
32406         * elf/neededtest4.c: Likewise.
32407         * grp/grp.h: Likewise.
32408         * gshadow/gshadow.h: Likewise.
32409         * iconv/gconv.h: Likewise.
32410         * iconv/gconv_int.h: Likewise.
32411         * iconv/gconv_simple.c: Likewise.
32412         * iconv/iconv.h: Likewise.
32413         * iconv/loop.c: Likewise.
32414         * iconv/skeleton.c: Likewise.
32415         * include/aio.h: Likewise.
32416         * include/aliases.h: Likewise.
32417         * include/argz.h: Likewise.
32418         * include/arpa/inet.h: Likewise.
32419         * include/assert.h: Likewise.
32420         * include/dirent.h: Likewise.
32421         * include/dlfcn.h: Likewise.
32422         * include/execinfo.h: Likewise.
32423         * include/fcntl.h: Likewise.
32424         * include/fenv.h: Likewise.
32425         * include/glob.h: Likewise.
32426         * include/grp.h: Likewise.
32427         * include/libintl.h: Likewise.
32428         * include/mntent.h: Likewise.
32429         * include/netdb.h: Likewise.
32430         * include/pwd.h: Likewise.
32431         * include/rpc/netdb.h: Likewise.
32432         * include/sched.h: Likewise.
32433         * include/search.h: Likewise.
32434         * include/shadow.h: Likewise.
32435         * include/signal.h: Likewise.
32436         * include/stdio.h: Likewise.
32437         * include/stdlib.h: Likewise.
32438         * include/string.h: Likewise.
32439         * include/sys/socket.h: Likewise.
32440         * include/sys/stat.h: Likewise.
32441         * include/sys/statfs.h: Likewise.
32442         * include/sys/statvfs.h: Likewise.
32443         * include/sys/syslog.h: Likewise.
32444         * include/sys/time.h: Likewise.
32445         * include/sys/uio.h: Likewise.
32446         * include/time.h: Likewise.
32447         * include/unistd.h: Likewise.
32448         * include/utmp.h: Likewise.
32449         * include/wchar.h: Likewise.
32450         * include/wctype.h: Likewise.
32451         * inet/aliases.h: Likewise.
32452         * inet/arpa/inet.h: Likewise.
32453         * inet/netinet/ether.h: Likewise.
32454         * inet/netinet/in.h: Likewise.
32455         * intl/libintl.h: Likewise.
32456         * io/bits/fcntl2.h: Likewise.
32457         * io/fcntl.h: Likewise.
32458         * io/ftw.h: Likewise.
32459         * io/sys/poll.h: Likewise.
32460         * io/sys/stat.h: Likewise.
32461         * io/sys/statfs.h: Likewise.
32462         * io/sys/statvfs.h: Likewise.
32463         * io/utime.h: Likewise.
32464         * libio/bits/stdio.h: Likewise.
32465         * libio/bits/stdio2.h: Likewise.
32466         * libio/libio.h: Likewise.
32467         * libio/libioP.h: Likewise.
32468         * libio/stdio.h: Likewise.
32469         * locale/lc-ctype.c: Likewise.
32470         * locale/locale.h: Likewise.
32471         * login/utmp.h: Likewise.
32472         * malloc/arena.c: Likewise.
32473         * malloc/malloc.c: Likewise.
32474         * malloc/malloc.h: Likewise.
32475         * malloc/mcheck.c: Likewise.
32476         * malloc/mtrace.c: Likewise.
32477         * math/bits/mathcalls.h: Likewise.
32478         * math/fenv.h: Likewise.
32479         * math/math_private.h: Likewise.
32480         * misc/bits/error.h: Likewise.
32481         * misc/bits/syslog.h: Likewise.
32482         * misc/err.h: Likewise.
32483         * misc/error.h: Likewise.
32484         * misc/fstab.h: Likewise.
32485         * misc/mntent.h: Likewise.
32486         * misc/regexp.h: Likewise.
32487         * misc/search.h: Likewise.
32488         * misc/sgtty.h: Likewise.
32489         * misc/sys/mman.h: Likewise.
32490         * misc/sys/syslog.h: Likewise.
32491         * misc/sys/uio.h: Likewise.
32492         * misc/sys/xattr.h: Likewise.
32493         * misc/ttyent.h: Likewise.
32494         * nis/rpcsvc/ypclnt.h: Likewise.
32495         * nss/nss.h: Likewise.
32496         * posix/bits/unistd.h: Likewise.
32497         * posix/fnmatch.h: Likewise.
32498         * posix/glob.h: Likewise.
32499         * posix/sched.h: Likewise.
32500         * posix/spawn.h: Likewise.
32501         * posix/sys/wait.h: Likewise.
32502         * posix/unistd.h: Likewise.
32503         * posix/wordexp.h: Likewise.
32504         * pwd/pwd.h: Likewise.
32505         * resolv/netdb.h: Likewise.
32506         * resource/sys/resource.h: Likewise.
32507         * rt/aio.h: Likewise.
32508         * rt/bits/mqueue2.h: Likewise.
32509         * rt/mqueue.h: Likewise.
32510         * shadow/shadow.h: Likewise.
32511         * signal/signal.h: Likewise.
32512         * socket/send.c: Likewise.
32513         * socket/sendto.c: Likewise.
32514         * socket/sys/socket.h: Likewise.
32515         * stdio-common/printf.h: Likewise.
32516         * stdlib/bits/stdlib.h: Likewise.
32517         * stdlib/fmtmsg.h: Likewise.
32518         * stdlib/monetary.h: Likewise.
32519         * stdlib/stdlib.h: Likewise.
32520         * stdlib/ucontext.h: Likewise.
32521         * streams/stropts.h: Likewise.
32522         * string/argz.h: Likewise.
32523         * string/bits/string2.h: Likewise.
32524         * string/string.h: Likewise.
32525         * string/strings.h: Likewise.
32526         * sunrpc/rpc/auth.h: Likewise.
32527         * sunrpc/rpc/auth_des.h: Likewise.
32528         * sunrpc/rpc/clnt.h: Likewise.
32529         * sunrpc/rpc/netdb.h: Likewise.
32530         * sunrpc/rpc/pmap_clnt.h: Likewise.
32531         * sunrpc/rpc/xdr.h: Likewise.
32532         * sysdeps/generic/inttypes.h: Likewise.
32533         * sysdeps/generic/net/if.h: Likewise.
32534         * sysdeps/generic/sys/swap.h: Likewise.
32535         * sysdeps/gnu/net/if.h: Likewise.
32536         * sysdeps/gnu/utmpx.h: Likewise.
32537         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32538         * sysdeps/i386/i486/bits/string.h: Likewise.
32539         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32540         * sysdeps/s390/bits/string.h: Likewise.
32541         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32542         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32543         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32544         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32545         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32546         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32547         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32548         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32549         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32550         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32551         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32552         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32553         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32554         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32555         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32556         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32557         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32558         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32559         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32560         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32561         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32562         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32563         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32564         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32565         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32566         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32567         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32568         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32569         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32570         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32571         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32572         * sysvipc/sys/ipc.h: Likewise.
32573         * sysvipc/sys/msg.h: Likewise.
32574         * sysvipc/sys/sem.h: Likewise.
32575         * sysvipc/sys/shm.h: Likewise.
32576         * termios/termios.h: Likewise.
32577         * time/sys/time.h: Likewise.
32578         * time/time.h: Likewise.
32579         * wcsmbs/bits/wchar2.h: Likewise.
32580         * wcsmbs/uchar.h: Likewise.
32581         * wcsmbs/wchar.h: Likewise.
32582         * wctype/wctype.h: Likewise.
32583
32584         [BZ #13551]
32585         * Makeconfig: Remove all but ELF support including AIX support.
32586         * Makerules: Likewise.
32587         * config.h.in: Likewise.
32588         * config.make.in: Likewise.
32589         * configure: Likewise.
32590         * configure.in: Likewise.
32591         * csu/Makefile: Likewise.
32592         * csu/version.c: Likewise.
32593         * debug/Makefile: Likewise.
32594         * dlfcn/Makefile: Likewise.
32595         * elf/Makefile: Likewise.
32596         * extra-lib.mk: Likewise.
32597         * iconv/Makefile: Likewise.
32598         * include/libc-symbols.h: Likewise.
32599         * include/shlib-compat.h: Likewise.
32600         * resolv/Makefile: Likewise.
32601         * resolv/res_libc.c: Likewise.
32602         * rt/Makefile: Likewise.
32603         * sysdeps/i386/asm-syntax.h: Likewise.
32604         * sysdeps/i386/sysdep.h: Likewise.
32605         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32606         * sysdeps/mach/sysdep.h: Likewise.
32607         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32608         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32609         * sysdeps/s390/asm-syntax.h: Likewise.
32610         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32611         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32612         * sysdeps/sh/sysdep.h: Likewise.
32613         * sysdeps/unix/sparc/sysdep.h: Likewise.
32614         * sysdeps/wordsize-32/divdi3.c: Likewise.
32615         * sysdeps/x86_64/sysdep.h: Likewise.
32616
32617         * argp/Versions: Remove _argp_unlock_xxx.
32618
32619         [BZ #13559]
32620         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32621         * abilist/libBrokenLocale.abilist: Likewise.
32622         * abilist/libanl.abilist: Likewise.
32623         * abilist/libc.abilist: Likewise.
32624         * abilist/libcrypt.abilist: Likewise.
32625         * abilist/libdl.abilist: Likewise.
32626         * abilist/libm.abilist: Likewise.
32627         * abilist/libnsl.abilist: Likewise.
32628         * abilist/libpthread.abilist: Likewise.
32629         * abilist/libresolv.abilist: Likewise.
32630         * abilist/librt.abilist: Likewise.
32631         * abilist/libthread_db.abilist: Likewise.
32632         * abilist/libutil.abilist: Likewise.
32633         * abilist/libnss_db.abilist: New file.
32634
32635         * scripts/abilist.awk: Add support for indirect functions.
32636
32637         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32638
32639         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32640
32641         * shlib-versions: Remove entries for ports architectures.
32642
32643         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32644         files in ports.
32645         * elf/stackguard-macros.h: Remove support for IA-64.
32646         * elf/tst-auditmod1.c: Likewise.
32647         * sysdeps/generic/ldsodefs.h: Likewise.
32648
32649         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32650         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32651         configure files.
32652
32653         [BZ #13552]
32654         * configure.in: Remove --enable-omitfp support.
32655         * FAQ.in: Adjust.
32656         * config.make.in: Likewise.
32657         * Makeconfig: Likewise.
32658         * manual/install.texi: Likewise.
32659
32660         In case anyone cares, the IA-64 architecture could move to ports.
32661         * sysdeps/ia64/*: Removed.
32662         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32663         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32664
32665         [BZ #13555]
32666         * configure.in: Remove entries for unsupported architectures.
32667
32668         [BZ #13533]
32669         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32670         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32671         routines.
32672         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32673         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32674         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32675         fall back to using wcrtomb.
32676         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32677         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32678         renaming.
32679         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32680         * wcsmbs/tst-c16c32-1.c: New file.
32681
32682         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32683         local variable.
32684
32685         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32686
32687         * elf/tst-unique3.cc: Add explicit declaration of gets.
32688         * elf/tst-unique3lib.cc: Likewise.
32689         * elf/tst-unique3lib2.cc: Likewise.
32690         * elf/tst-unique4.cc: Likewise.
32691
32692         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32693
32694 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32695
32696         [BZ #13566]
32697         * assert/assert.h (static_assert): Don't define for C++.
32698         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32699         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32700
32701 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32702
32703         * iconv/loop.c (single loop): Fix assertion in storing of
32704         remaining bytes.
32705
32706         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32707
32708 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32709
32710         * posix/getconf.c: Update copyright year.
32711         * nss/getent.c: Likewise.
32712         * nss/makedb.c: Likewise.
32713         * iconv/iconvconfig.c: Likewise.
32714         * iconv/iconv_prog.c: Likewise.
32715         * elf/ldconfig.c: Likewise.
32716         * elf/pldd.c: Likewise.
32717         * elf/sotruss.ksh: Likewise.
32718         * catgets/gencat.c: Likewise.
32719         * csu/version.c: Likewise.
32720         * elf/ldd.bash.in: Likewise.
32721         * elf/sprof.c (print_version): Likewise.
32722         * locale/programs/locale.c: Likewise.
32723         * locale/programs/localedef.c: Likewise.
32724         * login/programs/pt_chown.c: Likewise.
32725         * nscd/nscd.c (print_version): Likewise.
32726         * debug/xtrace.sh: Likewise.
32727         * malloc/memusage.sh: Likewise.
32728         * malloc/mtrace.pl: Likewise.
32729         * debug/catchsegv.sh: Likewise.
32730
32731 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32732
32733         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32734         pure attribute.
32735
32736 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32737
32738         [BZ #13533]
32739         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32740         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32741         transformations.
32742         * iconv/gconv_int.h: Likewise.
32743         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32744         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32745         from libc for GLIBC_2.16.
32746         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32747         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32748         * wcsmbs/uchar.h: Really define mbstate_t.
32749         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32750         * wcsmbs/c16rtomb.c: New file.
32751         * wcsmbs/mbrtoc16.c: New file.
32752         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32753         for C/POSIX locale.
32754         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32755         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32756
32757         * wcsmbs/wchar.h: Add missing __restrict.
32758
32759 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32760
32761         [BZ #13532]
32762         * time/Makefile (routines): Add timespec_get.
32763         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32764         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32765         timespec for ISO C11.
32766         * time/timespec_get.c: New file.
32767         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32768         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32769
32770         [BZ #13531]
32771         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32772         * stdlib/stdlib.h: Declare aligned_alloc.
32773         * Versions.def: Add GLIBC_2.16 for libc.
32774         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32775
32776         [BZ 13527]
32777         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32778         ISO C11.
32779
32780         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32781         code.
32782
32783         [BZ #13528]
32784         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32785
32786         [BZ #13529]
32787         * assert/assert.h (static_assert): Define.
32788
32789         * version.h: Update for 2.16 development version.
32790
32791         [BZ #13526]
32792         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32793         _ISOC11_SOURCE.
32794
32795         * version.h (RELEASE): Bump for 2.15 release.
32796         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32797
32798         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32799         Patch by Marek Polacek <mpolacek@redhat.com>.
32800
32801         * bits/byteswap.h: Protect long long constants with __extension__.
32802         * sysdeps/i386/bits/byteswap.h: Likewise.
32803         * sysdeps/ia64/bits/byteswap.h: Likewise.
32804         * sysdeps/s390/bits/byteswap.h: Likewise.
32805         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32806
32807 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32808
32809         [BZ #13540]
32810         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32811         destination buffer.
32812         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32813
32814 2011-12-23  Marek Polacek  <polacek@redhat.com>
32815
32816         * elf/dl-addr.c (determine_info): Add inline keyword.
32817         * elf/tst-auditmod4b.c (check_avx): Likewise.
32818         * elf/tst-auditmod6b.c (check_avx): Likewise.
32819         * elf/tst-auditmod6c.c (check_avx): Likewise.
32820         * elf/tst-auditmod7b.c (check_avx): Likewise.
32821
32822 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32823
32824         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32825         !__SSE_MATH__.
32826
32827 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32828
32829         [BZ #13540]
32830         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32831         processing for last bytes.
32832
32833 2011-08-06  Bruno Haible  <bruno@clisp.org>
32834
32835         [BZ #13061]
32836         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32837         U+0385, not to U+1FEE.
32838
32839         [BZ #13062]
32840         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32841         entry for U+00A5 U+0301.
32842
32843 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32844
32845         [BZ #13166]
32846         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32847         buffer for the output is too small.
32848
32849         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32850         optimization.
32851
32852         [BZ #13185]
32853         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32854         SSE flags if possible.
32855
32856 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32857
32858         [BZ #13540]
32859         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32860         processing for last bytes.
32861
32862 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32863
32864         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32865         (syscall-list-default-options, syscall-list-default-condition)
32866         (syscall-list-includes): Define.
32867         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32868         list of ABIs and options and #if conditions for each ABI.  Do not
32869         handle common syscalls between ABIs specially.
32870         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32871         Remove.
32872         (syscall-list-variants, syscall-list-32bit-options)
32873         (syscall-list-32bit-condition, syscall-list-64bit-options)
32874         (syscall-list-64bit-condition): Define.
32875         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32876         (syscall-list-variants, syscall-list-32bit-options)
32877         (syscall-list-32bit-condition, syscall-list-64bit-options)
32878         (syscall-list-64bit-condition): Define.
32879         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32880         Remove.
32881         (syscall-list-variants, syscall-list-32bit-options)
32882         (syscall-list-32bit-condition, syscall-list-64bit-options)
32883         (syscall-list-64bit-condition): Define.
32884         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32885         Remove.
32886         (syscall-list-variants, syscall-list-32bit-options)
32887         (syscall-list-32bit-condition, syscall-list-64bit-options)
32888         (syscall-list-64bit-condition): Define.
32889
32890 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32891
32892         * locale/iso-639.def: Add brx entry.
32893
32894         [BZ #13328]
32895         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32896         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32897
32898         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32899         __feraiseexcept_renamed.
32900
32901 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32902
32903         [BZ #13538]
32904         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32905         EPOLLET with unsigned values.
32906         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32907         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32908
32909         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32910         to large cancellation.
32911         * math/s_cacoshf.c: Likewise.
32912         * math/s_cacoshl.c: Likewise.
32913
32914 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32915
32916         [BZ #13305]
32917         [BZ #12786]
32918         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32919         * math/s_cacoshf.c: Likewise.
32920         * math/s_cacoshl.c: Likewise.
32921
32922 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32923
32924         [BZ #13439]
32925         * iconv/gconv.h: Define __GCONV_SWAP.
32926         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32927         * iconvdata/utf-16.c: Likewise.
32928         * iconvdata/utf-32.c: Likewise.
32929
32930 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32931
32932         [BZ #13524]
32933         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32934         numerator after shifting it by one limb.
32935
32936 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32937
32938         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32939         under [__USE_EXTERN_INLINES].
32940
32941 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32942
32943         [BZ #13446]
32944         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32945
32946 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32947
32948         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32949         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32950         optimized code.
32951         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32952         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32953         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32954         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32955         for strncasecmp/strncasecmp_l compilation.
32956         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32957         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32958
32959 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32960
32961         [BZ #13484]
32962         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32963         of __asm__.
32964
32965 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32966
32967         [BZ #13506]
32968         * time/tzfile.c (__tzfile_read): Check values from file header.
32969
32970 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32971
32972         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32973         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32974         * powerpc/powerpc32/dl-start.S: Likewise.
32975         * powerpc/powerpc32/elf/start.S: Likewise.
32976         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32977         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32978         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32979         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32980         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32981         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32982         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32983         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32984         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32985         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32986         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32987         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32988         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32989         * powerpc/powerpc32/memset.S: Likewise.
32990         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32991         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32992         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32993         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32994         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32995         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32996         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32997         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32998         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32999         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33000         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33001         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33002         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33003
33004 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33005
33006         * math/libm-test.inc: Added more nearbyint tests.
33007         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33008         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33009         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33010         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33011
33012 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
33013
33014         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33015         FD_CLOEXEC.
33016
33017 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33018
33019         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33020         Add wcscpy-ssse3 wcscpy-c.
33021         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33022         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33023         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33024         * sysdeps/x86_64/wcschr.S: New file.
33025         * sysdeps/x86_64/wcsrchr.S: New file.
33026         * string/test-strcmp.c: Remove checking of wcscmp function for
33027         wrong alignments.
33028         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33029         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33030         wcsrchr-sse2 wcsrchr-c.
33031         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33032         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33033         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33034         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33035         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33036         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33037         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33038         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33039         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33040         * wcsmbc/wcschr.c (WCSCHR): New macro.
33041
33042 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33043
33044         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33045         * wcsmbs/test-wcsrchr.c: New file.
33046         * string/test-strrchr.c: Add wcsrchr support.
33047         (WIDE): New macro.
33048         * wcsmbs/test-wcscpy.c: New file.
33049         * string/test-strcpy.c: Add wcscpy support.
33050         (WIDE): New macro.
33051
33052 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
33053
33054         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33055         the inner loop.
33056
33057 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
33058
33059         [BZ #13472]
33060         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33061
33062 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
33063
33064         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33065         Minor optimizations.
33066
33067         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33068         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33069         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33070
33071 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33072
33073         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33074         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33075         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33076         for gcc to avoid warnings.
33077         * inet/Makefile (tests): Add tst-checks.
33078         * inet/tst-checks.c: New file.
33079
33080         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33081         warning.
33082
33083         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33084         __wmemcmp_sse2.
33085
33086         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33087         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33088
33089         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33090
33091 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33092
33093         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33094         problem.
33095
33096         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33097
33098 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33099
33100         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33101         conditional on GCC version.
33102         (__arch_compare_and_exchange_val_8_acq)
33103         (__arch_compare_and_exchange_val_16_acq)
33104         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33105         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33106         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33107
33108 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33109
33110         * sysdeps/sh/backtrace.c: New file.
33111
33112 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33113
33114         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33115         parenthesis.
33116
33117 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33118
33119         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33120         falling back to utime.
33121
33122 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33123
33124         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33125         expectations for float.
33126
33127 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33128
33129         * locale/weight.h (findidx): Add parameter len.
33130         * locale/weightwc.h (findidx): Likewise.
33131         * posix/fnmatch_loop.c (FCT): Adjust caller.
33132         * posix/regcomp.c (build_equiv_class): Likewise.
33133         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33134         * posix/regexec.c (check_node_accept_bytes): Likewise.
33135         * string/strcoll_l.c (STRCOLL): Likewise.
33136         * string/strxfrm_l.c (STRXFRM): Likewise.
33137
33138 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33139
33140         * Makefile.in: Remove CVSOPT handling.
33141         * configure.in: Remove use of AC_REVISION.
33142         * iconvdata/Makefile (distribute): No need to filter out CVS.
33143         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33144         handling.
33145
33146 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33147
33148         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33149         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33150         [USE_AS_STRNCASECMP_L]: Likewise.
33151         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33152         NO_TLS_DIRECT_SEG_REFS.
33153         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33154         Fix argument offsets for non-PIC.
33155         [USE_AS_STRNCASECMP_L]: Likewise.
33156         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33157         NO_TLS_DIRECT_SEG_REFS.
33158
33159 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33160
33161         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33162         O_CLOEXEC.
33163         * locale/loadlocale.c (_nl_load_locale): Likewise.
33164
33165 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33166
33167         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33168         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33169         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33170         (SYSCALL_GETTIME): Set errno on error.
33171
33172         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33173         count references to noai6ai_cached.
33174
33175 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33176
33177         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33178
33179         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33180         FD_CLOEXEC for /proc/self/maps.
33181
33182         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33183         FD_CLOEXEC for /proc/meminfo.
33184
33185         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33186         gai.conf.
33187
33188         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33189         FD_CLOEXEC for given file.
33190
33191         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33192
33193         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33194         FD_CLOEXEC for /etc/hosts.
33195         (_gethtent): Likewise.
33196
33197         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33198
33199         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33200         cancellation and set FD_CLOEXEC for /etc/netgroup.
33201
33202         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33203         reading /etc/publickey.
33204
33205         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33206         allow cancellation when reading /etc/group.
33207
33208         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33209         cancellation.
33210         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33211
33212         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33213         when using data file.
33214
33215         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33216
33217         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33218         (write_nis_obj): Use "c" and "e" in fopen.
33219
33220         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33221
33222         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33223
33224         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33225
33226         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33227
33228         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33229         locale.alias.
33230
33231         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33232
33233         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33234
33235         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33236
33237         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33238         file parsing and set FD_CLOEXEC.
33239
33240 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33241
33242         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33243
33244 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33245
33246         * malloc/arena.c (arena_get2): Don't call reused_arena when
33247         _int_new_arena failed.
33248
33249 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33250
33251         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33252         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33253         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33254         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33255         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33256         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33257         to compile strcasecmp and strncasecmp.
33258         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33259         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33260
33261         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33262
33263 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33264
33265         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33266         locale-defines.sym to gen-as-const-headers.
33267         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33268         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33270         to compile strcasecmp and strncasecmp.
33271         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33272         strcasecmp_l and strncasecmp_l.
33273         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33274         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33275         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33276         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33277         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33278         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33279         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33280         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33281         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33282         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33283         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33284
33285 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33286
33287         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33288         result of SYSDEP_GETTIME_CPU to retval.
33289         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33290         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33291
33292         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33293         variable.
33294
33295         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33296         mantissa words.
33297         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33298
33299         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33300         from unused variable.
33301
33302         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33303         DWARF definitions.
33304         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33305         for assembling.
33306
33307         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33308         over namespaces.
33309
33310         * sunrpc/rpc_prot.c (rejected): Fix case value.
33311
33312         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33313         unsigned long long int to avoid warnings in shift.
33314
33315         * posix/regex_internal.c (re_string_reconstruct): Actually use result
33316         of use of trans.
33317         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33318         variable tmp.
33319
33320         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33321         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33322         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33323
33324         * nis/nis_table.c (nis_list): Use variable of correct type for
33325         result of __follow_path call.
33326
33327 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33328
33329         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33330         of math functions ceil, trunc, floor, round, and sqrt, when
33331         avaliable on the platform.
33332         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33333         name clash.
33334         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33335         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33336         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33337
33338 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33339
33340         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33341         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33342
33343 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33344
33345         * include/unistd.h: Fix __readlink return type.
33346         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33347
33348 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33349
33350         * stdlib/ucontext.h: Undo last change for makecontext.
33351
33352 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33353
33354         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33355
33356         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33357         * setjmp/setjmp.h: Mark functions as non-leaf.
33358         * setjmp/bits/setjmp2.h: Likewise.
33359         * stdlib/ucontext.h: Likewise.
33360
33361 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33362
33363         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33364         (reused_arena): Don't check arena limit.
33365         (arena_get2): Atomically check arena limit.
33366
33367 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33368
33369         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33370         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33371
33372         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33373         instructions.
33374
33375 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33376
33377         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33378         handler when locking.
33379
33380         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33381         Fix size of allocated buffer.
33382
33383 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33384
33385         [BZ #10103]
33386         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33387         declarations for long double functions.
33388         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33389
33390         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33391
33392 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33393
33394         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33395         installed.
33396
33397         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33398         is disabled.
33399
33400 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33401
33402         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33403
33404 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33405
33406         * include/alloca.h (stackinfo_alloca_round): Define.
33407         (extend_alloca): Use it.
33408         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33409         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33410         here.
33411
33412         * scripts/check-local-headers.sh: Ignore libaudit.h.
33413
33414         * nscd/Makefile (extra-objs): Make recursively expanded.
33415
33416 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33417
33418         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33419         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33420
33421         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33422         * posix/tst-rfc3484-2.c: Likewise.
33423         * posix/tst-rfc3484-3.c: Likewise.
33424
33425         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33426         process_vm_writev.
33427         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33428         process_vm_writev.
33429         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33430         process_vm_writev from libc using GLIBC_2.15 version.
33431
33432         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33433
33434 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33435
33436         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33437         stack usage.
33438
33439 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33440
33441         [BZ #13367]
33442         * nss/getent.c (initgroups_keys): Show error message in case no group
33443         names are given.
33444
33445         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33446         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33447         __bump_nl_timestamp.
33448         * nscd/connections (nscd_init): When host database is served open
33449         netlink socket and request notification about configuration changes.
33450         (main_loop_poll): Track netlink file descriptor and bump timestamp
33451         in case data becomes available.
33452         (main_loop_epoll): Likewise.
33453         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33454         (database_pers_head): Add extra_data fileds.
33455         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33456         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33457         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33458         Adjust caller.
33459         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33460         in6ai data, call __free_in6ai.
33461         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33462         Add -DHAVE_NETLINK.
33463         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33464         interface information.  Reuse previous data if netlink timestamp
33465         is not changed.
33466         (__bump_nl_timestamp): New function.
33467         (__free_in6ai): New function.
33468
33469 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33470
33471         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33472         close_not_cancel_no_status here.
33473         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33474
33475 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33476
33477         [BZ #13276]
33478         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33479         return value.
33480
33481         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33482         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33483         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33484
33485 2011-07-03  Andreas Jaeger  <aj@suse.de>
33486
33487         [BZ #10709]
33488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33489         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33490         * math/libm-test.inc (sin_test): Add test case.
33491
33492 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33493
33494         [BZ #13337]
33495         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33496         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33497
33498         * elf/chroot_canon.c (chroot_canon): Cleanups.
33499
33500         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33501
33502         [BZ #13335]
33503         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33504         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33505
33506         * string/test-strchr.c: Make usable for strchrnul testing.
33507         * string/test-strchrnul.c: New file.
33508         * string/Makefile (strop-tests): Add strchrnul.
33509
33510         * po/it.po: Update from translation team.
33511         * po/es.po: Likewise.
33512
33513 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33514
33515         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33516         the three constants needed as parameters.  Drop the others.
33517         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33518         __m128i_strloadu_tolower.
33519         Create and initialize variable zero and use it in all the places
33520         where _mm_setzero_si128 was used.
33521
33522         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33523         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33524         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33525         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33526         anymore.
33527         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33528         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33529         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33530         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33531         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33532         __mpranred, __mptan.
33533         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33534         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33535         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33536         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33537         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33538         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33539         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33540         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33541         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33542
33543 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33544
33545         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33546         redefine if SHARED.
33547         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33548
33549         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33550         wide char related routines to wcsmbs subdir.
33551
33552 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33553
33554         [BZ #13344]
33555         * misc/sys/cdefs.h (__THROWNL): Define.
33556         * posix/unistd.h: Use __THREADNL instead of __THREAD
33557         for memory synchronization functions.
33558
33559 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33560
33561         [BZ #13349]
33562         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33563         doesn't exist.
33564         * manual/stdio.texi (Obstack Streams): Node removed.
33565
33566 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33567
33568         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33569         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33570         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33571
33572         * math/math_private.h (math_force_eval): Allow non-addressable
33573         arguments.
33574         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33575
33576 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33577
33578         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33579         file is not needed.
33580
33581         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33582         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33583         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33584         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33585         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33586         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33587         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33588         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33589         Add AVX variants.
33590         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33591         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33592         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33593         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33594         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33595         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33596         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33597         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33598         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33599         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33600         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33601         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33602         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33603         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33604         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33605         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33606         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33607         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33608         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33609
33610         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33611         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33612
33613         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33614         place.  Use VEX encoding when compiling for AVX.
33615
33616 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33617
33618         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33619         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33620
33621         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33622
33623 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33624
33625         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33626         useless if() expression.
33627         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33628         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33629         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33630         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33631         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33632         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33633         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33634         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33635         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33636         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33637         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33638         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33639         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33640         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33641         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33642         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33643         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33644         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33645         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33646
33647         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33648
33649 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33650
33651         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33652         condition.
33653         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33654
33655 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33656
33657         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33658         .text section.  Avoid duplicate constants.
33659         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33661         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33663         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33664         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33665         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33666         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33667         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33668         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33669         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33670         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33671         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33672         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33673         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33674         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33675         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33676         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33677         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33678         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33679         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33680         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33681         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33682         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33683         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33684         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33685         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33686         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33687         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33688         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33689         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33690         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33691         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33692         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33693         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33694         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33695         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33696         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33697         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33698         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33699         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33700         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33701         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33702         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33703         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33704
33705 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33706
33707         * sysdeps/x86_64/dla.h: Move to ...
33708         * sysdeps/x86_64/fpu/dla.h: ...here.
33709         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33710         situations.  Use __builtin_fma only for gcc 4.6 and up.
33711
33712         * config.make.in: Add have-mfma4 entry.
33713         * configure.in: Substitute libc_cv_cc_fma4.
33714         * math/Makefile (dbl-only-routines): Add sincostab.
33715         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33716         Use __sincostab not sincos.
33717         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33718         name is a macro.
33719         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33720         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33721         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33723         using __copysign.
33724         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33725         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33726         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33727         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33728         and __inv.
33729         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33730         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33731         __copysign.
33732         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33733         define aliases when function name is a macro.
33734         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33735         sysdeps/ieee754/dbl-64/sincos.tbl.
33736         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33737         fma4-enabled routines.
33738         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33739         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33740         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33741         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33742         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33743         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33744         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33745         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33746         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33747         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33748         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33749         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33750         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33751         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33752         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33753         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33754         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33755         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33756         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33757         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33758         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33759         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33760         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33761         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33762         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33763         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33764         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33765         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33766         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33767         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33768
33769         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33770         rename.
33771         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33772         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33773         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33775         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33776         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33777         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33778         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33779
33780 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33781
33782         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33783
33784 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33785
33786         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33787
33788         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33789         prediction.
33790         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33791
33792         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33793         Remove unused variable magic_bits.
33794         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33795
33796         * string/strnlen.c: Define and use STRNLEN macro.
33797         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33798         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33799         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33800         * wcsmbs/wcslen.c: Define and use WCSLEN.
33801         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33802         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33803         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33804         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33805         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33806         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33807         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33808
33809 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33810
33811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33812         strnlen-sse2-no-bsf.
33813         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33814         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33815         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33816         Add strnlen support.
33817         (USE_AS_STRNLEN): New macro.
33818         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33819         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33820         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33821         * sysdeps/x86_64/wcslen.S: New file.
33822
33823 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33824
33825         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33826         XMM-moves are used for copying on small sizes.
33827
33828 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33829
33830         * wcsmbs/Makefile (strop-tests): Add wcschr.
33831         * wcsmbs/test-wcschr.c: New file.
33832         * string/test-strchr.c: Update.
33833         Add wcschr support.
33834         (WIDE): New macro.
33835
33836 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33837
33838         * wcsmbs/Makefile (strop-tests): Add wcslen.
33839         * wcsmbs/test-wcslen.c: New file.
33840         * string/test-strlen.c: Update.
33841         Add wcslen support.
33842         (WIDE): New macro.
33843
33844 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33845
33846         * po/it.po: Update from translation team.
33847
33848 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33849
33850         * sysdeps/x86_64/wcscmp.S: Update.
33851         Fix wrong comparison semantics.
33852         wcscmp shall use signed comparison not unsigned.
33853         Don't use substraction to avoid overflow bug.
33854         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33855         * wcsmbc/wcscmp.c: Likewise.
33856         * string/test-strcmp.c: Likewise.
33857         Add new tests to check cases with negative values.
33858
33859 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33860
33861         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33862         * sysdeps/x86_64/dla.h: ...here.  New file.
33863         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33864         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33866         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33868         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33869         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33870         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33871         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33872
33873 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33874
33875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33876         __ynl_finite aliases.
33877
33878 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33879
33880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33881
33882         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33883         define DLA_FMA.
33884         [DLA_FMA] (EMULV): Use DLA_FMA.
33885         [DLA_FMA] (MUL12): Use EMULV.
33886         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33887         that are not needed.
33888         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33890         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33891         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33892         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33893         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33894         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33895
33896 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33897
33898         * math/s_nan.c: Undef __nan.
33899         * math/s_nanf.c: Undef __nanf.
33900         * math/s_nanl.c: Undef __nanl.
33901         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33902         "math_private.h".
33903
33904 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33905
33906         * math/s_catan.c: Add branch predictions.
33907         * math/s_catanf.c: Likewise.
33908         * math/s_catanh.c: Likewise.
33909         * math/s_catanhf.c: Likewise.
33910         * math/s_catanhl.c: Likewise.
33911         * math/s_catanl.c: Likewise.
33912         * math/s_cexp.c: Likewise.
33913         * math/s_cexpf.c: Likewise.
33914         * math/s_cexpl.c: Likewise.
33915         * math/s_clog.c: Likewise.
33916         * math/s_clog10.c: Likewise.
33917         * math/s_clog10f.c: Likewise.
33918         * math/s_clog10l.c: Likewise.
33919         * math/s_clogf.c: Likewise.
33920         * math/s_clogl.c: Likewise.
33921         * math/s_csqrt.c: Likewise.
33922         * math/s_csqrtf.c: Likewise.
33923         * math/s_csqrtl.c: Likewise.
33924         * math/s_ctanf.c: Likewise.
33925         * math/s_ctanh.c: Likewise.
33926         * math/s_ctanhf.c: Likewise.
33927         * math/s_ctanhl.c: Likewise.
33928         * math/s_ctanl.c: Likewise.
33929
33930         * math/math_private.h: Define __nan, __nanf, __nanl.
33931         * math/s_cacosh.c: Include <math_private.h>.
33932         * math/s_cacoshl.c: Likewise.
33933         * math/s_casinh.c: Likewise.
33934         * math/s_casinhf.c: Likewise.
33935         * math/s_casinhl.c: Likewise.
33936         * math/s_ccos.c: Rely entire on ccosh.
33937         * math/s_ccosf.c: Rely entire on ccoshf.
33938         * math/s_ccosl.c: Rely entirely on ccoshl.
33939         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33940         Remove tests for FE_INVALID.
33941         * math/s_ccoshf.c: Likewise.
33942         * math/s_ccoshl.c: Likewise.
33943         * math/s_csin.c: Likewise.
33944         * math/s_csinf.c: Likewise.
33945         * math/s_csinh.c Likewise.
33946         * math/s_csinhf.c: Likewise.
33947         * math/s_csinhl.c: Likewise.
33948         * math/s_csinl.c: Likewise.
33949         * math/s_ctan.c: Likewise.
33950         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33951         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33952         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33953
33954 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33955
33956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33957         compilation problems.
33958
33959         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33960         __builtin_expect.
33961
33962 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33963
33964         * sysdeps/i386/configure.in: Test for -mfma4 option.
33965         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33966         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33967         COMMON_CPUID_INDEX_80000001.
33968         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33969         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33970         use it if FMA3 is not supported.
33971         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33972
33973         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33974         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33975
33976 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33977
33978         [BZ #12892]
33979         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33980         it would create a cycle with a link time dependency.
33981
33982 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33983
33984         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33985         instruction.
33986         * string/Makefile (strop-tests): Add rawmemchr.
33987         * string/test-rawmemchr.c: New file.
33988
33989         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33990         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33991         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33992         when compiling str{,n}casecmp and when AVX is available.  Hook up
33993         new optimized code in initializers.
33994
33995 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33996
33997         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33998         __feraiseexcept instead of feraiseexcept.
33999
34000 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
34001
34002         * math/math_private.h: Define defaults for libc_fetestexcept and
34003         libc_feupdateenv.
34004         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34005         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34006         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34007         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34008         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34009         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34010         libc_fetestexcept and libc_feupdateenv.
34011
34012         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34013         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34014         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34015         * sysdeps/x86_64/fpu/math_private.h: Define special version of
34016         libc_feholdexcept_setround.
34017
34018         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34019         Add s_nearbyint-c and s_nearbyintf-c.
34020         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34021         nearbyintf inlines.
34022         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34023         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34024         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34025         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34026
34027         * math/math_private.h: Define defaults for libc_fegetround,
34028         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34029         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34030         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34031         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34032         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34033         standard functions.
34034         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34035         Remove comments and hacks for old compiler versions.
34036         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34037         libc_fegetround, libc_fesetround, libc_feholdexcept, and
34038         libc_feholdexceptl.
34039
34040 2011-10-18  Andreas Schwab  <schwab@redhat.com>
34041
34042         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34043         (__feraiseexcept_renamed): Add __NTH.
34044         (feraiseexcept): Add __NTH.  Rename local variables to fix
34045         namespace violations.
34046
34047 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
34048
34049         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34050
34051         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34052
34053         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34054         recently added interfaces.
34055         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34056
34057         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34058         about macro parameter expansion.
34059
34060         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34061         __NO_MATH_INLINES is defined.  Cleanups.
34062
34063         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34064         and __floorf is target has SSE4.1.
34065         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34066         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34067         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34068         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34069
34070         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34071         name.
34072         (floorf): Likewise.
34073
34074         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34075
34076 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34077
34078         * misc/sys/cdefs.h: Fix last change.
34079
34080         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34081         database lookup.
34082
34083 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34084
34085         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34086
34087         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34088         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34089         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34090         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34091         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34092         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34093         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34094         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34095         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34096         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34097         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34098         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34099         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34100         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34101         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34102         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34103         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34104         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34105         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34106         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34107         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34108         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34109
34110         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34111         ceil, ceilf, floor, floorf.
34112
34113         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34114         Perform IRELATIVE relocations last.
34115
34116         * elf/do-rel.h: Add another parameter nrelative, replacing the
34117         local variable with the same name.  Change name of the function
34118         to end in Rel or Rela (uppercase).
34119         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34120         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34121         elf_dynamic_do_##reloc function.
34122
34123 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34124
34125         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34126         is sufficient, at least on modern CPUs.
34127
34128         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34129
34130         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34131         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34132
34133         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34134         __expl_finite.
34135         * math/bits/math-finite.h: Add entries for exp.
34136         * math/e_expl.c: Add __*_finite alias.
34137         * sysdeps/i386/fpu/e_exp.S: Likewise.
34138         * sysdeps/i386/fpu/e_expf.S: Likewise.
34139         * sysdeps/i386/fpu/e_expl.c: Likewise.
34140         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34141         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34142         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34143         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34144         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34145         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34146         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34147
34148         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34149         is sufficient, at least on modern CPUs.
34150
34151         * ctype/ctype-info.c (__ctype_init): Define.
34152         * include/ctype.h (__ctype_init): Declare.
34153         (__ctype_b_loc): The variable is always initialized.
34154         (__ctype_toupper_loc): Likewise.
34155         (__ctype_tolower_loc): Likewise.
34156         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34157         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34158
34159 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34160
34161         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34162
34163         * configure.in: Also look in $cxxmachine/include for C++ system
34164         headers.
34165
34166 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34167
34168         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34169         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34170         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34171         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34172         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34173         (USE_AS_WMEMCMP): New macro.
34174         Fixing indents.
34175         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34176         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34177         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34178         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34179         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34180         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34181         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34182         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34183         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34184         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34185         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34186         (USE_AS_WMEMCMP): New macro.
34187         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34188         * sysdeps/string/test-memcmp.c: Update.
34189         Fix simple_wmemcmp.
34190         Add new tests.
34191         * wcsmbs/wmemcmp.c: Update.
34192         (WMEMCMP): New macro.
34193         Fix overflow bug.
34194
34195 2011-10-12  Andreas Jaeger  <aj@suse.de>
34196
34197         [BZ #13268]
34198         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34199
34200 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34201
34202         * libio/iofwide.c (do_length): Avoid warning.
34203
34204         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34205
34206 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34207
34208         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34209
34210         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34211         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34212         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34213         * sysdeps/i386/i686/fpu/e_log.S: New file.
34214         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34215         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34216
34217         * ctype/ctype.h: Add support for inlined isXXX functions when
34218         compiling C++ code.
34219
34220 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34221
34222         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34223
34224         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34225
34226 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34227
34228         [BZ #13291]
34229         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34230
34231 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34232
34233         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34234         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34235         feraiseexcept.
34236
34237         * sysdeps/x86_64/memrchr.S: Check for zero size.
34238
34239         * string/stratcliff.c: Add memrchr tests.
34240
34241 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34242
34243         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34244         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34245         rawmemchr-sse2 rawmemchr-sse2-bsf.
34246         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34247         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34248         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34249         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34250         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34251         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34252         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34253         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34254         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34255         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34256         * string/memrchr.c (MEMRCHR): New macro.
34257
34258 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34259
34260         Add integration with gcc's -ffinite-math-only and optimize wrapper
34261         functions in libm.
34262         * Versions.def: Define GLIBC_2.15 version for libm.
34263         * math/Makefile (headers): Add bits/math-finite.h.
34264         * math/bits/math-finite.h: New file.
34265         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34266         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34267         * math/e_acoshl.c: Add __*_finite alias.
34268         * math/e_acosl.c: Likewise.
34269         * math/e_asinl.c: Likewise.
34270         * math/e_atan2l.c: Likewise.
34271         * math/e_atanhl.c: Likewise.
34272         * math/e_coshl.c: Likewise.
34273         * math/e_exp10.c: Likewise.
34274         * math/e_exp10f.c: Likewise.
34275         * math/e_exp10l.c: Likewise.
34276         * math/e_exp2l.c: Likewise.
34277         * math/e_fmodl.c: Likewise.
34278         * math/e_gammal_r.c: Likewise.
34279         * math/e_hypotl.c: Likewise.
34280         * math/e_j0l.c: Likewise.
34281         * math/e_j1l.c: Likewise.
34282         * math/e_jnl.c: Likewise.
34283         * math/e_lgammal_r.c: Likewise.
34284         * math/e_log10l.c: Likewise.
34285         * math/e_log2l.c: Likewise.
34286         * math/e_logl.c: Likewise.
34287         * math/e_powl.c: Likewise.
34288         * math/e_sinhl.c: Likewise.
34289         * math/e_sqrtl.c: Likewise.
34290         * math/e_scalb.c: Completely rewritten and optimized.
34291         * math/e_scalbf.c: Likewise.
34292         * math/e_scalbl.c: Likewise.
34293         * math/w_acos.c: Likewise.
34294         * math/w_acosf.c: Likewise.
34295         * math/w_acosl.c: Likewise.
34296         * math/w_acosh.c: Likewise.
34297         * math/w_acoshf.c: Likewise.
34298         * math/w_acoshl.c: Likewise.
34299         * math/w_asin.c: Likewise.
34300         * math/w_asinf.c: Likewise.
34301         * math/w_asinl.c: Likewise.
34302         * math/w_atan2.c: Likewise.
34303         * math/w_atan2f.c: Likewise.
34304         * math/w_atan2l.c: Likewise.
34305         * math/w_atanh.c: Likewise.
34306         * math/w_atanhf.c: Likewise.
34307         * math/w_atanhl.c: Likewise.
34308         * math/w_exp10.c: Likewise.
34309         * math/w_exp10f.c: Likewise.
34310         * math/w_exp10l.c: Likewise.
34311         * math/w_fmod.c: Likewise.
34312         * math/w_fmodf.c: Likewise.
34313         * math/w_fmodl.c: Likewise.
34314         * math/w_j0.c: Likewise.
34315         * math/w_j0f.c: Likewise.
34316         * math/w_j0l.c: Likewise.
34317         * math/w_j1.c: Likewise.
34318         * math/w_j1f.c: Likewise.
34319         * math/w_j1l.c: Likewise.
34320         * math/w_jn.c: Likewise.
34321         * math/w_jnf.c: Likewise.
34322         * math/w_log.c: Likewise.
34323         * math/w_logf.c: Likewise.
34324         * math/w_logl.c: Likewise.
34325         * math/w_log10.c: Likewise.
34326         * math/w_log10f.c: Likewise.
34327         * math/w_log10l.c: Likewise.
34328         * math/w_log2.c: Likewise.
34329         * math/w_log2f.c: Likewise.
34330         * math/w_log2l.c: Likewise.
34331         * math/w_pow.c: Likewise.
34332         * math/w_powf.c: Likewise.
34333         * math/w_powl.c: Likewise.
34334         * math/w_remainder.c: Likewise.
34335         * math/w_remainderf.c: Likewise.
34336         * math/w_remainderl.c: Likewise.
34337         * math/w_scalb.c: Likewise.
34338         * math/w_scalbf.c: Likewise.
34339         * math/w_scalbl.c: Likewise.
34340         * math/w_sqrt.c: Likewise.
34341         * math/w_sqrtf.c: Likewise.
34342         * math/w_sqrtl.c: Likewise.
34343         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34344         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34345         used.
34346         * math/math_private.h: Declare __kernel_standard_f.
34347         * math/w_cosh.c: Remove cruft and optimize a bit.
34348         * math/w_coshf.c: Likewise.
34349         * math/w_coshl.c: Likewise.
34350         * math/w_exp2.c: Likewise.
34351         * math/w_exp2f.c: Likewise.
34352         * math/w_exp2l.c: Likewise.
34353         * math/w_hypot.c: Likewise.
34354         * math/w_hypotf.c: Likewise.
34355         * math/w_hypotl.c: Likewise.
34356         * math/w_lgamma.c: Likewise.
34357         * math/w_lgamma_r.c: Likewise.
34358         * math/w_lgammaf.c: Likewise.
34359         * math/w_lgammaf_r.c: Likewise.
34360         * math/w_lgammal.c: Likewise.
34361         * math/w_lgammal_r.c: Likewise.
34362         * math/w_sinh.c: Likewise.
34363         * math/w_sinhf.c: Likewise.
34364         * math/w_sinhl.c: Likewise.
34365         * math/w_tgamma.c: Likewise.
34366         * math/w_tgammaf.c: Likewise.
34367         * math/w_tgammal.c: Likewise.
34368         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34369         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34370         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34371         Minor optimizations.  Pretty printing.  Remove cruft.
34372         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34373         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34374         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34375         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34376         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34377         * sysdeps/i386/fpu/e_asin.S: Likewise.
34378         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34379         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34380         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34381         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34382         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34383         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34384         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34385         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34386         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34387         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34388         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34389         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34390         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34391         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34392         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34393         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34394         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34395         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34396         * sysdeps/i386/fpu/e_log.S: Likewise.
34397         * sysdeps/i386/fpu/e_log10.S: Likewise.
34398         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34399         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34400         * sysdeps/i386/fpu/e_log2.S: Likewise.
34401         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34402         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34403         * sysdeps/i386/fpu/e_logf.S: Likewise.
34404         * sysdeps/i386/fpu/e_logl.S: Likewise.
34405         * sysdeps/i386/fpu/e_pow.S: Likewise.
34406         * sysdeps/i386/fpu/e_powf.S: Likewise.
34407         * sysdeps/i386/fpu/e_powl.S: Likewise.
34408         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34409         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34410         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34411         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34412         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34413         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34414         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34415         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34416         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34417         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34418         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34419         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34420         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34421         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34422         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34423         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34424         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34425         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34426         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34427         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34428         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34429         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34430         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34431         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34433         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34434         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34435         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34436         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34437         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34438         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34439         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34440         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34441         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34442         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34443         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34444         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34445         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34446         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34447         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34448         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34449         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34450         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34451         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34452         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34453         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34454         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34455         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34456         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34457         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34458         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34459         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34460         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34461         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34462         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34463         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34464         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34465         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34466         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34467         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34468         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34469         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34470         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34471         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34472         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34473         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34474         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34475         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34476         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34477         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34478         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34479         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34480         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34481         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34482         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34483         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34484         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34485         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34486         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34487         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34488         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34489         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34490         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34491         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34492         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34493         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34494         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34495         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34496         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34497         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34498         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34499         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34500         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34501         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34502         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34503         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34504         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34505         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34506         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34507         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34508         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34509         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34510         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34511         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34512         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34513         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34514         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34515         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34516         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34517         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34518         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34519         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34520         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34521         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34522         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34523         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34524         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34525         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34526         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34527         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34528         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34529         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34530         (__isnanf): Likewise.
34531         (__isinf_ns): Likewise.
34532         (__isinf_nsf): Likewise.
34533         (__finite): Likewise.
34534         (__finitef): Likewise.
34535         (__ieee754_sqrt): Define as macro.
34536         (__ieee754_sqrtf): Define as macro.
34537         (__ieee754_sqrtl): Define as macro.
34538         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34539         inlined copy.
34540         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34541         __FINITE_MATH_ONLY__ consistent.
34542         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34543
34544 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34545
34546         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34547         of rawmemchr.
34548
34549         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34550
34551 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34552
34553         * po/ja.po: Update from translation team.
34554
34555 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34556
34557         * locale/programs/locarchive.c (prepare_address_space): New function.
34558         (create_archive, enlarge_archive, open_archive): Use it.
34559
34560         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34561         inside [SHARED], where it is used.
34562
34563         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34564
34565         * nss/getent.c (netgroup_keys): Remove unused variable.
34566         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34567
34568 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34569
34570         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34571         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34572         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34573         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34574         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34575         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34576         * math/Makefile (libm-calls): Add s_isinf_ns.
34577         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34578         * math/multc3.c: Likewise.
34579         * math/s_casin.c: Likewise.
34580         * math/s_casinf.c: Likewise.
34581         * math/s_casinl.c: Likewise.
34582         * math/s_ccos.c: Likewise.
34583         * math/s_ccosf.c: Likewise.
34584         * math/s_ccosl.c: Likewise.
34585         * math/s_ctan.c: Likewise.
34586         * math/s_ctanf.c: Likewise.
34587         * math/s_ctanh.c: Likewise.
34588         * math/s_ctanhf.c: Likewise.
34589         * math/s_ctanhl.c: Likewise.
34590         * math/s_ctanl.c: Likewise.
34591         * math/w_fmod.c: Likewise.
34592         * math/w_fmodf.c: Likewise.
34593         * math/w_fmodl.c: Likewise.
34594         * math/w_remainder.c: Likewise.
34595         * math/w_remainderf.c: Likewise.
34596         * math/w_remainderl.c: Likewise.
34597         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34598         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34599         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34600         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34601         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34602         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34603         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34604         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34605
34606         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34607         of the number.
34608         * stdio-common/printf_fphex.c: Likewise.
34609         * stdio-common/printf_size.c: Likewise.
34610
34611         * math/e_exp10.c: Include math_private.h using <...> not "...".
34612         * math/e_exp10f.c: Likewise.
34613         * math/e_exp10l.c: Likewise.
34614         * math/e_exp2l.c: Likewise.
34615         * math/e_j0l.c: Likewise.
34616         * math/e_j1l.c: Likewise.
34617         * math/e_jnl.c: Likewise.
34618         * math/e_lgammal_r.c: Likewise.
34619         * math/e_rem_pio2l.c: Likewise.
34620         * math/e_scalb.c: Likewise.
34621         * math/e_scalbf.c: Likewise.
34622         * math/e_scalbl.c: Likewise.
34623         * math/k_cosl.c: Likewise.
34624         * math/k_sinl.c: Likewise.
34625         * math/k_tanl.c: Likewise.
34626         * math/s_cacoshf.c: Likewise.
34627         * math/s_catan.c: Likewise.
34628         * math/s_catanf.c: Likewise.
34629         * math/s_catanh.c: Likewise.
34630         * math/s_catanhf.c: Likewise.
34631         * math/s_catanhl.c: Likewise.
34632         * math/s_catanl.c: Likewise.
34633         * math/s_ccosh.c: Likewise.
34634         * math/s_ccoshf.c: Likewise.
34635         * math/s_ccoshl.c: Likewise.
34636         * math/s_cexp.c: Likewise.
34637         * math/s_cexpf.c: Likewise.
34638         * math/s_cexpl.c: Likewise.
34639         * math/s_clog.c: Likewise.
34640         * math/s_clog10.c: Likewise.
34641         * math/s_clog10f.c: Likewise.
34642         * math/s_clog10l.c: Likewise.
34643         * math/s_clogf.c: Likewise.
34644         * math/s_clogl.c: Likewise.
34645         * math/s_csin.c: Likewise.
34646         * math/s_csinf.c: Likewise.
34647         * math/s_csinh.c: Likewise.
34648         * math/s_csinhf.c: Likewise.
34649         * math/s_csinhl.c: Likewise.
34650         * math/s_csinl.c: Likewise.
34651         * math/s_csqrt.c: Likewise.
34652         * math/s_csqrtf.c: Likewise.
34653         * math/s_csqrtl.c: Likewise.
34654         * math/s_ctan.c: Likewise.
34655         * math/s_ctanf.c: Likewise.
34656         * math/s_ctanh.c: Likewise.
34657         * math/s_ctanhf.c: Likewise.
34658         * math/s_ctanhl.c: Likewise.
34659         * math/s_ctanl.c: Likewise.
34660         * math/s_ldexp.c: Likewise.
34661         * math/s_ldexpf.c: Likewise.
34662         * math/s_ldexpl.c: Likewise.
34663         * math/s_significand.c: Likewise.
34664         * math/s_significandf.c: Likewise.
34665         * math/s_significandl.c: Likewise.
34666         * math/w_acos.c: Likewise.
34667         * math/w_acosf.c: Likewise.
34668         * math/w_acosh.c: Likewise.
34669         * math/w_acoshf.c: Likewise.
34670         * math/w_acoshl.c: Likewise.
34671         * math/w_acosl.c: Likewise.
34672         * math/w_asin.c: Likewise.
34673         * math/w_asinf.c: Likewise.
34674         * math/w_asinl.c: Likewise.
34675         * math/w_atan2.c: Likewise.
34676         * math/w_atan2f.c: Likewise.
34677         * math/w_atan2l.c: Likewise.
34678         * math/w_atanh.c: Likewise.
34679         * math/w_atanhf.c: Likewise.
34680         * math/w_atanhl.c: Likewise.
34681         * math/w_cosh.c: Likewise.
34682         * math/w_coshf.c: Likewise.
34683         * math/w_coshl.c: Likewise.
34684         * math/w_dremf.c: Likewise.
34685         * math/w_exp10.c: Likewise.
34686         * math/w_exp10f.c: Likewise.
34687         * math/w_exp10l.c: Likewise.
34688         * math/w_exp2.c: Likewise.
34689         * math/w_exp2f.c: Likewise.
34690         * math/w_fmod.c: Likewise.
34691         * math/w_fmodf.c: Likewise.
34692         * math/w_fmodl.c: Likewise.
34693         * math/w_hypot.c: Likewise.
34694         * math/w_hypotf.c: Likewise.
34695         * math/w_hypotl.c: Likewise.
34696         * math/w_j0.c: Likewise.
34697         * math/w_j0f.c: Likewise.
34698         * math/w_j0l.c: Likewise.
34699         * math/w_j1.c: Likewise.
34700         * math/w_j1f.c: Likewise.
34701         * math/w_j1l.c: Likewise.
34702         * math/w_jn.c: Likewise.
34703         * math/w_jnf.c: Likewise.
34704         * math/w_jnl.c: Likewise.
34705         * math/w_lgamma.c: Likewise.
34706         * math/w_lgamma_r.c: Likewise.
34707         * math/w_lgammaf.c: Likewise.
34708         * math/w_lgammaf_r.c: Likewise.
34709         * math/w_lgammal.c: Likewise.
34710         * math/w_lgammal_r.c: Likewise.
34711         * math/w_log.c: Likewise.
34712         * math/w_log10.c: Likewise.
34713         * math/w_log10f.c: Likewise.
34714         * math/w_log10l.c: Likewise.
34715         * math/w_log2.c: Likewise.
34716         * math/w_log2f.c: Likewise.
34717         * math/w_log2l.c: Likewise.
34718         * math/w_logf.c: Likewise.
34719         * math/w_logl.c: Likewise.
34720         * math/w_pow.c: Likewise.
34721         * math/w_powf.c: Likewise.
34722         * math/w_powl.c: Likewise.
34723         * math/w_remainder.c: Likewise.
34724         * math/w_remainderf.c: Likewise.
34725         * math/w_remainderl.c: Likewise.
34726         * math/w_scalb.c: Likewise.
34727         * math/w_scalbf.c: Likewise.
34728         * math/w_scalbl.c: Likewise.
34729         * math/w_sinh.c: Likewise.
34730         * math/w_sinhf.c: Likewise.
34731         * math/w_sinhl.c: Likewise.
34732         * math/w_sqrt.c: Likewise.
34733         * math/w_sqrtf.c: Likewise.
34734         * math/w_sqrtl.c: Likewise.
34735         * math/w_tgamma.c: Likewise.
34736         * math/w_tgammaf.c: Likewise.
34737         * math/w_tgammal.c: Likewise.
34738
34739         * po/ja.po: Update from translation team.
34740
34741 2011-09-29  Andreas Jaeger  <aj@suse.de>
34742
34743         [BZ #13179]
34744         * sunrpc/netname.c (netname2host): Fix logic.
34745
34746         [BZ #6779]
34747         [BZ #6783]
34748         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34749         correctly.
34750         * math/w_remainder.c (__remainder): Likewise.
34751         * math/w_remainderf.c (__remainderf): Likewise.
34752         * math/libm-test.inc (remainder_test): Add test cases.
34753
34754 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34755
34756         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34757         sdiv_qrnnd.
34758
34759 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34760
34761         * string/test-memcmp.c: Avoid unncessary #defines.
34762         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34763
34764 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34765
34766         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34767         Use new sse2 version for core i3 - i7 as it's faster
34768         than sse42 version.
34769         (bit_Prefer_PMINUB_for_stringop): New.
34770         * sysdeps/x86_64/rawmemchr.S: Update.
34771         Replace with faster SSE2 version.
34772         * sysdeps/x86_64/memrchr.S: New file.
34773         * sysdeps/x86_64/memchr.S: Update.
34774         Replace with faster SSE2 version.
34775
34776 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34777
34778         * elf/dl-load.c (lose): Add cast to avoid warning.
34779
34780 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34781
34782         * po/ca.po: Update from translation team.
34783
34784         * inet/getnetgrent_r.c: Hook up nscd.
34785         * nscd/Makefile (routines): Add nscd_netgroup.
34786         (nscd-modules): Add netgroupcache.
34787         (CFLAGS-netgroupcache.c): Define.
34788         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34789         (cache_search): Add const to second parameter.
34790         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34791         INNETGR.
34792         (dbs): Add netgrdb entry.
34793         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34794         (verify_persistent_db): Handle netgrdb.
34795         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34796         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34797         GETFDNETGR.
34798         (netgroup_response_header): Define.
34799         (innetgroup_response_header): Define.
34800         (datahead): Add netgroup_response_header and innetgroup_response_header
34801         elements.
34802         * nscd/nscd.conf: Add entries for netgroup cache.
34803         * nscd/nscd.h (dbtype): Add netgrdb.
34804         (_PATH_NSCD_NETGROUP_DB): Define.
34805         (netgroup_iov_disabled): Declare.
34806         (xmalloc, xcalloc, xrealloc): Move declarations here.
34807         (cache_search): Adjust prototype.
34808         Add netgroup-related prototypes.
34809         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34810         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34811         (__nscd_innetgr): Declare.
34812         * nscd/selinux.c (perms): Use access_vector_t as element type and
34813         add netgroup-related initializers.
34814         * nscd/netgroupcache.c: New file.
34815         * nscd/nscd_netgroup.c: New file.
34816         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34817         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34818         For four parameters use innetgr.
34819         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34820         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34821         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34822         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34823
34824         * nscd/connections.c (register_traced_file): Don't register file
34825         for disabled databases.
34826
34827 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34828
34829         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34830
34831         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34832         from tree and freeing node.
34833
34834 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34835
34836         * nss/nsswitch.c (__nss_database_lookup): Handle
34837         nss_parse_service_list out of memory case.
34838
34839 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34840
34841         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34842         out of memory case.
34843
34844 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34845
34846         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34847         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34848         pass it down.
34849         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34850         elf_machine_rela, elf_machine_lazy_rel.
34851         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34852         (ELF_DYNAMIC_DO_REL): Likewise.
34853         (ELF_DYNAMIC_DO_RELA): Likewise.
34854         (ELF_DYNAMIC_RELOCATE): Likewise.
34855         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34856         to ELF_DYNAMIC_DO_REL.
34857         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34858         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34859         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34860         elf_machine_rela.
34861         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34862         skip_ifunc, don't call ifunc function if non-zero.
34863         (elf_machine_rela): Likewise.
34864         (elf_machine_lazy_rel): Likewise.
34865         (elf_machine_lazy_rela): Likewise.
34866         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34867         (elf_machine_lazy_rel): Likewise.
34868         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34869         Likewise.
34870         (elf_machine_lazy_rel): Likewise.
34871         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34872         Likewise.
34873         (elf_machine_lazy_rel): Likewise.
34874         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34875         (elf_machine_lazy_rel): Likewise.
34876         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34877         (elf_machine_lazy_rel): Likewise.
34878         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34879         (elf_machine_lazy_rel): Likewise.
34880         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34881         (elf_machine_lazy_rel): Likewise.
34882         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34883         (elf_machine_lazy_rel): Likewise.
34884         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34885         (elf_machine_lazy_rel): Likewise.
34886
34887 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34888
34889         * nss/nss_files/files-init.c (_nss_files_init): Use static
34890         initialization for all the *_traced_file variables.
34891
34892 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34893
34894         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34895
34896 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34897
34898         [BZ #13226]
34899         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34900
34901 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34902
34903         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34904         Reread the line before reparsing it.
34905
34906 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34907
34908         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34909
34910 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34911             Maxim Kuvyrkov  <maxim@codesourcery.com>
34912             Joseph Myers  <joseph@codesourcery.com>
34913
34914         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34915         if needed for __stack_chk_guard.
34916
34917 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34918
34919         * sysdeps/posix/spawni.c (script_execute): Always define it.
34920         It will be optimized away if unused.
34921         (maybe_script_execute): New function.
34922         (__spawni): Call it.
34923
34924         * Makerules: Don't include tls.make.
34925         (config-tls): Always set to thread.
34926         * tls.make.c: File removed.
34927
34928 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34929
34930         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34931         * config.make.in (CPPFLAGS-config): New substituted variable.
34932
34933 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34934
34935         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34936
34937         [BZ #13192]
34938         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34939         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34940
34941 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34942
34943         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34944         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34945         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34946         (CALL_FAIL): Likewise.
34947         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34948         (CALL_FAIL): Macro removed.
34949         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34950
34951 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34952
34953         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34954         for __FINITE_MATH_ONLY__ == 1.
34955
34956 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34957
34958         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34959         __ieee754_sqrt instead of sqrt.
34960         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34961         __ieee754_sqrtf instead of sqrtf.
34962         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34963         __floorf instead of floorf.
34964         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34965         __floorf, __truncf instead of floorf, truncf.
34966
34967 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34968
34969         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34970
34971         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34972         __extern_always_inline.
34973         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34974         32-bit.
34975
34976 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34977
34978         * elf/rtld.c (dl_main): Also relocate in dependency order when
34979         doing symbol dependency testing.
34980
34981 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34982
34983         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34984         Always define `refsym'.
34985
34986 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34987
34988         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34989         (__FD_ELT): Renamed from __FDELT.
34990         * misc/bits/select2.h (__FD_ELT): Likewise.
34991         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34992         __FD_MASK instead of __FDELT, __FDMASK.
34993         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34994         Likewise.
34995         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34996         Likewise.
34997
34998         * elf/Makefile (gen-ldd): Fix pattern.
34999
35000         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35001         (init_tls): Likewise.
35002
35003 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
35004
35005         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35006
35007 2011-09-12  Andreas Schwab  <schwab@redhat.com>
35008
35009         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35010         `struct cmsghdr *' instead of `void *'.
35011         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35012         Likewise.
35013
35014 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
35015
35016         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35017         if non-absolute.
35018         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35019         ldd_rewrite_script.
35020
35021 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
35022
35023         * configure.in: Remove --with-tls option.
35024         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35025         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35026         out in case it is missing.
35027         * sysdeps/ia64/elf/configure.in: Likewise.
35028         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35029         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35030         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35031         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35032         * sysdeps/sh/elf/configure.in: Likewise.
35033         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35034         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35035         * sysdeps/x86_64/elf/configure.in: Likewise.
35036         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35037         * sysdeps/mach/hurd/tls.h: Likewise.
35038
35039         [BZ #13067]
35040         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35041
35042         [BZ #13090]
35043         * configure.in: Fix use of AC_INIT.
35044
35045         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35046
35047 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
35048
35049         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35050         __set_errno.
35051         * malloc/hooks.c: Likewise.
35052
35053         [BZ #11929]
35054         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
35055         variables statically.
35056         (narenas): Initialize.
35057         (list_lock): Initialize.
35058         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
35059         initializtion of main_arena and list_lock.  Small cleanups.
35060         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35061         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
35062         Add initializers to main_arena and mp_.
35063         (malloc_state): Remove pagesize member.  Change all users to use
35064         GLRO(dl_pagesize).
35065
35066         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35067         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35068         is always initialized.
35069
35070         * malloc/malloc.c: Removed unused configurations and dead code.
35071         * malloc/arena.c: Likewise.
35072         * malloc/hooks.c: Likewise.
35073         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35074
35075         * include/tls.h: Removed.  USE___THREAD must always be defined.
35076         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35077         * elf/dl-libc.c: Likewise.
35078         * elf/dl-tsd.c: Likewise.
35079         * include/errno.h: Likewise.
35080         * include/netdb.h: Likewise.
35081         * include/resolv.h: Likewise.
35082         * inet/herrno-loc.c: Likewise.
35083         * inet/herrno.c: Likewise.
35084         * malloc/arena.c: Likewise.
35085         * malloc/hooks.c: Likewise.
35086         * malloc/malloc.c: Likewise.
35087         * resolv/res-state.c: Likewise.
35088         * resolv/res_libc.c: Likewise.
35089         * sysdeps/i386/dl-machine.h: Likewise.
35090         * sysdeps/ia64/dl-machine.h: Likewise.
35091         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35092         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35093         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35094         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35095         * sysdeps/sh/dl-machine.h: Likewise.
35096         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35097         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35098         * sysdeps/unix/i386/sysdep.S: Likewise.
35099         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35100         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35101         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35102         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35103         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35104         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35105         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35107         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35109         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35110         * sysdeps/x86_64/dl-machine.h: Likewise.
35111         * tls.make.c: Likewise.
35112
35113         * configure.in: Remove --with-__thread option.  Make tests for
35114         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35115         tls_model attribute fail if no support is available.  Remove
35116         USE_IN_LIBIO.
35117         * Makeconfig: Adjust for dropped configure option.  All features are
35118         now mandatory.
35119         * Makerules: Likewise.
35120         * Versions.def: Likewise.
35121         * argp/argp-fmtstream.c: Likewise.
35122         * argp/argp-fmtstream.h: Likewise.
35123         * argp/argp-help.c: Likewise.
35124         * assert/assert.c: Likewise.
35125         * config.h.in: Likewise.
35126         * config.make.in: Likewise.
35127         * configure: Likewise.
35128         * configure.in: Likewise.
35129         * csu/Versions: Likewise.
35130         * csu/init.c: Likewise.
35131         * elf/tst-audit2.c: Likewise.
35132         * elf/tst-tls10.c: Likewise.
35133         * elf/tst-tls10.h: Likewise.
35134         * elf/tst-tls11.c: Likewise.
35135         * elf/tst-tls12.c: Likewise.
35136         * elf/tst-tls14.c: Likewise.
35137         * elf/tst-tlsmod11.c: Likewise.
35138         * elf/tst-tlsmod12.c: Likewise.
35139         * elf/tst-tlsmod13.c: Likewise.
35140         * elf/tst-tlsmod13a.c: Likewise.
35141         * elf/tst-tlsmod14a.c: Likewise.
35142         * elf/tst-tlsmod15b.c: Likewise.
35143         * elf/tst-tlsmod16a.c: Likewise.
35144         * elf/tst-tlsmod16b.c: Likewise.
35145         * elf/tst-tlsmod7.c: Likewise.
35146         * elf/tst-tlsmod8.c: Likewise.
35147         * elf/tst-tlsmod9.c: Likewise.
35148         * gmon/gmon.c: Likewise.
35149         * grp/fgetgrent_r.c: Likewise.
35150         * grp/putgrent.c: Likewise.
35151         * hurd/fopenport.c: Likewise.
35152         * include/libc-symbols.h: Likewise.
35153         * include/tls.h: Likewise.
35154         * intl/gettextP.h: Likewise.
35155         * intl/loadinfo.h: Likewise.
35156         * locale/global-locale.c: Likewise.
35157         * locale/localeinfo.h: Likewise.
35158         * mach/devstream.c: Likewise.
35159         * malloc/arena.c: Likewise.
35160         * malloc/set-freeres.c: Likewise.
35161         * misc/err.c: Likewise.
35162         * misc/getttyent.c: Likewise.
35163         * misc/mntent_r.c: Likewise.
35164         * posix/getopt.c: Likewise.
35165         * posix/wordexp.c: Likewise.
35166         * pwd/fgetpwent_r.c: Likewise.
35167         * resolv/Versions: Likewise.
35168         * resolv/res_hconf.c: Likewise.
35169         * shadow/fgetspent_r.c: Likewise.
35170         * shadow/putspent.c: Likewise.
35171         * stdio-common/printf_fphex.c: Likewise.
35172         * stdio-common/tmpfile.c: Likewise.
35173         * stdlib/abort.c: Likewise.
35174         * stdlib/fmtmsg.c: Likewise.
35175         * sunrpc/auth_unix.c: Likewise.
35176         * sunrpc/clnt_perr.c: Likewise.
35177         * sunrpc/clnt_tcp.c: Likewise.
35178         * sunrpc/clnt_udp.c: Likewise.
35179         * sunrpc/clnt_unix.c: Likewise.
35180         * sunrpc/openchild.c: Likewise.
35181         * sunrpc/svc_simple.c: Likewise.
35182         * sunrpc/svc_tcp.c: Likewise.
35183         * sunrpc/svc_udp.c: Likewise.
35184         * sunrpc/svc_unix.c: Likewise.
35185         * sunrpc/xdr.c: Likewise.
35186         * sunrpc/xdr_array.c: Likewise.
35187         * sunrpc/xdr_rec.c: Likewise.
35188         * sunrpc/xdr_ref.c: Likewise.
35189         * sunrpc/xdr_stdio.c: Likewise.
35190
35191 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35192
35193         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35194
35195 2011-07-03  Andreas Jaeger  <aj@suse.de>
35196
35197         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35198         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35199         regenerate with gen-libm-tests.pl.
35200
35201 2010-05-12  Petr Baudis  <pasky@suse.cz>
35202
35203         [BZ #11589]
35204         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35205         around j0() zero points by switching to j1().
35206         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35207         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35209         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35210
35211 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35212
35213         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35214         instead of 0.
35215         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35216         instead of 0.
35217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35218         Patch in part by Pavel Roskin <proski@gnu.org>.
35219
35220         [BZ #13138]
35221         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35222         realloc.
35223         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35224         Free memory block if necessary.
35225
35226         [BZ #12847]
35227         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35228         be NULL.  Don't lock in this case.
35229
35230 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35231
35232         * elf/elf.h (ELFOSABI_GNU): New macro.
35233         (ELFOSABI_LINUX): Define to that.
35234
35235 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35236
35237         * string/strncat.c (strncat): Undef the symbol in case it has been
35238         defined in bits/string.h.
35239
35240 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35241
35242         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35243
35244         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35245         link map.
35246
35247 2011-08-17  Andreas Jaeger  <aj@suse.de>
35248
35249         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35250
35251 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35252             Ian Lance Taylor  <iant@google.com>
35253
35254         * math/libm-test.inc (lround_test): New testcase.
35255         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35256
35257 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35258
35259         * Makefile: Remove support for automatic cvs check-ins.
35260         * Makerules: Likewise.
35261         * config.make.in: Likewise.
35262         * configure.in: Likewise.
35263         * intl/Makefile: Likewise.
35264         * locale/Makefile: Likewise.
35265         * po/Makefile: Likewise.
35266         * posix/Makefile: Likewise.
35267         * sysdeps/gnu/Makefile: Likewise.
35268         * sysdeps/mach/hurd/Makefile: Likewise.
35269         * sysdeps/sparc/sparc32/Makefile: Likewise.
35270
35271         [BZ #13118]
35272         * posix/Makefile (bug-regex32-ENV): Define.
35273         Patch by John Stanley <jpsinthemix@verizon.net>.
35274
35275         * misc/Makefile (headers): Add bits/select2.h.
35276         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35277         * misc/bits/select2.h: New file.
35278         * include/bits/select2.h: New file.
35279         * debug/Makefile (routines): Add fdelt_chk.
35280         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35281         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35282         FD_ISSET.
35283         * debug/fdelt_chk.c: New file.
35284
35285         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35286         * wcsmbs/test-wmemcmp.c: Likewise.
35287         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35288         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35289
35290 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35291
35292         * string/Makefile (strop-tests): Add memcmp.
35293         * string/test-wmemcmp.c: New file.
35294         * string/test-memcmp.c: Add wmemcmp support.
35295
35296 2011-09-08  Roland McGrath  <roland@hack.frob.com>
35297
35298         [BZ #13153]
35299         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35300         2011-07-19 change.
35301
35302         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35303         garbage value in a __mach_port_mod_refs call in the cases of the
35304         task-self and thread-self ports.
35305
35306 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35307
35308         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35309
35310 2011-09-08  Andreas Schwab  <schwab@redhat.com>
35311
35312         * elf/dl-load.c (lose): Check for non-null L.
35313
35314 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35315
35316         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35317
35318         * elf/dl-libc.c (dlerror_run): Pass back error code from
35319         dl_catch_error.
35320
35321         [BZ #13123]
35322         * elf/dl-load.c (lose): Free l_origin if it is valid.
35323
35324         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35325         names.
35326         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35327         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35328         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35329         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35330         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35331         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35332
35333 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35334
35335         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35336         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35337         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35338         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35339         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35340         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35341         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35342         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35343         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35344         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35345
35346 2011-08-15  Alan Modra  <amodra@gmail.com>
35347
35348         [BZ #13092]
35349         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35350         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35351         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35352         ppc_mcount to static-only-routines.
35353         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35354         __mcount_internal.
35355         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35356         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35357
35358 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35359
35360         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35361         for finite and infinity parameters.
35362
35363 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35364
35365         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35366         and add nop instructions for throughput optimization.
35367         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35368
35369 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35370
35371         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35372         aligned copy for power7 with vector-scalar instructions.
35373         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35374
35375 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35376
35377         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35378         AVX check.
35379
35380 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35381
35382         [BZ #13144]
35383         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35384         last change.
35385
35386 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35387
35388         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35389         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35390         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35391         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35392         clock_gettime.
35393
35394 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35395
35396         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35397         Forgot to demangle the pointer.
35398
35399         * sysdeps/i386/sysdep.h: Define atom_text_section.
35400         * sysdeps/x86_64/sysdep.h: Likewise.
35401         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35402         section with atom_text_section.
35403         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35404         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35405         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35406         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35407         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35408
35409         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35410         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35411         already be defined.  Change to take two parameters and don't assign
35412         result to variable.  Adjust all users.
35413         Define INTERNAL_GETTIME if not already defined.
35414         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35415         call.
35416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35417         HAVE_CLOCK_GETTIME_VSYSCALL.
35418         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35419
35420         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35421         gettimeofday vsyscall, just use time.
35422
35423 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35424
35425         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35426         <errno.h>.
35427
35428 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35429
35430         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35431         syscall on x86-64.
35432         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35433         syscall.
35434         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35435         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35436         syscall if possible.
35437
35438 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35439
35440         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35441         e_ident.  Don't pass to find_mapsXX.
35442         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35443
35444 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35445
35446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35447         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35448         * sysdeps/x86_64/multiarch/strchr.S: Update.
35449         Check bit_slow_BSF bit.
35450         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35451         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35452         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35453
35454 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35455
35456         [BZ #13134]
35457         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35458         before glibc 2.15.
35459         (tryshell): Define.
35460         (__spawni): Change last parameter to be flag.  Test
35461         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35462         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35463         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35464         * posix/spawni.c: Likewise.
35465         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35466         * posix/spawnp.c: Likewise.  Change normal version to use
35467         SPAWN_XFLAGS_USE_PATH.
35468         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35469         SPAWN_XFLAGS_TRY_SHELL.
35470
35471         [BZ #13150]
35472         * posix/glob.h: Remove gcc 1.x support.
35473
35474         [BZ #13068]
35475         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35476
35477 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35478
35479         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35480         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35481         strrchr-sse2-bsf
35482         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35483         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35484         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35485         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35486         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35487         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35488
35489 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35490
35491         * sysdeps/x86_64/wcscmp.S: New file.
35492
35493         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35494         wcscmp-c wcscmp-sse2
35495         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35496         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35497         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35498         * wcsmbs/wcscmp.c: Allow renaming.
35499
35500 2011-09-05  David S. Miller  <davem@davemloft.net>
35501
35502         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35503         stack slot, rather than the struct return pointer slot.
35504         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35505         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35507         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35508
35509 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35510
35511         * po/ja.po: Update from translation team.
35512
35513         [BZ #13144]
35514         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35515         kernel in 64-bit binaries.
35516
35517 2011-09-01  David S. Miller  <davem@davemloft.net>
35518
35519         * elf/elf.h (HWCAP_SPARC_*): Move to..
35520         * sysdeps/sparc/sysdep.h: this new file and add new values.
35521         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35522         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35523         _DL_HWCAP_COUNT to 24.
35524         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35525         entries.
35526         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35527         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35528         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35529         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35530         instead of magic constants.
35531         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35532
35533 2011-08-31  David S. Miller  <davem@davemloft.net>
35534
35535         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35536         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35537         Reimplement to do errno handling inline.
35538         (SYSCALL_ERROR_HANDLER): New macro.
35539         (__SYSCALL_STRING): Do not do errno handling in asm.
35540         (__CLONE_SYSCALL_STRING): Delete.
35541         (__INTERNAL_SYSCALL_STRING): Delete.
35542         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35543         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35544         (PSEUDO): Reimplement to do errno handling inline.
35545         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35546         (SYSCALL_ERROR_HANDLER): New macro.
35547         (__SYSCALL_STRING): Do not do errno handling in asm.
35548         (__CLONE_SYSCALL_STRING): Delete.
35549         (__INTERNAL_SYSCALL_STRING): Delete.
35550         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35551         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35552         i386.
35553         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35554         (inline_syscall*): Add 'err' argument.
35555         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35556         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35557         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35558         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35559
35560         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35561         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35562
35563 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35564
35565         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35566
35567 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35568
35569         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35570         directive.
35571
35572 2011-08-24  David S. Miller  <davem@davemloft.net>
35573
35574         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35575
35576 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35577
35578         * elf/Makefile: Add rules to build and run unload8 test.
35579         * elf/unload8.c: New file.
35580         * elf/unload8mod1.c: New file.
35581         * elf/unload8mod1x.c: New file.
35582         * elf/unload8mod2.c: New file.
35583         * elf/unload8mod3.c: New file.
35584
35585         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35586         it wasn't used.
35587
35588 2011-08-23  David S. Miller  <davem@davemloft.net>
35589
35590         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35591         subtract stack bias.
35592         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35593         %sp not %fp in calculations.
35594         (_JMPBUF_UNWINDS_ADJ): Likewise.
35595
35596         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35597         (aio_suspend): Call it to force an exception region around the
35598         AIO_MISC_WAIT() invocation.
35599
35600 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35601
35602         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35603         backslash.
35604
35605 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35606
35607         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35608         protection macro.
35609         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35610         and <dl-machine.h>.
35611         (Elf64_FuncDesc): Remove.
35612
35613 2011-08-22  David S. Miller  <davem@davemloft.net>
35614
35615         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35616         sigaltstack check, add missing cfi directives.
35617         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35618         missing cfi directives, and sigaltstack handling.
35619
35620 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35621
35622         [BZ #11724]
35623         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35624         object is seen twice.
35625         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35626
35627         * elf/Makefile (distribute): Add tst-initorder2.c.
35628         (tests): Add tst-initorder2.
35629         (modules-names): Add tst-initorder2a tst-initorder2b
35630         tst-initorder2c tst-initorder2d.  Add rules to build them.
35631         ($(objpfx)tst-initorder2.out): New rule.
35632         * elf/tst-initorder2.c: New file.
35633         * elf/tst-initorder2.exp: New file.
35634
35635 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35636
35637         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35638
35639         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35640         dependencies back to end of function.
35641
35642         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35643         $(elfobjdir)/ld.so.
35644
35645 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35646
35647         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35648         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35649         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35650         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35651         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35652         of __vdso_gettimeofday.
35653         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35654         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35655         attribute_hidden.
35656         (_libc_vdso_platform_setup): Remove initialization of
35657         __vdso_gettimeofday and __vdso_time.
35658
35659 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35660
35661         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35662         and fgetc_unlocked.
35663         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35664         getc_unlocked.
35665
35666         * elf/dl-open.c (add_to_global): Report additions to the global scope
35667         for LD_DEBUG=scopes.
35668         (dl_open_worker): Also print scope of newly loaded dependencies.
35669         (_dl_show_scope): Indicate if there is no scope.
35670
35671         [BZ #13114]
35672         * stdio-common/Makefile (tests): Add bug24.
35673         * stdio-common/bug24.c: New file.
35674
35675 2011-08-19  Andreas Jaeger  <aj@suse.de>
35676
35677         [BZ #13114]
35678         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35679         non-existant file when using close-on-exec mode.
35680
35681 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35682
35683         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35684         the very first instruction.
35685
35686         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35687         the CFI state in the end.
35688         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35689         inclusion of dl-trampoline.h.
35690         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35691
35692 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35693
35694         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35695         expectations for long double.
35696
35697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35698         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35699
35700 2011-08-14  David S. Miller  <davem@davemloft.net>
35701
35702         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35703         artificual limit depends upon the system page size.
35704
35705 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35706
35707         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35708         * resolv/Makefile: Define CFLAGS-libresolv.
35709
35710 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35711
35712         * nss/makedb.c (compute_tables): Make variables used in nested
35713         function static.
35714
35715 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35716
35717         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35718         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35719         if buffer was too small.
35720
35721         * elf/pldd.c (main): Attach to all threads in the process.
35722         Rewrite /proc handling to use *at functions.
35723
35724 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35725
35726         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35727         specifies first scope to show.
35728         (dl_open_worker): Update callers.  Move printing scope of new
35729         object to before the relocation.
35730         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35731         * sysdeps/generic/ldsodefs.h: Update declaration.
35732
35733         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35734         string for the scope number.
35735
35736 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35737
35738         * nscd/servicescache.c (cache_addserv): Make sure written is always
35739         initialized.
35740
35741 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35742
35743         * sysdeps/i386/i486/bits/atomic.h
35744         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35745         statement expression, so as to suppress "set but not used" warning.
35746         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35747
35748         * string/strncat.c (STRNCAT): Use prototype definition.
35749
35750         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35751         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35752         -Iprograms here.
35753         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35754         (localedef-modules): Add localedef.
35755         (locale-modules): Add locale.
35756
35757         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35758         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35759         to avoid a warning.
35760
35761 2011-08-14  David S. Miller  <davem@davemloft.net>
35762
35763         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35764         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35765
35766 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35767
35768         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35769         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35770         * elf/rtld.c (dl_main): Set l_name of vDSO.
35771         Call _dl_show_scope when DL_DEBUG_SCOPES.
35772         (process_dl_debug): Recognize scopes flag and also set it for all.
35773         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35774         Declare _dl_show_scope.
35775
35776         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35777         (do_dlopen): Pass caller_dlopen to dl_open.
35778         (__libc_dlopen_mode): Initialize caller_dlopen.
35779
35780         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35781         of libc.  Make tolower call locale-independent.  Optimize a bit by
35782         using isdigit instead of isalnum.
35783         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35784
35785 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35786
35787         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35788         was a dependency or dynamically loaded.
35789
35790 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35791
35792         * intl/l10nflist.c: Allow architecture-specific pop function.
35793         * sysdeps/x86_64/l10nflist.c: New file.
35794
35795         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35796         classification.
35797
35798 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35799
35800         * include/dirent.h: Add libc_hidden_proto for scandirat and
35801         scandirat64.  Don't declare __scandirat64.
35802         * dirent/scandirat.c: Add libc_hidden_def.
35803         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35804         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35805
35806 2011-08-10  David S. Miller  <davem@davemloft.net>
35807
35808         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35809         enum.
35810         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35811         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35812         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35813
35814 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35815
35816         * Versions.def [libc]: Add GLIBC_2.15.
35817         * dirent/Makefile (routines): Add scandirat and scandirat64.
35818         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35819         GLIBC_2.15.
35820         * dirent/dirent.h: Declare scandirat and scandirat64.
35821         * dirent/scandirat.c: New file.
35822         * dirent/scandirat64.c: New file.
35823         * sysdeps/wordsize-64/scandirat.c: New file.
35824         * sysdeps/wordsize-64/scandirat64.c: New file.
35825         * dirent/opendir.c: Define opendirat.
35826         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35827         using scandirat.
35828         * dirent/scandir64.c: Adjust for scandir.c change.
35829         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35830         __scandirat64, and __scandir_cancel_handler.
35831         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35832         additional parameter and use openat instead of open (outside of ld.so).
35833         Add new __opendir as wrapper around __opendirat.
35834         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35835         here without requiring old scandirat implementation.
35836
35837 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35838
35839         * dirent/scandir.c (cancel_handler): Renamed to
35840         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35841         defined.  Adjust users.
35842         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35843         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35844
35845 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35846
35847         * string/test-string.h (IMPL): Use __STRING to expand name and then
35848         stringify it.
35849
35850         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35851         of cleanups.
35852
35853 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35854
35855         * string/Makefile: Update.
35856         (strop-tests): Append strncat.
35857         * string/test-wcscmp.c: New file.
35858         New comprehensive test for wcscmp.
35859         * string/test-strcmp.c: Update.
35860         (WIDE): New define.
35861
35862 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35863
35864         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35865         line.
35866
35867 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35868
35869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35870         encoding to ACE if AI_IDN.
35871
35872 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35873
35874         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35875         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35876
35877 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35878
35879         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35880         Fix overflow bug in strncat.
35881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35882
35883         * string/test-strncat.c: Update.
35884         Add new tests for checking overflow bugs.
35885
35886 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35887
35888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35889         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35890         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35891         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35892         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35893         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35894         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35895         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35896         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35897
35898         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35899         (USE_AS_STRCAT): Define.
35900         Add strcat and strncat support.
35901         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35902
35903 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35904
35905         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35906         __n bigger than INT_MAX+1.
35907         (__strncmp_g): Likewise.
35908
35909 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35910
35911         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35912         * libio/stido.h: Likewise.
35913
35914         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35915         (AF_NFC): Define.
35916         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35917         (AF_NFC): Define.
35918
35919         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35920         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35921         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35922         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35923         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35924
35925         [BZ #13021]
35926         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35927         installed.
35928
35929         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35930         typo.
35931         (_dl_x86_64_save_sse): Likewise.
35932
35933 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35934
35935         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35936         OSXSAVE.
35937         (_dl_x86_64_save_sse): Likewise.
35938
35939         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35940
35941         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35942
35943 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35944
35945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35946         change.
35947         (_dl_x86_64_save_sse): Use correct AVX check.
35948
35949 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35950
35951         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35952         bug in strncpy/strncat.
35953         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35954
35955 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35956
35957         * string/tester.c (test_strcat): Add tests for different alignments
35958         of source and destination.
35959         (test_strncat): Likewise.
35960
35961 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35962
35963         [BZ #12852]
35964         * posix/glob.c (glob): Check passed in values before using them in
35965         expressions to avoid some overflows.
35966         (glob_in_dir): Likewise.
35967
35968         [BZ #13007]
35969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35970         check for AVX enablement so that we don't crash with old kernels and
35971         new hardware.
35972         * elf/tst-audit4.c: Add same checks here.
35973         * elf/tst-audit6.c: Likewise.
35974
35975         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35976
35977 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35978
35979         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35980
35981 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35982
35983         * po/cs.po: Update from translation team.
35984         * po/bg.po: Likewise.
35985
35986 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35987
35988         * misc/sys/cdefs.h: Add support for const attribute.
35989         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35990         to gnu_dev_{major,minor,makedev} functions.
35991
35992 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35993
35994         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35995
35996 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35997
35998         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35999         strlen results.
36000
36001 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36002
36003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36004         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36005         register in order to avoid conflicts with the soft frame pointer
36006         being held in r11 when necessary.
36007         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36008         (INTERNAL_VSYSCALL_NCS): Likewise.
36009
36010 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
36011
36012         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36013         * elf/dl-fini.c (_dl_fini): Adjust caller.
36014         * elf/dl-close.c (_dl_close_worker): Likewise.
36015         * sysdeps/generic/ldsodefs.h: Adjust declaration.
36016
36017 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36018
36019         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36020         "aux_cache->nlibs < 0".
36021
36022         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36023         in the reload-count case.
36024
36025 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36026
36027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36028         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36029         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36030         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36031         * sysdeps/x86_64/multiarch/strcat.S: New file.
36032         * sysdeps/x86_64/multiarch/strncat.S: New file.
36033         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36034         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36035         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36036         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36037         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36038         (USE_AS_STRCAT): Define.
36039         Add strcat and strncat support.
36040         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36041         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36042         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36043         * string/strncat.c: Update.
36044         (USE_AS_STRNCAT): Define.
36045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36046         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36047         and i7.
36048         * sysdeps/x86_64/multiarch/init-arch.h
36049         (bit_Prefer_PMINUB_for_stringop): New.
36050         (index_Prefer_PMINUB_for_stringop): Likewise.
36051         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36052         bit_Prefer_PMINUB_for_stringop.
36053
36054 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36055
36056         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36057         buffer64.
36058         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36059         of casting of buffer.
36060         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36061         buffer32 and buffer64.
36062         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36063         writes instead of casting of buffer.
36064         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36065         buffer32.
36066         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36067         casting of buffer.
36068
36069 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36070
36071         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36072
36073 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36074
36075         * nscd/nscd.c (termination_handler): Don't do anything for a database
36076         if it has not yet been initialized.
36077
36078 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36079
36080         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36081
36082 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36083
36084         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36085
36086 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36087
36088         * po/nl.po: Update from translation team.
36089         * po/sv.po: Likewise.
36090
36091 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36092
36093         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36094         now disallowed by GCC.
36095
36096         * configure.in (use-default-link): Default to yes if a test -shared
36097         link meets our qualifications.
36098         * configure: Regenerated.
36099
36100         * config.make.in (output-format): New variable.
36101         * configure.in: Check for ld --print-output-format support.
36102         * configure: Regenerated.
36103         * Makerules ($(common-objpfx)format.lds)
36104         [$(output-format) != unknown]: Just use $(output-format),
36105         instead of the linker-script munging.
36106
36107 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36108
36109         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36110         of $(common-objpfx)shlib.lds.
36111         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36112
36113         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36114         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36115
36116         * configure.in (-z relro check): Adjust test code to add a large
36117         writable data section after it.
36118         * configure: Regenerated.
36119
36120 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36121
36122         * configure.in (-z relro check): Fix test code to make the variable
36123         truly const.
36124         * configure: Regenerated.
36125
36126 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36127
36128         * nscd/nscd.h (struct traced_file): Define.
36129         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36130         elements.  Add traced_files.
36131         (inotify_fd): Declare.
36132         (register_traced_file): Declare.
36133         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36134         (inotify_fd): Export.
36135         (resolv_conf_descr): Remove.
36136         (nscd_init): Move inotify descriptor creation to main.
36137         Don't register files for notification here.
36138         (register_traced_file): New function.
36139         (invalidate_cache): Don't use reset_res to determine whether to call
36140         res_init, go through the list of registered files.
36141         (main_loop_poll): The inotify descriptors are now stored in the
36142         structures for the traced files.
36143         (main_loop_epoll): Likewise
36144         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36145         to __nss_disable_nscd.
36146         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36147         for a database anymore.  Check the records for all the registered
36148         files instead.
36149         * nss/Makefile (libnss_files-routines): Add files-init.
36150         (libnss_db-routines): Add db-init.
36151         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36152         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36153         * nss/nss_db/db-init.c: New file.
36154         * nss/nss_files/files-init.c: New file.
36155         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36156         __nss_lookup_function.
36157         (__nss_lookup_function): Call nss_load_library.
36158         (nss_load_all_libraries): New function.
36159         (__nss_disable_nscd): Take parameter with callback function for files
36160         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36161         used for the cached services.
36162         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36163         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36164         options for features to all the files in nscd.
36165
36166         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36167
36168 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36169
36170         * csu/elf-init.c (__libc_csu_init): Comment typo.
36171
36172 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36173
36174         * po/pl.po: Update from translation team.
36175         * po/ja.po: Likewise.
36176         * po/ru.po: Likewise.
36177         * po/ko.po: Likewise.
36178         * po/fr.po: Likewise.
36179
36180 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36181
36182         * configure.in (.ctors/.dtors header and trailer check):
36183         Use an empirical test on a built program.
36184         * configure: Regenerated.
36185
36186         * configure.in (-z relro check): Use an empirical test on a built DSO.
36187         Detect, but do not require, on ia64.
36188         * configure: Regenerated.
36189
36190         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36191         Update tests that use readelf to use $READELF instead.
36192         * configure: Regenerated.
36193
36194 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36195
36196         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36197         if the result is not used.
36198
36199 2011-07-05  Andreas Jaeger  <aj@suse.de>
36200
36201         [BZ#9696]
36202         * stdlib/tst-strtod.c: Add testcase.
36203
36204 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36205
36206         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36207         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36208         The latter has a higher limit.  Take additional parameter to pass to
36209         the new function.
36210         (__pathconf): Pass file to __statfs_link_max.
36211         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36212         __statfs_link_max.
36213         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36214         __statfs_link_max.
36215
36216         [BZ #12868]
36217         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36218         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36219         Handle Lustre.
36220         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36221         (__statfs_filesize_max): Likewise.
36222         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36223
36224 2011-07-05  Andreas Jaeger  <aj@suse.de>
36225
36226         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36227
36228 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36229
36230         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36231         `status' variable.
36232         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36233         Likewise.
36234
36235 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36236
36237         * Makefile (strop-tests): Add strncat.
36238         * string/test-strncat.c: New file.
36239
36240 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36241
36242         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36243
36244 2011-06-21  Andreas Jaeger  <aj@suse.de>
36245
36246         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36247         Copy rule from iconvdata/Makefile.
36248
36249 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36250
36251         [BZ #12922]
36252         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36253         but no long options are defined, just return 'W'.
36254
36255 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36256
36257         [BZ #9696]
36258         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36259
36260 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36261
36262         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36263         netgroups to read.
36264         (innetgr): Likewise.
36265
36266 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36267
36268         * config.make.in (install_root): Default to $(DESTDIR).
36269
36270 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36271
36272         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36273
36274 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36275
36276         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36277
36278         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36279         containing directory rather than embedding absolute directory names.
36280
36281         * scripts/check-local-headers.sh: Rewritten using awk.
36282         Match by word, not by line.  Print error messages for matches.
36283         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36284
36285         * Makerules [shlib-lds-flags empty]:
36286         ($(common-objpfx)libc_pic.opts): New target.
36287         ($(common-objpfx)libc_pic.os.clean): New target.
36288         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36289
36290         * config.make.in (OBJCOPY): New variable.
36291         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36292         * configure: Regenerated.
36293
36294         * config.make.in (use-default-link): New variable.
36295         * configure.in (use_default_link): Grok --with-default-link to set it.
36296         * configure: Regenerated.
36297         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36298         (shlib-lds, shlib-lds-flags): Define to empty.
36299
36300         * Makerules (shlib-lds): New variable.
36301         (shlib-lds-flags): New variable.
36302         (build-shlib, build-moduile, build-module-asneeded): Use it.
36303         ($(common-objpfx)libc.so): Use $(shlib-lds).
36304         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36305         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36306
36307         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36308         DT_FLAGS/DT_FLAGS_1 with zero flags.
36309
36310         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36311         linker script munging.
36312
36313 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
36314
36315         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36316         as 128-bit value.
36317         * crypt/sha512.c (sha512_process_block): Perform total addition using
36318         128-bit if possible.
36319         (__sha512_finish_ctx): Likewise.
36320         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36321         as 64-bit value.
36322         * crypt/sha256.c (SWAP64): Define.
36323         (sha256_process_block): Perform total addition using 64-bit if
36324         possible.
36325         (__sha256_finish_ctx): Likewise.
36326
36327 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
36328
36329         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
36330         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36331         * nscd/hstcache.c (cache_addhst): Likewise.
36332         * nscd/grpcache.c (cache_addgr): Likewise.
36333         * nscd/aicache.c (addhstaiX): Likewise
36334         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36335
36336 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36337
36338         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36339         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36340         * nscd/hstcache.c (cache_addhst): Likewise.
36341         * nscd/grpcache.c (cache_addgr): Likewise.
36342         * nscd/aicache.c (addhstaiX): Likewise
36343
36344 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36345
36346         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36347         domain only when needed.
36348
36349 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36350
36351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36352         is always restored.
36353
36354 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36355
36356         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36357         are re-adding the entry.
36358         * nscd/servicescache.c (cache_addserv): Likewise.
36359
36360 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36361
36362         * sysdeps/generic/dl-irel.h: fix protection against multiple
36363         inclusions.
36364         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36365
36366 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36367
36368         [BZ #12935]
36369         * malloc/memusage.sh: Fix quoting in message.
36370         * debug/xtrace.sh: Likewise.
36371
36372         * configure.in: Remove support for --experimental-malloc option, make
36373         it the default.
36374         * config.make.in: Likewise.
36375         * malloc/Makefile: Likewise.
36376
36377 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36378
36379         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36380         two-byte characters.
36381
36382 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36383
36384         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36385         AC_CACHE_CHECK invocation.
36386         * configure: Regenerated.
36387
36388         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36389
36390 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36391
36392         [BZ #12350]
36393         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36394         bit from old_res_options.
36395
36396         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36397
36398         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36399         value type for setfct.
36400
36401 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36402
36403         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36404         __gettimeofday instead of gettimeofday.
36405
36406 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36407
36408         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36409
36410 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36411
36412         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36413
36414         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36415         info.
36416
36417 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36418
36419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36420         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36421         strcpy-sse2-unaligned strncpy-sse2-unaligned
36422         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36423         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36424         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36425         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36426         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36427         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36428         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36429         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36430         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36431         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36432         (STRCPY): Support SSE2 and SSSE3 versions.
36433
36434 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36435
36436         [BZ #12874]
36437         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36438         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36439         kernels which artificially limit size of requests.
36440
36441 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36442
36443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36444         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36445         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36446         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36447         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36448         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36449         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36450         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36451         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36452         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36453         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36454         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36455         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36456         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36457         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36459         Enable unaligned load optimization for Intel Core i3, i5 and i7
36460         processors.
36461         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36462         Define.
36463         (index_Fast_Unaligned_Load): Define.
36464         (HAS_FAST_UNALIGNED_LOAD): Define.
36465
36466 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36467
36468         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36469
36470 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36471
36472         [BZ #12907]
36473         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36474         until it is clear that the information is realy needed.
36475         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36476
36477 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36478
36479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36480
36481 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36482
36483         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36484         /sys/devices/system/cpu/online if it is usable.
36485
36486         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36487         reading the information from the /proc filesystem to once a second.
36488
36489 2011-06-21  Andreas Jaeger  <aj@suse.de>
36490
36491         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36492         NULL after inclusion of kernel headers.
36493
36494 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36495
36496         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36497         calls to internal_setent.
36498
36499         [BZ #12885]
36500         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36501         addresses using gethostbyname4_r ignore IPv4 addresses.
36502
36503         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36504         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36505
36506         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36507
36508 2011-06-20  David S. Miller  <davem@davemloft.net>
36509
36510         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36511         inclusions.
36512         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36513
36514         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36515         (elf_irel): Use it.
36516         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36517         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36518         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36519         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36520         * sysdeps/x86_64/dl-irel.h: Likewise.
36521
36522         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36523         * elf/dl-sym.c: Likewise.
36524
36525 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36526
36527         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36528         need to dereference resplen2.
36529
36530 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36531
36532         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36533
36534 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36535
36536         * Makeconfig: Define vardbdir and inst_vardbdir.
36537         * nss/Makefile: Add rules to install db-Makefile.
36538
36539         * nss/nss_db/db-XXX.c: Cleanup.
36540
36541         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36542         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36543         GLIBC_PRIVATE.
36544         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36545         * nss/makedb.c: Implement -g option to specify that value strings
36546         are generated and should not be added to table iterated over for
36547         get*ent calls.
36548         * nss/nss_db/db-initgroups.c: New file.
36549
36550         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36551         interface.
36552
36553         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36554         (internal_getgrouplist): Adjust to name change.
36555         Update use_initgroups_entry if this is not the first call.
36556         * nss/databases.def: Add initgroups entry.
36557
36558         * nss/makedb.c (compute_tables): Check result of multiple hash table
36559         sizes to minimize maximum chain length.
36560
36561 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36562
36563         * Versions.def: Add entry for libnss_db.
36564         * shlib-versions: Likewise.
36565         * nss/Makefile: Add rules to build libnss_db.
36566         * nss/Versions: Add libnss_db information.  Organize libnss_files
36567         entries better.
36568         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36569         makedb progra.  Some minor improvements to generate smaller files.
36570         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36571         here from...
36572         * nss/makedb.c: ...here.
36573         Improve database format to be smaller and require less memory at
36574         runtime.
36575         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36576         db anymore.
36577         * nss/nss_db/db-netgrp.c: Likewise.
36578         * nss/nss_db/db-open.c: Likewise.
36579         * nss/nss_files/flies-XXX.x: Adjust comments.
36580         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36581         * nss/nss_files/files-grp.c: Likewise.
36582         * nss/nss_files/files-hosts.c: Likewise.
36583         * nss/nss_files/files-network.c: Likewise.
36584         * nss/nss_files/files-proto.c: Likewise.
36585         * nss/nss_files/files-pwd.c: Likewise.
36586         * nss/nss_files/files-rpc.c: Likewise.
36587         * nss/nss_files/files-service.c: Likewise.
36588         * nss/nss_files/files-sgrp.c: Likewise.
36589         * nss/nss_files/files-spwd.c: Likewise.
36590         * nss/nss_db/db-alias.c: Removed.
36591         * nss/nss_db/dummy-db.h: Removed.
36592
36593 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36594
36595         * nss/makedb.c: Rewritten to not use database library.
36596         * nss/Makefile: Update to build new makedb program.
36597
36598 2011-06-14  Andreas Jaeger  <aj@suse.de>
36599
36600         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36601         memset declaration.
36602
36603 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36604
36605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36606         tmpbuf.
36607
36608 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36609
36610         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36611         * elf/Makefile ($(objpfx)ld.so): Likewise.
36612
36613         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36614         Don't list ld.so twice in dependencies.
36615
36616         * posix/bug-regex31.c: Include <stdlib.h>.
36617
36618         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36619
36620         * nis/nss_compat/compat-spwd.c
36621         (getspent_next_nss_netgr): Remove unused variable.
36622         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36623
36624         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36625         nonmembers" output to use the right array.
36626
36627         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36628
36629         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36630
36631         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36632         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36633         * catgets/gencat.c (read_input_file): Likewise.
36634         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36635
36636         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36637         variable definition inside #if's controlling its use.
36638
36639         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36640
36641         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36642
36643         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36644
36645         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36646         unreachable code.
36647
36648         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36649
36650         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36651         * configure: Regenerated.
36652
36653         * Makerules: Revert last change.
36654         * elf/Makefile: Likewise.
36655
36656 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36657
36658         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36659         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36660         (reloc-link): Likewise.
36661
36662 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36663
36664         * elf/Makefile: Add rules to build pldd.
36665         * elf/pldd.c: New file.
36666         * elf/pldd-xx.c: New file.
36667
36668 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36669
36670         * version.h: Update for 2.15 development version.
36671
36672 2011-06-07  David S. Miller  <davem@davemloft.net>
36673
36674         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36675         ifuncs.
36676         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36677         elf_machine_lazy_rel): Likewise.
36678         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36679         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36680         elf_machine_lazy_rel): Likewise.
36681         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36682         dl_hwcap via passed in argument.
36683         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36684         Likewise.
36685
36686 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36687
36688         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36689
36690 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36691
36692         [BZ #12849]
36693         * manual/fdl-1.1.texi: New file, verbatim from:
36694         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36695         * manual/lgpl-2.1.texi: New file, verbatim from:
36696         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36697         * manual/Makefile (licenses): New variable, list those new file names.
36698         (texis): Use it.
36699         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36700
36701         * manual/fdl.texi: File removed.
36702         * manual/lesser.texi: File removed.
36703         * manual/libc.texinfo (Copying, Documentation License):
36704         Use new @include file names, put @appendix directive before @include.
36705
36706 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36707
36708         [BZ #12841]
36709         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36710         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36711         (mq_open): Add __NTH.
36712
36713 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36714
36715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36716         Assume Intel Core i3/i5/i7 processor if AVX is available.
36717
36718 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36719
36720         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36721         typo.
36722
36723 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36724
36725         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36726         memory.  Use alloca_account.  Fix memory leak when retrying.
36727
36728 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36729
36730         * version.h (RELEASE): Bump for 2.14 release.
36731         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36732
36733         * config.make.in (RANLIB): Remove entry.
36734
36735 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36736
36737         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36738         (libc.pot): Work around missing support for .ksh extension in xgettext.
36739
36740         [BZ #12684]
36741         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36742         if both request failed.
36743         (send_dg): In case of server errors clear resplen or *resplen2.
36744
36745         [BZ #12454]
36746         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36747         when there are multiple maps.
36748         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36749         (_dl_fini): Remove test here.
36750
36751         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36752
36753 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36754
36755         [BZ #12350]
36756         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36757         bit from old_res_options.
36758         (gaih_inet): Likewise.
36759
36760         [BZ #11099]
36761         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36762         as signed.
36763
36764         * resolv/res_init.c (res_setoptions): Make the code more compact.
36765
36766         [BZ #11558]
36767         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36768         set RES_USEVC.
36769
36770         [BZ #11634]
36771         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36772
36773         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36774
36775         [BZ #11781]
36776         * malloc/malloc.h: Declare malloc hook variables as volatile.
36777
36778         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36779         in last patch.
36780
36781         [BZ #11799]
36782         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36783         raise in the comment.
36784         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36785         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36786         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36787
36788 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36789
36790         [BZ #12811]
36791         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36792         grow the buffers more if it already has to be sufficient.
36793         (build_wcs_upper_buffer): Likewise.
36794         * posix/regexec.c (check_matching): Likewise.
36795         (clean_state_log_if_needed): Likewise.
36796         (extend_buffers): Don't enlarge buffers beyond size of the input
36797         buffer.
36798         Patches mostly by Emil Wojak <emil@wojak.eu>.
36799         * posix/bug-regex32.c: New file.
36800         * posix/Makefile (tests): Add bug-regex32.
36801
36802         * locale/findlocale.c (_nl_find_locale): Return right away if
36803         _nl_explode_name failed.
36804         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36805
36806         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36807
36808         * debug/xtrace.sh: Unify messages.
36809         * malloc/memusage.sh: Likewise.
36810
36811         [BZ #12813]
36812         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36813         time symbol from vDSO.  Substitute with vsyscall if not available.
36814         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36815         __vdso_time.
36816
36817         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36818         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36819         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36820         Add sendmmsg and internal_sendmmsg.
36821         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36822         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36823         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36824
36825         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36826         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36827         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36828
36829 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36830
36831         [BZ #12813]
36832         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36833         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36834         available.
36835         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36836         __vdso_getcpu.
36837
36838         [BZ #12814]
36839         * iconvdata/Makefile (tests): Add bug-iconv9.
36840         * iconvdata/bug-iconv9.c: New file.
36841
36842 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36843
36844         [BZ #12814]
36845         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36846
36847 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36848
36849         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36850         (struct user_regs_struct): Change intcs field back to cs.
36851
36852 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36853
36854         * po/ja.po: Update from translation team.
36855
36856 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36857
36858         [BZ #12795]
36859         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36860         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36861
36862 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36863
36864         * stdlib/longlong.h: Update from GCC.
36865
36866 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36867
36868         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36869         parameter name.
36870         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36871         Add parameter name.
36872         (__sysconf): Pass it down.
36873
36874 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36875
36876         [BZ #12671]
36877         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36878         some situations.
36879         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36880         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36881         add in in __libc_use_alloca calls.  Adjust callers.
36882         (glob): Use malloc in some situations.
36883
36884         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36885         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36886         pltexit.
36887
36888 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36889
36890         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36891         and CLOCK_BOOTTIME_ALARM.
36892
36893         [BZ #12782]
36894         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36895         is returned.
36896
36897         * string/_strerror.c (__strerror_r): Print negative errors as signed
36898         numbers.
36899
36900         [BZ #12777]
36901         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36902         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36903         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36904
36905         * configure.in: Fix typo in redirection and correct removal of test
36906         files in two cases.
36907
36908         [BZ #12788]
36909         * locale/setlocale.c (new_composite_name): Fix test to check for
36910         identical name of all categories.
36911
36912         [BZ #12792]
36913         * libio/filedoalloc.c (local_isatty): New function.
36914         (_IO_file_doallocate): Use local_isatty.
36915         * stdio-common/perror.c (perror): In case a new stream is used
36916         forward the stream error.
36917         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36918         error flag.
36919
36920 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36921
36922         [BZ #11869]
36923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36924         alloca.
36925         * include/alloca.h (extend_alloca_account): Define.
36926
36927         [BZ #11857]
36928         * posix/regex.h: Fix comments with documentation of user-accessible
36929         fields after compilation and describe correct free'ing of pattern
36930         after re_compile_pattern.
36931         Patch by Reuben Thomas <rrt@sc3d.org>.
36932
36933 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36934
36935         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36936         and -mno-altivec to prevent the compiler from using Altivec and/or
36937         VSX instructions when the corresponding registers are not available.
36938
36939 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36940
36941         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36942
36943 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36944
36945         * libio/freopen.c (freopen): Use __dup2, not dup2.
36946         * libio/freopen64.c (freopen64): Likewise.
36947
36948 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36949
36950         [BZ #12775]
36951         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36952         * math/Makefile (tests): Add test-powl.
36953         (CFLAGS-test-powl.c): Define.
36954         * math/test-powl.c: New file.
36955
36956 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36957
36958         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36959
36960 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36961
36962         [BZ #11837]
36963         * iconvdata/gb18030.c: Update to GB18020-2005.
36964
36965 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36966
36967         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36968         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36969         Patch by Aharon Robbins <arnold@skeeve.com>.
36970
36971         [BZ #11892]
36972         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36973         on the stack.
36974
36975         [BZ #11895]
36976         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36977         through underflows.
36978
36979         [BZ #12766]
36980         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36981         point to strings before performing equality test for error_one_per_line
36982         mode.
36983
36984         [BZ #11697]
36985         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36986
36987         [BZ #11820]
36988         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36989         (struct user_fpregs_struct): Avoid __uint*_t types.
36990
36991         [BZ #6420]
36992         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36993         symbol info.  Use it instead of calling _dl_addr locally.
36994         (lock_and_info): New function.
36995         (tr_freehook): Call lock_and_info and pass symbol info as additional
36996         parameter to tr_where.
36997         (tr_mallochook): Likewise.
36998         (tr_reallochook): Likewise.
36999         (tr_memalignhook): Likewise.
37000
37001         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
37002         used and couldn't be at all thread-safe.
37003
37004 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
37005
37006         * libio/freopen.c (freopen): Don't close old file descriptor
37007         before the new one is opened.  Instead dup the new file descriptor
37008         to the old one after the new stream is created.
37009         * libio/freopen64.c (freopen64): Likewise.
37010         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37011         * libio/fileops.c (_IO_new_file_close_it): Handle new
37012         _IO_FLAGS2_NOCLOSE flag.
37013         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37014         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37015         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37016         _IO_FLAGS2_NOCLOSE flag.
37017         * include/unistd.h: Add hidden_proto for dup3.
37018         Define __have_dup3.
37019         * io/dup3.c: Define hidden symbol.
37020         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37021
37022         [BZ #7101]
37023         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37024         when an incomplete long option is used.
37025         * posix/tst-getopt_long1.c: New file.
37026         * posix/Makefile (tests): Add tst-getopt_long1.
37027
37028         [BZ #10138]
37029         * scripts/config.guess: Update from autoconf-2.68.
37030         * scripts/config.sub: Likewise.
37031
37032         [BZ #10157]
37033         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37034         tests into ...
37035         (has_cpuclock): ...this.  New function.
37036         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37037         macro here based on has_cpuclock code.
37038
37039         [BZ #10149]
37040         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37041         First byte (not low byte) is now always NUL.
37042         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37043
37044         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37045         Use non-cancelable interfaces.
37046
37047         [BZ #9809]
37048         * locale/iso-639.def: Add entry for Sorani.
37049
37050         [BZ #11901]
37051         * include/stdlib.h: Move include protection to the right place.
37052         Define abort_msg_s.  Declare __abort_msg with it.
37053         * stdlib/abort.c (__abort_msg): Adjust type.
37054         * assert/assert.c (__assert_fail_base): New function.  Majority
37055         of code from __assert_fail.  Allocate memory for __abort_msg with
37056         mmap.
37057         (__assert_fail): Now call __assert_fail_base.
37058         * assert/assert-perr.c: Remove bulk of implementation.  Use
37059         __assert_fail_base.
37060         * include/assert.hL Declare __assert_fail_base.
37061         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37062         mmap.
37063         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37064
37065 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
37066
37067         [BZ #11952]
37068         [BZ #12453]
37069         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37070         until all modules are registered in the DTV.
37071         * elf/Makefile: Add rules to build and run tst-tls19.
37072         * elf/tst-tls19.c: New file.
37073         * elf/tst-tls19mod1.c: New file.
37074         * elf/tst-tls19mod2.c: New file.
37075         * elf/tst-tls19mod3.c: New file.
37076         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37077
37078         [BZ #12083]
37079         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37080         correctly.
37081
37082         [BZ #12601]
37083         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37084         two-byte sequence errors.
37085         * iconvdata/Makefile (tests): Add bug-iconv8.
37086         * iconvdata/bug-iconv8.c: New file.
37087
37088         [BZ #12626]
37089         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37090         buf2 definition.
37091
37092         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37093
37094         [BZ #12432]
37095         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37096         (dummy_getcfa): New function.
37097         (init): Get _Unwind_GetCFA address, use dummy if not found.
37098         (backtrace_helper): In recursion check, also check whether CFA changes.
37099         (__backtrace): Completely initialize arg.
37100
37101         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37102         storing incomplete byte sequence in state object.  Avoid testing for
37103         guaranteed too small input if we know there is enough data available.
37104
37105 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37106
37107         * Makeconfig (+link-pie): Indent.
37108         * Rules (binaries-pie): Define if $(have-fpie) and
37109         $(build-shared).
37110         (binaries-shared): Also filter out $(binaries-pie).
37111         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37112         * nscd/Makefile (others-pie): Add nscd.
37113         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37114         ($(objpfx)nscd): Remove command override.
37115         * login/Makefile (others-pie): Add pt_chown.
37116         ($(objpfx)pt_chown): Remove command override.
37117         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37118         remove command overrides.
37119
37120 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37121
37122         * libio/tst_putwc.c: Fix error messages.
37123
37124         [BZ #12724]
37125         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37126         currently writing and seek to current position when not.
37127         * libio/Makefile (tests): Add bug-fclose1.
37128         * libio/bug-fclose1.c: New file.
37129
37130 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37131
37132         [BZ #12511]
37133         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37134         don't set DF_1_NODELETE here.
37135         (do_lookup_x): When entering new entry test for copy relocation
37136         and if necessary set DF_1_NODELETE flag.
37137         * elf/tst-unique4.cc: New file.
37138         * elf/tst-unique4.h: New file.
37139         * elf/tst-unique4lib.cc: New file.
37140         * elf/Makefile: Add rules to build and run tst-unique4.
37141         Patch by Piotr Bury <pbury@goahead.com>.
37142
37143 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37144
37145         [BZ #12052]
37146         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37147
37148         [BZ #12625]
37149         * misc/mntent_r.c (addmntent): Flush the stream after the output
37150
37151         [BZ #12393]
37152         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37153         (is_trusted_path_normalize): Skip initial colon.  Append slash
37154         to empty buffer.  Duplicate is_trusted_path code but allow
37155         constructed patch to be prefix.
37156         (is_dst): Allow $ORIGIN followed by /.
37157         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37158         Correct testing of result of is_trusted_path_normalize
37159         (decompose_rpath): Fix warning.
37160
37161 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37162
37163         [BZ #11257]
37164         * grp/initgroups.c (internal_getgrouplist): When we found the service
37165         list through the initgroups entry in nsswitch.conf do not always
37166         continue on a successful lookup.  Don't always use the
37167         __nss_group_database value if it is set.
37168         * nss/nsswitch.conf (initgroups): Change action for successful db
37169         lookup to continue for compatibility.
37170
37171 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37172
37173         [BZ #11532]
37174         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37175         and CP774 modules.
37176         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37177         and CP774 modules.
37178         * iconvdata/tst-tables.sh: Likewise.
37179         * iconvdata/cp770.c: New file.
37180         * iconvdata/cp771.c: New file.
37181         * iconvdata/cp772.c: New file.
37182         * iconvdata/cp773.c: New file.
37183         * iconvdata/cp774.c: New file.
37184         * iconvdata/testdata/CP770: New file.
37185         * iconvdata/testdata/CP770..UTF8: New file.
37186         * iconvdata/testdata/CP771: New file.
37187         * iconvdata/testdata/CP771..UTF8: New file.
37188         * iconvdata/testdata/CP772: New file.
37189         * iconvdata/testdata/CP772..UTF8: New file.
37190         * iconvdata/testdata/CP773: New file.
37191         * iconvdata/testdata/CP773..UTF8: New file.
37192         * iconvdata/testdata/CP774: New file.
37193         * iconvdata/testdata/CP774..UTF8: New file.
37194
37195         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37196         END CHARMAP line.
37197         * iconvdata/gen-8bit-gap.sh: Likewise.
37198         * iconvdata/gen-8bit.sh: Likewise.
37199
37200         * locale/iso-639.def: Add ary entry.
37201
37202         [BZ #11258]
37203         * locale/C-translit.h.in: Add U20A1 transliteration.
37204
37205         [BZ #12178]
37206         * locale/iso-639.def: Add wae entry.
37207         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37208
37209         [BZ #12545]
37210         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37211         for n.
37212
37213         [BZ #12711]
37214         * locale/C-translit.h.in: Add entry for U20B9.
37215         Patch by pravin.d.s@gmail.com.
37216
37217 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37218
37219         [BZ #12713]
37220         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37221         ENAMETOOLONG use generic getcwd.
37222         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37223         in rtld.  Use *stat64.
37224         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37225         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37226         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37227         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37228         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37229         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37230         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37231         __fstatat64 macros.
37232         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37233         * dirent/rewinddir.c: Add libc_hidden_def.
37234         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37235         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37236
37237         * include/dirent.h (__alloc_dir): Add flags parameter.
37238         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37239         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37240         __alloc_dir.
37241         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37242         from fdopendir if O_CLOEXEC is already set.
37243
37244 2011-03-15  Alan Modra  <amodra@gmail.com>
37245
37246         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37247         l_tls_firstbyte_offset non-zero.  Save padding offset in
37248         l_tls_firstbyte_offset for later use.
37249         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37250         freeing static tls block.
37251
37252 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37253
37254         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37255         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37256         being defined by the kernel headers.
37257
37258 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37259
37260         [BZ #12734]
37261         * resolv/resolv.h: Define RES_NOTLDQUERY.
37262         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37263         no-tld-query and set RES_NOTLDQUERY.
37264         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37265         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37266         modern BIND to search name as TLD unless forbidden.
37267
37268 2011-05-07  Petr Baudis  <pasky@suse.cz>
37269             Ulrich Drepper  <drepper@gmail.com>
37270
37271         [BZ #12393]
37272         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37273         (is_trusted_path): ...to here.
37274         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37275         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37276         using is_trusted_path_normalize() in setuid scripts.
37277
37278 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37279
37280         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37281         __BEGIN/__END_DECLS.
37282
37283 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37284
37285         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37286         NSS_STATUS_NOTFOUND if no record was found.
37287
37288 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37289
37290         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37291         (headers-not-in-tirpc): Remove rpc/netdb.h
37292         * resolv/netdb.h: Revert last change.
37293
37294 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37295
37296         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37297         circular dependency between libgcc.a and libc.a.
37298
37299 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37300
37301         * resolv/netdb.h: Don't include <rpc/netdb.h>.
37302         * nis/Makefile: Don't install rpcsvc/*.
37303         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37304         instead of <rpc/types.h>.
37305         (MAXHOSTNAMELEN): Define.
37306
37307 2011-05-03  Andreas Schwab  <schwab@redhat.com>
37308
37309         * elf/ldconfig.c (add_dir): Don't crash on empty path.
37310
37311 2011-04-28  Maciej Babinski  <mbabinski@google.com>
37312
37313         [BZ #12714]
37314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37315         gethostbyname4_r when IPv6 results are possible.
37316
37317 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
37318
37319         [BZ #12723]
37320         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37321         _PC_PIPE_BUF handling.
37322
37323 2011-04-30  Bruno Haible  <bruno@clisp.org>
37324
37325         [BZ #12717]
37326         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37327         * resolv/netdb.h (getnameinfo): Change type of flags parameter
37328         to 'int'.
37329         * inet/getnameinfo.c (getnameinfo): Likewise.
37330
37331 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37332
37333         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37334         to groups setting in database lookup.
37335         * nss/nsswitch.conf: Add initgroups entry.
37336
37337 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37338
37339         [BZ #12685]
37340         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37341         mode string.
37342         Patch by Eric Blake <eblake@redhat.com>.
37343
37344 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37345
37346         * sunrpc/Makefile (need-export-routines): Add svc_run.
37347         (routines): Remove svc_run.
37348         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37349         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37350         * sunrpc/svc_run.c (svc_run): Likewise.
37351         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37352
37353 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37354
37355         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37356         problem in reallocation in last patch.
37357
37358 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37359
37360         * sunrpc/Makefile: Move inclusion of Rules.
37361
37362 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37363
37364         * nss/nss_files/files-initgroups.c: New file.
37365         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37366         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37367         _nss_files_initgroups_dyn.
37368
37369 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37370
37371         * elf/elf.h (R_ARM_IRELATIVE): Define.
37372
37373 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37374
37375         * po/ru.po: Update from translation team.
37376
37377 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37378
37379         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37380         dependencies.
37381
37382 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37383
37384         [BZ #12653]
37385         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37386         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37387         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37388         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37389         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37390
37391 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37392
37393         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37394         differing bytes.
37395         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37396         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37397         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37398
37399 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37400
37401         [BZ #12420]
37402         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37403         storing it.
37404         * stdlib/bug-getcontext.c: New file.
37405         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37406
37407 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37408
37409         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37410         instructions into .machine "z9-109".
37411         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37412         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37413
37414 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37415
37416         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37417         between environment variables and auxiliary vector.
37418
37419 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37420
37421         * Makefile: Add rules to build linkobj/libc.so.
37422         * include/libc-symbols.h: Define libc_hidden_nolink.
37423         * include/rpc/auth.h: Mark functions which are to be hidden.
37424         * include/rpc/auth_des.h: Likewise.
37425         * include/rpc/auth_unix.h: Likewise.
37426         * include/rpc/clnt.h: Likewise.
37427         * include/rpc/des_crypt.h: Likewise.
37428         * include/rpc/key_prot.h: Likewise.
37429         * include/rpc/pmap_clnt.h: Likewise.
37430         * include/rpc/pmap_prot.h: Likewise.
37431         * include/rpc/pmap_rmt.h: Likewise.
37432         * include/rpc/rpc_msg.h: Likewise.
37433         * include/rpc/svc.h: Likewise.
37434         * include/rpc/svc_auth.h: Likewise.
37435         * include/rpc/xdr.h: Likewise.
37436         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37437         * nss/Makefile: Likewise.
37438         * sunrpc/Makefile: Don't install headers.  Build library with normal
37439         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37440         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37441         for the compat linking library.  Remove use of INTDEF/INTUSE.
37442         * sunrpc/auth_none.c: Likewise.
37443         * sunrpc/auth_unix.c: Likewise.
37444         * sunrpc/authdes_prot.c: Likewise.
37445         * sunrpc/authuxprot.c: Likewise.
37446         * sunrpc/clnt_gen.c: Likewise.
37447         * sunrpc/clnt_perr.c: Likewise.
37448         * sunrpc/clnt_raw.c: Likewise.
37449         * sunrpc/clnt_simp.c: Likewise.
37450         * sunrpc/clnt_tcp.c: Likewise.
37451         * sunrpc/clnt_udp.c: Likewise.
37452         * sunrpc/clnt_unix.c: Likewise.
37453         * sunrpc/des_crypt.c: Likewise.
37454         * sunrpc/des_soft.c: Likewise.
37455         * sunrpc/get_myaddr.c: Likewise.
37456         * sunrpc/key_call.c: Likewise.
37457         * sunrpc/key_prot.c: Likewise.
37458         * sunrpc/netname.c: Likewise.
37459         * sunrpc/pm_getmaps.c: Likewise.
37460         * sunrpc/pm_getport.c: Likewise.
37461         * sunrpc/pmap_clnt.c: Likewise.
37462         * sunrpc/pmap_prot.c: Likewise.
37463         * sunrpc/pmap_prot2.c: Likewise.
37464         * sunrpc/pmap_rmt.c: Likewise.
37465         * sunrpc/publickey.c: Likewise.
37466         * sunrpc/rpc_cmsg.c: Likewise.
37467         * sunrpc/rpc_common.c: Likewise.
37468         * sunrpc/rpc_dtable.c: Likewise.
37469         * sunrpc/rpc_prot.c: Likewise.
37470         * sunrpc/rpc_thread.c: Likewise.
37471         * sunrpc/rtime.c: Likewise.
37472         * sunrpc/svc.c: Likewise.
37473         * sunrpc/svc_auth.c: Likewise.
37474         * sunrpc/svc_authux.c: Likewise.
37475         * sunrpc/svc_raw.c: Likewise.
37476         * sunrpc/svc_run.c: Likewise.
37477         * sunrpc/svc_simple.c: Likewise.
37478         * sunrpc/svc_tcp.c: Likewise.
37479         * sunrpc/svc_udp.c: Likewise.
37480         * sunrpc/svc_unix.c: Likewise.
37481         * sunrpc/svcauth_des.c: Likewise.
37482         * sunrpc/xcrypt.c: Likewise.
37483         * sunrpc/xdr.c: Likewise.
37484         * sunrpc/xdr_array.c: Likewise.
37485         * sunrpc/xdr_float.c: Likewise.
37486         * sunrpc/xdr_intXX_t.c: Likewise.
37487         * sunrpc/xdr_mem.c: Likewise.
37488         * sunrpc/xdr_rec.c: Likewise.
37489         * sunrpc/xdr_ref.c: Likewise.
37490         * sunrpc/xdr_sizeof.c: Likewise.
37491         * sunrpc/xdr_stdio.c: Likewise.
37492
37493 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37494
37495         [BZ #12650]
37496         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37497         * sysdeps/ia64/dl-tls.h: Likewise.
37498         * sysdeps/powerpc/dl-tls.h: Likewise.
37499         * sysdeps/s390/dl-tls.h: Likewise.
37500         * sysdeps/sh/dl-tls.h: Likewise.
37501         * sysdeps/sparc/dl-tls.h: Likewise.
37502         * sysdeps/x86_64/dl-tls.h: Likewise.
37503         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37504
37505 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37506
37507         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37508         rpath element also skip the following colon.
37509         (expand_dynamic_string_token): Add is_path parameter and pass
37510         down to DL_DST_REQUIRED and _dl_dst_substitute.
37511         (decompose_rpath): Call expand_dynamic_string_token with
37512         non-zero is_path.  Ignore empty rpaths.
37513         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37514         with zero is_path.
37515
37516 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37517
37518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37519         Make cancelable.
37520
37521 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37522
37523         [BZ #12655]
37524         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37525         Patch by Filipe David Manana <fdmanana@apache.org>.
37526
37527 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37528
37529         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37530         Maintain aligned stack.
37531         (CHECK_RSP): Remove unused macro.
37532
37533 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37534
37535         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37536         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37537
37538 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37539
37540         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37541
37542         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37543
37544 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37545
37546         [BZ #12518]
37547         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37548         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37549         * sysdeps/x86_64/memmove.c: New file.
37550         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37551         (memcpy): Renamed to ...
37552         (__new_memcpy): This.
37553         (memcpy): Provide GLIBC_2_14 memcpy.
37554         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37555         (memcpy): Provide GLIBC_2_2_5 memcpy.
37556
37557 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37558
37559         [BZ #12631]
37560         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37561
37562 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37563
37564         * misc/syncfs.c: New file.
37565         * misc/Makefile (routines): Add syncfs.
37566         * posix/unistd.h: Declare syncfs.
37567         * sysdeps/unix/syscalls.list: Add syncfs.
37568
37569 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37570
37571         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37572         open_by_handle_at.
37573         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37574         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37575         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37576         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37577         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37578         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37580
37581 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37582
37583         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37584         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37585         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37587         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37588         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37589         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37590
37591         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37592         sync_file_range.c with -fexceptions.
37593         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37594         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37595         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37596         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37597         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37598         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37599         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37600         sync_file_range as cancellation point
37601         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37602         now a wrapper around __call_sync_file_range with cancellation handling.
37603         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37604         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37605         function name to __call_sync_file_range.
37606         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37607         Add call_sync_file_range.
37608
37609 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37610
37611         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37612         bits/timex.h.
37613
37614 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37615
37616         * iconv/iconv.h: Fix typo in comment.
37617         * io/fcntl.h: Likewise.
37618         * libio/stdio.h: Likewise.
37619         * posix/spawn.h: Likewise.
37620         * posix/unistd.h: Likewise.
37621         * stdlib/stdlib.h: Likewise.
37622         * time/time.h: Likewise.
37623         * wcsmbs/wchar.h: Likewise.
37624
37625         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37626         open_by_handle): Add.
37627         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37628         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37629         Augment a few comments.
37630         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37631         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37632         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37634         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37635         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37636         open_by_handle.
37637
37638         * io/fcntl.h (AT_EMPTY_PATH): Define.
37639
37640 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37641
37642         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37643         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37644         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37645         to...
37646         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37647         * Versions.def: Add GLIBC_2.14.
37648         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37649         Export.
37650
37651 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37652
37653         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37654         round counter.
37655         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37656
37657 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37658
37659         [BZ #12597]
37660         * string/test-strncmp.c (do_page_test): New function.
37661         (check2): Likewise.
37662         (test_main): Call check2.
37663         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37664
37665 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37666
37667         [BZ #12587]
37668         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37669         Handle cache information in CPU leaf 4.
37670         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37671
37672 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37673
37674         [BZ #12583]
37675         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37676         character representation.
37677         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37678
37679 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37680
37681         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37682         END(__isnan) to END(__isnanf) to match function entry point/label
37683         EALIGN(__isnanf,...).
37684
37685 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37686
37687         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37688
37689 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37690
37691         [BZ #12510]
37692         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37693         copy from the symbol referenced in the relocation to initialize the
37694         used variable.
37695         Patch by Piotr Bury <pbury@goahead.com>.
37696         * elf/Makefile: Add rules to build and tst-unique3.
37697         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37698         * elf/tst-unique3.cc: New file.
37699         * elf/tst-unique3.h: New file.
37700         * elf/tst-unique3lib.cc: New file.
37701         * elf/tst-unique3lib2.cc: New file.
37702
37703         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37704
37705 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37706
37707         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37708         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37709         to _start.
37710
37711 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37712
37713         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37714         to-be-loaded object along a path to loader is ld.so.
37715
37716 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37717             Ulrich Drepper  <drepper@gmail.com>
37718
37719         * sysdeps/x86_64/memset.S: After aligning destination, code
37720         branches to different locations depending on the value of
37721         misalignment, when multiarch is enabled. Fix this.
37722
37723 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37724
37725         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37726         Set _x86_64_preferred_memory_instruction for AMD processsors.
37727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37728         Set bit_Prefer_SSE_for_memop for AMD processors.
37729
37730 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37731
37732         * libio/fmemopen.c (fmemopen): Optimize a bit.
37733
37734 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37735
37736         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37737
37738 2011-03-03  Roland McGrath  <roland@redhat.com>
37739
37740         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37741
37742 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37743
37744         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37745         __bzero_ultra1 instead of __memset_ultra1.
37746
37747 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37748             Ulrich Drepper  <drepper@gmail.com>
37749
37750         [BZ #12509]
37751         * include/link.h (struct link_map): Add l_orig_initfini.
37752         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37753         returning unsuccessfully.
37754         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37755         close of a file loaded at startup, restore the original l_initfini
37756         list.
37757         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37758         list, store the pointer.
37759         * elf/Makefile ($(objpfx)noload-mem): New rule.
37760         (noload-ENV): Define.
37761         (tests): Add $(objpfx)noload-mem.
37762         * elf/noload.c: Include <memcheck.h>.
37763         (main): Call mtrace.  Close all opened handles.
37764
37765 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37766
37767         [BZ #12454]
37768         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37769         dependencies are missing.
37770
37771 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37772
37773         Fix __if_freereq crash: Unlike the generic version which uses free,
37774         Hurd needs munmap.
37775         * sysdeps/mach/hurd/ifreq.h: New file.
37776
37777 2011-01-27  Petr Baudis  <pasky@suse.cz>
37778             Ulrich Drepper  <drepper@gmail.com>
37779
37780         [BZ 12445]#
37781         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37782         to extend_alloca().
37783         * stdio-common/bug23.c: New file.
37784         * stdio-common/Makefile (tests): Add bug23.
37785
37786 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37787             Ulrich Drepper  <drepper@gmail.com>
37788
37789         [BZ #12489]
37790         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37791         before performing relro protection.  At old place add assertion
37792         to make sure nothing changed.
37793
37794 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37795             Glauber de Oliveira Costa  <glommer@gmail.com>
37796
37797         * elf/elf.h: Add new ARM TLS relocs.
37798
37799 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37800
37801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37802         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37803         cast from r3.
37804         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37805         'tests' variable.
37806         * sysdeps/wordsize-64/tst-writev.c: New file.
37807
37808 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37809
37810         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37811         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37812         insns in _dl_start to prevent a TOC reference before relocs are
37813         resolved.
37814
37815 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37816
37817         [BZ #12469]
37818         * Makeconfig: Remove RANLIB definition.
37819         * Makerules: Don't use RANLIB.
37820         * aclocal.m4: Remove ranlib test.
37821         * configure.in: No need to check for ranlib.
37822         * elf/rtld-Rules: Don't use RANLIB.
37823
37824 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37825
37826         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37827         protection macro.
37828         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37829         inclusion protection macro.
37830
37831         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37832         SIGRTMIN and SIGRTMAX and print information in that case only when
37833         SIGRTMIN is defined.
37834
37835 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37836
37837         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37838         arginfo fn returning -1.
37839
37840         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37841         and thousands string is zero terminated.
37842
37843 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37844
37845         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37846         sysdeps/unix/sysv/linux/bits/socket.h.
37847
37848 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37849
37850         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37851         (__CPU_COUNT): Remove old macros.
37852         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37853         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37854         (__CPU_ALLOC, __CPU_FREE): Add macros.
37855         (__sched_cpualloc, __sched_cpufree): Add declarations.
37856
37857 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37858
37859         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37860         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37861         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37862         (readdhstai): Return value of addhstaiX call.
37863         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37864         (addgrbyX): Return value returned by cache_addgr.
37865         (readdgrbyname): Return value returned by addgrbyX.
37866         (readdgrbygid): Likewise.
37867         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37868         (addpwbyX): Return value returned by cache_addpw.
37869         (readdpwbyname): Return value returned by addhstbyX.
37870         (readdpwbyuid): Likewise.
37871         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37872         (addservbyX): Return value returned by cache_addserv.
37873         (readdservbyname): Return value returned by addservbyX:
37874         (readdservbyport): Likewise.
37875         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37876         (addhstbyX): Return value returned by cache_addhst.
37877         (readdhstbyname): Return value returned by addhstbyX.
37878         (readdhstbyaddr): Likewise.
37879         (readdhstbynamev6): Likewise.
37880         (readdhstbyaddrv6): Likewise.
37881         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37882         (readdinitgroups): Return value returned by addinitgroupsX.
37883         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37884         (prune_cache): Keep track of timeout value of re-added entries.
37885         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37886         * nscd/nscd.h: Adjust prototypes of readd* functions.
37887
37888 2011-02-04  Roland McGrath  <roland@redhat.com>
37889
37890         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37891         (nis_stats): Likewise.
37892         * nis/nis_modify.c (nis_modify): Likewise.
37893         * nis/nis_remove.c (nis_remove): Likewise.
37894         * nis/nis_add.c (nis_add): Likewise.
37895
37896         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37897
37898         * posix/fnmatch_loop.c: Add some consts.
37899
37900         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37901
37902 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37903
37904         [BZ #12460]
37905         * config.make.in (config-cflags-novzeroupper): Define.
37906         * configure.in: Substitute libc_cv_cc_novzeroupper.
37907         * elf/Makefile (AVX-CFLAGS): Define.
37908         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37909         (CFLAGS-tst-auditmod4a.c): Likewise.
37910         (CFLAGS-tst-auditmod4b.c): Likewise.
37911         (CFLAGS-tst-auditmod6b.c): Likewise.
37912         (CFLAGS-tst-auditmod6c.c): Likewise.
37913         (CFLAGS-tst-auditmod7b.c): Likewise.
37914         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37915
37916 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37917
37918         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37919         function to the callback.
37920         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37921
37922 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37923
37924         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37925         of errno.
37926
37927 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37928
37929         [BZ #11724]
37930         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37931         of constructors.
37932         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37933         of destructors.
37934         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37935
37936         [BZ #11724]
37937         * elf/Makefile: Add rules to build and run new test.
37938         * elf/tst-initorder.c: New file.
37939         * elf/tst-initorder.exp: New file.
37940         * elf/tst-initordera1.c: New file.
37941         * elf/tst-initordera2.c: New file.
37942         * elf/tst-initordera3.c: New file.
37943         * elf/tst-initordera4.c: New file.
37944         * elf/tst-initorderb1.c: New file.
37945         * elf/tst-initorderb2.c: New file.
37946         * elf/tst-order-a1.c: New file.
37947         * elf/tst-order-a2.c: New file.
37948         * elf/tst-order-a3.c: New file.
37949         * elf/tst-order-a4.c: New file.
37950         * elf/tst-order-b1.c: New file.
37951         * elf/tst-order-b2.c: New file.
37952         * elf/tst-order-main.c: New file.
37953         New test case by George Gensure <werkt0@gmail.com>.
37954
37955 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37956
37957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37958         decoding ACE if AI_CANONIDN.
37959
37960 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37961
37962         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37963
37964 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37965
37966         * version.h (RELEASE): Bump for 2.13 release.
37967         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37968
37969         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37970
37971         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37972         MADV_NOHUGEPAGE.
37973         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37974         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37975         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37976         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37977         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37978         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37979
37980         * posix/getconf.c: Update copyright year.
37981         * catgets/gencat.c: Likewise.
37982         * csu/version.c: Likewise.
37983         * debug/catchsegv.sh: Likewise.
37984         * debug/xtrace.sh: Likewise.
37985         * elf/ldconfig.c: Likewise.
37986         * elf/ldd.bash.in: Likewise.
37987         * elf/sprof.c (print_version): Likewise.
37988         * iconv/iconv_prog.c: Likewise.
37989         * iconv/iconvconfig.c: Likewise.
37990         * locale/programs/locale.c: Likewise.
37991         * locale/programs/localedef.c: Likewise.
37992         * malloc/memusage.sh: Likewise.
37993         * malloc/mtrace.pl: Likewise.
37994         * nscd/nscd.c (print_version): Likewise.
37995         * nss/getent.c: Likewise.
37996
37997         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37998         PF_CAIF, and PF_ALG.
37999         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38000
38001 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
38002
38003         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38004         (modules-names): Use them.
38005         (ifunc-test-modules, ifunc-pie-tests): Define.
38006         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38007         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38008         (test-extras): Likewise.
38009         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38010         $(compile-command.c).
38011         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38012         (all-built-dso): Define.
38013         (check-textrel.out, check-execstack.out): Depend on it.
38014
38015         * configure.in: Don't override --enable-multi-arch.
38016
38017 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
38018
38019         [BZ #6812]
38020         * nscd/hstcache.c (tryagain): Define.
38021         (cache_addhst): Return tryagain not notfound for temporary errors.
38022         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38023         failed.
38024
38025 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
38026
38027         [BZ #10563]
38028         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38029         to make the syscall.
38030         * sysdeps/unix/sysv/linux/setgroups.c: New file.
38031
38032         [BZ #12378]
38033         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38034         and fall back to matching as normal character if the string ends before
38035         the matching ']' is found.  This is what POSIX requires.
38036         * posix/testfnm.c: Adjust test result.
38037         * posix/globtest.sh: Adjust test result.  Add new test.
38038         * posix/tst-fnmatch.input: Likewise.
38039         * posix/tst-fnmatch2.c: Add new test.
38040
38041 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
38042
38043         * elf/Makefile (check-execstack): Revert last change.  Depend on
38044         check-execstack.h.
38045         (check-execstack.h): New target.
38046         (generated): Add check-execstack.h.
38047         * elf/check-execstack.c: Include "check-execstack.h".
38048         (main): Revert last change.
38049         (handle_file): Return zero if GNU_STACK is absent and
38050         DEFAULT_STACK_PERMS doesn't include PF_X.
38051
38052 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
38053
38054         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38055         in child fails because the descriptor is already closed.
38056         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38057         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38058         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38059
38060         [BZ #12397]
38061         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38062         syscall.
38063
38064         [BZ #10484]
38065         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38066         temporary buffer used to handle multi lookups locally.
38067         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38068
38069 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38070
38071         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38072         loader is ld.so.
38073
38074 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38075
38076         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38077         alignment for SSE2.
38078
38079 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38080
38081         [BZ #12394]
38082         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38083         characters.  When rounding increased number of integer digits recompute
38084         number of groups.
38085         * stdio-common/tst-grouping.c: New file.
38086         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38087
38088 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38089
38090         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38091         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38092
38093         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38094         void.
38095         * bits/select.h: Likewise.
38096
38097 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38098
38099         * po/ja.po: Update from translation team.
38100
38101 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38102
38103         [BZ #11155]
38104         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38105         implementation just like for lxstat, fxstatat, et al.
38106
38107 2010-12-27  Jim Meyering  <meyering@redhat.com>
38108
38109         [BZ #12348]
38110         * posix/regexec.c (build_trtable): Return failure indication upon
38111         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38112
38113 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38114
38115         [BZ #12201]
38116         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38117         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38118         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38119         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38120
38121         [BZ #12207]
38122         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38123
38124         [BZ #12204]
38125         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38126         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38127
38128 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38129
38130         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38131         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38132         script has SORT_BY_INIT_PRIORITY.
38133         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38134         NO_CTORS_DTORS_SECTIONS is defined.
38135         * elf/soinit.c: Likewise.
38136         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38137         NO_CTORS_DTORS_SECTIONS is defined.
38138         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38139         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38140         * sysdeps/sh/init-first.c: Likewise.
38141         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38142
38143 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38144
38145         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38146         always use the slow path.
38147
38148 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38149
38150         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38151         similar rule which adds the sysdep directories to the header search in
38152         order to pick up the correct platform stackinfo.h.
38153         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38154         perform test if it is, otherwise return successfully without testing.
38155         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38156         DEFAULT_STACK_PERMS define in stackinfo.h.
38157         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38158         defined in stackinfo.h.
38159         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38160         DEFAULT_STACK_PERMS defined in stackinfo.h.
38161         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38162         * sysdeps/ia64/stackinfo.h: Likewise.
38163         * sysdeps/s390/stackinfo.h: Likewise.
38164         * sysdeps/sh/stackinfo.h: Likewise.
38165         * sysdeps/sparc/stackinfo.h: Likewise.
38166         * sysdeps/x86_64/stackinfo.h: Likewise.
38167         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38168         PF_X for powerpc64.  Retain PF_X for powerpc32.
38169
38170 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38171
38172         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38173         accurately.
38174         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38175         GETDENTS_64BIT_ALIGNED.
38176
38177 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38178
38179         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38180
38181 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38182
38183         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38184         _GNU_SOURCE.
38185
38186         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38187         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38188         Remove __restrict.
38189         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38190         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38191
38192 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38193
38194         [BZ #11655]
38195         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38196         are initialized.
38197
38198 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38199
38200         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38201
38202 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38203
38204         * po/it.po: Update from translation team.
38205
38206 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38207
38208         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38209         unused codes.
38210
38211 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38212
38213         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38214
38215 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38216
38217         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38218         specially.
38219         (gaih_getanswer_slice): Likewise.
38220
38221 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38222
38223         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38224
38225 2010-05-31  Petr Baudis  <pasky@suse.cz>
38226
38227         [BZ #11149]
38228         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38229         silently even in the chroot mode.
38230
38231 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38232
38233         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38234         last patch a bit.  Pretty printing
38235
38236 2010-05-31  Petr Baudis <pasky@suse.cz>
38237
38238         [BZ #10085]
38239         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38240         initialization of skip_initgroups_dyn.
38241
38242 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38243
38244         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38245         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38246
38247 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38248
38249         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38250
38251 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38252
38253         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38254         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38255         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38256         ($(objpfx)tst-fnmatch-mem): New rule.
38257         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38258         * posix/tst-fnmatch.c (main): Call mtrace.
38259
38260 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38261
38262         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38263         Support Intel processor model 6 and model 0x2c.
38264
38265 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38266
38267         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38268           signed comparison.
38269
38270 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38271
38272         [BZ #12205]
38273         * string/test-strncasecmp.c (check_result): New function.
38274         (do_one_test): Use it.
38275         (check1): New function.
38276         (test_main): Use it.
38277         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38278         Support strcasecmp and strncasecmp.
38279
38280 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38281
38282         [BZ #12194]
38283         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38284         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38285
38286 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38287
38288         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38289         IFUNC support.
38290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38291         memset-x86-64.
38292         * sysdeps/x86_64/multiarch/bzero.S: New file.
38293         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38294         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38295         * sysdeps/x86_64/multiarch/memset.S: New file.
38296         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38298         Set bit_Prefer_SSE_for_memop for Intel processors.
38299         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38300         Define.
38301         (index_Prefer_SSE_for_memop): Define.
38302         (HAS_PREFER_SSE_FOR_MEMOP): Define.
38303
38304 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
38305
38306         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38307         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38308
38309 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
38310
38311         [BZ #12191]
38312         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38313         (__x86_64_raw_data_cache_size_half): Likewise.
38314         (__x86_64_raw_shared_cache_size): Likewise.
38315         (__x86_64_raw_shared_cache_size_half): Likewise.
38316
38317         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38318         (__x86_64_raw_data_cache_size_half): Likewise.
38319         (__x86_64_raw_shared_cache_size): Likewise.
38320         (__x86_64_raw_shared_cache_size_half): Likewise.
38321         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38322         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38323         and __x86_64_raw_shared_cache_size_half.  Round
38324         __x86_64_data_cache_size_half, __x86_64_data_cache_size
38325         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38326         to multiple of 256 bytes.
38327
38328 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
38329
38330         [BZ #12167]
38331         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38332         of inacessible symlinks.  Verify result of symlink before returning it.
38333         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38334         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38335
38336 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38337
38338         * math/math.h (isinf): Fix typo in comment.
38339
38340 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38341
38342         * po/da.po: Update from translation team.
38343
38344 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38345
38346         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38347         is added to the list.
38348
38349 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38350             Ulrich Drepper  <drepper@gmail.com>
38351
38352         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38353         the global list here.  Move code to...
38354         (_dl_add_to_namespace_list): ...here.  New function.
38355         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38356         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38357         * elf/dl-load.c (lose): Don't remove the element from the list.
38358         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38359         (_dl_map_object): Likewise.
38360
38361 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38362
38363         [BZ #12159]
38364         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38365         into all bytes of SSE register.
38366         Patch by Richard Li <richardpku@gmail.com>.
38367
38368 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38369
38370         [BZ #12140]
38371         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38372         perturbing.
38373
38374 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38375
38376         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38377         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38378         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38379         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38381         submachine.
38382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38383
38384 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38385
38386         * include/dlfcn.h (__RTLD_SECURE): Define.
38387         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38388         mode & __RTLD_SECURE instead.
38389         (open_path): Rename preloaded parameter to secure.
38390         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38391         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38392         * elf/dl-deps.c (openaux): Likewise.
38393         * elf/rtld.c (struct map_args): Remove is_preloaded.
38394         (map_doit): Don't use it.
38395         (dl_main): Likewise.
38396         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38397         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38398
38399 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38400
38401         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38402         (sysd-rules-targets): Remove duplicates.
38403         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38404         rtld-%.$o dependency.
38405
38406 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38407
38408         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38409         _dl_map_object do it.
38410
38411 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38412
38413         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38414         fast fma builtins, define the macros in the C99 standard.
38415         (FP_FAST_FMAF): Likewise.
38416         (FP_FAST_FMAL): Likewise.
38417         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38418
38419         * bits/mathdef.h: Update copyright year.
38420         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38421
38422 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38423
38424         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38425         builtins, define the macros in the C99 standard.
38426         (FP_FAST_FMAF): Likewise.
38427         (FP_FAST_FMAL): Likewise.
38428         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38429         multiply/add.
38430         (FP_FAST_FMAF): Likewise.
38431
38432 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38433
38434         [BZ #3268]
38435         * math/libm-test.inc (fma_test): Some new testcases.
38436         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38437         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38438         y and infinite z.  Do multiplication by C already in long double.
38439         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38441         y and infinite z.  Do bitwise or of inexact bit into u.d.
38442         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38443         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38444         * sysdeps/i386/fpu/s_fma.S: Removed.
38445         * sysdeps/i386/fpu/s_fmal.S: Removed.
38446
38447 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38448
38449         [BZ #3268]
38450         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38452         computation is not scheduled after fetestexcept.  Fix value
38453         of minimum denormal long double.
38454
38455 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38456
38457         [BZ #3268]
38458         * math/libm-test.inc (fma_test): Add some more tests.
38459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38460         correctly.
38461
38462 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38463
38464         * scripts/data/localplt-s390-linux-gnu.data: New file.
38465         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38466
38467 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38468
38469         [BZ #3268]
38470         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38471         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38472         instead of dbl-64.
38473         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38474         inlines.
38475         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38477         if one of x and y is very large and the other is subnormal.
38478         * sysdeps/s390/fpu/s_fmaf.c: New file.
38479         * sysdeps/s390/fpu/s_fma.c: New file.
38480         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38481         * sysdeps/powerpc/fpu/s_fma.S: New file.
38482         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38483         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38484         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38485
38486 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38487
38488         [BZ #3268]
38489         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38490         fma tests.
38491         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38492         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38493         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38494         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38495         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38496         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38497         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38498
38499 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38500
38501         [BZ #12078]
38502         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38503         * posix/bug-regex31.input: Add test case.
38504
38505 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38506
38507         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38508         * posix/bug-regex31.input: New file.
38509
38510         [BZ #12078]
38511         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38512         (parse_sub_exp): Fix last change, use postorder.
38513
38514         * posix/bug-regex31.c: New file.
38515         * posix/Makefile: Add rules to build and run bug-regex31.
38516
38517         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38518
38519         [BZ #12078]
38520         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38521
38522         [BZ #12108]
38523         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38524         to have entries in sys_siglist.
38525
38526         [BZ #12093]
38527         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38528         be NULL.
38529
38530 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38531
38532         [BZ #3268]
38533         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38534         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38535         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38536         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38537         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38538         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38539         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38540         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38541         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38542         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38543         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38544         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38545         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38546         * math/ftestexcept.c (fetestexcept): Likewise.
38547         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38548         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38549         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38550         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38551         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38552         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38553         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38554
38555 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38556
38557         [BZ #12107]
38558         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38559         newline.
38560
38561 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38562
38563         * string/bug-strstr1.c: New file.
38564         * string/Makefile: Add rules to build and run bug-strstr1.
38565
38566 2010-10-05  Eric Blake  <eblake@redhat.com>
38567
38568         [BZ #12092]
38569         * string/str-two-way.h (two_way_long_needle): Always clear memory
38570         when skipping input due to the shift table.
38571
38572 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38573
38574         [BZ #12005]
38575         * malloc/mcheck.c: Handle large requests.
38576
38577         [BZ #12077]
38578         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38579         for strncmp and strncasecmp.
38580         * string/stratcliff.c: Add tests for strcmp and strncmp.
38581         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38582
38583 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38584
38585         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38586         __set_fpscr.
38587
38588 2010-09-30  Andreas Jaeger  <aj@suse.de>
38589
38590         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38591         (CGROUP_SUPER_MAGIC): Define.
38592         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38593         Handle btrfs and cgroup file systems.
38594         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38595         Likewise.
38596
38597 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38598
38599         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38600         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38601
38602 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38603
38604         [BZ #12067]
38605         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38606         trying to locate the ELF header.
38607
38608 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38609
38610         [BZ #11611]
38611         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38612         Mask out sign-bit copies when constructing f_fsid.
38613
38614 2010-09-24  Petr Baudis <pasky@suse.cz>
38615
38616         * debug/stack_chk_fail_local.c: Add missing licence exception.
38617         * debug/warning-nop.c: Likewise.
38618
38619 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38620
38621         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38622         implementing getdents64 using getdents syscall, set d_type if
38623         __ASSUME_GETDENTS32_D_TYPE.
38624
38625 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38626
38627         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38628         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38629
38630 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38631
38632         [BZ #12037]
38633         * posix/unistd.h: Undo change of feature selection for ftruncate from
38634         2010-01-11.
38635
38636 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38637
38638         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38639         detection.
38640
38641 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38642
38643         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38644         fanotify_mark.
38645         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38646
38647 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38648
38649         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38650         variables after CHECK_SP call.
38651         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38652
38653 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38654             Ulrich Drepper  <drepper@redhat.com>
38655
38656         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38657         re-relocationg ld.so.
38658         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38659         _dl_init_paths call.
38660         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38661         here anymore.
38662
38663 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38664
38665         * resolv/res_init.c (__res_vinit): Count the default server we added.
38666
38667 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38668             Ulrich Drepper  <drepper@redhat.com>
38669
38670         [BZ #11968]
38671         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38672         (____longjmp_chk): Use %ebx for saving value across system call.
38673         Add unwind info.
38674
38675 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38676
38677         * manual/Makefile: Don't mix pattern rules with normal rules.
38678
38679 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38680
38681         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38682         operation.
38683         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38684         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38685         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38686         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38688         Likewise.
38689
38690 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38691
38692         [BZ #11979]
38693         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38694         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38695
38696 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38697
38698         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38699         * sysdeps/x86_64/addmul_1.S: Likewise.
38700         * sysdeps/x86_64/lshift.S: Likewise.
38701         * sysdeps/x86_64/mul_1.S: Likewise.
38702         * sysdeps/x86_64/rshift.S: Likewise.
38703         * sysdeps/x86_64/sub_n.S: Likewise.
38704         * sysdeps/x86_64/submul_1.S: Likewise.
38705
38706 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38707
38708         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38709         Define __sched_param instead of SCHED_* and sched_param when
38710         <bits/sched.h> is included with __need_schedparam defined.
38711         * bits/sched.h [__need_schedparam]
38712         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38713         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38714         (__defined_schedparam): Define to 1.
38715         (__sched_param): New structure, identical to sched_param.
38716         (__need_schedparam): Undefine.
38717
38718 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38719
38720         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38721         (epoll_create1): Declare.
38722
38723         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38724
38725 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38726
38727         [BZ #7066]
38728         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38729         shifting retval into place.
38730
38731 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38732
38733         * nis/rpcsvc/nis.h: Update copyright notice.
38734         * nis/rpcsvc/nis.x: Likewise.
38735         * nis/rpcsvc/nis_callback.h: Likewise.
38736         * nis/rpcsvc/nis_callback.x: Likewise.
38737         * nis/rpcsvc/nis_object.x: Likewise.
38738         * nis/rpcsvc/nis_tags.h: Likewise.
38739         * nis/rpcsvc/yp.h: Likewise.
38740         * nis/rpcsvc/yp.x: Likewise.
38741         * nis/rpcsvc/ypupd.h: Likewise.
38742         * nis/yp_xdr.c: Likewise.
38743         * nis/ypupdate_xdr.c: Likewise.
38744
38745         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38746         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38747         (pmap_getport): Use __libc_rpc_getport.
38748         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38749         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38750         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38751
38752 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38753
38754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38755         fanotify_mark.
38756
38757 2010-08-27  Roland McGrath  <roland@redhat.com>
38758
38759         * sysdeps/i386/i686/multiarch/Makefile
38760         (CFLAGS-varshift.c): New variable.
38761
38762 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38763
38764         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38765         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38766
38767         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38768
38769         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38770
38771 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38772
38773         * sysdeps/x86_64/strlen.S: Unroll the loop.
38774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38775         strlen-sse2 strlen-sse2-bsf.
38776         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38777         __strlen_no_bsf if bit_Slow_BSF is set.
38778         (__strlen_sse42): Removed.
38779         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38780         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38781
38782 2010-08-25  Roland McGrath  <roland@redhat.com>
38783
38784         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38785         * sysdeps/x86_64/multiarch/varshift.c: New file.
38786         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38787         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38788         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38789         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38790
38791 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38792
38793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38794         strlen-sse2 strlen-sse2-bsf.
38795         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38796         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38797         (__strlen_sse2): Removed.
38798         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38799         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38801         bit_Slow_BSF for Atom.
38802         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38803         (index_Slow_BSF): Define.
38804         (HAS_SLOW_BSF): Define.
38805
38806 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38807
38808         [BZ #10851]
38809         * resolv/res_init.c (__res_vinit): When no server address at all
38810         is given default to loopback.
38811
38812 2010-08-24  Roland McGrath  <roland@redhat.com>
38813
38814         * configure.in: Remove config-name.h generation.
38815         * configure: Regenerated.
38816         * config-name.in: File removed.
38817         * scripts/config-uname.sh: New file.
38818         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38819         ($(objdir)config-name.h): New target.
38820
38821         * sunrpc/rpc_parse.h: Avoid nested comment.
38822
38823 2010-08-24  Richard Henderson  <rth@redhat.com>
38824             Ulrich Drepper  <drepper@redhat.com>
38825             H.J. Lu  <hongjiu.lu@intel.com>
38826
38827         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38829         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38830         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38831         _mm_alignr_epi8 with _mm_loadu_si128.
38832         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38833         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38834         (__m128i_shift_right): Removed.
38835         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38836         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38837         * sysdeps/x86_64/multiarch/varshift.h: New file.
38838         * sysdeps/x86_64/multiarch/varshift.S: New file.
38839
38840 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38841
38842         * configure.in: Move assembler checks to before sysdep dir checking.
38843
38844 2010-08-20  Petr Baudis  <pasky@suse.cz>
38845
38846         * LICENSES: Sync the sunrpc license.
38847
38848 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38849
38850         * sunrpc/auth_des.c: Update copyright notice once again.
38851         * sunrpc/auth_none.c: Likewise.
38852         * sunrpc/auth_unix.c: Likewise.
38853         * sunrpc/authdes_prot.c: Likewise.
38854         * sunrpc/authuxprot.c: Likewise.
38855         * sunrpc/bindrsvprt.c: Likewise.
38856         * sunrpc/clnt_gen.c: Likewise.
38857         * sunrpc/clnt_perr.c: Likewise.
38858         * sunrpc/clnt_raw.c: Likewise.
38859         * sunrpc/clnt_simp.c: Likewise.
38860         * sunrpc/clnt_tcp.c: Likewise.
38861         * sunrpc/clnt_udp.c: Likewise.
38862         * sunrpc/clnt_unix.c: Likewise.
38863         * sunrpc/des_crypt.c: Likewise.
38864         * sunrpc/des_soft.c: Likewise.
38865         * sunrpc/get_myaddr.c: Likewise.
38866         * sunrpc/getrpcport.c: Likewise.
38867         * sunrpc/key_call.c: Likewise.
38868         * sunrpc/key_prot.c: Likewise.
38869         * sunrpc/openchild.c: Likewise.
38870         * sunrpc/pm_getmaps.c: Likewise.
38871         * sunrpc/pm_getport.c: Likewise.
38872         * sunrpc/pmap_clnt.c: Likewise.
38873         * sunrpc/pmap_prot.c: Likewise.
38874         * sunrpc/pmap_prot2.c: Likewise.
38875         * sunrpc/pmap_rmt.c: Likewise.
38876         * sunrpc/rpc/auth.h: Likewise.
38877         * sunrpc/rpc/auth_unix.h: Likewise.
38878         * sunrpc/rpc/clnt.h: Likewise.
38879         * sunrpc/rpc/des_crypt.h: Likewise.
38880         * sunrpc/rpc/key_prot.h: Likewise.
38881         * sunrpc/rpc/netdb.h: Likewise.
38882         * sunrpc/rpc/pmap_clnt.h: Likewise.
38883         * sunrpc/rpc/pmap_prot.h: Likewise.
38884         * sunrpc/rpc/pmap_rmt.h: Likewise.
38885         * sunrpc/rpc/rpc.h: Likewise.
38886         * sunrpc/rpc/rpc_des.h: Likewise.
38887         * sunrpc/rpc/rpc_msg.h: Likewise.
38888         * sunrpc/rpc/svc.h: Likewise.
38889         * sunrpc/rpc/svc_auth.h: Likewise.
38890         * sunrpc/rpc/types.h: Likewise.
38891         * sunrpc/rpc/xdr.h: Likewise.
38892         * sunrpc/rpc_clntout.c: Likewise.
38893         * sunrpc/rpc_cmsg.c: Likewise.
38894         * sunrpc/rpc_common.c: Likewise.
38895         * sunrpc/rpc_cout.c: Likewise.
38896         * sunrpc/rpc_dtable.c: Likewise.
38897         * sunrpc/rpc_hout.c: Likewise.
38898         * sunrpc/rpc_main.c: Likewise.
38899         * sunrpc/rpc_parse.c: Likewise.
38900         * sunrpc/rpc_parse.h: Likewise.
38901         * sunrpc/rpc_prot.c: Likewise.
38902         * sunrpc/rpc_sample.c: Likewise.
38903         * sunrpc/rpc_scan.c: Likewise.
38904         * sunrpc/rpc_scan.h: Likewise.
38905         * sunrpc/rpc_svcout.c: Likewise.
38906         * sunrpc/rpc_tblout.c: Likewise.
38907         * sunrpc/rpc_util.c: Likewise.
38908         * sunrpc/rpc_util.h: Likewise.
38909         * sunrpc/rpcinfo.c: Likewise.
38910         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38911         * sunrpc/rpcsvc/key_prot.x: Likewise.
38912         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38913         * sunrpc/rpcsvc/mount.x: Likewise.
38914         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38915         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38916         * sunrpc/rpcsvc/rex.x: Likewise.
38917         * sunrpc/rpcsvc/rstat.x: Likewise.
38918         * sunrpc/rpcsvc/rusers.x: Likewise.
38919         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38920         * sunrpc/rpcsvc/spray.x: Likewise.
38921         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38922         * sunrpc/rtime.c: Likewise.
38923         * sunrpc/svc.c: Likewise.
38924         * sunrpc/svc_auth.c: Likewise.
38925         * sunrpc/svc_authux.c: Likewise.
38926         * sunrpc/svc_raw.c: Likewise.
38927         * sunrpc/svc_run.c: Likewise.
38928         * sunrpc/svc_simple.c: Likewise.
38929         * sunrpc/svc_tcp.c: Likewise.
38930         * sunrpc/svc_udp.c: Likewise.
38931         * sunrpc/svc_unix.c: Likewise.
38932         * sunrpc/svcauth_des.c: Likewise.
38933         * sunrpc/xcrypt.c: Likewise.
38934         * sunrpc/xdr.c: Likewise.
38935         * sunrpc/xdr_array.c: Likewise.
38936         * sunrpc/xdr_float.c: Likewise.
38937         * sunrpc/xdr_mem.c: Likewise.
38938         * sunrpc/xdr_rec.c: Likewise.
38939         * sunrpc/xdr_ref.c: Likewise.
38940         * sunrpc/xdr_sizeof.c: Likewise.
38941         * sunrpc/xdr_stdio.c: Likewise.
38942
38943         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38944         handling.
38945
38946 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38947
38948         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38949
38950 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38951
38952         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38953         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38954         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38955         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38956         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38957         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38958         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38959         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38960         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38961         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38962         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38963         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38964         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38965         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38966
38967 2010-07-26  Anton Blanchard  <anton@samba.org>
38968
38969         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38970         * malloc/arena.c (heap_trim): Likewise.
38971
38972 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38973
38974         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38975         here.  Not...
38976         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38977         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38978
38979 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38980
38981         * sysdeps/i386/elf/Makefile: New file.
38982
38983 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38984
38985         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38986         from fanotify_init.
38987         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38988         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38989
38990 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38991
38992         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38993         of strncasecmp_l.
38994         * sysdeps/multiarch/strcmp.S: Likewise.
38995
38996 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38997
38998         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38999         strncase_l-nonascii.
39000         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39001         Add strncase_l-ssse3.
39002         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39003         * sysdeps/x86_64/strcmp.S: Likewise.
39004         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39005         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39006         * sysdeps/x86_64/strncase.S: New file.
39007         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39008         * sysdeps/x86_64/strncase_l.S: New file.
39009         * string/Makefile (strop-tests): Add strncasecmp.
39010         * string/test-strncasecmp.c: New file.
39011
39012         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39013         warning.
39014
39015         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39016         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39017
39018 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39019
39020         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39021
39022 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
39023
39024         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39025         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39026         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39027
39028 2010-05-01  Alan Modra  <amodra@gmail.com>
39029
39030         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39031         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39032         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39033         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39034         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39035         tidying.  Don't tail-call __sigjmp_save for static lib.
39036         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39037         save location.
39038         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39039         (CALL_MCOUNT): Add eh info, and nop after bl.
39040         (TAIL_CALL_SYSCALL_ERROR): New macro.
39041         (PSEUDO_RET): Use it.
39042         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39043         Correct save location of integer regs and cr.
39044         (_dl_profile_resolve): Correct cr save location.  Delete nops
39045         after bl when SHARED.  Reduce cfi size a little by better
39046         placement of cfi directives.
39047         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39048         make a stack frame.  Instead use parm save area as a temp.
39049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39050         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
39051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39052         Don't make a stack frame for parent, use parm save area.
39053         Increase child stack frame to 112 bytes.  Don't save unused reg,
39054         and adjust reg usage.  Set up cfi on error recovery and
39055         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39057         (__makecontext): Add dummy nop after jump to exit.
39058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39059         Use correct parm save area and cr save, reduce stack frame.
39060         Correct cfi for possible PSEUDO_RET frame setup.
39061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39062         Branch to local label emitted by PSEUDO_RET rather than
39063         __syscall_error.
39064
39065 2010-08-12  Andreas Schwab  <schwab@redhat.com>
39066
39067         [BZ #11904]
39068         * locale/programs/locale.c (print_assignment): New function.
39069         (show_locale_vars): Use it.
39070
39071 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39072
39073         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39074         field.
39075         (struct statfs64): Likewise.
39076         (_STATFS_F_FLAGS): Define.
39077         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39078         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39079         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39080         (ST_VALID): Define locally.
39081         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39082         __statvfs_getflags, use the provided value.
39083         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39084         __ASSUME_STATFS_F_FLAGS.
39085
39086         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39087
39088         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39089         Add sys/fanotify.h.
39090         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39091         fanotify_mask for GLIBC_2.13.
39092         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39093         fanotify_init and fanotify_mark.
39094         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39095         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39096
39097         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39098         Add prlimit.
39099         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39100         prlimit64 for GLIBC_2.13.
39101         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39102         prlimit64.
39103         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39104         syscall.
39105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39106         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39107         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39108         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39109         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39110         add prlimit alias.
39111         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39112
39113         [BZ #11903]
39114         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39115         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39116
39117         * nss/Makefile: Add rules to build and run tst-nss-test1.
39118         * shlib-versions: Add entry for libnss_test1.
39119         * nss/nss_test1.c: New file.
39120         * nss/tst-nss-test1.c: New file.
39121
39122         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39123         (__nss_configure_lookup): Set appropriate entry in
39124         __nss_configure_lookup to true.
39125         * nss/nsswitch.h: Define enum with indeces of databases in
39126         databases and __nss_database_custom arrays.  Declare
39127         __nss_database_custom.
39128         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39129         to avoid using nscd when custom rules are installed.
39130         * nss/getXXbyYY_r.c: Likewise.
39131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39132
39133         * nss/nss_files/files-parse.c: Whitespace fixes.
39134
39135 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39136
39137         [BZ #11883]
39138         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39139         * posix/fnmatch_loop.c: Likewise.
39140
39141 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39142
39143         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39144         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39145         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39146         * Versions.def [GLIBC_2.13]: Add.
39147
39148 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39149
39150         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39151         Also fail if tpwd after pwuid call is NULL.
39152
39153 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39154
39155         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39156         when converting to ms.
39157
39158 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39159
39160         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39161         EOPNOTSUPP errors with ENOTTY.
39162         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39163         EOPNOTSUPP errors with ENOTTY.
39164
39165 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39166
39167         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39168         Add strcasecmp_l-ssse3.
39169         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39170         strcasecmp.
39171         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39172         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39173         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39174
39175 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39176
39177         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39178
39179         * string/Makefile (strop-tests): Add strcasecmp.
39180         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39181         strcasecmp_l-nonascii.
39182         (gen-as-const-headers): Add locale-defines.sym.
39183         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39184         * sysdeps/x86_64/strcasecmp.S: New file.
39185         * sysdeps/x86_64/strcasecmp_l.S: New file.
39186         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39187         * sysdeps/x86_64/locale-defines.sym: New file.
39188         * string/test-strcasecmp.c: New file.
39189
39190         * string/test-strcasestr.c: Test both ends of the range of characters.
39191         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39192
39193 2010-07-29  Roland McGrath  <roland@redhat.com>
39194
39195         [BZ #11856]
39196         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39197
39198 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39199
39200         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39201         for ld.so.
39202
39203 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39204
39205         * manual/memory.texi (Malloc Tunable Parameters): Document
39206         M_PERTURB.
39207
39208 2010-07-26  Roland McGrath  <roland@redhat.com>
39209
39210         [BZ #11840]
39211         * configure.in (-fgnu89-inline check): Set and substitute
39212         gnu89_inline, not libc_cv_gnu89_inline.
39213         * configure: Regenerated.
39214         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39215
39216 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39217
39218         * string/test-strnlen.c: New file.
39219         * string/Makefile (strop-tests): Add strnlen.
39220         * string/tester.c (test_strnlen): Add a few more test cases.
39221         * string/tst-strlen.c: Better error reporting.
39222
39223         * sysdeps/x86_64/strnlen.S: New file.
39224
39225 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39226
39227         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39228         lower-latency instructions.
39229
39230 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39231
39232         * string/test-strcasestr.c: New file.
39233         * string/test-strstr.c: New file.
39234         * string/Makefile (strop-tests): Add strstr and strcasestr.
39235         * string/str-two-way.h: Don't undefine MAX.
39236         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39237
39238 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39239
39240         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39241         strcasestr-nonascii.
39242         (CFLAGS-strcasestr-nonascii.c): Define.
39243         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39244         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39245         Remove unused attribute.
39246
39247 2010-07-20  Roland McGrath  <roland@redhat.com>
39248
39249         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39250         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39251         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39252         like LD_HWCAP_MASK can disable hwcaps.
39253
39254 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39255
39256         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39257
39258 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39259
39260         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39261         call in strcasestr.
39262         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39263         __strcasestr_sse42_nonascii.
39264         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39265         strcasestr-nonascii.c.
39266         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39267
39268 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39269
39270         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39271         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39272         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39273         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39274
39275 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39276
39277         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39278         fcntl.
39279
39280 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39281
39282         [BZ #11577]
39283         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39284         dl_signal_cerror.
39285
39286 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39287
39288         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39289         _PC_PIPE_BUF using F_GETPIPE_SZ.
39290
39291 2010-07-05  Roland McGrath  <roland@redhat.com>
39292
39293         * manual/arith.texi (Rounding Functions): Fix rint description
39294         implicit in round description.
39295
39296 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
39297
39298         * elf/Makefile: Fix linking for a few tests to make recent linker
39299         happy.
39300
39301 2010-06-30  Andreas Schwab  <schwab@redhat.com>
39302
39303         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39304         $(common-objpfx)libc_nonshared.a.
39305
39306 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
39307
39308         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39309         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39310         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39311         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39312         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39313         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39314         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39315         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39330         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39331         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39332         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39333         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39334         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39335         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39336         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39337         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39338         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39339         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39340         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39341         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39356
39357 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39358
39359         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39360         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39361         * string/memmove.c (memmove): Renamed to ...
39362         (MEMMOVE): ...this.  Default to memmove.
39363         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39364         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39365         (END_CHK): Define.
39366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39367         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39368         mempcpy-ssse3-back memmove-ssse3-back.
39369         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39370         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39371         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39372         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39373         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39374         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39375         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39376         * sysdeps/x86_64/multiarch/memmove.c: New file.
39377         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39378         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39379         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39380         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39381         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39382         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39383         Define.
39384         (index_Fast_Copy_Backward): Define.
39385         (HAS_ARCH_FEATURE): Define.
39386         (HAS_FAST_REP_STRING): Define.
39387         (HAS_FAST_COPY_BACKWARD): Define.
39388
39389 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39390
39391         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39392         Restore proper fallback handling.
39393
39394 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39395
39396         [BZ #11701]
39397         * posix/group_member.c (__group_member): Correct checking loop.
39398
39399         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39400         OOM in getpwuid_r correctly.  Return error number when the caller
39401         should return, otherwise -1.
39402         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39403         call returning > 0 value.
39404         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39405
39406 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39407
39408         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39409         libc_nonshared.a from targets in modules-names.
39410
39411 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39412
39413         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39414         requires it.
39415
39416 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39417
39418         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39419         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39420         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39421         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39422
39423 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39424
39425         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39426
39427 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39428
39429         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39430         and F_GETPIPE_SZ.
39431         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39432         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39433         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39434         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39435         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39436         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39437
39438 2010-06-14  Roland McGrath  <roland@redhat.com>
39439
39440         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39441
39442 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39443
39444         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39445         __REDIRECT followed by __THROW.
39446         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39447         * posix/getopt.h (getopt): Likewise.
39448
39449 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39450
39451         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39452         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39453         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39454         in AT_FLAGS.
39455         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39456         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39457
39458 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39459
39460         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39461
39462 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39463
39464         [BZ #11640]
39465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39466         Properly check family and model.
39467
39468 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39469
39470         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39471
39472 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39473
39474         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39475
39476 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39477
39478         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39479         symbol reference.
39480
39481 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39482
39483         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39484         symbol reference.
39485
39486 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39487
39488         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39489         and internal_recvmmsg.
39490         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39491         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39492         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39493         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39494
39495         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39496         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39497         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39498
39499 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39500
39501         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39502
39503 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39504
39505         POWER7 optimizations.
39506         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39507         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39508
39509 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39510
39511         * version.h: Update for 2.13 development version.
39512
39513 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39514
39515         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39516         exceptions.  Return 0.
39517
39518 2010-05-07  Roland McGrath  <roland@redhat.com>
39519
39520         * elf/ldconfig.c (main): Add a const.
39521
39522 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39523
39524         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39525         (args_options): Add no-idn option.
39526         (ahosts_keys_int): Add idn_flags to ai_flags.
39527         (parse_option): Handle 'i' option to clear idn_flags.
39528
39529         * malloc/malloc.c (_int_free): Possible race in the most recently
39530         added check.  Only act on the data if no current modification
39531         happened.
39532
39533 See ChangeLog.17 for earlier changes.