Stop io/ftwtest deleting its own output.
[glibc.git] / ChangeLog
blob006ca7d12e5f3adb2b5d264ac0d23a942d90ec50
1 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5         * Makerules (check-abi-%): Change target to
6         $(objpfx)check-abi-%.out.
7         (check-abi target): Update dependencies.
8         (check-abi-pattern variable): Redirect output of diff to $@.
9         (check-abi variable): Likewise.
10         * elf/Makefile (check-abi): Update dependencies.
12         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13         unused.
14         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16         subnormal range.
17         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19         value has largest subnormal exponent.
20         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22         * sysdeps/aarch64/soft-fp/sfp-machine.h
23         (_FP_TININESS_AFTER_ROUNDING): New macro.
24         * sysdeps/alpha/soft-fp/sfp-machine.h
25         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27         Likewise.
28         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30         * sysdeps/mips/soft-fp/sfp-machine.h
31         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32         * sysdeps/powerpc/soft-fp/sfp-machine.h
33         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35         Likewise.
36         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41         Likewise.
43 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
45         [BZ #16545]
46         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
47         model 1.
49 2014-02-12  Richard Henderson  <rth@redhat.com>
51         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
52         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53         * sysdeps/unix/sysv/linux/alpha: Move directory from
54         ports/sysdeps/unix/sysv/linux/alpha.
55         * README: Update listing for alpha-*-linux-gnu.
57 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
59         * include/features.h: Update comment documenting feature test
60         macros.
61         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
62         _DEFAULT_SOURCE.
63         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
64         (_SVID_SOURCE): Likewise.
65         (_DEFAULT_SOURCE): Update description of default features.
66         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
67         with _GNU_SOURCE.
68         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
69         (S_ISVTX): Likewise.
70         * manual/math.texi (Mathematical Constants): Likewise.
71         * manual/signal.texi (Interrupted Primitives): Likewise.
72         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
73         * math/test-matherr.c (_SVID_SOURCE): Do not define.
74         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
75         Don't refer to _SVID_SOURCE in warning text.
77         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
80         already defined.
81         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
82         * sysdeps/mips/dl-lookup.c: Remove.
83         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
85 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
87         [BZ #16447]
88         * math/auto-libm-test-in: Add testcase for expl.
89         * math/auto-libm-test-out: Regenerate.
90         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
91         calculation of unsafe.
92         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
94 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
96         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
97         * sysdeps/unix/sysv/linux/aarch64: Move directory from
98         ports/sysdeps/unix/sysv/linux/aarch64.
99         * README: Update listing for aarch64*-*-linux-gnu.
101 2014-02-11  Will Newton  <will.newton@linaro.org>
103         * manual/probes.texi (Mathematical Function Probes): Use
104         "triggered" instead of "hit".
106 2014-02-11  Will Newton  <will.newton@linaro.org>
108         * manual/probes.texi (Internal Probes): Add documentation
109         of setjmp, longjmp and longjmp_target probes.
111 2014-02-11  Will Newton  <will.newton@linaro.org>
113         * include/stap-probe.h: Add comment about probe argument
114         format.
116 2014-02-11  Will Newton  <will.newton@linaro.org>
118         * malloc/mtrace.c (attribute_hidden): Remove unused macro
119         definition.  (tr_where, tr_freehook, tr_mallochook,
120         tr_reallochook, tr_memalignhook): Use ANSI protoype.
122 2014-02-11  David S. Miller  <davem@davemloft.net>
124         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
125         processing int_tests.
127 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
129         * sysdeps/mips: Move directory from ports/sysdeps/mips.
130         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
131         * sysdeps/unix/sysv/linux/mips: Move directory from
132         ports/sysdeps/unix/sysv/linux/mips.
133         * README: Update listing for mips-*-linux-gnu and
134         mips64-*-linux-gnu.
136 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
138         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
139         * sysdeps/unix/sysv/linux/m68k: Move directory from
140         ports/sysdeps/unix/sysv/linux/m68k.
141         * README: Update listing for m68k-*-linux-gnu.
143 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
145         * sysdeps/tile: Move directory from ports/sysdeps/tile.
146         * sysdeps/unix/sysv/linux/generic: Move directory from
147         ports/sysdeps/unix/sysv/linux/generic.
148         * sysdeps/unix/sysv/linux/tile: Move directory from
149         ports/sysdeps/unix/sysv/linux/tile.
150         * README: Update listing for tile*-*-linux-gnu.
152 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
154         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
155         * benchtests/bench-memmem.c (simple_memmem): Likewise.
156         * catgets/open_catalog.c (__open_catalog): Likewise.
157         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
158         * debug/confstr_chk.c: Likewise.
159         * debug/fread_chk.c (__fread_chk): Likewise.
160         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
161         * debug/getgroups_chk.c: Likewise.
162         * debug/mbsnrtowcs_chk.c: Likewise.
163         * debug/mbsrtowcs_chk.c: Likewise.
164         * debug/mbstowcs_chk.c: Likewise.
165         * debug/memcpy_chk.c: Likewise.
166         * debug/memmove_chk.c: Likewise.
167         * debug/mempcpy_chk.c: Likewise.
168         * debug/memset_chk.c: Likewise.
169         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
170         * debug/strcat_chk.c (__strcat_chk): Likewise.
171         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
172         * debug/strncat_chk.c (__strncat_chk): Likewise.
173         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
174         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
175         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
176         * debug/wcpncpy_chk.c: Likewise.
177         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
178         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
179         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
180         * debug/wcsncpy_chk.c: Likewise.
181         * debug/wcsnrtombs_chk.c: Likewise.
182         * debug/wcsrtombs_chk.c: Likewise.
183         * debug/wcstombs_chk.c: Likewise.
184         * debug/wmemcpy_chk.c: Likewise.
185         * debug/wmemmove_chk.c: Likewise.
186         * debug/wmempcpy_chk.c: Likewise.
187         * debug/wmemset_chk.c: Likewise.
188         * dirent/scandirat.c (SCANDIRAT): Likewise.
189         * dlfcn/dladdr1.c (dladdr1): Likewise.
190         * dlfcn/dladdr.c (dladdr): Likewise.
191         * dlfcn/dlclose.c (dlclose_doit): Likewise.
192         * dlfcn/dlerror.c (__dlerror): Likewise.
193         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
194         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
195         * dlfcn/dlopen.c (dlopen_doit): Likewise.
196         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
197         * dlfcn/dlsym.c (dlsym_doit): Likewise.
198         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
199         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
200         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
201         Likewise.
202         * elf/dl-conflict.c: Likewise.
203         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
204         * elf/dl-dst.h: Likewise.
205         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
206         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
208         * elf/dl-init.c (call_init, _dl_init): Likewise.
209         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
210         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
211         _dl_map_object_from_fd, open_verify, open_path,
212         _dl_map_object): Likewise.
213         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
214         Likewise.
215         * elf/dl-minimal.c (__libc_memalign): Likewise.
216         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
217         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
218         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
219         * elf/dl-sym.c (do_sym): Likewise.
220         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
221         _dl_tls_get_addr_soft): Likewise.
222         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
223         * elf/dl-writev.h (_dl_writev): Likewise.
224         * elf/ldconfig.c (search_dir): Likewise.
225         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
226         dl_main): Likewise.
227         * elf/setup-vdso.h (setup_vdso): Likewise.
228         * grp/compat-initgroups.c (compat_call): Likewise.
229         * grp/fgetgrent.c (fgetgrent): Likewise.
230         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
231         * grp/putgrent.c (putgrent): Likewise.
232         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
233         Likewise.
234         * hurd/hurdinit.c: Likewise.
235         * iconvdata/8bit-gap.c (struct): Likewise.
236         * iconvdata/ansi_x3.110.c : Likewise.
237         * iconvdata/big5.c : Likewise.
238         * iconvdata/big5hkscs.c : Likewise.
239         * iconvdata/cp1255.c: Likewise.
240         * iconvdata/cp1258.c : Likewise.
241         * iconvdata/cp932.c : Likewise.
242         * iconvdata/euc-cn.c: Likewise.
243         * iconvdata/euc-jisx0213.c : Likewise.
244         * iconvdata/euc-jp.c: Likewise.
245         * iconvdata/euc-jp-ms.c : Likewise.
246         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
247         * iconvdata/gb18030.c : Likewise.
248         * iconvdata/gbbig5.c (const): Likewise.
249         * iconvdata/gbgbk.c: Likewise.
250         * iconvdata/gbk.c : Likewise.
251         * iconvdata/ibm1364.c : Likewise.
252         * iconvdata/ibm930.c : Likewise.
253         * iconvdata/ibm932.c: Likewise.
254         * iconvdata/ibm933.c : Likewise.
255         * iconvdata/ibm935.c : Likewise.
256         * iconvdata/ibm937.c : Likewise.
257         * iconvdata/ibm939.c : Likewise.
258         * iconvdata/ibm943.c: Likewise.
259         * iconvdata/iso_11548-1.c: Likewise.
260         * iconvdata/iso-2022-cn.c : Likewise.
261         * iconvdata/iso-2022-cn-ext.c : Likewise.
262         * iconvdata/iso-2022-jp-3.c: Likewise.
263         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
264         * iconvdata/iso-2022-kr.c : Likewise.
265         * iconvdata/iso646.c (gconv_end): Likewise.
266         * iconvdata/iso_6937-2.c : Likewise.
267         * iconvdata/iso_6937.c : Likewise.
268         * iconvdata/iso8859-1.c: Likewise.
269         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
270         * iconvdata/shift_jisx0213.c : Likewise.
271         * iconvdata/sjis.c : Likewise.
272         * iconvdata/t.61.c : Likewise.
273         * iconvdata/tcvn5712-1.c : Likewise.
274         * iconvdata/tscii.c: Likewise.
275         * iconvdata/uhc.c : Likewise.
276         * iconvdata/unicode.c (gconv_end): Likewise.
277         * iconvdata/utf-16.c (gconv_end): Likewise.
278         * iconvdata/utf-32.c (gconv_end): Likewise.
279         * iconvdata/utf-7.c (base64): Likewise.
280         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
281         * iconv/gconv_close.c (__gconv_close): Likewise.
282         * iconv/gconv_open.c (__gconv_open): Likewise.
283         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
284         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
285         internal_ucs4le_loop_single, ucs4le_internal_loop,
286         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
287         * iconv/iconv.c (iconv): Likewise.
288         * iconv/iconv_close.c: Likewise.
289         * iconv/loop.c (SINGLE): Likewise.
290         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
291         * include/atomic.h: Likewise.
292         * inet/inet6_option.c (option_alloc): Likewise.
293         * intl/bindtextdom.c (set_binding_values): Likewise.
294         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
295         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
296         * intl/localealias.c (read_alias_file): Likewise.
297         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
298         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
299         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
300         * libio/fmemopen.c (fmemopen): Likewise.
301         * libio/iofgets.c (_IO_fgets): Likewise.
302         * libio/iofgets_u.c (fgets_unlocked): Likewise.
303         * libio/iofgetws.c (fgetws): Likewise.
304         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
305         * libio/iogetdelim.c (_IO_getdelim): Likewise.
306         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
307         adjust_wide_data, _IO_wfile_seekoff): Likewise.
308         * locale/findlocale.c (_nl_find_locale): Likewise.
309         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
310         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
311         Likewise.
312         * locale/setlocale.c (setlocale): Likewise.
313         * login/programs/pt_chown.c (main): Likewise.
314         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
315         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
316         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
317         mmap, mmap64, mremap, munmap): Likewise.
318         * math/e_exp2l.c: Likewise.
319         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
320         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
321         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
322         * math/s_catan.c (__catan): Likewise.
323         * math/s_catanf.c (__catanf): Likewise.
324         * math/s_catanh.c (__catanh): Likewise.
325         * math/s_catanhf.c (__catanhf): Likewise.
326         * math/s_catanhl.c (__catanhl): Likewise.
327         * math/s_catanl.c (__catanl): Likewise.
328         * math/s_ccosh.c (__ccosh): Likewise.
329         * math/s_ccoshf.c (__ccoshf): Likewise.
330         * math/s_ccoshl.c (__ccoshl): Likewise.
331         * math/s_cexp.c (__cexp): Likewise.
332         * math/s_cexpf.c (__cexpf): Likewise.
333         * math/s_cexpl.c (__cexpl): Likewise.
334         * math/s_clog10.c (__clog10): Likewise.
335         * math/s_clog10f.c (__clog10f): Likewise.
336         * math/s_clog10l.c (__clog10l): Likewise.
337         * math/s_clog.c (__clog): Likewise.
338         * math/s_clogf.c (__clogf): Likewise.
339         * math/s_clogl.c (__clogl): Likewise.
340         * math/s_csin.c (__csin): Likewise.
341         * math/s_csinf.c (__csinf): Likewise.
342         * math/s_csinh.c (__csinh): Likewise.
343         * math/s_csinhf.c (__csinhf): Likewise.
344         * math/s_csinhl.c (__csinhl): Likewise.
345         * math/s_csinl.c (__csinl): Likewise.
346         * math/s_csqrt.c (__csqrt): Likewise.
347         * math/s_csqrtf.c (__csqrtf): Likewise.
348         * math/s_csqrtl.c (__csqrtl): Likewise.
349         * math/s_ctan.c (__ctan): Likewise.
350         * math/s_ctanf.c (__ctanf): Likewise.
351         * math/s_ctanh.c (__ctanh): Likewise.
352         * math/s_ctanhf.c (__ctanhf): Likewise.
353         * math/s_ctanhl.c (__ctanhl): Likewise.
354         * math/s_ctanl.c (__ctanl): Likewise.
355         * math/w_pow.c: Likewise.
356         * math/w_powf.c: Likewise.
357         * math/w_powl.c: Likewise.
358         * math/w_scalb.c (sysv_scalb): Likewise.
359         * math/w_scalbf.c (sysv_scalbf): Likewise.
360         * math/w_scalbl.c (sysv_scalbl): Likewise.
361         * misc/error.c (error_tail): Likewise.
362         * misc/pselect.c (__pselect): Likewise.
363         * nis/nis_callback.c (__nis_create_callback): Likewise.
364         * nis/nis_call.c (__nisfind_server): Likewise.
365         * nis/nis_creategroup.c (nis_creategroup): Likewise.
366         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
367         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
368         * nis/nis_getservlist.c (nis_getservlist): Likewise.
369         * nis/nis_lookup.c (nis_lookup): Likewise.
370         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
371         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
372         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
373         * nis/nis_xdr.c (xdr_endpoint): Likewise.
374         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
375         internal_getgrgid_r): Likewise.
376         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
377         Likewise.
378         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
379         internal_getpwuid_r): Likewise.
380         * nis/nss_compat/compat-spwd.c (getspent_next_file,
381         internal_getspnam_r): Likewise.
382         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
383         _nss_nis_getaliasbyname_r): Likewise.
384         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
385         _nss_nis_getntohost_r): Likewise.
386         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
387         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
388         Likewise.
389         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
390         internal_nis_gethostent_r, internal_gethostbyname2_r,
391         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
392         _nss_nis_gethostbyname4_r): Likewise.
393         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
394         initgroups_netid): Likewise.
395         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
396         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
397         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
398         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
399         _nss_nis_getprotobynumber_r): Likewise.
400         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
401         _nss_nis_getsecretkey): Likewise.
402         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
403         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
404         Likewise.
405         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
406         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
407         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
408         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
409         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
410         _nss_nis_getspnam_r): Likewise.
411         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
412         Likewise.
413         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
414         _nss_nisplus_getntohost_r): Likewise.
415         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
416         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
417         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
418         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
419         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
420         Likewise.
421         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
422         _nss_nisplus_getnetbyaddr_r): Likewise.
423         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
424         _nss_nisplus_getprotobynumber_r): Likewise.
425         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
426         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
427         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
428         Likewise.
429         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
430         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
431         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
432         _nss_nisplus_getspnam_r): Likewise.
433         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
434         * nscd/aicache.c (addhstaiX): Likewise.
435         * nscd/cache.c (cache_search, prune_cache): Likewise.
436         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
437         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
438         * nscd/grpcache.c (addgrbyX): Likewise.
439         * nscd/hstcache.c (addhstbyX): Likewise.
440         * nscd/initgrcache.c (addinitgroupsX): Likewise.
441         * nscd/mem.c (gc, mempool_alloc): Likewise.
442         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
443         Likewise.
444         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
445         Likewise.
446         * nscd/nscd_getai.c (__nscd_getai): Likewise.
447         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
448         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
449         Likewise.
450         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
451         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
452         * nscd/nscd_helper.c (__readvall, open_socket,
453         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
454         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
455         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
456         * nscd/pwdcache.c (addpwbyX): Likewise.
457         * nscd/selinux.c (preserve_capabilities): Likewise.
458         * nscd/servicescache.c (addservbyX): Likewise.
459         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
460         * posix/fnmatch.c (fnmatch): Likewise.
461         * posix/getopt.c (_getopt_internal_r): Likewise.
462         * posix/glob.c (glob, glob_in_dir): Likewise.
463         * posix/wordexp.c (exec_comm_child): Likewise.
464         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
465         gaih_getanswer_slice): Likewise.
466         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
467         * resolv/res_init.c: Likewise.
468         * resolv/res_mkquery.c (res_nmkquery): Likewise.
469         * resolv/res_query.c (__libc_res_nquery): Likewise.
470         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
471         Likewise.
472         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
473         * stdio-common/perror.c (perror): Likewise.
474         * stdio-common/printf_fp.c (___printf_fp): Likewise.
475         * stdio-common/tmpnam.c (tmpnam): Likewise.
476         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
477         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
478         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
479         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
480         * stdlib/putenv.c (putenv): Likewise.
481         * stdlib/setenv.c (__add_to_environ): Likewise.
482         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
483         * stdlib/strtol_l.c (INTERNAL): Likewise.
484         * string/memmem.c (memmem): Likewise.
485         * string/strerror.c (strerror): Likewise.
486         * string/strnlen.c (__strnlen): Likewise.
487         * string/test-memmem.c (simple_memmem): Likewise.
488         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
489         * sunrpc/pm_getport.c (__get_socket): Likewise.
490         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
491         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
492         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
493         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
494         Likewise.
495         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
496         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
497         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
498         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
499         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
500         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
501         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
502         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
503         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
504         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
505         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
506         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
508         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
509         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
510         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
511         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
512         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
513         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
514         Likewise.
515         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
516         Likewise.
517         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
518         Likewise.
519         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
520         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
521         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
522         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
523         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
524         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
525         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
526         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
527         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
528         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
529         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
531         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
532         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
534         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
535         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
536         Likewise.
537         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
538         Likewise.
539         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
540         Likewise.
541         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
542         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
543         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
544         Likewise.
545         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
546         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
547         * sysdeps/posix/opendir.c (__opendirat): Likewise.
548         * sysdeps/posix/sleep.c: Likewise.
549         * sysdeps/posix/tempname.c: Likewise.
550         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
551         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
552         Likewise.
553         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
554         elf_machine_rela): Likewise.
555         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
556         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
557         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
558         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
559         Likewise.
560         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
561         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
562         elf_machine_rela, elf_machine_lazy_rel): Likewise.
563         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
564         elf_machine_rela, elf_machine_lazy_rel): Likewise.
565         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
566         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
567         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
568         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
569         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
570         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
571         elf_machine_lazy_rel): Likewise.
572         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
573         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
574         elf_machine_lazy_rel): Likewise.
575         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
576         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
577         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
578         * sysdeps/unix/grantpt.c (grantpt): Likewise.
579         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
580         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
581         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
582         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
583         Likewise.
584         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
585         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
586         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
587         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
588         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
589         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
590         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
591         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
592         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
593         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
594         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
595         Likewise.
596         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
597         (__posix_fallocate64_l64): Likewise.
598         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
599         (posix_fallocate): Likewise.
600         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
601         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
602         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
603         getifaddrs_internal): Likewise.
604         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
605         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
606         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
607         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
608         * sysdeps/unix/sysv/linux/posix_fallocate64.c
609         (__posix_fallocate64_l64): Likewise.
610         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
611         Likewise.
612         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
613         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
614         Likewise.
615         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
616         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
617         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
618         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
619         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
620         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
621         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
622         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
623         Likewise.
624         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
625         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
626         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
627         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
628         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
629         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
630         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
631         Likewise.
632         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
633         (posix_fallocate): Likewise.
634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
635         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
636         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
637         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
638         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
639         Likewise.
640         * time/asctime.c (asctime_internal): Likewise.
641         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
642         * time/tzset.c (__tzset_parse_tz): Likewise.
643         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
644         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
645         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
646         * wcsmbs/wcsmbsload.h: Likewise.
648 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
650         [BZ #15894]
651         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
653 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
655         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
656         arena_get2): Remove THREAD_STATS conditionals.
657         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
658         __malloc_stats, int): Likewise.
660 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
662         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
663         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
665 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
667         * manual/setjmp.texi: Fix typos/grammar errors.
669 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
671         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
672         Only return early when n is <= 0.  Delete unused return statement.
674 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
676         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
677         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
678         * debug/tst-longjmp_chk3.c: New file.
680 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
682         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
683         (test_main): Replace code with set_fortify_handler call.
684         * debug/test-strcpy_chk.c: Likewise.
685         * debug/tst-chk1.c: Likewise.
686         * debug/tst-longjmp_chk.c: Likewise.
687         * test-skeleton.c: Include fcntl.h & paths.h
688         (set_fortify_handler): Define.
690 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
692         * debug/tst-longjmp_chk.c: Add header comment and include
693         ../test-skeleton.c.
694         (do_test): Mark static.
695         (TEST_FUNCTION): Define.
697 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
699         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
700         (IP_PMTUDISC_INTERFACE): Likewise.
701         (IP_MULTICAST_IF): Likewise.
702         (IP_MULTICAST_TTL): Likewise.
703         (IP_MULTICAST_LOOP): Likewise.
704         (IP_ADD_MEMBERSHIP): Likewise.
705         (IP_DROP_MEMBERSHIP): Likewise.
706         (IP_UNBLOCK_SOURCE): Likewise.
707         (IP_BLOCK_SOURCE): Likewise.
708         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
709         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
710         (IP_MSFILTER): Likewise.
711         (MCAST_JOIN_GROUP): Likewise.
712         (MCAST_BLOCK_SOURCE): Likewise.
713         (MCAST_UNBLOCK_SOURCE): Likewise.
714         (MCAST_LEAVE_GROUP): Likewise.
715         (MCAST_JOIN_SOURCE_GROUP): Likewise.
716         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
717         (MCAST_MSFILTER): Likewise.
718         (IP_MULTICAST_ALL): Likewise.
719         (IP_UNICAST_IF): Likewise.
721 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
723         * timezone/Makefile: Delete $(have-ksh) check.
724         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
725         * timezone/tzselect.ksh: Add +x mode bits.
727 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
729         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
730         (ANON_INODE_FS_MAGIC): Likewise.
731         (BDEVFS_MAGIC): Likewise.
732         (BINFMTFS_MAGIC): Likewise.
733         (BTRFS_TEST_MAGIC): Likewise.
734         (CRAMFS_MAGIC_WEND): Likewise.
735         (DEBUGFS_MAGIC): Likewise.
736         (ECRYPTFS_SUPER_MAGIC): Likewise.
737         (EXT3_SUPER_MAGIC): Likewise.
738         (EXT4_SUPER_MAGIC): Likewise.
739         (FUTEXFS_SUPER_MAGIC): Likewise.
740         (HOSTFS_SUPER_MAGIC): Likewise.
741         (HUGETLBFS_MAGIC): Likewise.
742         (MINIX3_SUPER_MAGIC): Likewise.
743         (MTD_INODE_FS_MAGIC): Likewise.
744         (NILFS_SUPER_MAGIC): Likewise.
745         (OPENPROM_SUPER_MAGIC): Likewise.
746         (PIPEFS_MAGIC): Likewise.
747         (PSTOREFS_MAGIC): Likewise.
748         (QNX6_SUPER_MAGIC): Likewise.
749         (RAMFS_MAGIC): Likewise.
750         (REISERFS_SUPER_MAGIC_STRING): Likewise.
751         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
752         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
753         (SECURITYFS_MAGIC): Likewise.
754         (SELINUX_MAGIC): Likewise.
755         (SMACK_MAGIC): Likewise.
756         (SOCKFS_MAGIC): Likewise.
757         (SQUASHFS_MAGIC): Likewise.
758         (STACK_END_MAGIC): Likewise.
759         (TMPFS_MAGIC): Likewise.
760         (USBDEVICE_SUPER_MAGIC): Likewise.
761         (V9FS_MAGIC): Likewise.
762         (XENFS_SUPER_MAGIC): Likewise.
763         (CRAMFS_MAGIC): Fix typo in comment.
764         (EXT2_SUPER_MAGIC): Update comment.
765         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
767 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
769         * sysdeps/arm: Move directory from ports/sysdeps/arm.
770         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
771         * sysdeps/unix/sysv/linux/arm: Move directory from
772         ports/sysdeps/unix/sysv/linux/arm.
773         * README: Update listing for arm-*-linux-gnueabi.
775         * README: Remove mention of am33.
777 2014-02-07  Roland McGrath  <roland@hack.frob.com>
779         * bits/sigset.h (__sigemptyset): Use a statement expression rather
780         than the comma operator, to avoid "rhs of comma has no effect"
781         compiler warnings.
782         (__sigfillset, __sigandset, __sigorset): Likewise.
783         * include/signal.h (__sigemptyset): Likewise.
784         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
786 2014-02-07  Allan McRae  <allan@archlinux.org>
788         * version.h (RELEASE): Set to "development".
789         (VERSION): Set to "2.19.90"
790         * NEWS: Add 2.20 section.
792 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
794         [BZ #16529]
795         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
797 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
799         * manual/contrib.texi: Update entry for Carlos O'Donell,
800         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
802 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
804         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
806         * sysdeps/unix/sysv/linux/kernel-features.h
807         [__LINUX_KERNEL_VERSION >= 0x020621]
808         (__ASSUME_PROC_PID_TASK_COMM): Define.
810 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
812         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
813         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
814         Leonard and Allan McRae.
816 2014-02-04  David S. Miller  <davem@davemloft.net>
818         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
819         32-bit.
821 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
824         file
825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
826         New file
827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
828         file.
829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
830         file.
831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
832         New file.
833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
834         file.
835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
836         file.
837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
838         New file.
839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
840         New file.
841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
842         New file.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
844         New file.
845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
846         New file.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
848         New file.
850 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
852         * nptl/shlib-versions: Change powerpc*le start to 2.17.
853         * shlib-versions: Likewise.
855 2014-02-04  Roland McGrath  <roland@hack.frob.com>
856             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
858         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
859         (abilist-pattern): New variable, set to %-le.abilist.
861         * Makerules (abilist-pattern): New variable.
862         (vpath): Use $(abilist-pattern) in place of %.abilist.
863         (check-abi-% pattern rule): Likewise.
864         (check-abi, update-abi): Likewise.
866 2014-02-04  Eric Wong  <normalperson@yhbt.net>
868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
870 2014-02-04  Eric Wong  <normalperson@yhbt.net>
872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
874 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
876         * manual/startup.texi: Add next, previous, and top entries for
877         the `Program Arguments' and `Environment Variables' nodes.
879 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
881         * manual/macros.texi: Add comments before MTASC-safety macros.
883         * manual/users.texi: Document MTASC-safety properties.
885         * manual/threads.texi (pthread_key_create, pthread_key_delete,
886         pthread_getspecific, pthread_setspecific): Format with
887         @deftypefun, and add @safety note.
888         * manual/signal.texi: Move comments that analyze the above
889         functions to their home place.
891 2014-02-03  Allan McRae  <allan@archlinux.org>
893         * po/sl.po: Update Slovenian translation from translation project.
895 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
897         * manual/time.texi (timegm): Add missing blank after @c.
898         Reported by Joseph Myers <joseph@codesourcery.com>.
900 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
902         * manual/check-safety.sh: New.
903         * manual/Makefile ($(objpfx)stamp-summary): Run it.
905         * manual/terminal.texi: Document MTASC-safety properties.
907         * manual/filesys.texi: Document MTASC-safety properties.
909         * manual/errno.texi: Document MTASC-safety properties.
911         * manual/intro.texi: Document safety identifiers and
912         conditionals.
914         * manual/string.texi (wcstok): Fix prototype.
915         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
917         * manual/time.texi: Document MTASC-safety properties.
919         * manual/string.texi: Document MTASC-safety properties.
921         * manual/threads.texi: Document MTASC-safety properties.
923         * manual/stdio.texi: Document MTASC-safety properties.
925         * manual/syslog.texi: Document MTASC-safety properties.
927         * manual/sysinfo.texi: Document MTASC-safety properties.
929         * manual/startup.texi: Document MTASC-safety properties.
931         * manual/socket.texi: Document MTASC-safety properties.
933         * manual/signal.texi: Document MTASC-safety properties.
935 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
937         * manual/setjmp.texi: Document MTASC-safety properties.
939         * manual/search.texi: Document MTASC-safety properties.
941         * manual/resource.texi: Document MTASC-safety properties.
943         * manual/process.texi: Document MTASC-safety properties.
945         * manual/platform.texi: Document MTASC-safety properties.
947         * manual/pipe.texi: Document MTASC-safety properties.
949         * manual/pattern.texi: Document MTASC-safety properties.
951         * manual/message.texi: Document MTASC-safety properties.
953         [BZ #12751]
954         * manual/memory.texi: Document MTASC-safety properties.
956         * manual/math.texi: Document MTASC-safety properties.
958         * manual/locale.texi: Document MTASC-safety properties.
960         * manual/llio.texi: Document MTASC-safety properties.
962         * manual/libdl.texi: New.
964         * manual/lang.texi: Document MTASC-safety properties.
966         * manual/job.texi: Document MTASC-safety properties.
968         * manual/getopt.texi: Document MTASC-safety properties.
970         * manual/ctype.texi: Document MTASC-safety properties.
972 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
974         [BZ #16046]
975         * csu/libc-tls.c (static_map): Remove variable.
976         (__libc_setup_tls): Use main executable's link map for TLS data.
977         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
978         casing for LM_ID_BASE and GL(dl_nns).
979         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
980         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
981         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
982         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
983         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
984         member.
985         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
986         l_phnum members.
988 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
990         * manual/debug.texi: Document MTASC-safety properties.
992 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
994         [BZ #16510]
995         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
996         of __x86_64__ when disabling x87 inline functions.
998 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
1000         * manual/charset.texi: Document MTASC-safety properties.
1002         * manual/crypt.texi: Document MTASC-safety properties.
1004         * manual/conf.texi: Document MTASC-safety properties.
1006         * manual/arith.texi: Document MTASC-safety properties.
1008         * manual/argp.texi: Document MTASC-safety properties.
1010         * manual/macros.texi: Introduce macros to document multi
1011         thread, asynchronous signal and asynchronous cancellation
1012         safety properties.
1013         * manual/intro.texi: Introduce the properties themselves.
1015 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1017         * sysdeps/sh/sh4/Makefile: New file.
1019 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
1021         * math/gen-libm-test.pl ($srcdir): New variable.
1022         ($auto_input): Use it.
1024 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1026         [BZ #16506]
1027         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1028         access beyond array bounds when parsing netgroups file.
1030         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1031         the old buffer before realloc.
1033 2014-01-27  Allan McRae  <allan@archlinux.org>
1035         * po/fr.po: Update French translation from translation project.
1037 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1039         * sysdeps/sh/libm-test-ulps: Regenerate.
1041 2014-01-24  David S. Miller  <davem@davemloft.net>
1043         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1045 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1047         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1048         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1050 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1052         [BZ #16474]
1053         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1054         string pointers after reallocation.
1056 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1058         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1059         __SH4A__ instead of __SH_FPU_ANY__.
1061 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1063         * sysdeps/sh/fpu_control.h: New file.
1064         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1065         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1066         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1067         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1068         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1069         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1070         * sysdeps/sh/sys/ucontext.h: Remove.
1071         * sysdeps/sh/sys: Remove directory.
1073 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1075         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1076         s390/sys/ucontext.h.
1077         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1078         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1080 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
1082         [BZ #15605]
1083         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1085 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1087         [BZ#16431]
1088         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1089         Adjust the vDSO correctly for internal calls.
1090         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1092 2014-01-20  Allan McRae  <allan@archlinux.org>
1094         * po/ca.po: Update Catalan translation from translation project.
1096 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
1098         * sysdeps/s390/sotruss-lib.c: New file.
1100 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1102         [BZ#16430]
1103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1104         (__GI___gettimeofday): Alias for a different internal symbol to avoid
1105         local calls issues by not having a PLT stub required for IFUNC calls.
1106         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1108 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1110         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1111         * math/test-fpucw-static.c: Likewise.
1113 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1115         [BZ #16453]
1116         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1118 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1120         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1121         implementation for powerpc.
1123 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1125         [BZ #14782]
1126         * sysdeps/posix/system.c (__libc_system): Do not enable
1127         asynchronous cancellation.
1129 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1131         [BZ #16427]
1132         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1133         handling only for numbers special also in the IEEE case.
1135 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1137         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1139 2014-01-11  Allan McRae  <allan@archlinux.org>
1141         * po/bg.po: Update Bulgarian translation from translation project.
1143         * po/de.po: Update German translation from translation project.
1145 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1147         * sysdeps/generic/gcc-compat.h: New file.
1149 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1151         * benchtests/asin-inputs: Correct slow inputs.
1152         * benchtests/acos-inputs: Likewise.
1154 2014-01-10  Allan McRae  <allan@archlinux.org>
1156         * po:sv.po: Update Swedish translation from translation project.
1158         * po/vi.po: Update Vietnamese translation from translation project.
1160         * po/eo.po: Update Esperanto translation from translation project.
1162         * po/cs.po: Update Czech translation from translation project.
1164         * po/nl.po: Update Dutch translation from translation project.
1166         * po/pl.po: Update Polish translation from translation project.
1168         * po/ru.po: Update Russian translation from translation project.
1170         * po/uk.po: Update Ukrainian translation from translation project.
1172 2014-01-08  Brooks Moses  <bmoses@google.com>
1174         * elf/dl-load.c: Fix comment typo.
1176 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1178         * po/header.pot: Rename to...
1179         * po/pot.header: ... this.
1180         * po/Makefile: Use pot.header.
1182 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1183             Maxim Kuvyrkov  <maxim@kugelworks.com>
1185         [BZ #16394]
1186         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1187         SRC and DEST against LEN.
1189 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1191         [BZ #16414]
1192         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1193         implementation.
1194         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1196 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1200 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1202         [BZ #16408]
1203         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1204         for large positive arguments.
1206 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1208         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1210         * math/auto-libm-test-in: Mark various tests with
1211         xfail-rounding:ldbl-128ibm.
1212         * math/auto-libm-test-out: Regenerated.
1214         [BZ #16407]
1215         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1216         Increase overflow threshold.
1218 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1220         [BZ #14286]
1221         * stdio-common/vfprintf.c: Check for integer overflow.
1223 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1225         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1226         the first argument and return value of __tls_get_addr_internal.
1228 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1230         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1231         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1233 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1235         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1236         * sysdeps/s390/rtld-global-offsets.sym: New file.
1237         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1238         GLIBC_2.19 symbol.
1239         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1240         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1242         ... this.
1243         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1244         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1245         ... this.
1246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1247         Regenerate.
1248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1249         Regenerate.
1250         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1251         halfs of GPRs for high_gprs contexts.
1252         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1253         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1254         field.
1255         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1256         uc_flags field.
1257         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1258         64 bit versions:
1259         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1260         for high GPRs (uc_high_gprs) and for future extensions
1261         (__reserved).
1262         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1263         for future extensions (__reserved).
1264         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1265         64 bit versions:
1266         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1267         SC_HIGHGPRS offset definition.
1268         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1269         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1271 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1273         * Versions.def: Add GLIBC_2.19 for libpthread.
1274         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1275         siglongjmp for libpthread with GLIBC_2.19 symver.
1276         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1277         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1278         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1279         * sysdeps/s390/__longjmp.c: New file.
1280         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1281         * sysdeps/s390/longjmp.c: New file.
1282         * sysdeps/s390/setjmp.S: New file.
1283         * sysdeps/s390/sigjmp.S: New file.
1284         * sysdeps/s390/v1-longjmp.c: New file.
1285         * sysdeps/s390/v1-setjmp.h: New file.
1286         * sysdeps/s390/v1-sigjmp.c: New file.
1287         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1288         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1289         GLIBC_2.19 version.
1290         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1291         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1292         versioned symbols for ____longjmp_chk.
1293         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1294         Likewise.
1295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1296         Regenerate.
1297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1298         Regenerate.
1299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1300         Regenerate.
1301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1302         Regenerate.
1303         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1304         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1305         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1306         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1307         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1308         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1309         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1310         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1311         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1312         * sysdeps/s390/rtld-__longjmp.c: New file.
1313         * sysdeps/s390/rtld-setjmp.S: New file.
1315 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1317         [BZ #16400]
1318         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1319         Return -__logl (x) for small positive arguments without evaluating
1320         a polynomial.
1322 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1324         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1325         Rename to ...
1326         (__ptrace_peeksiginfo_args): ... this.
1327         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1328         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1329         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1331 2014-01-06  Allan McRae  <allan@archlinux.org>
1333         * inet/netinet/in.h: Fix typo in comment.
1335 2014-01-05  Andreas Jaeger  <aj@suse.de>
1337         * sysdeps/i386/fpu/libm-test-ulps: Update.
1339 2014-01-05  Allan McRae  <allan@archlinux.org>
1341         * po/libc.pot: Regenerated.
1343         * malloc/memusagestat.c: Fix gettext call formatting.
1345 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
1347         * nscd/nscd.c: Improve usage() output.
1349 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
1351         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1352         * sysdeps/unix/sysv/linux/configure: Regenerated.
1353         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1354         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1356 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1358         [BZ #16390]
1359         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1360         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1362 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1364         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1365         extra tokens at end of #undef directive.
1366         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1367         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1368         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1370 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1372         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1374         * math/auto-libm-test-in: Mark various tests with
1375         xfail-rounding:ldbl-128ibm.
1376         * math/auto-libm-test-out: Regenerated.
1378 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1380         [BZ #16386]
1381         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1382         numbers with subnormal high part when calculating exponent.
1384         [BZ #16385]
1385         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1386         fabs.
1388         [BZ #16384]
1389         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1390         M_LN2l.
1391         (__ieee754_acoshl): Use __log1pl not __log1p.
1393 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1395         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1396         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1397         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1398         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1399         Convert to GNU style.
1400         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1401         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1402         memalign_check, __malloc_set_state): Likewise.
1403         * malloc/mallocbug.c (main): Likewise.
1404         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1405         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1406         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1407         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1408         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1409         * malloc/malloc.h: Likewise.
1410         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1411         memalignhook, reallochook, mabort): Likewise.
1412         * malloc/mcheck.h: Likewise.
1413         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1414         mmap64, mremap, munmap, dest): Likewise.
1415         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1416         * malloc/morecore.c (__default_morecore): Likewise.
1417         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1418         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1419         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1420         print_and_abort): Likewise.
1421         * malloc/obstack.h: Likewise.
1422         * malloc/set-freeres.c (__libc_freeres): Likewise.
1423         * malloc/tst-mallocstate.c (main): Likewise.
1424         * malloc/tst-mtrace.c (main): Likewise.
1425         * malloc/tst-realloc.c (do_test): Likewise.
1427 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1429         [BZ #16366]
1430         * nscd/netgroupcache.c (do_notfound): New function.
1431         (addgetnetgrentX): Use it.
1433         [BZ # 16365]
1434         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1435         NSS_STATUS_NOTFOUND.
1437 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1439         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1442 2014-01-01  Allan McRae  <allan@archlinux.org>
1444         * scripts/update-copyrights: Update configure input file suffix.
1446         * NEWS: Update copyright year.
1447         * catgets/gencat.c: Likewise.
1448         * csu/version.c: Likewise.
1449         * debug/catchsegv.sh: Likewise.
1450         * debug/pcprofiledump.c: Likewise.
1451         * debug/xtrace.sh: Likewise.
1452         * elf/ldconfig.c: Likewise.
1453         * elf/ldd.bash.in: Likewise.
1454         * elf/pldd.c: Likewise.
1455         * elf/sotruss.ksh: Likewise.
1456         * elf/sprof.c: Likewise.
1457         * iconv/iconv_prog.c: Likewise.
1458         * iconv/iconvconfig.c: Likewise.
1459         * locale/programs/locale.c: Likewise.
1460         * locale/programs/localedef.c: Likewise.
1461         * login/programs/pt_chown.c: Likewise.
1462         * malloc/memusage.sh: Likewise.
1463         * malloc/memusagestat.c: Likewise.
1464         * malloc/mtrace.pl: Likewise.
1465         * manual/libc.texinfo: Likewise.
1466         * nscd/nscd.c: Likewise.
1467         * nss/getent.c: Likewise.
1468         * nss/makedb.c: Likewise.
1469         * posix/getconf.c: Likewise.
1470         * scripts/test-installation.pl: Likewise.
1472         * All files with FSF copyright notices: Update copyright dates
1473         using scripts/update-copyrights.
1474         * intl/plural.c: Regenerated.
1475         * locale/programs/charmap-kw.h: Likewise.
1476         * locale/programs/locfile-kw.h: Likewise.
1478 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1480         * sysdeps/unix/sysv/linux/configure: Regenerated.
1481         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1482         the linux/fanotify.h header.
1483         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1484         HAVE_LINUX_FANOTIFY_H is defined.
1486 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1488         * benchtests/cos-inputs: New inputs.
1489         * benchtests/sin-inputs: Likewise.
1491         * benchtests/atan-inputs: New inputs. Fix name of multiple
1492         precision fallback inputs.
1494         * benchtests/atanh-inputs: New inputs.
1495         * benchtests/tanh-inputs: Likewise.
1497         * benchtests/acosh-inputs: New inputs.
1498         * benchtests/asinh-inputs: Likewise.
1500         * benchtests/cosh-inputs: New inputs.
1501         * benchtests/sinh-inputs: Likewise.
1503         * benchtests/acos-inputs: Add more inputs.
1504         * benchtests/asin-inputs: Likewise.
1506 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1508         [BZ #16375]
1509         * manual/arith.texi: Fix spelling.
1510         * manual/charset.texi: Likewise.
1511         * manual/errno.texi: Likewise.
1512         * manual/filesys.texi: Likewise.
1513         * manual/lang.texi: Likewise.
1514         * manual/llio.texi: Likewise.
1515         * manual/locale.texi: Likewise.
1516         * manual/message.texi: Likewise.
1517         * manual/resource.texi: Likewise.
1518         * manual/search.texi: Likewise.
1519         * manual/setjmp.texi: Likewise.
1520         * manual/stdio.texi: Likewise.
1521         * manual/string.texi: Likewise.
1522         * manual/sysinfo.texi: Likewise.
1523         * manual/time.texi: Likewise.
1525 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1527         * po/sl.po: New file.
1529 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1531         * .gitignore: Add core/.gdbinit/.gdb_history.
1533 2013-12-27  Allan McRae  <allan@archlinux.org>
1535         [BZ #16369]
1536         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1537         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1539 2013-12-24  Brooks Moses  <bmoses@google.com>
1541         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1542         all compilers that claim C++98 compliance, not just GCC.
1543         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1544         Likewise.
1546 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1548         * NEWS: Restore accidentally deleted bug-fix entries.
1550 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1551             Ondřej Bílka  <neleai@seznam.cz>
1553         [BZ #15073]
1554         * malloc/malloc.c (_int_free): Perform sanity check only if we
1555         have_lock.
1557 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1559         [BZ #12986]
1560         * manual/stdio.texi (String Input Conversions): Clarify that character
1561         classes are not supported.
1563 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1567 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1569         [BZ #16337]
1570         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1571         Calculate results for small negative arguments directly rather
1572         than using reflection formula with special underflow handling.
1574         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1575         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1576         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1577         (fchflags): Likewise.
1578         (revoke): Likewise.
1579         (setlogin): Likewise.
1580         (sigaltstack): Likewise.
1581         (wait4): Likewise.
1582         (sigblock): Remove.
1583         (sigsetmask): Likewise.
1584         (wait3): Likewise.
1585         (waitpid): Likewise.
1586         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1587         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1588         file.
1589         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1590         * sysdeps/unix/bsd/Makefile: ... here.
1591         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1592         * sysdeps/unix/bsd/Versions: ... here.
1593         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1594         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1595         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1596         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1597         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1598         * sysdeps/unix/bsd/sigblock.c: ... here.
1599         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1600         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1601         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1602         * sysdeps/unix/bsd/sigvec.c: ... here.
1603         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1604         * sysdeps/unix/bsd/tcdrain.c: ... here.
1605         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1606         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1607         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1608         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1609         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1610         * sysdeps/unix/bsd/wait.c: ... here.
1611         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1612         * sysdeps/unix/bsd/wait3.c: ... here.
1613         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1614         * sysdeps/unix/bsd/waitpid.c: ... here.
1616 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1618         [BZ #16356]
1619         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1620         round-to-nearest for [!USE_AS_EXPM1L].
1621         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1622         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1623         more tests of exp and exp10.  Expect some exp10 tests to miss
1624         exceptions or fail in directed rounding modes.
1625         * math/auto-libm-test-out: Regenerated.
1626         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1627         (exp10_test_tonearest): New function.
1628         (exp10_towardzero_test_data): New array.
1629         (exp10_test_towardzero): New function.
1630         (exp10_downward_test_data): New array.
1631         (exp10_test_downward): New function.
1632         (exp10_upward_test_data): New array.
1633         (exp10_test_upward): New function.
1634         (main): Call the new functions.
1635         * sysdeps/i386/fpu/libm-test-ulps: Update.
1636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1638 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1640         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1641         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1642         * math/auto-libm-test-out: Regenerated.
1643         * math/libm-test.inc (acosh_test_data): Add more tests.
1644         (atanh_test_data): Likewise.
1645         (ceil_test_data): Likewise.
1646         (copysign_test_data): Likewise.
1647         * sysdeps/i386/fpu/libm-test-ulps: Update.
1648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1650         * timezone/checktab.awk: Update from tzcode 2013i.
1651         * timezone/private.h: Likewise.
1652         * timezone/scheck.c: Likewise.
1653         * timezone/tzfile.h: Likewise.
1654         * timezone/tzselect.ksh: Likewise.
1655         * timezone/zdump.c: Likewise.
1656         * timezone/zic.c: Likewise.
1658         * math/auto-libm-test-in: Add tests of cpow.
1659         * math/auto-libm-test-out: Regenerated.
1660         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1661         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1662         mpc_cc_c.
1663         (func_calc_desc): Add mpc_cc_c union field.
1664         (test_functions): Add cpow.
1665         (special_fill_2pi): New function.
1666         (special_real_inputs): Add 2pi.
1667         (calc_generic_results): Handle mpc_cc_c.
1668         * sysdeps/i386/fpu/libm-test-ulps: Update.
1669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1671         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1672         csqrt, ctan and ctanh.
1673         * math/auto-libm-test-out: Regenerated.
1674         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1675         (TEST_COND_x86): Likewise.
1676         (ccos_test_data): Use AUTO_TESTS_c_c.
1677         (ccosh_test_data): Likewise.
1678         (cexp_test_data): Likewise.
1679         (clog_test_data): Likewise.
1680         (csqrt_test_data): Likewise.
1681         (ctan_test_data): Likewise.
1682         (ctan_tonearest_test_data): Likewise.
1683         (ctan_towardzero_test_data): Likewise.
1684         (ctan_downward_test_data): Likewise.
1685         (ctan_upward_test_data): Likewise.
1686         (ctanh_test_data): Likewise.
1687         (ctanh_tonearest_test_data): Likewise.
1688         (ctanh_towardzero_test_data): Likewise.
1689         (ctanh_downward_test_data): Likewise.
1690         (ctanh_upward_test_data): Likewise.
1691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1692         mpc_c_c.
1693         (func_calc_desc): Add mpc_c_c union field.
1694         (FUNC_mpc_c_c): New macro.
1695         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1696         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1697         ctanh.
1698         (special_fill_min_subnorm_p120): New function.
1699         (special_real_inputs): Add min_subnorm_p120.
1700         (calc_generic_results): Handle mpc_c_c.
1701         * sysdeps/i386/fpu/libm-test-ulps: Update.
1702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1704 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1706         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1707         do_sin_slow): New functions.
1708         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1709         cslow2, csloww1, csloww2): Use the new functions.
1711         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1712         Use M to change sign of result instead of X.  Assume X is
1713         positive.
1714         (csloww1): Likewise.
1715         (__sin): Adjust.
1716         (__cos): Adjust.
1718         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1719         arguments A and DA.
1720         (__sin): Adjust.
1721         (__cos): Likewise.
1723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1724         (__cos): Likewise.
1725         (sloww1): Don't adjust sign of DX.
1726         (csloww1): Likewise.
1727         (sloww2): Use X directly and don't adjust sign of DX.
1728         (csloww2): Likewise.
1730 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1732         * math/auto-libm-test-in: Add tests of cabs and carg.
1733         * math/auto-libm-test-out: Regenerated.
1734         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1735         (carg_test_data): Likewise.
1736         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1737         mpc_c_f.
1738         (func_calc_desc): Add mpc_c_f union field.
1739         (test_functions): Add cabs and carg.
1740         (calc_generic_results): Handle mpc_c_f.
1742         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1743         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1744         as a macro and a compat symbol.
1745         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1746         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1747         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1748         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1749         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1750         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1751         not use .hidden.
1752         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1753         Likewise.
1754         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1755         Likewise.
1756         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1757         Likewise.
1758         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1759         Likewise.
1760         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1761         Likewise.
1762         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1763         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1764         from GLIBC_2.3.2.
1766 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1770 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1772         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1773         trailing whitespace removed.
1774         * scripts/config.guess: Update to version 2013-11-29.
1775         * scripts/config.sub: Update to version 2013-10-01.
1777         * math/auto-libm-test-in: Add tests of sincos.
1778         * math/auto-libm-test-out: Regenerated.
1779         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1780         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1781         mpfr_f_11.
1782         (func_calc_desc): Add mpfr_f_11 union field.
1783         (test_functions): Add sincos.
1784         (calc_generic_results): Handle mpfr_f_11.
1785         * sysdeps/i386/fpu/libm-test-ulps: Update.
1786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1788 2013-12-19  Andreas Schwab  <schwab@suse.de>
1790         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1791         CALL_MCOUNT.
1792         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1793         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1794         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1796 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1798         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1799         * sysdeps/i386/fpu/libm-test-ulps: Update.
1800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1802         [BZ #16293]
1803         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1804         round-to-nearest mode when using frndint.
1805         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1806         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1807         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1808         Likewise.
1809         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1810         sinh test to fail.
1811         * math/auto-libm-test-out: Regenerated.
1812         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1813         (TEST_COND_x86): Likewise.
1814         (expm1_tonearest_test_data): New array.
1815         (expm1_test_tonearest): New function.
1816         (expm1_towardzero_test_data): New array.
1817         (expm1_test_towardzero): New function.
1818         (expm1_downward_test_data): New array.
1819         (expm1_test_downward): New function.
1820         (expm1_upward_test_data): New array.
1821         (expm1_test_upward): New function.
1822         (main): Run the new test functions.
1823         * sysdeps/i386/fpu/libm-test-ulps: Update.
1824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1826         * include/features.h: Update comment documenting feature test
1827         macros.  Mention _DEFAULT_SOURCE in comment.
1828         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1829         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1830         _BSD_SOURCE and _SVID_SOURCE.
1831         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1832         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1833         !_SVID_SOURCE]: Likewise.
1834         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1835         (__USE_POSIX_IMPLICITLY): Define.
1836         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1837         (_POSIX_SOURCE): Undefine and redefine.
1838         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1839         (_POSIX_C_SOURCE): Likewise.
1840         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1841         (Feature Test Macros): Update documentation of default features.
1843 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1845         * benchtests/Makefile: Add bench-strtok.
1846         * benchtests/bench-strtok.c: New file: strtok benchtest.
1848 2013-12-19  Allan McRae  <allan@archlinux.org>
1850         * manual/install.texi: Suppress menu for plain text output.
1851         * INSTALL: Regenerated.
1853 2013-12-18  Brooks Moses  <bmoses@google.com>
1855         [BZ #15846]
1856         * misc/getauxval.c: Include errno.h.
1857         (__getauxval): Set errno to ENOENT if the requested type is not
1858         found.
1859         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1860         don't declare with __attribute_const__.
1861         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1862         * manual/startup.texi: Document that getauxval sets errno.
1864 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1866         * math/auto-libm-test-in: Add tests of jn and yn.
1867         * math/auto-libm-test-out: Regenerated.
1868         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1869         (yn_test_data): Likewise.
1870         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1871         mpfr_if_f.
1872         (func_calc_desc): Add mpfr_if_f union field.
1873         (FUNC_mpfr_if_f): New macro.
1874         (test_functions): Add jn and yn.
1875         (calc_generic_results): Assert type of second input for
1876         mpfr_ff_f.  Handle mpfr_if_f.
1877         (output_for_one_input_case): Disable all checking for arguments
1878         fitting floating-point types in case of an integer argument.
1879         * sysdeps/i386/fpu/libm-test-ulps: Update.
1880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1883         Don't expect fegetround reference in libm.so.
1885 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1887         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1888         $(config-cflags-nofma).
1890 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1892         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1893         * math/auto-libm-test-out: Regenerated.
1895         [BZ #16338]
1896         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1897         to determine exponent and adjust argument to have exponent of -1.
1898         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1899         log2.
1900         * math/auto-libm-test-out: Regenerated.
1901         * sysdeps/i386/fpu/libm-test-ulps: Update.
1902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1904 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1906         * manual/probes.texi: Remove cases when per-thread arenas are
1907         disabled.
1909 2013-12-18  Andreas Schwab  <schwab@suse.de>
1911         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1912         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1913         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1914         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1915         * sysdeps/i386/i686/multiarch/Makefile: Update.
1916         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1918 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1920         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1921         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1923 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1925         [BZ #15968]
1926         Support TZ transition times < 00:00:00.
1927         This is needed for version-3 tz-format files; it supports time
1928         stamps past 2037 for America/Godthab (the only entry in the tz
1929         database for which this change is relevant).
1930         * manual/time.texi (TZ Variable): Document transition times
1931         from -167:59:59 through -00:00:01.
1932         * time/tzset.c (tz_rule): Time of day is now signed.
1933         (__tzset_parse_tz): Parse negative time of day.
1935         Document TZ transition times >= 25:00:00.
1936         * manual/time.texi (TZ Variable): Document transition times from
1937         25:00:00 through 167:59:59.  These are already supported, and this
1938         support will help with version-3 tz-format files.
1940         * manual/time.texi (TZ Variable): Modernize North America example
1941         to reflect current (i.e., 2007-and-later) daylight saving rules.
1943         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1945 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1947         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1948         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1949         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1950         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1951         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1952         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1953         * sysdeps/unix/bsd/clock.c: Likewise.
1954         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1955         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1956         * sysdeps/unix/bsd/init-posix.c: Likewise.
1957         * sysdeps/unix/bsd/poll.c: Likewise.
1958         * sysdeps/unix/bsd/ptsname.c: Likewise.
1959         * sysdeps/unix/bsd/seekdir.c: Likewise.
1960         * sysdeps/unix/bsd/setegid.c: Likewise.
1961         * sysdeps/unix/bsd/seteuid.c: Likewise.
1962         * sysdeps/unix/bsd/setgid.c: Likewise.
1963         * sysdeps/unix/bsd/setrgid.c: Likewise.
1964         * sysdeps/unix/bsd/setruid.c: Likewise.
1965         * sysdeps/unix/bsd/setsid.c: Likewise.
1966         * sysdeps/unix/bsd/setuid.c: Likewise.
1967         * sysdeps/unix/bsd/sigaction.c: Likewise.
1968         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1969         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1970         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1971         * sysdeps/unix/bsd/telldir.c: Likewise.
1972         * sysdeps/unix/bsd/times.c: Likewise.
1973         * sysdeps/unix/bsd/usleep.c: Likewise.
1975         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1976         ($(objpfx)libbsd-compat.a): Remove rule.
1978         * include/features.h (__FAVOR_BSD): Do not define.
1979         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1980         features conflicting with POSIX.
1981         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1982         (_BSD_SOURCE): Remove description of not being a subset of other
1983         feature test macros.
1984         * manual/job.texi (getpgrp): Do not document BSD version.
1985         (getpgid): Do not document by reference to BSD getpgrp.
1986         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1987         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1988         * signal/signal.h [__FAVOR_BSD]: Likewise.
1989         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1990         instead of making contents conditional on [__FAVOR_BSD].
1991         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1993 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1997 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1999         [BZ #16314]
2000         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2001         values below 2**-450, not 2**-500.
2002         * math/auto-libm-test-in: Don't allow spurious underflow from
2003         hypot.
2004         * math/auto-libm-test-out: Regenerated.
2006         [BZ #16316]
2007         [BZ #16330]
2008         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2009         values of ha and hb and sort them after adjusting subnormal
2010         arguments.
2011         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2012         Likewise.
2013         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2014         values of ea and eb and sort them after adjusting subnormal
2015         arguments.
2016         * math/auto-libm-test-in: Do not expect some hypot tests of
2017         subnormals to fail.  Add more hypot tests.
2018         * math/auto-libm-test-out: Regenerated.
2020 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2022         [BZ #13304]
2023         * sysdeps/sh/s_fma.c: New file.
2024         * sysdeps/sh/s_fmaf.c: New file.
2025         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
2026         version.
2027         * sysdeps/sh/Implies: Add sh/soft-fp.
2029 2013-12-16  Roland McGrath  <roland@hack.frob.com>
2031         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
2032         level of indirection to members `objname', `errstring', `malloced'.
2033         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2034         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
2035         it as the __longjmp argument (just pass 1 instead).
2036         (_dl_catch_error): Initialize C with argument pointers and address of
2037         volatile local ERRCODE rather than copying values out of C at return.
2039 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
2041         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2042         * math/auto-libm-test-out: Regenerated.
2043         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2044         (hypot_test_data): Likewise.
2045         (pow_test_data): Likewise.
2046         (pow_tonearest_test_data): Likewise.
2047         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2048         mpfr_ff_f.
2049         (func_calc_desc): Add mpfr_ff_f union field.
2050         (FUNC_mpfr_ff_f): New macro.
2051         (test_functions): Add atan2, hypot and pow.
2052         (special_fill_min): New function.
2053         (special_fill_minus_min): Likewise.
2054         (special_fill_min_subnorm): Likewise.
2055         (special_fill_minus_min_subnorm): Likewise.
2056         (special_real_inputs): Add min, -min, min_subnorm and
2057         -min_subnorm.
2058         (calc_generic_results): Handle mpfr_ff_f.
2059         * sysdeps/i386/fpu/libm-test-ulps: Update.
2060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2062 2013-12-16  Will Newton  <will.newton@linaro.org>
2064         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2065         (Aligned Memory Blocks): Add documentation for aligned_alloc
2066         and suggest it as an alternative to posix_memalign.
2067         (Hooks for Malloc): Document __memalign_hook is also called
2068         for aligned_alloc.  (Summary of Malloc): Add summary for
2069         aligned alloc.  Document __memalign_hook is also called
2070         for aligned_alloc.
2072 2013-12-16  Will Newton  <will.newton@linaro.org>
2074         * manual/memory.texi (Malloc Examples): Clarify default
2075         alignment documentation.  Suggest posix_memalign rather
2076         than memalign or valloc.
2077         (Aligned Memory Blocks): Remove suggestion to use memalign
2078         or valloc.  Remove obsolete comment about BSD.
2079         Document memalign errno values and mark the function obsolete.
2080         Document posix_memalign returned error codes.  Mark valloc
2081         as obsolete.  (Hooks for Malloc): __memalign_hook is also
2082         called for posix_memalign and valloc.
2083         (Summary of Malloc): Add posix_memalign to function summary.
2084         __memalign_hook is also called for posix_memalign and valloc.
2086 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2088         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2089         TAYLOR_SIN.
2090         (__sin): Adjust.
2091         (__cos): Likewise.
2092         (sloww): Use mynumber union.  Expand ternary operator into
2093         if-else statements.
2094         (cslow): use mynumber union.
2096 2013-12-16  Allan McRae  <allan@archlinux.org>
2098         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2099         * configure: Regenerated.
2101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2103         [BZ #14120]
2104         * configure.ac: Added --enable-maintainer-mode. Check for
2105         autoconf when enabled.
2106         * configure: Regenerated.
2108         * nscd/nscd.service: New file.
2109         * nscd/nscd.tmpfiles: New file.
2111 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2113         [BZ #12100]
2114         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2115         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2116         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2117         (strstr): Add __strstr_sse2_unaligned ifunc.
2118         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2119         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2120         (strcasestr): Remove __strcasestr_sse42 ifunc.
2121         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2125 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2127         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2128         * sysdeps/sh/bits/fenv.h: ... here.
2129         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2131 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2133         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2135 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2138         hypotf multiarch implementations.
2139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2142         multiarch hypot for PPC64.
2143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2146         multiarch hypotf for PPC64.
2148 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2151         modff multiarch implementations.
2152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2155         multiarch modf for PPC64.
2156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2159         multiarch modff for PPC64.
2161 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2164         and logl multiarch implementations.
2165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2168         multiarch logb for PPC64.
2169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2172         multiarch logb for PPC64.
2173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2176         multiarch logb for PPC64.
2178 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2181         isinff multiarch implementation.
2182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2183         file.
2184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2186         multiarch isinf for PPC64.
2187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2188         file.
2189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2190         multiarch isinff for PPC64.
2192 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2195         finitef multiarch implementation.
2196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2197         file.
2198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2200         multiarch finite for PPC64.
2201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2202         file.
2203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2204         multiarch finitef for PPC64.
2206 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2209         lrint multiarch implementation.
2210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2211         file.
2212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2214         multiarch llrint for PPC64.
2215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2216         multiarch lrint for PPC64.
2218 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2221         copysignf multiarch implementation.
2222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2223         file.
2224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2225         file.
2226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2227         multiarch copysign for PPC64.
2228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2229         multiarch copysignf for PPC64.
2231 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2234         multiarch implementation.
2235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2236         file.
2237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2238         file.
2239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2240         file.
2241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2242         file.
2243         multiarch llround for PPC64.
2244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2245         multiarch trunc for PPC64.
2246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2247         multiarch truncf for PPC64.
2249 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2252         multiarch implementation.
2253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2254         file.
2255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2256         file.
2257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2258         file.
2259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2260         file.
2261         multiarch llround for PPC64.
2262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2263         multiarch round for PPC64.
2264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2265         multiarch roundf for PPC64.
2267 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2270         multiarch implementation.
2271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2272         file.
2273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2274         file.
2275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2276         file.
2277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2278         file.
2279         multiarch llround for PPC64.
2280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2281         multiarch floor for PPC64.
2282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2283         multiarch floorf for PPC64.
2285 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2288         multiarch implementation.
2289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2290         file.
2291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2292         file.
2293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2294         file.
2295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2296         file.
2297         multiarch llround for PPC64.
2298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2299         multiarch ceil for PPC64.
2300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2301         multiarch ceilf for PPC64.
2303 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2306         multiarch implementation.
2307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2308         file.
2309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2310         file.
2311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2312         file.
2313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2314         multiarch llround for PPC64.
2315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2316         multiarch lround for PPC64.
2318 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2321         multiarch implementation.
2322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2325         file.
2326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2329         multiarch isnan for PPC64.
2330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2331         multiarch isnanf for PPC64.
2333 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2335         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2336         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2337         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2338         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2339         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2342 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2344         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2345         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2346         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2347         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2349 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2352         multiarch implementations.
2353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2354         (__libc_ifunc_impl_list): Likewise.
2355         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2356         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2358         multiarch stpcpy for PPC64.
2360 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2363         multiarch implementations.
2364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2365         (__libc_ifunc_impl_list): Likewise.
2366         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2367         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2368         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2369         multiarch strcpy for PPC64.
2371 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2373         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2374         redefine function name.
2375         (_wordcopy_fwd_dest_aligned): Likewise.
2376         (_wordcopy_bwd_aligned): Likewise.
2377         (_wordcopy_bwd_dest_aligned): Likewise.
2378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2379         multiarch implementations.
2380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2381         (__libc_ifunc_impl_list): Likewise.
2382         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2383         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2384         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2385         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2386         multiarch wcscpy for PPC64.
2388 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2391         multiarch implementations.
2392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2393         (__libc_ifunc_impl_list): Likewise.
2394         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2395         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2396         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2397         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2398         multiarch wcscpy for PPC64.
2400 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2403         multiarch implementations.
2404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2405         (__libc_ifunc_impl_list): Likewise.
2406         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2407         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2408         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2409         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2410         multiarch wcsrchr for PPC64.
2412 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2415         multiarch implementations.
2416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2417         (__libc_ifunc_impl_list): Likewise.
2418         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2419         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2420         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2421         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2422         multiarch wcschr for PPC64.
2424 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2427         multiarch implementations.
2428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2429         (__libc_ifunc_impl_list): Likewise.
2430         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2431         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2432         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2433         multiarch strchrnul for PPC64.
2435 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2438         implementations.
2439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2440         (__libc_ifunc_impl_list): Likewise.
2441         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2442         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2443         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2444         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2445         strchr for PPC64.
2447 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2450         implementations.
2451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2452         (__libc_ifunc_impl_list): Likewise.
2453         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2454         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2455         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2456         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2457         strncmp for PPC64.
2459 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2462         multiarch implementations.
2463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2464         (__libc_ifunc_impl_list): Likewise.
2465         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2466         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2467         strncasecmp for PPC64.
2468         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2469         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2470         multiarch strncasecmp_l for PPC64.
2472 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2475         multiarch implementations.
2476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2477         (__libc_ifunc_impl_list): Likewise.
2478         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2480         multiarch strcasecmp for PPC64.
2481         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2482         file.
2483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2484         multiarch strcasecmp_l for PPC64.
2486 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2489         implementations.
2490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2491         (__libc_ifunc_impl_list): Likewise.
2492         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2493         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2494         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2495         strnlen for PPC64.
2497 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2500         implementations.
2501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2502         (__libc_ifunc_impl_list): Likewise.
2503         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2504         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2505         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2506         strlen for PPC64.
2508 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2511         implementations.
2512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2513         (__libc_ifunc_impl_list): Likewise.
2514         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2515         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2516         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2517         rawmemrchr for PPC64.
2519 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2522         implementation.
2523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2524         (__libc_ifunc_impl_list): Likewise.
2525         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2526         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2527         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2528         memrchr for PPC64.
2530 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2533         implementation.
2534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2535         (__libc_ifunc_impl_list): Likewise.
2536         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2537         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2538         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2539         memchr for PPC64.
2541 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2544         implementation.
2545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2546         (__libc_ifunc_impl_list): Likewise.
2547         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2548         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2549         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2550         mempcpy for PPC64.
2552 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2554         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2555         avoid cretion of __bzero symbol.
2556         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2557         Likewise.
2558         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2559         Likewise.
2560         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2561         Likewise.
2562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2563         multiarch implementations.
2564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2565         (__libc_ifunc_impl_list): Likewise.
2566         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2567         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2568         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2569         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2570         bzero for PPC32.
2571         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2572         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2573         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2574         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2575         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2576         memset for PPC64.
2577         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2579 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2581         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2583         implementations.
2584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2585         (__libc_ifunc_impl_list): Likewise.
2586         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2587         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2588         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2589         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2590         memcmp for PPC64.
2592 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2595         multiarch for POWER/PPC64.
2596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2597         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2598         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2599         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2601         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2602         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2603         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2604         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2605         memcpy for PPC64.
2607 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2609         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2610         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2611         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2612         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2613         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2614         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2615         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2616         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2617         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2618         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2619         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2620         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2621         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2622         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2623         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2632 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2634         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2636 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2638         * benchtests/Makefile (bench): Add exp2 and log2.
2639         (LDLIBS-bench-exp2): Add -lm.
2640         (LDLIBS-bench-log2): Likewise.
2641         * benchtests/exp2-inputs: New inputs file.
2642         * benchtests/log2-inputs: New inputs file.
2643         * benchtests/log-inputs: Add new inputs.
2644         * benchtests/tan-inputs: Likewise.
2646 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2648         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2649         definition...
2650         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2651         csloww1, csloww2): ... from here.
2653         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2654         instead of structures.
2655         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2656         (POLYNOMIAL): Likewise.
2657         (TAYLOR_SLOW): Likewise.
2658         (__sin): Likewise.
2659         (__cos): Likewise.
2660         (slow1): Likewise.
2661         (slow2): Likewise.
2662         (sloww): Likewise.
2663         (sloww1); Likewise.
2664         (sloww2): Likewise.
2665         (bsloww1): Likewise.
2666         (bsloww2): Likewise.
2667         (cslow2): Likewise.
2668         (csloww): Likewise.
2669         (csloww1): Likewise.
2670         (csloww2): Likewise.
2672 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2674         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2675         (__malloc_assert, __libc_realloc, __libc_calloc,
2676         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2677         memcpy and memset.
2678         * malloc/hooks.c (realloc_check): Likewise.
2680 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2682         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2683         * malloc/arena.c: Remove PER_THREAD conditional.
2684         [!PER_THREAD]: Remove code.
2685         (ptmalloc_unlock_all2): Likewise.
2686         (ptmalloc_init): Likewise.
2687         (_int_new_arena): Likewise.
2688         (arena_get2): Likewise.
2689         * malloc/hooks.c (__malloc_get_state): Likewise.
2690         (__malloc_set_state): Likewise.
2691         * malloc/malloc.c: Likewise.
2692         (struct malloc_state): Likewise.
2693         (struct malloc_par): Likewise.
2694         (__libc_realloc): Likewise.
2695         (__libc_mallopt): Likewise.
2697 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2699         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2701 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2703         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2704         macro to a function.  Check for zero perturb_byte.
2705         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2707 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2709         * malloc/malloc.c: (force_reg): Remove.
2710         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2711         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2712         force_reg by atomic_forced_read.
2713         * malloc/arena.c (ptmalloc_init): Likewise.
2714         * malloc/hooks.c (top_check): Likewise.
2716 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2720 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2724 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2726         * math/auto-libm-test-in: Add tests of lgamma.
2727         * math/auto-libm-test-out: Regenerated.
2728         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2729         (M_LOG_2_SQRT_PIl): Likewise.
2730         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2731         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2732         mpfr_f_f1.
2733         (func_calc_desc): Add mpfr_f_f1 union field.
2734         (ARGS1): New macro.
2735         (ARGS2): Likewise.
2736         (ARGS3): Likewise.
2737         (ARGS4): Likewise.
2738         (RET1): Likewise.
2739         (RET2): Likewise.
2740         (CALC): Likewise.
2741         (FUNC): Likewise.
2742         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2743         (test_functions): Add lgamma.
2744         (calc_generic_results): Handle mpfr_f_f1.
2745         * sysdeps/i386/fpu/libm-test-ulps: Update.
2746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2748 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2750         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2751         __mpn_add_n for PowerPC64/POWER7.
2752         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2753         __mpn_sub_n for PowerPC64/POWER7.
2755 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2757         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2758         __mpn_addmul_1 for PowerPC64.
2759         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2760         __mpn_submul_1 for PowerPC64.
2761         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2762         for PowerPC64.
2763         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2764         for PowerPC64.
2766 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2768         [BZ #15089]
2769         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2771 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2773         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2775 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2777         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2778         add multiarch folders.
2779         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2780         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2781         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2782         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2783         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2784         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2785         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2786         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2787         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2788         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2789         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2797 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2800         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2802         New file.
2803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2804         New file.
2805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2806         multiarch __ieee754_hypot for PowerPC32.
2807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2808         New file.
2809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2810         New file.
2811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2812         multiarch __ieee754_hypotf for PowerPC32.
2814 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2816         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2817         long_double_symbol only if __logbl is defined.
2818         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2819         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2820         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2821         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2822         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2823         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2824         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2825         path for implementation.
2826         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2827         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2829         logb, and logbl multiarch implementations for PowerPC32.
2830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2831         file.
2832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2833         file.
2834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2835         multiarch logb for PowerPC32.
2836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2837         file.
2838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2839         file.
2840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2841         multiarch logbf for PowerPC32.
2842         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2844         file.
2845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2846         multiarch logbl implementation for PowerPC32.
2848 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2851         and modff multiarch implementations.
2852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2853         New file.
2854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2855         New file.
2856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2857         multiarch modf for PowerPC32.
2858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2859         New file.
2860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2861         New file.
2862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2863         multiarch modff for PowerPC32.
2865 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2868         and lrintf multiarch implementations.
2869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2870         New file.
2871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2872         New file.
2873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2874         multiarch lrint for PowerPC32.
2875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2876         file: multiarch lrintf for PowerPC32.
2878 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2881         and lroundf multiarch implementations.
2882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2883         New file.
2884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2885         New file.
2886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2887         New file.
2888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2889         multiarch lround for PowerPC32.
2890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2891         file: multiarch lroundf for PowerPC32.
2893 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2896         copysign and copysignf multiarch implementations.
2897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2898         New file.
2899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2900         New file.
2901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2902         file: multiarch copysign for PowerPC32.
2903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2904         file: multiarch copysignf for PowerPC32.
2906 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2909         and truncf multiarch implementations.
2910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2911         New file.
2912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2913         file.
2914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2915         multiarch trunc for PowerPC32.
2916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2917         New file.
2918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2919         New file.
2920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2921         multiarch truncf for PowerPC32.
2923 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2926         and roundf multiarch implementations.
2927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2928         New file.
2929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2930         file.
2931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2932         multiarch round for PowerPC32.
2933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2934         New file.
2935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2936         New file.
2937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2938         multiarch roundf for PowerPC32.
2940 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2943         and floorf multiarch implementations.
2944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2945         New file.
2946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2947         file.
2948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2949         multiarch floor for PowerPC32.
2950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2951         New file.
2952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2953         New file.
2954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2955         multiarch floorf for PowerPC32.
2957 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2960         and ceilf multiarch implementations.
2961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2962         New file.
2963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2964         file.
2965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2966         multiarch ceil for PowerPC32.
2967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2968         New file.
2969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2970         file.
2971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2972         multiarch ceilf for PowerPC32.
2974 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2976         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2977         is defined.
2978         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2979         FINITEF is defined.
2980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2981         and finitef multiarch implementations.
2982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2983         New file.
2984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2985         file.
2986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2987         multiarch finite for PowerPC32.
2988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2989         New file.
2990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2991         file: multiarch finitef for PowerPC32.
2993 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2996         and isinff multiarch implementations.
2997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2998         file.
2999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3000         file.
3001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3002         multiarch isinf for PowerPC32.
3003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3004         New file.
3005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3006         multiarch isinff for PowerPC32.
3008 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3010         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3011         alias when __isnan is defined.
3012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3013         and isnanf multiarch implementations.
3014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3015         file.
3016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3017         file.
3018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3019         file.
3020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3021         file.
3022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3023         multiarch isnan for PowerPC32.
3024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3025         New file.
3026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3027         New file.
3028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3029         multiarch isnanf for PowerPC32.
3031 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3034         and sqrtf multiarch implementations.
3035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3036         file.
3037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3038         file.
3039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3040         multiarch sqrt for PowerPC32.
3041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3042         file.
3043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3044         file.
3045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3046         multiarch sqrtf for PowerPC32.
3048 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3051         and llroundf multiarch implementations.
3052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3053         New file.
3054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3055         New file.
3056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3057         New file.
3058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3059         file: multiarch llround for PowerPC32.
3060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3061         file: multiarch llroundf for PowerPC32.
3063 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3066         multiarch PowerPC32 fpu implementations.
3067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3068         New file.
3069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3070         New file.
3071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3072         multiarch llrint for PowerPC32.
3073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3074         New file.
3075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3076         New file.
3077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3078         file.
3080 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3084 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3086         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3087         file.
3088         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3089         file.
3090         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3091         file.
3092         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3093         multiarch wordcopy for PPC32.
3094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3095         wordcopy objects.
3096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3097         (__libc_ifunc_impl_list): Likewise.
3098         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3099         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3100         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3101         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3102         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3103         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3105 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3107         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3109         file.
3110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3111         file.
3112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3113         file.
3114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3115         multiarch wcscpy for PPC32.
3116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3117         multiarch objects.
3118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3119         (__libc_ifunc_impl_list): Likewise.
3120         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3121         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3122         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3123         sysdeps/powerpc/power6/wcscpy.c.
3125 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3127         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3129         file.
3130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3131         file.
3132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3133         file.
3134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3135         multiarch wcsrchr for PPC32.
3136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3137         multiarch objects.
3138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3139         (__libc_ifunc_impl_list): Likewise.
3140         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3141         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3142         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3143         sysdeps/powerpc/power6/wcsrchr.c.
3145 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3148         file.
3149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3150         file.
3151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3153         multiarch wcschr for PPc32.
3154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3155         multiarch objects.
3156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3157         (__libc_ifunc_impl_list): Likewise.
3158         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3159         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3160         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3161         sysdeps/powerpc/power6/wcschr.c.
3163 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3165         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3166         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3167         file.
3168         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3169         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3170         file: multiarch strchr for PPC32.
3171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3172         multiarch objects.
3173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3174         (__libc_ifunc_impl_list): Likewise.
3176 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3178         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3179         name.
3180         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3181         file.
3182         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3183         file.
3184         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3185         multiarch strchrnul for PPC32.
3186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3187         multiarch objects.
3188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3189         (__libc_ifunc_impl_list): Likewise.
3191 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3194         file.
3195         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3196         multiarch strncasecmp for PPC32.
3197         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3198         file.
3199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3200         multiarch strncasecmp_l for PPC32.
3201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3202         strncasecmp multiarch objects.
3203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3204         (__libc_ifunc_impl_list): Likewise.
3206 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3208         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3209         file.
3210         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3211         multiarch strncasecmp for PPC32.
3212         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3213         New file.
3214         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3215         multiarch strcasecmp_l for PPC32.
3216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3217         multiarch objects.
3218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3219         (__libc_ifunc_impl_list): Likewise.
3221 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3224         file.
3225         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3226         file.
3227         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3228         multiarch strncmp for PPC32.
3229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3230         multiarch objects.
3231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3232         (__libc_ifunc_impl_list): Likewise.
3234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3236         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3237         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3238         file.
3239         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3240         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3242         multiarch objects.
3243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3244         (__libc_ifunc_impl_list): Likewise.
3246 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3248         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3249         file.
3250         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3251         file.
3252         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3254         multiarch objects.
3255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3256         (__libc_ifunc_impl_list): Likewise.
3258 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3260         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3261         file.
3262         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3263         file.
3264         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3265         multiarch rawmemchr for PPC32.
3266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3267         multiarch objects.
3268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3269         (__libc_ifunc_impl_list): Likewise.
3271 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3273         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3274         file.
3275         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3276         file.
3277         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3278         file: memrchr multiarch for PPC32.
3279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3280         multiarch objects.
3281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3282         (__libc_ifunc_impl_list): Likewise.
3284 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3286         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3288         file.
3289         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3290         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3291         multiarch memchr for PPC32.
3292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3293         multiarch objects.
3294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3295         (__libc_ifunc_impl_list): Likewise.
3297 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3299         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3300         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3301         file.
3302         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3303         file.
3304         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3305         file: multiarch mempcpy for PPC32.
3306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3307         multiarch objects.
3308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3309         (__libc_ifunc_impl_list): Likewise.
3311 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3313         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3314         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3315         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3316         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3317         multiarch bzero for PPC32.
3318         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3319         file.
3320         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3321         file.
3322         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3323         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3324         file: multiarch memset for PPC32.
3325         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3327         memset multiarch objects.
3328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3329         (__libc_ifunc_impl_list): Likewise.
3331 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3334         file.
3335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3337         memcmp for PPC32.
3338         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3340         multiarch objects.
3341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3342         (__libc_ifunc_impl_list): Likewise.
3344 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3347         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3349         file.
3350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3351         file.
3352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3353         file.
3354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3355         multiarch memcpy for PPC32.
3356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3357         multiarch objects.
3358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3359         (__libc_ifunc_impl_list): Likewise.
3361 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3364         support multiarch for POWER/PPC32.
3365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3366         Likewise.
3367         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3369         Implies file to make multiarch folder appers before the fpu and
3370         default folder for power4 configuration.
3372 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3374         * scripts/bench.pl: Append volatile keyword to type.
3376 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3378         * sysdeps/sh/sotruss-lib.c: New file.
3379         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3381 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3385 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3387         [BZ #6810]
3388         * math/w_tgamma.c: Include <errno.h>.
3389         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3390         * math/w_tgammaf.c: Include <errno.h>.
3391         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3392         * math/w_tgammal.c: Include <errno.h>.
3393         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3394         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3395         underflow.  Add more tgamma tests.
3396         * math/auto-libm-test-out: Regenerated.
3397         * sysdeps/i386/fpu/libm-test-ulps: Update.
3398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3400         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3401         sin, sinh, tan, tanh, tgamma, y0 and y1.
3402         * math/auto-libm-test-out: Regenerated.
3403         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3404         (TEST_COND_x86): Likewise.
3405         (M_E2l): Remove macro.
3406         (M_E3l): Likewise.
3407         (M_2_SQRT_PIl): Likewise.
3408         (M_SQRT_PIl): Likewise.
3409         (M_1_DIV_El): Likewise.
3410         (log_test_data): Use AUTO_TESTS_f_f.
3411         (log10_test_data): Likewise.
3412         (log1p_test_data): Likewise.
3413         (log2_test_data): Likewise.
3414         (sin_test_data): Likewise.
3415         (sin_tonearest_test_data): Likewise.
3416         (sin_towardzero_test_data): Likewise.
3417         (sin_downward_test_data): Likewise.
3418         (sin_upward_test_data): Likewise.
3419         (sinh_test_data): Likewise.
3420         (sinh_tonearest_test_data): Likewise.
3421         (sinh_towardzero_test_data): Likewise.
3422         (sinh_downward_test_data): Likewise.
3423         (sinh_upward_test_data): Likewise.
3424         (tan_test_data): Likewise.
3425         (tan_tonearest_test_data): Likewise.
3426         (tan_towardzero_test_data): Likewise.
3427         (tan_downward_test_data): Likewise.
3428         (tan_upward_test_data): Likewise.
3429         (tanh_test_data): Likewise.
3430         (tgamma_test_data): Likewise.
3431         (y0_test_data): Likewise.
3432         (y1_test_data): Likewise.
3433         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3434         (special_real_inputs): Add pi/4.
3435         * sysdeps/i386/fpu/libm-test-ulps: Update.
3436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3438 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3440         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3441         "longjmp_target" static probes.
3442         (__longjmp): Rename to __longjmp_symbol.
3443         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3444         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3445         on which longjmp to generate.
3446         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3447         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3448         probe.
3449         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3450         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3451         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3452         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3453         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3454         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3456         __longjmp_symbol based on which __longjmp to generate.
3457         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3458         probe.
3459         (setjmp): Rename to setjmp_symbol.
3460         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3461         (_setjmp): Rename to _setjmp_symbol.
3462         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3463         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3464         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3465         which setjmp to generate.
3466         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3467         "longjmp_target" static probes.
3469 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3471         * benchtests/README: Add note about output arguments.
3472         * benchtests/bench-sincos.c: Remove file.
3473         * benchtests/sincos-inputs: New file.
3474         * scripts/bench.pl: Identify output arguments and define
3475         static variables for them.
3477         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3479         [BZ #15941]
3480         * Makefile (INSTALL): Add install-plain.texi as the primary
3481         dependency.
3482         * manual/install-plain.texi: New file.
3483         * manual/install.texi: Include node directive only for
3484         non-plaintext output.
3486 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3488         * stdlib/longlong.h: Update from GCC.
3490         [BZ #6807]
3491         [BZ #15901]
3492         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3493         * math/w_j0f.c (y0f): Likewise.
3494         * math/w_j0l.c (__y0l): Likewise.
3495         * math/w_j1.c (y1): Likewise.
3496         * math/w_j1f.c (y1f): Likewise.
3497         * math/w_j1l.c (__y1l): Likewise
3498         * math/w_jn.c (yn): Likewise.
3499         * math/w_jnf.c (ynf): Likewise.
3500         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3501         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3502         value for Bessel function domain errors outside _SVID_ mode.
3503         Adjust sign of return value for yn (negative integer, 0).
3504         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3505         by zero in return for negative x and set sign appropriately for
3506         negative n.
3507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3508         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3509         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3510         expectations in error cases.
3511         (y1_test_data): Likewise.
3512         (yn_test_data): Likewise.
3513         * sysdeps/i386/fpu/libm-test-ulps: Update.
3514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3516 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3518         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3519         "64" to "64-v1".  Add "64-v2".
3520         (abi-64-options): Rename to ...
3521         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3522         (abi-64-condition): Rename to ...
3523         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3524         (abi-64-ld-soname): Rename to ...
3525         (abi-64-v1-ld-soname): ... this.
3526         (abi-64-v2-options): Define.
3527         (abi-64-v2-condition): Likewise.
3528         (abi-64-v2-ld-soname): Likewise.
3529         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3530         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3535 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3536             Alan Modra  <amodra@gmail.com>
3538         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3539         New versions for use with the ELFv2 ABI.
3540         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3541         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3542         declaration.
3543         (struct La_ppc64v2_retval): Likewise.
3544         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3545         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3546         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3547         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3548         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3549         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3550         Do not save or restore CR.
3551         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3552         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3553         return values for ELFv2 ABI.  Fix location of FPR return registers.
3554         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3555         updated values for _CALL_ELF == 2.
3556         (La_regs, La_retval, int_retval): Likewise.
3558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3560         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3561         (FRAME_MIN_SIZE_PARM): Likewise.
3562         (FRAME_BACKCHAIN): Likewise.
3563         (FRAME_CR_SAVE): Likewise.
3564         (FRAME_LR_SAVE): Likewise.
3565         (FRAME_TOC_SAVE): Likewise.
3566         (FRAME_PARM_SAVE): Likewise.
3567         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3568         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3569         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3570         (call_mcount_parm_offset): New macro.
3571         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3572         (PROF): Use symbolic stack frame offsets.
3573         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3574         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3575         Redefine in terms of FRAME_MIN_SIZE.
3576         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3577         (_dl_profile_resolve): Likewise.  Update comment.
3578         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3579         symbols stack frame offsets.
3580         (__sigsetjmp): Likewise.
3581         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3582         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3583         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3584         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3587         (FRAME_BACKCHAIN): Remove.
3588         (FRAME_CR_SAVE): Likewise.
3589         (FRAME_LR_SAVE): Likewise.
3590         (FRAME_COMPILER_DW): Likewise.
3591         (FRAME_LINKER_DW): Likewise.
3592         (FRAME_TOC_SAVE): Likewise.
3593         (FRAME_PARM_SAVE): Likewise.
3594         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3595         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3596         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3598         (CHECK_SP): Use symbolic stack frame offsets.
3599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3600         zone" instead of caller's parameter save area for temp storage.
3601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3602         Likewise.  Also, use symbolic stack frame offsets.
3603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3604         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3605         our own stack frame instead of the caller's.
3606         (__socket): Use symbolic stack frame offsets.
3608 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3609             Alan Modra  <amodra@gmail.com>
3611         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3612         Define.
3613         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3614         PPC64_LOCAL_ENTRY_OFFSET): Define.
3615         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3616         New function.
3617         (elf_machine_fixup_plt): Call it.
3618         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3619         reloc arguments.
3620         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3621         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3622         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3623         r2 before calling target.
3625 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3626             Alan Modra  <amodra@gmail.com>
3628         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3629         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3630         versions of macros to support ELFv2 ABI.
3631         (LOCALENTRY): New macro.
3632         (ENTRY, EALIGN): Use it.
3633         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3634         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3635         fall through into ENTRY entry point.
3636         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3637         Only define if _CALL_ELF != 2.
3639         (elf_machine_matches_host): Verify ABI version matches.
3640         (RTLD_START): Use LOCALENTRY.
3641         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3642         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3643         (PLT_ENTRY_WORDS): New macro.
3644         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3645         (elf_machine_runtime_setup): Support ELFv2 ABI.
3646         (elf_machine_fixup_plt): Likewise.
3647         (elf_machine_plt_conflict): Likewise.
3648         (resolve_ifunc): Likewise.
3649         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3650         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3651         Likewise.
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3653         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3655         (makecontext): Support ELFv2 ABI.
3656         * elf/elf.h (EF_PPC64_ABI): Define.
3658 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3660         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3661         New assembler macro.
3662         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3663         [ASSEMBLER] (ENTRY): ... but instead here ...
3664         [ASSEMBLER] (EALIGN): ... and here.
3665         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3666         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3667         [!ASSEMBLER] (ENTRY_2): Use it.
3668         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3669         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3670         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3671         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3672         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3674         Use PPC64_LOAD_FUNCPTR.
3676 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3678         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3680 2013-12-04  Alan Modra  <amodra@gmail.com>
3682         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3683         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3684         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3685         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3688         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3689         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3690         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3691         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3692         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3694 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3697         (__makecontext): Fix incorrect CFI when backtracing out of
3698         context created via makecontext.
3699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3700         (__setcontext): Fix incorrect CFI during switch to new context.
3701         (__novec_setcontext): Likewise.
3703 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3705         [BZ #4772]
3706         * time/strptime_l.c (__strptime_internal): Allow modifiers
3707         in strptime.
3708         * time/tst-strptime.c (day_tests): Add testcase.
3711 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3713         * scripts/bench.pl: Skip over blank lines.
3715 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3717         [BZ #926]
3718         * manual/time.texi (Calendar Time): Clarify what timezone functions
3719         use.
3721 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3725 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3727         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3728         implementation.
3729         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3730         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3731         * debug/memset_chk.c (__memset_chk): Likewise.
3732         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3733         * debug/strncpy_chk.c: Likewise.
3735 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3737         [BZ #15268]
3738         [BZ #15425]
3739         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3740         (__ieee754_exp): For possibly underflowing results, check size of
3741         result and force underflow exception if required.
3742         * math/auto-libm-test-in: Add more tests of exp.
3743         * math/auto-libm-test-out: Regenerated.
3744         * sysdeps/i386/fpu/libm-test-ulps: Update.
3745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3747         [BZ #16283]
3748         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3749         * math/w_exp2f.c (__exp2f): Likewise.
3750         * math/w_exp2l.c (__exp2l): Likewise.
3751         * math/auto-libm-test-in: Do not allow missing errno on exp2
3752         underflow.
3753         * math/auto-libm-test-out: Regenerated.
3755 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3757         [BZ #16274]
3758         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3759         handle filename validation.
3760         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3761         (do_open): Delete.
3763 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3765         [BZ #6786]
3766         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3767         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3768         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3769         <float.h>.
3770         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3771         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3772         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3773         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3774         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3775         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3776         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3777         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3778         Add more erfc tests.
3779         * math/auto-libm-test-out: Regenerated.
3780         * sysdeps/i386/fpu/libm-test-ulps: Update.
3781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3783         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3784         exp2, expm1, j0 and j1.
3785         * math/auto-libm-test-out: Regenerated.
3786         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3787         (erfc_test_data): Likewise.
3788         (exp_test_data): Likewise.
3789         (exp_tonearest_test_data): Likewise.
3790         (exp_towardzero_test_data): Likewise.
3791         (exp_downward_test_data): Likewise.
3792         (exp_upward_test_data): Likewise.
3793         (exp10_test_data): Likewise.
3794         (exp2_test_data): Likewise.
3795         (expm1_test_data): Likewise.
3796         (j0_test_data): Likewise.
3797         (j1_test_data): Likewise.
3798         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3799         (input_flag_type): Add flag_xfail_rounding.
3800         (input_flags): Add xfail-rounding.
3801         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3802         (output_for_one_input_case): Handle flag_xfail_rounding.
3803         * sysdeps/i386/fpu/libm-test-ulps: Update.
3804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3806 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3808         [BZ #16289]
3809         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3810         division by 0.
3812 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3814         [BZ #16195]
3815         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3816         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3817         (STAP_PROBE0): New macro.
3818         (STAP_PROBE1): Likewise.
3819         (STAP_PROBE2): Likewise.
3820         (STAP_PROBE3): Likewise.
3821         (STAP_PROBE4): Likewise.
3823 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3825         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3827 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3829         * benchtests/Makefile (bench): Add sqrt.
3830         (LDLIBS-bench-sqrt): New.
3831         * benchtests/sqrt-input: New.
3833 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3835         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3836         (GAIH_EAI): Likewise.
3837         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3838         (gaih_inet): Likewise.
3839         (getaddrinfo): Don't use GAIH_EAI.
3841         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3842         (struct gaih): Remove definition.
3844 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3846         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3847         Use HERRNOP directly.
3849 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3853 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3855         * math/gen-auto-libm-tests.c (test_functions): Add more
3856         single-argument functions.
3857         (special_fill_pi_2): New function.
3858         (special_fill_minus_pi_2): Likewise.
3859         (special_fill_pi_6): Likewise.
3860         (special_fill_minus_pi_6): Likewise.
3861         (special_fill_pi_3): Likewise.
3862         (special_fill_2pi_3): Likewise.
3863         (special_fill_e): Likewise.
3864         (special_fill_1_e): Likewise.
3865         (special_fill_e_minus_1): Likewise.
3866         (special_real_inputs): Add more special inputs.
3867         (output_for_one_input_case): Do not require ERANGE on underflow to
3868         zero if round-to-nearest result does not underflow to zero, unless
3869         exact results required.
3870         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3871         atan, atanh, cbrt, cos and cosh.
3872         * math/auto-libm-test-out: Regenerated.
3873         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3874         (acos_tonearest_test_data): Likewise.
3875         (acos_towardzero_test_data): Likewise.
3876         (acos_downward_test_data): Likewise.
3877         (acos_upward_test_data): Likewise.
3878         (acosh_test_data): Likewise.
3879         (asin_test_data): Likewise.
3880         (asin_tonearest_test_data): Likewise.
3881         (asin_towardzero_test_data): Likewise.
3882         (asin_upward_test_data): Likewise.
3883         (asinh_test_data): Likewise.
3884         (atan_test_data): Likewise.
3885         (atanh_test_data): Likewise.
3886         (cbrt_test_data): Likewise.
3887         (cos_test_data): Likewise.
3888         (cos_tonearest_test_data): Likewise.
3889         (cos_towardzero_test_data): Likewise.
3890         (cos_downward_test_data): Likewise.
3891         (cos_upward_test_data): Likewise.
3892         (cosh_test_data): Likewise.
3893         (cosh_tonearest_test_data): Likewise.
3894         (cosh_towardzero_test_data): Likewise.
3895         (cosh_downward_test_data): Likewise.
3896         (cosh_upward_test_data): Likewise.
3897         * sysdeps/i386/fpu/libm-test-ulps: Update.
3898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3900 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3902         [BZ #6787]
3903         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3904         * math/w_exp10f.c (__exp10f): Likewise.
3905         * math/w_exp10l.c (__exp10l): Likewise.
3906         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3907         errno settings in existing tests.
3909         [BZ #14032]
3910         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3911         precision control set to double precision.
3912         * sysdeps/i386/fpu/w_sqrt.c: New file.
3913         * math/auto-libm-test-in: Add more tests.
3914         * math/auto-libm-test-out: Update.
3916         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3917         (sqrt_test_tonearest): New function.
3918         (sqrt_towardzero_test_data): New variable.
3919         (sqrt_test_towardzero): New function.
3920         (sqrt_downward_test_data): New variable.
3921         (sqrt_test_downward): New function.
3922         (sqrt_upward_test_data): New variable.
3923         (sqrt_test_upward): New function.
3924         (main): Call the new functions.
3926         * math/gen-auto-libm-tests.c: New file.
3927         * math/auto-libm-test-in: Likewise.
3928         * math/auto-libm-test-out: New generated file.
3929         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3930         variables.
3931         (%beautify): Add generated representations of zero.
3932         (top level): Set $auto_input and call parse_auto_input.
3933         (beautify): Remove trailing "f" from hex float constants.
3934         (parse_args): Handle XFAIL_TEST.
3935         (convert_condition): New function.
3936         (or_value): Likewise.
3937         (or_cond_value): Likewise.
3938         (generate_testfile): Handle AUTO_TESTS_* lines.
3939         (parse_auto_input): New function.
3940         * math/libm-test.inc (XFAIL_TEST): New macro.
3941         (ERRNO_UNCHANGED): Update value.
3942         (ERRNO_EDOM): Likewise.
3943         (ERRNO_ERANGE): Likewise.
3944         (IGNORE_RESULT): Likewise.
3945         (TEST_COND_flt_32): New macro.
3946         (TEST_COND_dbl_64): Likewise.
3947         (TEST_COND_ldbl_96_intel): Likewise.
3948         (TEST_COND_ldbl_96_m68k): Likewise.
3949         (TEST_COND_ldbl_128): Likewise.
3950         (TEST_COND_ldbl_128ibm): Likewise.
3951         (TEST_COND_long32): Likewise.
3952         (TEST_COND_long64): Likewise.
3953         (TEST_COND_before_rounding): Likewise.
3954         (TEST_COND_after_rounding): Likewise.
3955         (enable_test): Handle XFAIL_TEST flag.
3956         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3957         with finite results.
3958         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3959         auto-libm-test-out.
3961 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3962             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3964         [BZ #16214]
3965         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3966         __tls_get_addr_internal instead of __tls_get_offset in order to
3967         avoid GOT pointer dependency.  Make rtld export
3968         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3969         __tls_get_addr since we are a __tls_get_offset platform.
3970         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3971         GOT pointer being set up before.
3972         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3974 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3976         * manual/math.texi (Errors in Math Functions): Document accuracy
3977         goals.
3979         [BZ #15004]
3980         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3981         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3982         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3983         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3984         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3985         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3986         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3987         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3988         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3989         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3990         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3991         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3992         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3993         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3994         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3995         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3997         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3998         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3999         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4000         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4001         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4002         Likewise.
4003         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4004         Likewise.
4005         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4006         Likewise.
4007         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4008         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4009         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4010         atomic-feupdateenv and flt-rounds.
4011         * sysdeps/powerpc/nofpu/Versions (libc): Add
4012         __atomic_feholdexcept, __atomic_feclearexcept,
4013         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4014         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4015         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4016         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4017         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4018         here.
4019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4020         Update.
4022         * manual/arith.texi (FP Exceptions): Document that exceptions may
4023         not be raised when matherr is used.
4024         (Math Error Reporting): Document overflow in directed rounding
4025         modes.  Document that errno may not be set when finite values are
4026         returned on overflow.  Document intent to set errno on underflow
4027         only for underflow to zero.
4029         [BZ #16271]
4030         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4031         round-to-nearest then adjust result for other rounding modes.
4032         * include/fenv.h (fegetround): Use libm_hidden_proto.
4033         * math/fegetround.c (fegetround): Use libm_hidden_def.
4034         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4035         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4036         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4037         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4038         Likewise.
4039         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4040         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4041         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4042         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4044 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4046         [BZ #16077]
4047         * nss/Versions (libnss_files): Add
4048         _nss_files_gethostbyname3_r.
4049         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4050         New function.
4051         (HOST_DB_LOOKUP): Remove macro.
4052         (_nss_files_gethostbyname_r): Implement function without the
4053         HOST_DB_LOOKUP macro.
4054         (_nss_files_gethostbyname2_r): Likewise.
4056 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
4058         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4060 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
4062         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4063         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4064         warning.
4066 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4068         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4069         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4070         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4071         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4072         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4073         __fe_nomask_env_priv and attribute_hidden.
4074         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4075         (libc_feupdateenv_test_ppc): Likewise.
4076         (libc_feresetround_ppc): Likewise.
4077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4078         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4079         compat_symbol macro.
4080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4081         (__fe_nomask_env): Likewise.
4082         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4084 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4086         * string/Makefile: Remove ifunc tests.
4087         * string/test-string.h: Define TEST_IFUNC.
4088         * string/test-bcopy-ifunc.c: Remove.
4089         * string/test-bzero-ifunc.c: Likewise.
4090         * string/test-memccpy-ifunc.c: Likewise.
4091         * string/test-memchr-ifunc.c: Likewise.
4092         * string/test-memcmp-ifunc.c: Likewise.
4093         * string/test-memcpy-ifunc.c: Likewise.
4094         * string/test-memmem-ifunc.c: Likewise.
4095         * string/test-memmove-ifunc.c: Likewise.
4096         * string/test-mempcpy-ifunc.c: Likewise.
4097         * string/test-memrchr-ifunc.c: Likewise.
4098         * string/test-memset-ifunc.c: Likewise.
4099         * string/test-rawmemchr-ifunc.c: Likewise.
4100         * string/test-stpcpy-ifunc.c: Likewise.
4101         * string/test-stpncpy-ifunc.c: Likewise.
4102         * string/test-strcasecmp-ifunc.c: Likewise.
4103         * string/test-strcasestr-ifunc.c: Likewise.
4104         * string/test-strcat-ifunc.c: Likewise.
4105         * string/test-strchr-ifunc.c: Likewise.
4106         * string/test-strchrnul-ifunc.c: Likewise.
4107         * string/test-strcmp-ifunc.c: Likewise.
4108         * string/test-strcpy-ifunc.c: Likewise.
4109         * string/test-strcspn-ifunc.c: Likewise.
4110         * string/test-strlen-ifunc.c: Likewise.
4111         * string/test-strncasecmp-ifunc.c: Likewise.
4112         * string/test-strncat-ifunc.c: Likewise.
4113         * string/test-strncmp-ifunc.c: Likewise.
4114         * string/test-strncpy-ifunc.c: Likewise.
4115         * string/test-strnlen-ifunc.c: Likewise.
4116         * string/test-strpbrk-ifunc.c: Likewise.
4117         * string/test-strrchr-ifunc.c: Likewise.
4118         * string/test-strspn-ifunc.c: Likewise.
4119         * string/test-strstr-ifunc.c: Likewise.
4121 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4123         * benchtests/Makefile: Remove ifunc tests.
4124         * benchtests/bench-string.h: Define TEST_IFUNC.
4125         * benchtests/bench-bcopy-ifunc.c: Remove.
4126         * benchtests/bench-bzero-ifunc.c: Likewise.
4127         * benchtests/bench-memccpy-ifunc.c: Likewise.
4128         * benchtests/bench-memchr-ifunc.c: Likewise.
4129         * benchtests/bench-memcmp-ifunc.c: Likewise.
4130         * benchtests/bench-memcpy-ifunc.c: Likewise.
4131         * benchtests/bench-memmem-ifunc.c: Likewise.
4132         * benchtests/bench-memmove-ifunc.c: Likewise.
4133         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4134         * benchtests/bench-memrchr-ifunc.c: Likewise.
4135         * benchtests/bench-memset-ifunc.c: Likewise.
4136         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4137         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4138         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4139         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4140         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4141         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4142         * benchtests/bench-strcat-ifunc.c: Likewise.
4143         * benchtests/bench-strchr-ifunc.c: Likewise.
4144         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4145         * benchtests/bench-strcmp-ifunc.c: Likewise.
4146         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4147         * benchtests/bench-strcpy-ifunc.c: Likewise.
4148         * benchtests/bench-strcspn-ifunc.c: Likewise.
4149         * benchtests/bench-strlen-ifunc.c: Likewise.
4150         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4151         * benchtests/bench-strncat-ifunc.c: Likewise.
4152         * benchtests/bench-strncmp-ifunc.c: Likewise.
4153         * benchtests/bench-strncpy-ifunc.c: Likewise.
4154         * benchtests/bench-strnlen-ifunc.c: Likewise.
4155         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4156         * benchtests/bench-strrchr-ifunc.c: Likewise.
4157         * benchtests/bench-strsep-ifunc.c: Likewise.
4158         * benchtests/bench-strspn-ifunc.c: Likewise.
4159         * benchtests/bench-strstr-ifunc.c: Likewise.
4161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4163         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4165 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4167         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4168         * rt/aio.h: Likewise.
4169         * sysdeps/gnu/bits/utmp.h: Likewise.
4170         * sysdeps/gnu/bits/utmpx.h: Likewise.
4171         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4172         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4173         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4174         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4175         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4176         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4177         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4178         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4179         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4180         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4181         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4182         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4183         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4185         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4186         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4187         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4188         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4189         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4190         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4191         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4192         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4193         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4194         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4195         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4197         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4198         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4199         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4200         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4201         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4202         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4203         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4204         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4205         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4206         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4207         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4208         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4209         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4210         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4211         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4212         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4214 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4216         [BZ #16245]
4217         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4218         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4220 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4222         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4223         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4224         Likewise.
4226 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4228         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4229         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4230         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4231         (__fesetround): Remove define.
4232         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4233         rounding and exceptions handling.
4234         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4235         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4236         (__fe_nomask_env): Likewise.
4237         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4238         __fegetround instead of fegetround.
4239         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4240         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4242 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4244         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4245         it's there.
4247         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4249 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4251         [BZ #11157]
4252         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4253         (encrypt_r): Likewise.
4254         * malloc/obstack.h (obstack_free): Likewise.
4255         * posix/unistd.h (encrypt): Likewise.
4257 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4259         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4260         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4261         DL_CALL_DT_FINI() that call the functions directly.
4262         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4263         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4264         * elf/dl-fini.c: Likewise.
4266 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4268         * malloc/hooks.c (memalign_check): Add alignment rounding.
4269         * malloc/malloc.c (_mid_memalign): New function.
4270         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4271         Implement by calling _mid_memalign.
4272         * manual/probes.texi (Memory Allocation Probes): Remove
4273         memory_valloc_retry and memory_pvalloc_retry.
4275 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4277         * locale/programs/locarchive.c (open_archive): Add const
4278         qualifier to ARCHIVEFNAME and copy default fname to
4279         DEFAULT_FNAME.
4281         [BZ #15601]
4282         * libio/tst-widetext.input: Rename Oriya to Odia.
4283         * locale/iso-639.def: Likewise.
4285         * manual/probes.texi (Mathematical Function Probes): Add
4286         documentation for sin, cos, asin and acos probes.
4287         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4288         (__sin32): Add slowasin probe.
4289         (__cos32): Add slowacos probe.
4290         (__mpsin): Add slowsin probe.
4291         (__mpcos): Add slowcos probe.
4293 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4295         [BZ #15483]
4296         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4297         thread-local __sim_exceptions_thread and global
4298         __sim_exceptions_global.
4299         (__sim_disabled_exceptions): Change to thread-local
4300         __sim_disabled_exceptions_thread and global
4301         __sim_disabled_exceptions_global.
4302         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4303         and global __sim_round_mode_global.
4304         (__simulate_exceptions): Use thread-local floating-point state and
4305         set global state from it as needed.
4306         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4307         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4308         __sim_round_mode_thread.
4309         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4310         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4311         and global __sim_exceptions_global.
4312         (__sim_disabled_exceptions): Change to thread-local
4313         __sim_disabled_exceptions_thread and global
4314         __sim_disabled_exceptions_global.
4315         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4316         and global __sim_round_mode_global.
4317         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4318         (SIM_SET_GLOBAL): Likewise.
4319         * sysdeps/powerpc/soft-fp/sfp-machine.h
4320         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4321         __sim_round_mode_thread.
4322         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4323         __sim_disabled_exceptions_thread.
4324         (__sim_exceptions): Change to __sim_exceptions_thread.
4325         (__sim_disabled_exceptions): Change to
4326         __sim_disabled_exceptions_thread.
4327         (__sim_round_mode): Change to __sim_round_mode_thread.
4328         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4329         thread-local floating-point state and set global state from it as
4330         needed.
4331         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4332         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4333         (__sim_disabled_exceptions): Remove extern declaration.
4334         (feenableexcept): Use thread-local floating-point state and set
4335         global state from it as needed.
4336         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4337         extern declaration.
4338         (__sim_disabled_exceptions): Likewise.
4339         (__sim_round_mode): Likewise.
4340         (__fegetenv): Use thread-local floating-point state.
4341         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4342         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4343         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4344         floating-point state and set global state from it as needed.
4345         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4346         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4347         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4348         Likewise.
4349         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4350         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4351         Likewise.
4352         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4353         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4354         Use __sim_round_mode_thread.
4355         * math/test-fenv-tls.c: New file.
4356         * math/Makefile (tests): Add test-fenv-tls.
4357         ($(objpfx)test-fenv-tls): Depend on
4358         $(common-objpfx)nptl/libpthread.so.
4360 2013-11-19  Andreas Schwab  <schwab@suse.de>
4362         * locale/programs/locale.c (show_info): Decode wordarray elements.
4363         * locale/categories.def (LC_MONETARY): Add element for
4364         _NL_MONETARY_CRNCYSTR.
4365         * locale/C-monetary.c (conversion_rate): New variable.
4366         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4367         element.
4369 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
4371         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4372         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4374 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4376         * elf/Makefile (tst-auxv): New test.
4377         * elf/tst-auxv.c: New
4378         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4380 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4382         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4383         (hidden_proto): Caller changed.
4384         (hidden_tls_proto): New macro.
4385         (libc_hidden_tls_proto): Likewise.
4386         (rtld_hidden_tls_proto): Likewise.
4387         (libm_hidden_tls_proto): Likewise.
4388         (libresolv_hidden_tls_proto): Likewise.
4389         (librt_hidden_tls_proto): Likewise.
4390         (libdl_hidden_tls_proto): Likewise.
4391         (libnss_files_hidden_tls_proto): Likewise.
4392         (libnsl_hidden_tls_proto): Likewise.
4393         (libnss_nisplus_hidden_tls_proto): Likewise.
4394         (libutil_hidden_tls_proto): Likewise.
4396 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4398         [BZ #10253]
4399         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4400         (decompose_rpath): Defer expansion to fillin_rpath.
4401         (_dl_init_paths): Pass linkmap to fillin_rpath.
4403 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4405         * benchtests/Makefile: Add strsep.
4406         * benchtests/bench-strsep.c: New file: strsep benchtest.
4407         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4409 2013-11-18  Andreas Schwab  <schwab@suse.de>
4411         * locale/programs/locale.c (show_info) [case byte]: Check for
4412         '\377' instead of '\177'.
4413         * locale/C-monetary.c (not_available): Always use "\377".
4414         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4415         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4416         detect unavailable sign_posn locale elements.
4417         * locale/localeconv.c (__localeconv): For grouping and
4418         mon_grouping handle "\177" and "\377" like no grouping.
4419         (INT_ELEM): New macro.  Use it to set all numeric members.
4420         * locale/programs/ld-monetary.c (monetary_read)
4421         <tok_mon_grouping>: Normalize single -1 to the empty string.
4422         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4423         Likewise.
4425 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4427         [BZ #16055]
4428         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4429         when we match (nil).
4430         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4432 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4434         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4435         (NO_TEST_INLINE): Update value.
4436         (ERRNO_UNCHANGED): Likewise.
4437         (ERRNO_EDOM): Likewise.
4438         (ERRNO_ERANGE): Likewise.
4439         (IGNORE_RESULT): Likewise.
4440         (check_float_internal): Check signs of NaN results if
4441         TEST_NAN_SIGN used.
4442         (check_complex): Pass TEST_NAN_SIGN flag through to second
4443         check_float_internal call.
4444         (copysign_test_data): Add tests with quiet NaNs as second
4445         argument.  Use TEST_NAN_SIGN.
4446         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4447         TEST_NAN_SIGN.
4448         (signbit_test_data): Add tests of quiet NaN argument.
4449         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4451         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4452         $ignore_result.
4453         (parse_args): Handle function results specified as IGNORE.
4454         * math/libm-test.inc (IGNORE_RESULT): New macro.
4455         (check_float_internal): Do not check numerical result if flag
4456         IGNORE_RESULT set.
4457         (check_complex): Pass through IGNORE_RESULT to second
4458         check_float_internal call.
4459         (check_int): Do not check numerical result if flag IGNORE_RESULT
4460         set.
4461         (check_long): Likewise.
4462         (check_bool): Likewise.
4463         (check_longlong): Likewise.
4464         (lrint_test_data): Add tests of infinite and NaN arguments.
4465         (lrint_tonearest_test_data): Likewise.
4466         (lrint_towardzero_test_data): Likewise.
4467         (lrint_downward_test_data): Likewise.
4468         (lrint_upward_test_data): Likewise.
4469         (llrint_test_data): Likewise.
4470         (llrint_tonearest_test_data): Likewise.
4471         (llrint_towardzero_test_data): Likewise.
4472         (llrint_downward_test_data): Likewise.
4473         (llrint_upward_test_data): Likewise.
4474         (lround_test_data): Likewise.
4475         (llround_test_data): Likewise.
4477         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4478         (ERRNO_UNCHANGED): Update value.
4479         (ERRNO_EDOM): Likewise.
4480         (ERRNO_ERANGE): Likewise.
4481         (NO_TEST_INLINE_FLOAT): New macro.
4482         (NO_TEST_INLINE_DOUBLE): Likewise.
4483         (enable_test): New function.
4484         (RUN_TEST_f_f): Check enable_test before running test.
4485         (RUN_TEST_2_f): Likewise.
4486         (RUN_TEST_fff_f): Likewise.
4487         (RUN_TEST_c_f): Likewise.
4488         (RUN_TEST_f_f1): Likewise.
4489         (RUN_TEST_fF_f1): Likewise.
4490         (RUN_TEST_fI_f1): Likewise.
4491         (RUN_TEST_ffI_f1): Likewise.
4492         (RUN_TEST_c_c): Likewise.
4493         (RUN_TEST_cc_c): Likewise.
4494         (RUN_TEST_f_i): Likewise.
4495         (RUN_TEST_f_i_tg): Likewise.
4496         (RUN_TEST_ff_i_tg): Likewise.
4497         (RUN_TEST_f_b): Likewise.
4498         (RUN_TEST_f_b_tg): Likewise.
4499         (RUN_TEST_f_l): Likewise.
4500         (RUN_TEST_f_L): Likewise.
4501         (RUN_TEST_fFF_11): Likewise.
4502         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4503         conditionals.
4504         (cosh_test_data): Likewise.
4505         (exp_test_data): Likewise.
4506         (expm1_test_data): Likewise.
4507         (hypot_test_data): Likewise.
4508         (pow_test_data): Likewise.
4509         (sinh_test_data): Likewise.
4510         (tanh_test_data): Likewise.
4511         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4512         flags argument.
4514         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4515         tests with quiet NaN input and output.
4516         (acosh_test_data): Likewise.
4517         (asin_test_data): Likewise.
4518         (asinh_test_data): Likewise.
4519         (atan_test_data): Likewise.
4520         (atanh_test_data): Likewise.
4521         (atan2_test_data): Likewise.
4522         (cbrt_test_data): Likewise.
4523         (cos_test_data): Likewise.
4524         (cosh_test_data): Likewise.
4525         (erf_test_data): Likewise.
4526         (erfc_test_data): Likewise.
4527         (exp_test_data): Likewise.
4528         (exp10_test_data): Likewise.
4529         (exp2_test_data): Likewise.
4530         (expm1_test_data): Likewise.
4531         (hypot_test_data): Likewise.
4532         (j0_test_data): Likewise.
4533         (j1_test_data): Likewise.
4534         (jn_test_data): Likewise.
4535         (lgamma_test_data): Likewise.
4536         (log_test_data): Likewise.
4537         (log10_test_data): Likewise.
4538         (log1p_test_data): Likewise.
4539         (log2_test_data): Likewise.
4540         (pow_test_data): Likewise.
4541         (scalb_test_data): Likewise.
4542         (sin_test_data): Likewise.
4543         (sincos_test_data): Likewise.
4544         (sinh_test_data): Likewise.
4545         (tan_test_data): Likewise.
4546         (tanh_test_data): Likewise.
4547         (tgamma_test_data): Likewise.
4548         (y0_test_data): Likewise.
4549         (y1_test_data): Likewise.
4550         (yn_test_data): Likewise.
4552         [BZ #16167]
4553         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4554         argument being NaN and avoid computations with second argument in
4555         that case.
4556         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4557         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4558         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4560 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4562         * locale/iso-639.def: Add Chitwani Tharu (the).
4564 2013-11-14  Andreas Schwab  <schwab@suse.de>
4566         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4567         word instead of empty string.
4569 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4572         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4574         (__fe_nomask_env): Likewise.
4576 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4578         * benchtests/bench-timing.h: Include time.h.
4580 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4582         [BZ #15997]
4583         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4584         to 3.4.0 for x32.
4585         * sysdeps/unix/sysv/linux/configure: Regenerated.
4587 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4589         [BZ #16151]
4590         * stdlib/strtod_l.c (round_and_return): Do not consider
4591         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4592         exponent one less than half the least subnormal exponent.
4593         * stdlib/test-strtod-round-data: Add more tests.
4594         * stdlib/tst-strtod-round.c (tests): Regenerated.
4596 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4598         [BZ #14143]
4599         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4600         (__fe_mask_env): Likewise.
4601         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4602         libm_hidden_proto and add function prototype.
4603         (__fe_mask_env): Add function prototype.
4604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4605         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4607         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4609         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4611 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4613         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4614         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4616 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4618         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4619         of htab_find_slot().
4621 2013-11-11  David S. Miller  <davem@davemloft.net>
4623         [BZ #16150]
4624         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4625         symbol in the non-vis3 case in static builds.
4626         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4627         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4628         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4629         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4631 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4633         [BZ #387]
4634         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4635         it is empty.
4637 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4639         * benchtests/Makefile: Add bench-strtod.
4640         * benchtests/bench-strtod.c: New file: strtod benchtest
4642 2013-11-11  Andreas Schwab  <schwab@suse.de>
4644         [BZ #16153]
4645         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4646         terminating NUL in key length.
4648 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4650         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4651         Add artificial ODP entry for vDSO symbol for PPC64.
4652         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4653         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4655 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4657         [BZ #15374]
4658         * nss/getent.c (services_keys): Recognize services starting with digit.
4660 2013-11-06  David S. Miller  <davem@davemloft.net>
4662         [BZ #15985]
4663         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4664         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4666 2013-11-06  Will Newton  <will.newton@linaro.org>
4668         * manual/memory.texi (Malloc Examples): Remove register
4669         keyword from examples.
4671 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4673         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4675 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4677         [BZ #6981]
4678         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4679         depending on [__GCC_IEC_559 > 0].
4680         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4681         depending on [__GCC_IEC_559_COMPLEX > 0].
4683 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4685         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4686         to iso-639.def.
4688 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4690         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4692 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4694         [BZ #16112]
4695         * malloc/malloc (malloc_info): Do not handle first bin as
4696         special case.
4698 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4700         * locale/iso-639.def: Add Central Nahuatl (nhn).
4702 2013-11-01  Bruno Haible  <bruno@clisp.org>
4704         [BZ #7003]
4705         * manual/math.texi (BSD Random): Specify range upper bound as
4706         in POSIX.
4708 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4710         * locale/iso-639.def: Add Meadow Mari (mhr).
4712 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4714         [BZ #14752], [BZ #15763]
4715         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4716         Validate name.
4717         * rt/tst_shm.c: Add test for escaping directory.
4719 2013-10-31  Andreas Schwab  <schwab@suse.de>
4721         [BZ #15917]
4722         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4723         followed by 'x' as part of digit sequence.
4724         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4726 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4728         [BZ #16037]
4729         * configure.ac: allow GNU Make 4.0 and greater.
4730         * configure: Regenerated.
4732 2013-10-30  Will Newton  <will.newton@linaro.org>
4734         [BZ #16038]
4735         * malloc/hooks.c (memalign_check): Limit alignment to the
4736         maximum representable power of two.
4737         * malloc/malloc.c (__libc_memalign): Likewise.
4738         * malloc/tst-memalign.c (do_test): Add test for very
4739         large alignment values.
4740         * malloc/tst-posix_memalign.c (do_test): Likewise.
4742 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4744         [BZ #11087]
4745         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4746         (munmap_chunk): Likewise.
4747         (mremap_chunk): Likewise.
4749 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4751         [BZ #15799]
4752         * stdlib/div.c (div): Remove obsolete code.
4753         * stdlib/ldiv.c (ldiv): Likewise.
4754         * stdlib/lldiv.c (lldiv): Likewise.
4756 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4758         [BZ #16071]
4759         * nss/nss_files/files-XXX.c (get_contents_ret): New
4760         enumerator.
4761         (get_contents): New function.
4762         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4764 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4766         * configure.in: Moved to ...
4767         * configure.ac: ... here. Change reference to configure.in
4768         to configure.ac.
4769         * sysdeps/arm/preconfigure.ac: ... here.
4770         configure.in to configure.ac.
4771         * sysdeps/gnu/configure.in: Moved to ...
4772         * sysdeps/gnu/configure.ac: ... here.
4773         * sysdeps/i386/configure.in: Moved to ...
4774         * sysdeps/i386/configure.ac: ... here.
4775         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4776         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4777         * sysdeps/mach/configure.in: Moved to ...
4778         * sysdeps/mach/configure.ac: ... here.
4779         * sysdeps/mach/hurd/configure.in: Moved to ...
4780         * sysdeps/mach/hurd/configure.ac: ... here.
4781         * sysdeps/powerpc/configure.in: Moved to ...
4782         * sysdeps/powerpc/configure.ac: ... here.
4783         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4784         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4785         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4786         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4787         * sysdeps/s390/s390-32/configure.in: Moved to ...
4788         * sysdeps/s390/s390-32/configure.ac: ... here.
4789         * sysdeps/s390/s390-64/configure.in: Moved to ...
4790         * sysdeps/s390/s390-64/configure.ac: ... here.
4791         * sysdeps/sh/configure.in: Moved to ...
4792         * sysdeps/sh/configure.ac: ... here.
4793         * sysdeps/sparc/configure.in: Moved to ...
4794         * sysdeps/sparc/configure.ac: ... here.
4795         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4796         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4797         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4798         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4799         * sysdeps/x86_64/configure.in: Moved to ...
4800         * sysdeps/x86_64/configure.ac: ... here.
4801         * sysdeps/x86_64/preconfigure.in: Moved to ...
4802         * sysdeps/x86_64/preconfigure.ac: ... here.
4803         * aclocal.m4: Change reference to configure.in to configure.ac.
4804         * config.h.in: Likewise.
4805         * manual/install.texi: Likewise.
4806         * manual/maint.texi: Likewise.
4807         * Makefile: Likewise.
4808         * malloc/Makefile: Likewise.
4809         * nscd/Makefile: Likewise.
4810         * Makeconfig: Change reference to configure.in and
4811         preconfigure.in to configure.ac and preconfigure.ac
4812         respectively.
4813         * INSTALL: Regenerated.
4814         * configure: Likewise.
4815         * sysdeps/gnu/configure: Likewise.
4816         * sysdeps/i386/configure: Likewise.
4817         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4818         * sysdeps/mach/configure: Likewise.
4819         * sysdeps/mach/hurd/configure: Likewise.
4820         * sysdeps/powerpc/configure: Likewise.
4821         * sysdeps/powerpc/powerpc32/configure: Likewise.
4822         * sysdeps/powerpc/powerpc64/configure: Likewise.
4823         * sysdeps/s390/s390-32/configure: Likewise.
4824         * sysdeps/s390/s390-64/configure: Likewise.
4825         * sysdeps/sh/configure: Likewise.
4826         * sysdeps/sparc/configure: Likewise.
4827         * sysdeps/unix/sysv/linux/configure: Likewise.
4828         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4829         * sysdeps/x86_64/configure: Likewise.
4830         * sysdeps/x86_64/preconfigure: Likewise.
4832 2013-10-29  Andreas Schwab  <schwab@suse.de>
4834         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4836 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4838         * benchtests/pow-inputs: Add new inputs.
4840         * benchtests/exp-inputs: Add new inputs.
4842         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4843         conditional check for return value.
4844         (__cos32): Likewise.
4846 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4848         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4849         to provide a boost for large inputs with word alignment.
4850         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4851         implementation based on optimized PPC64 strcpy.
4852         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4853         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4854         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4855         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4857 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4859         [BZ #2801]
4860         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4862 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4864         [BZ #14876]
4865         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4866         * time/tst-strptime.c (day_tests): Add testcase.
4868 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4870         [BZ #14029]
4871         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4873 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4875         [BZ #16074]
4876         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4877         MAP_FAILED on error.
4879 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4881         [BZ #16072]
4882         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4883         heap for large requests.
4885 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4887         [BZ #9954]
4888         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4889         result if the result has no associated interface.
4890         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4891         interface for all 127.X.Y.Z addresses.
4893 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4895         * locale/iso-639.def: Add Ligurian (lij)
4897 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4899         [BZ #15825]
4900         * sunrpc/rpc_main.c: Document rpcgen -5.
4902 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4904         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4906 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4908         [BZ #10278]
4909         * posix/glob.c: Match only directories when trailing slash is present.
4910         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4911         (main): Add testcase.
4913 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4915         [BZ #15670]
4916         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4918 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4920         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4921         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4922         AUTH_DES and cindex for FIPS 140-2.
4923         (DES Encryption): Add cindex FIPS 46-3.
4925         * locale/locarchive.h (struct locarhandle): Add fname.
4926         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4927         if an optional argument was specified to --list-archive,
4928         otherwise NULL.
4929         * locale/programs/locarchive.c (show_archive_content): Take new
4930         argument fname and pass it via ah.fname to open_archive.
4931         * locale/programs/localedef.h: Update decl.
4932         (open_archive): If AH->fname is non-null, open that file
4933         rather than the default file name, and don't ignore ENOENT.
4934         (create_archive): Set AH.fname to NULL.
4935         (delete_locales_from_archive): Likewise.
4936         (add_locales_to_archive): Likewise.
4937         * locale/programs/locfile.c (write_all_categories): Likewise.
4939 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4940             Aldy Hernandez  <aldyh@redhat.com>
4942         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4943         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4944         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4945         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4946         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4947         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4948         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4949         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4950         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4951         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4952         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4953         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4954         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4955         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4956         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4957         Likewise.
4958         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4959         Likewise.
4960         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4961         Likewise.
4962         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4963         Likewise.
4964         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4965         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4966         Likewise.
4967         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4968         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4969         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4970         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4971         Likewise.
4972         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4973         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4974         * sysdeps/powerpc/preconfigure: Likewise.
4975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4976         Likewise.
4977         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4978         Replace contents of file by #include of <fenv_libc.h>.
4979         * sysdeps/powerpc/soft-fp/sfp-machine.h
4980         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4981         and <sys/prctl.h>.
4982         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4991         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4992         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4995         Allow copysignl PLT reference to be missing.
4997 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4998             Joseph Myers  <joseph@codesourcery.com
5000         [BZ #15948]
5001         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5002         single character.
5003         (add_to_tablewc): Assert sequence of wide characters is nonempty.
5005 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5007         * elf/tst-tls-dlinfo.c: Don't include tls.h.
5008         * elf/tst-tls1.c: Likewise.
5009         * elf/tst-tls10.h: Likewise.
5010         * elf/tst-tls14.c: Likewise.
5011         * elf/tst-tls2.c: Likewise.
5012         * elf/tst-tls3.c: Likewise.
5013         * elf/tst-tls4.c: Likewise.
5014         * elf/tst-tls5.c: Likewise.
5015         * elf/tst-tls6.c: Likewise.
5016         * elf/tst-tls7.c: Likewise.
5017         * elf/tst-tls8.c: Likewise.
5018         * elf/tst-tls9.c: Likewise.
5019         * elf/tst-tlsmod1.c: Likewise.
5020         * elf/tst-tlsmod13.c: Likewise.
5021         * elf/tst-tlsmod13a.c: Likewise.
5022         * elf/tst-tlsmod14a.c: Likewise.
5023         * elf/tst-tlsmod16a.c: Likewise.
5024         * elf/tst-tlsmod16b.c: Likewise.
5025         * elf/tst-tlsmod2.c: Likewise.
5026         * elf/tst-tlsmod3.c: Likewise.
5027         * elf/tst-tlsmod4.c: Likewise.
5028         * elf/tst-tlsmod5.c: Likewise.
5029         * elf/tst-tlsmod6.c: Likewise.
5031 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
5033         [BZ #12486]
5034         * malloc/malloc.c: remove checks for statistics.
5036 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5038         [BZ #15277]
5039         * inet/inet_net.c (inet_network): Detect additional invalid strings.
5040         * inet/tst-network.c: Add testcase.
5042 2013-10-17  Andreas Schwab  <schwab@suse.de>
5044         [BZ #15218]
5045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5046         to determine canonical name.
5048 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5050         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5051         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5052         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5053         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5055         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5056         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5057         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5058         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5059         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5060         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5061         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5062         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5063         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5064         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5065         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5066         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5067         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5068         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5069         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5073         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5074         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5075         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5076         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5077         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5078         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5079         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5080         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5081         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5082         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5083         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5084         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5085         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5086         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5087         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5088         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5089         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5090         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5091         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5092         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5093         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5094         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5095         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5096         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5097         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5098         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5099         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5100         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5101         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5102         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5103         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5104         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5105         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5107         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5109 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5111         [BZ #16041]
5112         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5113         make result into a quiet NaN.
5115 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5117         * soft-fp/adddf3.c: Fix horizontal whitespace.
5118         * soft-fp/addsf3.c: Likewise.
5119         * soft-fp/addtf3.c: Likewise.
5120         * soft-fp/divdf3.c: Likewise.
5121         * soft-fp/divsf3.c: Likewise.
5122         * soft-fp/divtf3.c: Likewise.
5123         * soft-fp/double.h: Likewise.
5124         * soft-fp/eqdf2.c: Likewise.
5125         * soft-fp/eqsf2.c: Likewise.
5126         * soft-fp/eqtf2.c: Likewise.
5127         * soft-fp/extenddftf2.c: Likewise.
5128         * soft-fp/extended.h: Likewise.
5129         * soft-fp/extendsfdf2.c: Likewise.
5130         * soft-fp/extendsftf2.c: Likewise.
5131         * soft-fp/extendxftf2.c: Likewise.
5132         * soft-fp/fixdfdi.c: Likewise.
5133         * soft-fp/fixdfsi.c: Likewise.
5134         * soft-fp/fixdfti.c: Likewise.
5135         * soft-fp/fixsfdi.c: Likewise.
5136         * soft-fp/fixsfsi.c: Likewise.
5137         * soft-fp/fixsfti.c: Likewise.
5138         * soft-fp/fixtfdi.c: Likewise.
5139         * soft-fp/fixtfsi.c: Likewise.
5140         * soft-fp/fixtfti.c: Likewise.
5141         * soft-fp/fixunsdfdi.c: Likewise.
5142         * soft-fp/fixunsdfsi.c: Likewise.
5143         * soft-fp/fixunsdfti.c: Likewise.
5144         * soft-fp/fixunssfdi.c: Likewise.
5145         * soft-fp/fixunssfsi.c: Likewise.
5146         * soft-fp/fixunssfti.c: Likewise.
5147         * soft-fp/fixunstfdi.c: Likewise.
5148         * soft-fp/fixunstfsi.c: Likewise.
5149         * soft-fp/fixunstfti.c: Likewise.
5150         * soft-fp/floatdidf.c: Likewise.
5151         * soft-fp/floatdisf.c: Likewise.
5152         * soft-fp/floatditf.c: Likewise.
5153         * soft-fp/floatsidf.c: Likewise.
5154         * soft-fp/floatsisf.c: Likewise.
5155         * soft-fp/floatsitf.c: Likewise.
5156         * soft-fp/floattidf.c: Likewise.
5157         * soft-fp/floattisf.c: Likewise.
5158         * soft-fp/floattitf.c: Likewise.
5159         * soft-fp/floatundidf.c: Likewise.
5160         * soft-fp/floatundisf.c: Likewise.
5161         * soft-fp/floatunditf.c: Likewise.
5162         * soft-fp/floatunsidf.c: Likewise.
5163         * soft-fp/floatunsisf.c: Likewise.
5164         * soft-fp/floatunsitf.c: Likewise.
5165         * soft-fp/floatuntidf.c: Likewise.
5166         * soft-fp/floatuntisf.c: Likewise.
5167         * soft-fp/floatuntitf.c: Likewise.
5168         * soft-fp/fmadf4.c: Likewise.
5169         * soft-fp/fmasf4.c: Likewise.
5170         * soft-fp/fmatf4.c: Likewise.
5171         * soft-fp/gedf2.c: Likewise.
5172         * soft-fp/gesf2.c: Likewise.
5173         * soft-fp/getf2.c: Likewise.
5174         * soft-fp/ledf2.c: Likewise.
5175         * soft-fp/lesf2.c: Likewise.
5176         * soft-fp/letf2.c: Likewise.
5177         * soft-fp/muldf3.c: Likewise.
5178         * soft-fp/mulsf3.c: Likewise.
5179         * soft-fp/multf3.c: Likewise.
5180         * soft-fp/negdf2.c: Likewise.
5181         * soft-fp/negsf2.c: Likewise.
5182         * soft-fp/negtf2.c: Likewise.
5183         * soft-fp/op-1.h: Likewise.
5184         * soft-fp/op-2.h: Likewise.
5185         * soft-fp/op-4.h: Likewise.
5186         * soft-fp/op-8.h: Likewise.
5187         * soft-fp/op-common.h: Likewise.
5188         * soft-fp/quad.h: Likewise.
5189         * soft-fp/single.h: Likewise.
5190         * soft-fp/soft-fp.h: Likewise.
5191         * soft-fp/sqrtdf2.c: Likewise.
5192         * soft-fp/sqrtsf2.c: Likewise.
5193         * soft-fp/sqrttf2.c: Likewise.
5194         * soft-fp/subdf3.c: Likewise.
5195         * soft-fp/subsf3.c: Likewise.
5196         * soft-fp/subtf3.c: Likewise.
5197         * soft-fp/truncdfsf2.c: Likewise.
5198         * soft-fp/trunctfdf2.c: Likewise.
5199         * soft-fp/trunctfsf2.c: Likewise.
5200         * soft-fp/trunctfxf2.c: Likewise.
5201         * soft-fp/unorddf2.c: Likewise.
5202         * soft-fp/unordsf2.c: Likewise.
5203         * soft-fp/unordtf2.c: Likewise.
5205 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5207         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5208         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5210 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5212         * elf/dl-libc.c: Clear initfini list after freeing.
5214 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5216         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5217         * soft-fp/addsf3.c: Likewise.
5218         * soft-fp/addtf3.c: Likewise.
5219         * soft-fp/divdf3.c: Likewise.
5220         * soft-fp/divsf3.c: Likewise.
5221         * soft-fp/divtf3.c: Likewise.
5222         * soft-fp/double.h: Likewise.
5223         * soft-fp/eqdf2.c: Likewise.
5224         * soft-fp/eqsf2.c: Likewise.
5225         * soft-fp/eqtf2.c: Likewise.
5226         * soft-fp/extenddftf2.c: Likewise.
5227         * soft-fp/extended.h: Likewise.
5228         * soft-fp/extendsfdf2.c: Likewise.
5229         * soft-fp/extendsftf2.c: Likewise.
5230         * soft-fp/extendxftf2.c: Likewise.
5231         * soft-fp/fixdfdi.c: Likewise.
5232         * soft-fp/fixdfsi.c: Likewise.
5233         * soft-fp/fixdfti.c: Likewise.
5234         * soft-fp/fixsfdi.c: Likewise.
5235         * soft-fp/fixsfsi.c: Likewise.
5236         * soft-fp/fixsfti.c: Likewise.
5237         * soft-fp/fixtfdi.c: Likewise.
5238         * soft-fp/fixtfsi.c: Likewise.
5239         * soft-fp/fixtfti.c: Likewise.
5240         * soft-fp/fixunsdfdi.c: Likewise.
5241         * soft-fp/fixunsdfsi.c: Likewise.
5242         * soft-fp/fixunsdfti.c: Likewise.
5243         * soft-fp/fixunssfdi.c: Likewise.
5244         * soft-fp/fixunssfsi.c: Likewise.
5245         * soft-fp/fixunssfti.c: Likewise.
5246         * soft-fp/fixunstfdi.c: Likewise.
5247         * soft-fp/fixunstfsi.c: Likewise.
5248         * soft-fp/fixunstfti.c: Likewise.
5249         * soft-fp/floatdidf.c: Likewise.
5250         * soft-fp/floatdisf.c: Likewise.
5251         * soft-fp/floatditf.c: Likewise.
5252         * soft-fp/floatsidf.c: Likewise.
5253         * soft-fp/floatsisf.c: Likewise.
5254         * soft-fp/floatsitf.c: Likewise.
5255         * soft-fp/floattidf.c: Likewise.
5256         * soft-fp/floattisf.c: Likewise.
5257         * soft-fp/floattitf.c: Likewise.
5258         * soft-fp/floatundidf.c: Likewise.
5259         * soft-fp/floatundisf.c: Likewise.
5260         * soft-fp/floatunsidf.c: Likewise.
5261         * soft-fp/floatunsisf.c: Likewise.
5262         * soft-fp/floatuntidf.c: Likewise.
5263         * soft-fp/floatuntisf.c: Likewise.
5264         * soft-fp/floatuntitf.c: Likewise.
5265         * soft-fp/fmadf4.c: Likewise.
5266         * soft-fp/fmasf4.c: Likewise.
5267         * soft-fp/fmatf4.c: Likewise.
5268         * soft-fp/gedf2.c: Likewise.
5269         * soft-fp/gesf2.c: Likewise.
5270         * soft-fp/getf2.c: Likewise.
5271         * soft-fp/ledf2.c: Likewise.
5272         * soft-fp/lesf2.c: Likewise.
5273         * soft-fp/letf2.c: Likewise.
5274         * soft-fp/muldf3.c: Likewise.
5275         * soft-fp/mulsf3.c: Likewise.
5276         * soft-fp/multf3.c: Likewise.
5277         * soft-fp/negdf2.c: Likewise.
5278         * soft-fp/negsf2.c: Likewise.
5279         * soft-fp/negtf2.c: Likewise.
5280         * soft-fp/op-1.h: Likewise.
5281         * soft-fp/op-2.h: Likewise.
5282         * soft-fp/op-4.h: Likewise.
5283         * soft-fp/op-8.h: Likewise.
5284         * soft-fp/op-common.h: Likewise.
5285         * soft-fp/quad.h: Likewise.
5286         * soft-fp/single.h: Likewise.
5287         * soft-fp/soft-fp.h: Likewise.
5288         * soft-fp/sqrtdf2.c: Likewise.
5289         * soft-fp/sqrtsf2.c: Likewise.
5290         * soft-fp/sqrttf2.c: Likewise.
5291         * soft-fp/subdf3.c: Likewise.
5292         * soft-fp/subsf3.c: Likewise.
5293         * soft-fp/subtf3.c: Likewise.
5294         * soft-fp/truncdfsf2.c: Likewise.
5295         * soft-fp/trunctfdf2.c: Likewise.
5296         * soft-fp/trunctfsf2.c: Likewise.
5297         * soft-fp/trunctfxf2.c: Likewise.
5298         * soft-fp/unorddf2.c: Likewise.
5299         * soft-fp/unordsf2.c: Likewise.
5300         * soft-fp/unordtf2.c: Likewise.
5302 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5304         [BZ #15672]
5305         * misc/error.c (error_tail): Fix possible buffer overflow.
5307 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5309         [BZ #13028]
5310         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5311         address.
5313 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5315         [BZ #832]
5316         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5317         testing pipefail option.
5319 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5321         * soft-fp/double.h: Indent preprocessor directives inside #if.
5322         * soft-fp/extended.h: Likewise.
5323         * soft-fp/op-2.h: Likewise.
5324         * soft-fp/op-4.h: Likewise.
5325         * soft-fp/op-common.h: Likewise.
5326         * soft-fp/quad.h: Likewise.
5327         * soft-fp/single.h: Likewise.
5328         * soft-fp/soft-fp.h: Likewise.
5330 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5332         * iconv/iconv_prog.c: Fix typos.
5333         * stdio-common/psiginfo-data.h: Likewise.
5335 2013-10-12   Reuben Thomas <rrt@sc3d.org>
5337         [BZ #15764]
5338         * locale/setlocale.c: Fix typo.
5340 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5342         [BZ #16036]
5343         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5344         signaling NaN arguments.
5345         * soft-fp/unordsf2.c (__unordsf2): Likewise.
5346         * soft-fp/unordtf2.c (__unordtf2): Likewise.
5348         [BZ #14910]
5349         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5350         unordered operands.
5351         * soft-fp/gesf2.c (__gesf2): Likewise.
5352         * soft-fp/getf2.c (__getf2): Likewise.
5353         * soft-fp/ledf2.c (__ledf2): Likewise.
5354         * soft-fp/lesf2.c (__lesf2): Likewise.
5355         * soft-fp/letf2.c (__letf2): Likewise.
5357         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5358         * soft-fp/eqsf2.c (__eqsf2): Likewise.
5359         * soft-fp/eqtf2.c (__eqtf2): Likewise.
5360         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5361         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5362         * soft-fp/fixdfti.c (__fixdfti): Likewise.
5363         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5364         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5365         * soft-fp/fixsfti.c (__fixsfti): Likewise.
5366         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5367         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5368         * soft-fp/fixtfti.c (__fixtfti): Likewise.
5369         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5370         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5371         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5372         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5373         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5374         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5375         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5376         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5377         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5378         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5379         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5380         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5381         * soft-fp/floattidf.c (__floattidf): Likewise.
5382         * soft-fp/floattisf.c (__floattisf): Likewise.
5383         * soft-fp/floattitf.c (__floattitf): Likewise.
5384         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5385         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5386         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5387         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5388         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5389         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5390         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5391         * soft-fp/gesf2.c (__gesf2): Likewise.
5392         * soft-fp/getf2.c (__getf2): Likewise.
5393         * soft-fp/ledf2.c (__ledf2): Likewise.
5394         * soft-fp/lesf2.c (__lesf2): Likewise.
5395         * soft-fp/letf2.c (__letf2): Likewise.
5397         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5398         Undefine and redefine.
5399         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5400         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5401         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5402         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5403         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5404         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5405         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5406         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5407         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5408         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5409         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5410         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5411         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5412         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5413         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5415         [BZ #16032]
5416         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5417         without decrementing exponent if mantissa >= that for the
5418         denominator, not >.
5419         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5420         denominator, not >.  Decrement exponent in < case instead of
5421         incrementing in >= case.
5422         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5423         without decrementing exponent if mantissa >= that for the
5424         denominator, not >.
5426         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5427         computing saturated result for unsigned overflow.
5429 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5430             Jeff Law  <law@redhat.com>
5432         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5433         (atan2Mp): Add systemtap probe marker.
5434         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5435         (__ieee754_log): Add systemtap probe marker.
5436         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5437         (atanMp): Add systemtap probe marker.
5438         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5439         (tanMp): Add systemtap probe marker.
5440         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5441         (__slowexp): Add systemtap probe marker.
5442         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5443         (__slowpow): Add systemtap probe marker.
5444         * manual/probes.texi: Document probes.
5446 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5448         [BZ #15362]
5449         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5450         written.
5451         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5452         written.
5453         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5454         written to buffer but not flushed.
5455         * libio/iofwrite_u.c:  Likewise.
5456         * libio/iopadn.c:  Return bytes returned even if EOF was
5457         encountered.
5458         * libio/iowpadn.c:  Likewise.
5459         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5460         if _IO_padn does not write the whole buffer.
5461         [!COMPILE_WPRINTF] (PAD): Likewise.
5463 2013-10-10  David S. Miller  <davem@davemloft.net>
5465         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5466         directory block.
5468 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5470         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5471         instead of FSF address.
5472         * soft-fp/fixdfti.c: Likewise.
5473         * soft-fp/fixsfti.c: Likewise.
5474         * soft-fp/fixtfti.c: Likewise.
5475         * soft-fp/fixunsdfti.c: Likewise.
5476         * soft-fp/fixunssfti.c: Likewise.
5477         * soft-fp/fixunstfti.c: Likewise.
5478         * soft-fp/floattidf.c: Likewise.
5479         * soft-fp/floattisf.c: Likewise.
5480         * soft-fp/floattitf.c: Likewise.
5481         * soft-fp/floatuntidf.c: Likewise.
5482         * soft-fp/floatuntisf.c: Likewise.
5483         * soft-fp/floatuntitf.c: Likewise.
5484         * soft-fp/trunctfxf2.c: Likewise.
5486         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5487         * soft-fp/fixdfti.c: Likewise.
5488         * soft-fp/fixsfti.c: Likewise.
5489         * soft-fp/fixtfti.c: Likewise.
5490         * soft-fp/fixunsdfti.c: Likewise.
5491         * soft-fp/fixunssfti.c: Likewise.
5492         * soft-fp/fixunstfti.c: Likewise.
5493         * soft-fp/floattidf.c: Likewise.
5494         * soft-fp/floattisf.c: Likewise.
5495         * soft-fp/floattitf.c: Likewise.
5496         * soft-fp/floatuntidf.c: Likewise.
5497         * soft-fp/floatuntisf.c: Likewise.
5498         * soft-fp/floatuntitf.c: Likewise.
5499         * soft-fp/trunctfxf2.c: Likewise.
5501 2013-10-10  David S. Miller  <davem@davemloft.net>
5503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5505 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5507         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5508         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5509         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5510         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5511         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5512         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5513         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5516         for NaNs before doing comparisons on argument.
5517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5518         Likewise.
5520 2013-10-10  Will Newton  <will.newton@linaro.org>
5522         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5523         passed to _int_memalign does not overflow.
5525 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5527         * scripts/bench.pl: Add include-sources directive.
5528         * benchtests/README: Update documentation.
5530 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5532         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5533         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5534         instead of FP_INIT_ROUNDMODE.
5535         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5536         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5538         [BZ #16034]
5539         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5540         copy class of input value.
5541         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5542         not handle exceptions.
5543         * soft-fp/negsf2.c (__negsf2): Likewise.
5544         * soft-fp/negtf2.c (__negtf2): Likewise.
5545         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5547 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5549         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5550         semicolon.  From Linux kernel.
5552 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5554         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5556 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5558         [BZ #156]
5559         * manual/socket.texi: Added statement about buffer
5560         for gethostbyname2_r.
5562 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5564         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5565         Use .p2align directive instead, throughout.
5566         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5567         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5568         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5571         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5572         * sysdeps/x86_64/strchr.S: Likewise.
5573         * sysdeps/x86_64/strrchr.S: Likewise.
5575 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5577         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5579         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5581         * sysdeps/generic/math_private.h (__mpsin1): Remove
5582         declaration.
5583         (__mpcos1): Likewise.
5584         (__mpsin): New argument __range_reduce.
5585         (__mpcos): Likewise.
5586         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5587         (slow): Use __mpsin and __mpcos.
5588         (slow1): Likewise.
5589         (slow2): Likewise.
5590         (sloww): Likewise.
5591         (sloww1): Likewise.
5592         (sloww2): Likewise.
5593         (bsloww): Likewise.
5594         (bsloww1): Likewise.
5595         (bsloww2): Likewise.
5596         (cslow2): Likewise.
5597         (csloww): Likewise.
5598         (csloww1): Likewise.
5599         (csloww2): Likewise.
5600         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5601         range_reduce.  Merge in __mpsin1.
5602         (__mpcos): Likewise.
5603         (__mpsin1): Remove.
5604         (__mpcos1): Likewise.
5606 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5608         * locale/loadlocale.c (_nl_intern_locale_data): Use
5609         LOCFILE_ALIGNED_P.
5610         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5611         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5612         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5613         obstack data is appropriately aligned.
5614         (obstack_int32_grow_fast): Likewise.
5615         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5616         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5617         (add_locale_uint32_array): Likewise.
5619 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5621         * benchtests/Makefile: Remove ARGLIST and RET variables.
5622         ($(objpfx)bench-%.c): Pass only function name to the script.
5623         * benchtests/README: Update documentation.
5624         * benchtests/acos-inputs: Add new directives.
5625         * benchtests/acosh-inputs: Likewise.
5626         * benchtests/asin-inputs: Likewise.
5627         * benchtests/asinh-inputs: Likewise.
5628         * benchtests/atan-inputs: Likewise.
5629         * benchtests/atanh-inputs: Likewise.
5630         * benchtests/cos-inputs: Likewise.
5631         * benchtests/cosh-inputs: Likewise.
5632         * benchtests/exp-inputs: Likewise.
5633         * benchtests/log-inputs: Likewise.
5634         * benchtests/pow-inputs: Likewise.
5635         * benchtests/rint-inputs: Likewise.
5636         * benchtests/sin-inputs: Likewise.
5637         * benchtests/sinh-inputs: Likewise.
5638         * benchtests/tan-inputs: Likewise.
5639         * benchtests/tanh-inputs: Likewise.
5640         * scripts/bench.pl: Add support for new directives.
5642 2013-10-07  Alan Modra  <amodra@gmail.com>
5644         * README: Fix careless merge.
5646 2013-10-05  Alan Modra  <amodra@gmail.com>
5648         * NEWS: Mention powerpc64le support and bugs fixed.
5649         * README: Both big-endian and little-endian powerpc64 supported.
5651 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5653         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5654         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5655         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5656         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5658 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5660         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5661         match prototype.
5663 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5665         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5666         Move -mhard-float appending from
5667         ports/sysdeps/powerpc/powerpc32/Makefile.
5668         [$(with-fp) = yes] (ASFLAGS): Likewise.
5669         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5670         * sysdeps/powerpc/nofpu: Move directory from
5671         ports/sysdeps/powerpc/nofpu.
5672         * sysdeps/powerpc/soft-fp: Move directory from
5673         ports/sysdeps/powerpc/soft-fp.
5674         * sysdeps/powerpc/powerpc32/405: Move directory from
5675         ports/sysdeps/powerpc/powerpc32/405.
5676         * sysdeps/powerpc/powerpc32/440: Move directory from
5677         ports/sysdeps/powerpc/powerpc32/440.
5678         * sysdeps/powerpc/powerpc32/464: Move directory from
5679         ports/sysdeps/powerpc/powerpc32/464.
5680         * sysdeps/powerpc/powerpc32/476: Move directory from
5681         ports/sysdeps/powerpc/powerpc32/476.
5682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5683         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5685         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5687         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5689         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5691         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5692         * README: Update for powerpc-*-linux-gnu software floating point
5693         support in libc.
5695         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5696         case to powerpc/powerpc32*.
5697         * sysdeps/unix/sysv/linux/configure: Regenerated.
5699         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5700         (_FPU_MASK_OM): Define as 0x04.
5701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5703         0x00c10080.
5704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5705         0x0000003c.
5706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5709         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5710         getcontext_e500.
5711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5712         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5713         setcontext_e500.
5714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5715         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5716         and setcontext_e500.
5718 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5720         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5722 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5724         * manual/threads.texi (Default Thread Attributes): Fix typo.
5726 2013-10-04  Will Newton  <will.newton@linaro.org>
5728         * malloc/Makefile: Add tst-memalign.
5729         * malloc/tst-memalign.c: New file.
5731         * malloc/tst-posix_memalign.c: Add comments.
5732         (do_test): Add comments and call free on all potentially
5733         allocated pointers. Add space after cast.
5735         * malloc/tst-pvalloc.c: Add comments.
5736         (do_test): Add comments and call free on all potentially
5737         allocated pointers. Remove duplicate check for NULL pointer.
5738         Add space after cast.
5740         * malloc/tst-valloc.c: Add comments.
5741         (do_test): Add comments and call free on all potentially
5742         allocated pointers. Remove duplicate check for NULL pointer.
5743         Add space after cast.
5745 2013-10-04  Alan Modra  <amodra@gmail.com>
5747         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5748         Use stdint types in rather than __attribute__((mode())).
5749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5751 2013-10-04  Alan Modra  <amodra@gmail.com>
5753         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5754         Correct handling of unaligned relocs for little-endian.
5755         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5757 2013-10-04  Alan Modra  <amodra@gmail.com>
5759         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5760         * configure: Regenerate.
5761         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5762         * shlib-versions: Likewise.
5764 2013-10-04  Alan Modra  <amodra@gmail.com>
5766         * string/tester.c (test_memrchr): Increment reported test cycle.
5768 2013-10-04  Alan Modra  <amodra@gmail.com>
5770         * string/test-memcpy.c (do_one_test): When reporting errors, print
5771         string address and don't overrun end of string.
5773 2013-10-04  Alan Modra  <amodra@gmail.com>
5775         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5776         insrdi.  Make better use of reg selection to speed exit slightly.
5777         Schedule entry path a little better.  Remove useless "are we done"
5778         checks on entry to main loop.  Handle wrapping around zero address.
5779         Correct main loop count.  Handle single left-over word from main
5780         loop inline rather than by using loop_small.  Remove extra word
5781         case in loop_small caused by wrong loop count.  Add little-endian
5782         support.
5783         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5785         cache hint.
5786         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5787         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5788         support.  Avoid rlwimi.
5789         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5791 2013-10-04  Alan Modra  <amodra@gmail.com>
5793         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5794         insrdi.  Formatting.
5795         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5796         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5797         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5798         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5799         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5800         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5802 2013-10-04  Alan Modra  <amodra@gmail.com>
5804         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5806         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5807         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5808         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5809         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5810         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5811         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5812         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5813         use of regs.  Use power7 mtocrf.  Tidy function tails.
5815 2013-10-04  Alan Modra  <amodra@gmail.com>
5817         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5818         Formatting.  Consistently use rXXX register defines or rN defines.
5819         Use early exit labels that avoid restoring unused non-volatile regs.
5820         Make cr field use more consistent with rWORDn compares.  Rename
5821         regs used as shift registers for unaligned loop, using rN defines
5822         for short lifetime/multiple use regs.
5823         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5824         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5825         addi 1,1,64 to pop stack frame.  Simplify return value code.
5826         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5828 2013-10-04  Alan Modra  <amodra@gmail.com>
5830         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5831         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5832         rather than rlwimi.
5833         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5834         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5835         little-endian support.  Correct typos.
5836         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5837         rather than rlwimi.
5838         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5839         in loop and entry code to keep "and." results.
5840         (strchr): Add little-endian support.  Comment.  Move cntlzd
5841         earlier in tail.
5842         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5844 2013-10-04  Alan Modra  <amodra@gmail.com>
5846         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5847         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5848         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5849         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5851 2013-10-04  Alan Modra  <amodra@gmail.com>
5853         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5854         (rTMP): Define as r11.
5855         (strcmp): Add little-endian support.  Optimise tail.
5856         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5857         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5858         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5859         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5860         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5861         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5862         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5864 2013-10-04  Alan Modra  <amodra@gmail.com>
5866         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5867         little-endian support.  Remove unnecessary "are we done" tests.
5868         Handle "s" wrapping around zero and extremely large "size".
5869         Correct main loop count.  Handle single left-over word from main
5870         loop inline rather than by using small_loop.  Correct comments.
5871         Delete "zero" tail, use "end_max" instead.
5872         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5874 2013-10-04  Alan Modra  <amodra@gmail.com>
5876         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5877         support.  Don't branch over align.
5878         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5879         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5880         support.  Rearrange tmp reg use to suit.  Comment.
5881         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5883 2013-10-04  Alan Modra  <amodra@gmail.com>
5885         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5887 2013-10-04  Alan Modra  <amodra@gmail.com>
5889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5890         conditional form of branch and link when obtaining pc.
5891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5893 2013-10-04  Alan Modra  <amodra@gmail.com>
5895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5896         HIWORD/LOWORD.
5897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5900 2013-10-04  Alan Modra  <amodra@gmail.com>
5902         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5903         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5904         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5905         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5906         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5907         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5908         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5909         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5910         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5911         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5913 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5914             Alistair Popple <alistair@ozlabs.au.ibm.com>
5915             Alan Modra <amodra@gmail.com>
5917         [BZ #15723]
5918         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5919         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5920         _dl_hwcap access for little-endian.
5921         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5922         destroy vmx regs when saving unaligned.
5923         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5924         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5925         destroy vmx regs when saving unaligned.
5927 2013-10-04  Alan Modra  <amodra@gmail.com>
5929         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5930         Don't use a union to pack hi/low value.
5932 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5934         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5935         for little-endian.
5936         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5937         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5938         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5939         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5940         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5942 2013-10-04  Alan Modra  <amodra@gmail.com>
5944         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5945         constants to usual value for .cst8 section, and remove redundant
5946         high address load.
5947         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5948         constant for 0x1p52.  Load little-endian words of double from
5949         correct stack offsets.
5951 2013-10-04  Alan Modra  <amodra@gmail.com>
5953         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5954         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5955         words of double from correct stack offsets.
5956         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5957         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5958         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5961         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5962         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5963         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5964         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5965         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5966         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5967         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5968         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5969         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5970         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5971         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5972         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5974 2013-10-04  Alan Modra  <amodra@gmail.com>
5976         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5977         64-bit int/double union.
5978         (_FPU_SETCW): Likewise.
5979         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5980         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5982 2013-10-04  Alan Modra  <amodra@gmail.com>
5984         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5985         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5987 2013-10-04  Alan Modra  <amodra@gmail.com>
5989         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5990         use vector int constants.
5991         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5993 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5995         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5996         array with long long.
5997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5998         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5999         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6000         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6001         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6002         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6003         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6004         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6005         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6006         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6007         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6008         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6009         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6011 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6013         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6014         (__signbit): Likewise.  Correct for little-endian.
6015         (__signbitl): Call __signbit.
6016         (lrint): Correct for little-endian.
6017         (lrintf): Call lrint.
6019 2013-10-04  Alan Modra  <amodra@gmail.com>
6021         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6022         union 32-bit int array member with 64-bit int array.
6023         (t515, tm256): Double rather than long double.
6024         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6026 2013-10-04  Alan Modra  <amodra@gmail.com>
6028         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6029         Delete.
6030         (IEEE854_LONG_DOUBLE_BIAS): Delete.
6031         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6032         version of math_ldbl.h.
6034 2013-10-04  Alan Modra  <amodra@gmail.com>
6036         [BZ #15734], [BZ #15735]
6037         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6038         all uses of ieee875 long double macros and unions.  Simplify test
6039         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
6040         ldbl_extract_mantissa value for ix,iy exponents.  Properly
6041         normalize after ldbl_extract_mantissa, and don't add hidden bit
6042         already handled.  Don't treat low word of ieee854 mantissa like
6043         low word of IBM long double and mask off bit when testing for
6044         zero.
6045         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6046         all uses of ieee875 long double macros and unions.  Simplify tests
6047         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
6048         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
6049         two1022, instead use their values.  Recognise that tests for large
6050         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
6051         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6052         Rewrite all uses of ieee875 long double macros and unions.  Simplify
6053         test for 0.0L and nan.  Correct negation.
6054         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6055         ieee875 long double macros and unions.  Correct output for large
6056         magnitude x.  Correct absolute value calculation.
6057         (__erfcl): Likewise.
6058         * math/libm-test.inc: Add tests for errors discovered in IBM long
6059         double versions of fmodl, remainderl, erfl and erfcl.
6061 2013-10-04  Alan Modra  <amodra@gmail.com>
6063         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6064         all uses of ieee854 long double macros and unions.  Simplify tests
6065         for long doubles that are fully specified by the high double.
6066         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6067         Likewise.
6068         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6069         Remove dead code too.
6070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6071         (__ieee754_ynl): Likewise.
6072         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6074         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6075         Remove dead code too.
6076         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6077         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6078         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6079         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6080         Simplify.
6081         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6082         Simplify.
6083         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6084         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6085         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6086         Comment on variable precision.
6087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6089         Likewise.
6090         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6091         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6092         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6093         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6094         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6096 2013-10-04  Alan Modra  <amodra@gmail.com>
6098         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6099         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6100         all uses of ieee854 long double macros and unions.
6101         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6102         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6104         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6105         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6106         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6107         Likewise.
6108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6109         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6110         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6111         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6113         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6114         Simplify sign and nan test too.
6115         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6116         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6117         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6118         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6119         Likewise.
6120         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6121         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6122         Likewise.
6123         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6124         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6125         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6126         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6127         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6128         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6130 2013-10-04  Alan Modra  <amodra@gmail.com>
6132         * stdio-common/printf_size.c (__printf_size): Don't use
6133         union ieee854_long_double in fpnum union.
6134         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6135         signbit macro to retrieve sign from long double.
6136         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6137         retrieve sign from long double.
6138         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6139         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6140         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6141         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6142         * math/test-misc.c (main): Don't use union ieee854_long_double.
6144 2013-10-04  Alan Modra  <amodra@gmail.com>
6146         [BZ #15680]
6147         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6148         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6149         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6150         calculation.  Remove unnecessary test for denormal exponent.
6151         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6152         Correct handling of denormals.  Avoid undefined shift behaviour.
6153         Correct normalisation of low mantissa when low double is denormal.
6154         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6155         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6156         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6157         Correct normalisation of low mantissa.  Test for overflow of high
6158         mantissa and normalise.
6159         (ldbl_nearbyint): Use more readable constant for two52.
6160         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6161         (__mpn_construct_long_double): Fix test for overflow of high
6162         mantissa and correct normalisation.  Avoid undefined shift.
6164 2013-10-04  Alan Modra  <amodra@gmail.com>
6166         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6167         (union ibm_extended_long_double): Define as an array of ieee754_double.
6168         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6169         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6170         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6171         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6172         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6173         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6175         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6176         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6177         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6178         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6180 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6182         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6183         page size instead of calling getpagesize.
6185         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6186         (LOCFILE_ALIGN_MASK): Likewise.
6187         (LOCFILE_ALIGN_UP): Likewise.
6188         (LOCFILE_ALIGNED_P): Likewise.
6189         * locale/programs/ld-collate.c (collate_output): Use the new
6190         macros instead of __alignof__ (int32_t).
6191         * locale/weight.h (findidx): Likewise.
6193 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6195         [BZ #431]
6196         * manual/string.texi: Fix strncat and wcsncat.
6198 2013-10-03  Brooks Moses  <bmoses@google.com>
6200         [BZ #15915]
6201         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6202         * Makerules: ...here, and adjust associated comments.
6204 2013-10-02  Will Newton  <will.newton@linaro.org>
6206         * malloc/Makefile: Add tst-pvalloc.
6207         * malloc/tst-pvalloc.c: New file.
6209 2013-10-02  Will Newton  <will.newton@linaro.org>
6211         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6212         improve test coverage.
6214 2013-10-02  Will Newton  <will.newton@linaro.org>
6216         * malloc/Makefile: Add tst-posix_memalign.
6217         * malloc/tst-posix_memalign.c: New file.
6219 2013-10-01  Eric Blake  <eblake@redhat.com>
6221         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6222         Use __THROWNL rather than __THROW on static functions.
6224 2013-09-30  Petr Machata  <pmachata@redhat.com>
6226         * elf/elf.h (R_AARCH64_ABS16): New macro.
6227         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6228         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6229         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6230         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6231         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6232         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6233         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6234         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6235         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6236         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6237         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6238         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6239         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6240         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6241         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6242         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6243         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6244         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6245         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6246         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6247         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6248         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6249         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6250         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6251         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6252         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6253         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6254         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6255         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6256         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6257         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6258         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6259         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6260         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6261         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6262         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6263         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6264         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6265         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6266         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6267         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6268         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6269         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6270         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6271         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6272         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6273         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6274         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6275         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6276         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6277         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6278         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6279         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6280         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6281         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6282         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6283         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6284         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6285         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6286         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6287         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6288         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6289         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6290         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6291         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6292         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6293         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6294         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6295         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6296         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6297         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6298         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6299         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6300         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6301         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6302         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6303         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6304         (R_AARCH64_TLSDESC_LDR): Likewise.
6305         (R_AARCH64_TLSDESC_ADD): Likewise.
6306         (R_AARCH64_TLSDESC_CALL): Likewise.
6308 2013-09-30  Andreas Schwab  <schwab@suse.de>
6310         [BZ #15048]
6311         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6312         the nss database lookup.
6313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6316 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6318         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6320 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6322         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6323         ${Bash-specific parameter/pattern/string} parameter expansion.
6324         * sysdeps/unix/make-syscalls.sh: Likewise.
6326 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6328         * sysdeps/sh/stackguard-macros.h: New file.
6330 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6333         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6334         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6335         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6336         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6337         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6339 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6341         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6342         Fix thread ID register.
6344 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
6346         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6347         [POSIX || UNIX98]: Require rather than permitting all symbols from
6348         <time.h>.
6349         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6350         element of struct sched_param.
6351         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6352         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6353         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6354         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6355         constant.
6357 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
6359         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6360         argument calculation.
6362 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6364         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6365         Expect macro.
6366         [POSIX] (pthread_attr_t): Do not require type.
6367         [POSIX] (pthread_cond_t): Likewise.
6368         [POSIX] (pthread_condattr_t): Likewise.
6369         [POSIX] (pthread_key_t): Likewise.
6370         [POSIX] (pthread_mutex_t): Likewise.
6371         [POSIX] (pthread_mutexattr_t): Likewise.
6372         [POSIX] (pthread_once_t): Likewise.
6373         [POSIX] (pthread_t): Likewise.
6374         [POSIX-based standards] (pthread_atfork): Expect function.
6376 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6377             Richard Sandiford  <richard@codesourcery.com>
6379         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6380         (swap_endianness_p): New extern variable.
6381         (set_big_endian): New inline function.
6382         (maybe_swap_uint32): Likewise.
6383         (maybe_swap_uint32_array): Likewise.
6384         (maybe_swap_uint32_obstack): Likewise.
6385         * locale/programs/locfile.c: Include <stdbool.h>.
6386         (swap_endianness_p): New variable.
6387         (add_locale_uint32): Call maybe_swap_uint32.
6388         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6389         (write_locale_data): Call maybe_swap_uint32_array.
6390         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6391         maybe_swap_uint32.
6392         (obstack_int32_grow_fast): Likewise.
6393         (output_weightwc): Call maybe_swap_uint32_obstack.
6394         (collate_output): Likewise.
6395         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6396         (OPT_LITTLE_ENDIAN): Likewise.
6397         (options): Add --little-endian and --big-endian options.
6398         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6399         * locale/programs/locarchive.c: Include "locfile.h".
6400         (GET): New macro.
6401         (SET): Likewise.
6402         (INC): Likewise.
6403         (create_archive): Use the new macros to access fields of
6404         structures directly mapped from or written to locale archives.
6405         (oldlocrecentcmp): Likewise.
6406         (enlarge_archive): Likewise.
6407         (insert_name): Likewise.
6408         (add_alias): Likewise.
6409         (add_locale): Likewise.
6410         (delete_locales_from_archive): Likewise.
6411         (show_archive_content): Likewise.
6412         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6413         locale data.
6415 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6417         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6418         http://www.gnu.org/doc/freemanuals.texi.
6419         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6421 2013-09-24  Will Newton  <will.newton@linaro.org>
6423         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6424         macro.
6426 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6428         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6429         unsigned char.
6431 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6433         * manual/threads.texi (POSIX Threads): Fix a typo.
6435 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6437         [BZ #14547]
6438         * string/tst-strcoll-overflow.c: New test case.
6439         * string/Makefile (xtests): Add tst-strcoll-overflow.
6440         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6441         cache if string sizes may cause integer overflow.
6443         [BZ #14547]
6444         * string/strcoll_l.c (coll_seq): New members rule, idx,
6445         save_idx and back_us.
6446         (get_next_seq_nocache): New function.
6447         (do_compare_nocache): New function.
6448         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6449         when malloc fails.
6451 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6453         [BZ #15754]
6454         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6455         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6456         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6458         [BZ #15754]
6459         * elf/Makefile (tests): Add tst-ptrguard1.
6460         (tests-static): Add tst-ptrguard1-static.
6461         (tst-ptrguard1-ARGS): Define.
6462         (tst-ptrguard1-static-ARGS): Define.
6463         * elf/tst-ptrguard1.c: New file.
6464         * elf/tst-ptrguard1-static.c: New file.
6465         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6466         * sysdeps/i386/stackguard-macros.h: Likewise.
6467         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6468         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6469         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6470         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6471         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6472         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6474 2013-09-23  Hector Marco  <hecmargi@upv.es>
6475             Ismael Ripoll  <iripoll@disca.upv.es>
6476             Carlos O'Donell  <carlos@redhat.com>
6478         [BZ #15754]
6479         * sysdeps/generic/stackguard-macros.h: Define
6480         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6481         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6482         Define __pointer_chk_guard_local.
6483         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6484         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6486 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6488         [BZ #15859]
6489         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6491 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6493         * include/string.h (__ffs): Declare as hidden.
6494         * string/ffs.c (__ffs): Define as hidden.
6495         * sysdeps/i386/ffs.c (__ffs): Likewise.
6496         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6497         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6498         * sysdeps/s390/ffs.c (__ffs): Likewise.
6499         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6501 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6503         * NEWS: Mention malloc probes.
6505         * malloc/arena.c (new_heap): New memory_heap_new probe.
6506         (grow_heap): New memory_heap_more probe.
6507         (shrink_heap): New memory_heap_less probe.
6508         (heap_trim): New memory_heap_free probe.
6509         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6510         (systrim): New memory_sbrk_less probe.
6511         * manual/probes.texi: Document them.
6513         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6514         * manual/probes.texi: Document it.
6516         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6517         (__libc_realloc): Add memory_realloc_retry probe.
6518         (__libc_memalign): Add memory_memalign_retry probe.
6519         (__libc_valloc): Add memory_valloc_retry probe.
6520         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6521         (__libc_calloc): Add memory_calloc_retry probe.
6522         * manual/probes.texi: Document them.
6524         * malloc/arena.c (get_free_list): Add probe
6525         memory_arena_reuse_free_list.
6526         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6527         and memory_arena_reuse.
6528         (arena_get2) [!PER_THREAD]: Likewise.
6529         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6530         memory_arena_reuse_realloc.
6531         * manual/probes.texi: Document them.
6533         * malloc/malloc.c (__libc_free): Add
6534         memory_mallopt_free_dyn_thresholds probe.
6535         (__libc_mallopt): Add multiple memory_mallopt probes.
6536         * manual/probes.texi: Document them.
6538         * malloc/malloc.c: Include stap-probe.h.
6539         (__libc_mallopt): Add memory_mallopt probe.
6540         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6541         * manual/probes.texi: New.
6542         * manual/Makefile (chapters): Add probes.
6543         * manual/threads.texi: Set next node.
6545 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6547         [BZ #15963, #13985]
6548         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6549         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6550         Add `Chinese' to `nan' entry name.
6552 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6554         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6555         (POLYNOMIAL): Likewise.
6556         (TAYLOR_SINCOS): Likewise.
6557         (TAYLOR_SLOW): Likewise.
6558         (__sin): Use TAYLOR_SINCOS.
6559         (__cos): Likewise.
6560         (slow): Use TAYLOR_SLOW.
6561         (sloww): Likewise.
6562         (bsloww): Likewise.
6563         (csloww): Likewise.
6565 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6567         * stdlib/strtod_l.c: Fix buffer overrun.
6569 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6571         * benchtests/Makefile (bench): Add sincos.
6572         * benchtests/bench-sincos.c: New file.
6574         * math/libm-test.inc (cos_test_data): New test inputs.
6575         (sin_test_data): Likewise.
6577         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6578         macro.
6579         (__sin): Use it.
6580         (__cos): Likewise.
6581         (slow1): Likewise.
6582         (slow2): Likewise.
6583         (sloww1): Likewise.
6584         (sloww2): Likewise.
6585         (bsloww1): Likewise.
6586         (bsloww2): Likewise.
6587         (cslow2): Likewise.
6588         (csloww1): Likewise.
6589         (csloww2): Likewise.
6591         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6592         function.
6593         (__sin): Use it.
6594         (__cos): Likewise.
6596         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6597         gotos.
6598         (__cos): Likewise.
6600 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6602         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6603         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6604         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6605         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6606         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6607         * elf/cache.c (print_entry): Handle the new cache flags.
6609 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6610             Aldy Hernandez  <aldyh@redhat.com>
6612         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6613         Change condition to [_SOFT_FLOAT].
6614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6626         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6629         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6630         declaration.
6632 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6634         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6635         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6636         (__longjmp): Use LOAD_GP to load saved GPRs.
6637         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6638         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6639         (__sigsetjmp): Use SAVE_GP to save GPRs.
6641         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6642         Do not append -msoft-float.
6643         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6645 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6647         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6649 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6651         [BZ #15966]
6652         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6653         (_FPU_GETCW): Use initial "__" on variable and field names but not
6654         on macro parameter name.
6655         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6656         parentheses around reference to macro parameter.
6658 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6660         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6661         prototype.
6662         (ctype_startup): Use uint32_t in cast and sizeof for
6663         ctype->charnames.
6665 2013-09-11  Jia Liu  <proljc@gmail.com>
6667         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6668         __daddr_t_defined.
6669         [__FreeBSD__]: Likewise.
6671 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6674         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6675         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6676         (strchr): Remove __strchr_sse42 ifunc selection.
6677         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6678         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6680 2013-09-11  Will Newton  <will.newton@linaro.org>
6682         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6683         parameter to RES. Remove hardcoded 1000 value.
6684         * benchtests/bench-skeleton.c (main): Pass RES parameter
6685         to TIMING_INIT and multiply result by 1000.
6687 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6691 2013-09-11  Andreas Schwab  <schwab@suse.de>
6693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6694         if not defined.
6695         (O_TMPFILE) [__USE_GNU]: Define.
6696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6697         Define.
6699 2013-09-11  Will Newton  <will.newton@linaro.org>
6701         [BZ #15857]
6702         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6703         does not overflow.
6705 2013-09-11  Will Newton  <will.newton@linaro.org>
6707         [BZ #15856]
6708         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6709         does not overflow.
6711 2013-09-11  Will Newton  <will.newton@linaro.org>
6713         [BZ #15855]
6714         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6715         does not overflow.
6717 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6719         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6721         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6722         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6723         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6725 2013-09-10  Allan McRae  <allan@archlinux.org>
6727         [BZ #15748]
6728         * manual/arith.texi (Parsing of Floats): Clarify
6729         cross-reference.
6731         [BZ #15849]
6732         * manual/install.texi (Running make install): Mention
6733         --enable-pt-chown.
6734         * INSTALL: Regenerated.
6736 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6738         * csu/init-first.c (_init): Remove the !SHARED condition around
6739         FPU control word initialization.
6740         * elf/dl-support.c (_dl_fpu_control): New variable.
6741         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6742         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6743         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6744         * math/test-fpucw-static.c: New file.
6745         * math/test-fpucw-ieee.c: New file.
6746         * math/test-fpucw-ieee-static.c: New file.
6747         * math/Makefile (tests): Add `test-fpucw-ieee' and
6748         `$(tests-static)'.
6749         (tests-static): New variable.
6750         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6751         dependency to...
6752         [($(build-shared),yes)]
6753         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6754         ... this.
6755         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6756         New dependency.
6758 2013-09-09  Allan McRae  <allan@archlinux.org>
6760         [BZ #15939]
6761         * manual/string.texi (Collation Functions): Fix typo in
6762         strcoll example.
6763         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6765         [BZ #15893]
6766         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6768         [BZ #15892]
6769         * libio/memstream.c (open_memstream): Fix memory leak.
6770         * libio/wmemstream.c (open_wmemstream): Likewise.
6772         [BZ #15895]
6773         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6775 2013-09-09  Will Newton  <will.newton@linaro.org>
6777         * malloc/Makefile: Add tst-realloc to tests.
6778         * malloc/tst-realloc.c: New file.
6780 2013-09-09  Allan McRae  <allan@archlinux.org>
6782         [BZ #15844]
6783         * COPYING: Update from GNU website to fix FSF address.
6784         * COPYING.LIB: Likewise.
6786 2013-09-06  David S. Miller  <davem@davemloft.net>
6788         * po/zh_TW.po: Update Chinese (traditional) translation from
6789         translation project.
6791 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6792             Joseph Myers  <joseph@codesourcery.com>
6794         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6795         "localeinfo.h".
6796         (obstack_chunk_alloc): New macro.
6797         (obstack_chunk_free): Likewise.
6798         (record_offset): New function.
6799         (init_locale_data): Likewise.
6800         (align_locale_data): Likewise.
6801         (add_locale_empty): Likewise.
6802         (add_locale_raw_data): Likewise.
6803         (add_locale_raw_obstack): Likewise.
6804         (add_locale_string): Likewise.
6805         (add_locale_wstring): Likewise.
6806         (add_locale_uint32): Likewise.
6807         (add_locale_uint32_array): Likewise.
6808         (add_locale_char): Likewise.
6809         (start_locale_structure): Likewise.
6810         (end_locale_structure): Likewise.
6811         (start_locale_prelude): Likewise.
6812         (end_locale_prelude): Likewise.
6813         (write_locale_data): Take locale_file structure rather than an
6814         iovec.
6815         * locale/programs/locfile.h: Include "obstack.h".
6816         (struct locale_file): Change to store locale file contents instead
6817         of header.
6818         (init_locale_data): New prototype.
6819         (align_locale_data): Likewise.
6820         (add_locale_empty): Likewise.
6821         (add_locale_raw_data): Likewise.
6822         (add_locale_raw_obstack): Likewise.
6823         (add_locale_string): Likewise.
6824         (add_locale_wstring): Likewise.
6825         (add_locale_uint32): Likewise.
6826         (add_locale_uint32_array): Likewise.
6827         (add_locale_char): Likewise.
6828         (start_locale_structure): Likewise.
6829         (end_locale_structure): Likewise.
6830         (start_locale_prelude): Likewise.
6831         (end_locale_prelude): Likewise.
6832         (write_locale_data): Update prototype.
6833         * locale/programs/3level.h (struct TABLE): Remove result field.
6834         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6835         Use new locale_file interface.
6836         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6837         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6838         * locale/programs/ld-address.c (address_output): Use new
6839         locale_file interface.
6840         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6841         NO_ADD_LOCALE.
6842         (collate_finish): Don't call collseq_table_finalize.
6843         (collate_output): Use new locale_file interface.
6844         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6845         in file.
6846         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6847         (TABLE): Move defines earlier in file.
6848         (ELEMENT): Likewise.
6849         (DEFAULT): Likewise.
6850         (wctrans_table_add): Move macro and inline function earlier in
6851         file.
6852         (struct wctype_table): Move type earlier in file.
6853         (add_locale_wctype_table): New static prototype.
6854         (struct locale_ctype_t): Use logical types instead of struct iovec
6855         pointers for members.
6856         (ctype_output): Use new locale_file interface.
6857         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6858         new locale_file interface.
6859         (allocate_arrays): Update for use of new locale_file interface.
6860         * locale/programs/ld-identification.c (identification_output): Use
6861         new locale_file interface.
6862         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6863         * locale/programs/ld-messages.c (messages_output): Likewise.
6864         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6865         * locale/programs/ld-name.c (name_output): Likewise.
6866         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6867         * locale/programs/ld-paper.c (paper_output): Likewise.
6868         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6869         * locale/programs/ld-time.c (time_output): Likewise.
6871 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6873         * benchtests/Makefile: Add memrchr benchmark.
6874         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6875         benchmark as memrchr.
6876         * benchtests/bench-memrchr-ifunc.c: New file.
6877         * benchtests/bench-memrchr.c: New file.
6879 2013-09-06   Will Newton  <will.newton@linaro.org>
6881         * benchtests/Makefile (string-bench): Add memcpy.
6883 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6884             Cong Wang  <amwang@redhat.com>
6886         [BZ #15850]
6887         * sysdeps/unix/sysv/linux/bits/in.h
6888         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6889         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6890         before __USE_KERNEL_IPV6_DEFS uses.
6891         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6892         IPPROTO_BEETPH.
6893         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6894         sockaddr_in6, or ipv6_mreq.
6896 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6898         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6899         memory access for final bytes in some large inputs.
6900         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6902 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6904         * string/test-memrchr.c: New file.
6905         * string/test-memrchr-ifunc.c: New file.
6906         * string/Makefile: Add new memrchr testcase.
6908 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6910         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6911         fanotify_init returns EPERM.
6913 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6915         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6916         errors.
6917         (top level): Treat second token from macro or constant entries for
6918         allowed headers as allowed.
6919         * include/complex.h: Condition internal declarations on
6920         [!_ISOMAC].
6921         * include/fenv.h: Condition include of <stdbool.h> and internal
6922         declarations on [!_ISOMAC].
6924 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6926         [BZ #15923]
6927         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6929 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6931         * configure.in (--enable-versioning): Remove configure option.
6932         (libc_cv_asm_symver_directive): Remove configure test.
6933         (libc_cv_ld_version_script_option): Likewise.
6934         (VERSIONING): Remove variable and AC_SUBST.
6935         (DO_VERSIONING): Remove AC_DEFINE.
6936         * configure: Regenerated.
6937         * config.h.in (DO_VERSIONING): Remove macro.
6938         * Makerules [$(versioning) = yes]: Change conditionals to
6939         [$(build-shared) = yes].
6940         * config.make.in (versioning): Remove variable.
6941         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6942         [$(build-shared) = yes].
6943         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6944         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6945         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6946         [$(build-shared) = yes].
6947         * extra-lib.mk [$(versioning) = yes]: Likewise.
6948         * hurd/Makefile [$(versioning) = yes]: Likewise.
6949         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6950         [SHARED].
6951         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6952         [SHARED].
6953         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6954         [SHARED && !NO_HIDDEN].
6955         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6956         [SHARED].
6957         [SHARED && DO_VERSIONING]: Likewise..
6958         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6959         [$(build-shared) = yes].
6960         * manual/install.texi (--disable-versioning): Remove
6961         documentation.
6962         * INSTALL: Regenerated.
6963         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6964         to [SHARED].
6965         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6966         [$(build-shared) = yes].
6967         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6968         * sysdeps/i386/i686/multiarch/strstr-c.c
6969         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6970         [SHARED && !NO_HIDDEN].
6971         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6972         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6973         * sysdeps/powerpc/powerpc32/dl-machine.c
6974         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6975         * sysdeps/powerpc/powerpc32/sysdep.h
6976         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6977         to [SHARED && PIC && !NO_HIDDEN].
6978         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6979         conditional to [SHARED].
6981 2013-09-04   Will Newton  <will.newton@linaro.org>
6983         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6984         * benchtests/bench-string.h: Include bench-timing.h instead
6985         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6986         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6987         call to HP_TIMING_DIFF_INIT.
6988         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6989         instead of hp-timing.h macros.
6990         * benchtests/bench-memchr.c: Likewise.
6991         * benchtests/bench-memcmp.c: Likewise.
6992         * benchtests/bench-memcpy.c: Likewise.
6993         * benchtests/bench-memmem.c: Likewise.
6994         * benchtests/bench-memmove.c: Likewise.
6995         * benchtests/bench-memset.c: Likewise.
6996         * benchtests/bench-rawmemchr.c: Likewise.
6997         * benchtests/bench-strcasecmp.c: Likewise.
6998         * benchtests/bench-strcasestr.c: Likewise.
6999         * benchtests/bench-strcat.c: Likewise.
7000         * benchtests/bench-strchr.c: Likewise.
7001         * benchtests/bench-strcmp.c: Likewise.
7002         * benchtests/bench-strcpy.c: Likewise.
7003         * benchtests/bench-strcpy_chk.c: Likewise.
7004         * benchtests/bench-strlen.c: Likewise.
7005         * benchtests/bench-strncasecmp.c: Likewise.
7006         * benchtests/bench-strncat.c: Likewise.
7007         * benchtests/bench-strncmp.c: Likewise.
7008         * benchtests/bench-strncpy.c: Likewise.
7009         * benchtests/bench-strnlen.c: Likewise.
7010         * benchtests/bench-strpbrk.c: Likewise.
7011         * benchtests/bench-strrchr.c: Likewise.
7012         * benchtests/bench-strspn.c: Likewise.
7013         * benchtests/bench-strstr.c: Likewise.
7015 2013-09-04  Will Newton  <will.newton@linaro.org>
7017         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7019 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
7021         [BZ #15427]
7022         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7023         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7024         * math/libm-test.inc (lgamma_test_data): Add more tests.
7025         * sysdeps/i386/fpu/libm-test-ulps: Update.
7026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7028 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
7030         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7032         Add ifunc.
7033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7034         Add strcmp-sse2-unaligned
7035         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7037 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7039         * Versions.def (libc): Add GLIBC_2.19.
7041 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7043         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7044         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7046 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
7048         [BZ #14155]
7049         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7050         intermediate calculations in recurrence.
7051         (__ieee754_ynf): Likewise.
7052         * math/libm-test.inc (jn_test_data): Do not allow spurious
7053         underflow exception.  Add more tests.
7054         (yn_test_data): Add more tests.
7055         * sysdeps/i386/fpu/libm-test-ulps: Update.
7056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7058 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
7060         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7062 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7064         * csu/init-first.c: Fix then/than typos.
7065         * locale/programs/ld-collate.c: Likewise.
7066         * locale/programs/linereader.h: Likewise.
7067         * manual/charset.texi: Likewise.
7068         * manual/filesys.texi: Likewise.
7069         * manual/stdio.texi: Likewise.
7070         * manual/string.texi: Likewise.
7071         * stdlib/fmtmsg.c: Likewise.
7072         * sysdeps/i386/stpncpy.S: Likewise.
7073         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7074         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7075         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7076         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7078 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7080         * elf/dl-open.c: Fix typos.
7081         * iconvdata/gbbig5.c: Likewise.
7082         * iconvdata/iso-2022-jp.c: Likewise.
7083         * iconv/gconv_int.h: Likewise.
7084         * iconv/loop.c: Likewise.
7085         * nis/rpcsvc/nis.h: Likewise.
7086         * resolv/ns_name.c: Likewise.
7087         * stdio-common/vfscanf.c: Likewise.
7088         * streams/stropts.h: Likewise.
7089         * sunrpc/rpc_thread.c: Likewise.
7090         * sysdeps/i386/strpbrk.S: Likewise.
7091         * sysdeps/ieee754/k_standard.c: Likewise.
7092         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7093         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7094         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7095         * sysdeps/mach/hurd/profil.c: Likewise.
7096         * sysdeps/s390/dl-procinfo.h: Likewise.
7097         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7098         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7099         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7100         * sysdeps/x86_64/dl-trampoline.S: Likewise.
7101         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7103 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
7105         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7108 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7110         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7111         aix specific files.
7112         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7113         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7114         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7115         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7116         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7117         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7118         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7119         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7121 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7122             Roland McGrath  <roland@hack.frob.com>
7124         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7125         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7127 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7129         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7130         __executable_start symbol instead of _start.
7132 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7134         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7135         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7136         Move macros to...
7137         * sysdeps/gnu/ldsodefs.h: ... this new file.
7139         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7140         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7141         instead of ELFOSABI_LINUX.
7143         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7144         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7145         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7146         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7147         Likewise.
7148         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7149         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7150         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7151         Likewise.
7152         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7153         (ibm_extended_long_double): Add ieee_nan member.
7154         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7155         (do_test): New function.
7157         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7158         TEST_TRUNC.
7159         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7160         functions, renamed from truncdfsf_test, trunctfsf_test,
7161         trunctfdf_test.
7162         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7163         functions.
7164         (do_test): Run all these.
7166 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7168         * argp/argp-help.c: Fix typos.
7169         * argp/argp-parse.c: Likewise.
7170         * debug/backtracesyms.c: Likewise.
7171         * elf/elf.h: Likewise.
7172         * malloc/malloc.c: Likewise.
7173         * nis/nis_print.c: Likewise.
7174         * resolv/res_comp.c: Likewise.
7175         * stdlib/stdlib.h: Likewise.
7176         * sunrpc/clnt_tcp.c: Likewise.
7177         * sunrpc/clnt_udp.c: Likewise.
7178         * sunrpc/clnt_unix.c: Likewise.
7179         * sysdeps/unix/bsd/ptsname.c: Likewise.
7180         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7181         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7183         Likewise.
7184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7185         Likewise.
7186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7187         Likewise.
7188         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7190 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7192         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7195 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7197         [BZ #15897]
7198         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7199         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7200         ($(objpfx)bug-dl-leaf): New rule.
7201         ($(objpfx)bug-dl-leaf.so): Likewise.
7202         ($(objpfx)bug-dl-leaf.out): Likewise.
7203         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7204         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7205         * dlfcn/bug-dl-leaf.c: New test.
7206         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7207         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7208         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7209         (dlclose): Likewise.
7210         (dlmopen): Likewise.
7212 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7214         * include/netdb.h [!_ISOMAC]:
7215         Don't include <tls.h>.
7216         (h_errno, __libc_h_errno): Move declaration and macros out of
7217         [_LIBC_REENTRANT].
7219         * include/resolv.h [_RESOLV_H_]:
7220         Don't include <tls.h>.
7221         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7222         * resolv/res_libc.c: Don't include <tls.h>.
7223         (_res): Use __attribute__ ((nocommon)) in place of
7224         __attribute__ ((section (".bss"))).
7226         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7227         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7229         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7231         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7232         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7234         * resolv/res_mkquery.c: Include <sys/time.h>.
7236         * inet/ifreq.c: Moved to ...
7237         * sysdeps/unix/ifreq.c: ... here.
7238         * inet/ifreq.c: New file, true stub version.
7240         * socket/sa_len.c: New file.
7241         * socket/Makefile (aux): Add it.
7242         * sysdeps/unix/sysv/linux/Makefile
7243         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7244         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7245         and #include <socket/sa_len.c>.
7246         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7247         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7249         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7250         * bits/socket.h: ... here.
7252         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7253         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7254         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7256 2013-08-27  Andreas Schwab  <schwab@suse.de>
7258         [BZ #15736]
7259         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7260         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7261         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7262         * string/test-strcasecmp.c (test_main): Run tests in several
7263         locales.
7264         * string/test-strncasecmp.c (test_main): Likewise.
7266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7267         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7268         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7270         (__strncasecmp_ssse3) [PIC]: Likewise.
7272 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7274         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7276         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7277         instead of explicitly declaring xdecrypt.
7278         * nis/nss_nis/nis-publickey.c: Likewise.
7280 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7282         [BZ #15890]
7283         * nscd/aicache.c: Include res_hconf.h.
7284         (addhstaiX): Initialize res_hconf.
7286 2013-08-26  Andreas Schwab  <schwab@suse.de>
7288         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7289         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7291 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7293         * nscd/aicache.c (addhstaiX): Fix indentation.
7295 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7297         * configure.ac: Quote $build_pt_chown test.
7298         * configure: Regenerated.
7300 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7302         [BZ #15532]
7303         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7304         * math/s_cexpf.c (__cexpf): Likewise.
7305         * math/s_cexpl.c (__cexpl): Likewise.
7306         * math/libm-test.inc (cexp_test_data): Correct expected return
7307         value for NaN + i0.  Add another test.
7309 2013-08-22  David S. Miller  <davem@davemloft.net>
7311         * po/ca.po: Update Catalan translation from translation project.
7312         * po/uk.po: Add Ukrainian translations from translation project.
7314 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7316         [BZ #15797]
7317         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7318         is infinite, not alongside NaN test.
7319         * math/s_fdimf.c (__fdimf): Likewise.
7320         * math/s_fdiml.c (__fdiml): Likewise.
7321         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7322         errno is unchanged.
7324 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7326         * argp/argp-help.c: Fix typos.
7327         * crypt/speeds.c: Likewise.
7328         * csu/check_fds.c: Likewise.
7329         * elf/dl-load.c: Likewise.
7330         * elf/dl-open.c: Likewise.
7331         * elf/reldep3.c: Likewise.
7332         * elf/reldep.c: Likewise.
7333         * elf/sprof.c: Likewise.
7334         * iconv/iconv_charmap.c: Likewise.
7335         * iconv/skeleton.c: Likewise.
7336         * iconv/strtab.c: Likewise.
7337         * io/lockf64.c: Likewise.
7338         * libio/libioP.h: Likewise.
7339         * resolv/gai_notify.c: Likewise.
7340         * resolv/ns_name.c: Likewise.
7341         * resolv/ns_samedomain.c: Likewise.
7342         * resolv/res_send.c: Likewise.
7343         * stdlib/random.c: Likewise.
7344         * sunrpc/rpc/xdr.h: Likewise.
7345         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7346         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7347         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7348         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7349         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7350         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7352         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7353         * sysdeps/mach/hurd/check_fds.c: Likewise.
7354         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7355         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7356         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7357         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7358         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7359         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7360         * sysdeps/pthread/aio_notify.c: Likewise.
7361         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7362         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7363         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7364         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7365         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7367 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7369         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7370         version if bit_Slow_SSE4_2 is set.
7371         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7372         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7374 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7376         [BZ #15867]
7377         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7378         trampoline stack frame information.
7379         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7380         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7381         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7382         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7383         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7384         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7385         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7386         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7387         sa_flags value.
7388         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7389         interrupting a syscall and set with option SA_SIGINFO.
7391 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7393         [BZ #15531]
7394         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7395         argument is infinite.
7396         * math/s_cprojf.c (__cprojf): Likewise.
7397         * math/s_cprojl.c (__cprojl): Likewise.
7398         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7399         * math/libm-test.inc (cproj_test_data): Add more tests.
7401         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7403         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7404         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7405         size.  Use __ffs to determine corresponding shift.
7407 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7408             Roland McGrath  <roland@hack.frob.com>
7410         * Makefile (INSTALL): Remove trailing blank lines from output of
7411         makeinfo.
7413 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7415         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7416         Align 32 bit compat elf_greg to 8 bytes.
7418 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7420         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7422 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7424         * string/strcoll_l.c (coll_seq): New structure.
7425         (get_next_seq_cached): New function.
7426         (get_next_seq): New function.
7427         (do_compare): New function.
7428         (STRCOLL): Use GNU style definition.  Simplify implementation
7429         by using get_next_seq, get_next_seq_cached and do_compare.
7431 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7433         [BZ #14699]
7434         CVE-2013-4237
7435         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7436         member.
7437         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7438         member.
7439         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7440         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7441         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7442         conditional.
7443         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7444         GETDENTS_64BIT_ALIGNED.
7445         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7446         * manual/filesys.texi (Reading/Closing Directory): Document
7447         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7448         strongly.
7449         * manual/conf.texi (Limits for Files): Add portability note to
7450         NAME_MAX, PATH_MAX.
7451         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7453 2013-08-13  Andreas Schwab  <schwab@suse.de>
7455         [BZ #15749]
7456         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7457         of fabs.
7458         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7459         LDBL_MAX_EXP >= 16384]: Add tests for it.
7461 2013-08-12  David S. Miller  <davem@davemloft.net>
7463         * version.h (RELEASE): Set to "development".
7464         (VERSION): Set to "2.18.90".
7465         * NEWS: Add 2.19 section.
7467 2013-08-03  David S. Miller  <davem@davemloft.net>
7469         * po/ko.po: Update Korean translation from translation project.
7471 2013-08-01  David S. Miller  <davem@davemloft.net>
7473         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7474         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7475         Bilka.
7477 2013-07-30  David S. Miller  <davem@davemloft.net>
7479         * po/fr.po: Update French translation from translation project.
7481 2013-07-28  David S. Miller  <davem@davemloft.net>
7483         * po/cs.po: Update Czech translation from translation project.
7485         * po/sv.po: Update Swedish translation from translation project.
7487 2013-07-27  David S. Miller  <davem@davemloft.net>
7489         * po/eo.po: Update Esperanto translation from translation project.
7491         * po/vi.po: Update Vietnamese translation from translation project.
7493         * po/de.po: Update German translation from translation project.
7495 2013-07-26  David S. Miller  <davem@davemloft.net>
7497         * po/bg.po: Update Bulgarian translation from translation project.
7499         * po/nl.po: Update Dutch translation from translation project.
7500         * po/pl.po: Update Polish translation from translation project.
7501         * po/ru.po: Update Russian translation from translation project.
7503 2013-07-24  David S. Miller  <davem@davemloft.net>
7505         * po/libc.pot: Update.
7507 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7509         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7510         variable page size.
7511         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7512         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7513         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7515 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7517         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7519 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7520             Andreas Schwab  <schwab@suse.de>
7521             Roland McGrath  <roland@hack.frob.com>
7522             Joseph Myers  <joseph@codesourcery.com>
7523             Carlos O'Donell  <carlos@redhat.com>
7525         [BZ #15755]
7526         * config.h.in: Define HAVE_PT_CHOWN.
7527         * config.make.in (build-pt-chown): New variable.
7528         * configure.in (--enable-pt_chown): New configure option.
7529         * configure: Regenerate.
7530         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7531         build-pt-chown is enabled.
7532         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7533         pt_chown to fix pty ownership.
7534         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7535         CLOSE_ALL_FDS.
7536         * manual/install.texi (Configuring and compiling): Mention
7537         --enable-pt_chown. Add @findex for grantpt.
7538         * INSTALL: Regenerate.
7540 2013-07-20  David S. Miller  <davem@davemloft.net>
7542         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7543         difference between 32-bit and 64-bit.
7545 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7547         [BZ #15711]
7548         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7549         Avoid system header dependency with -ffreestanding.
7550         ($(objpfx)bits/syscall%d): Likewise.
7552 2013-07-13  David S. Miller  <davem@davemloft.net>
7554         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7555         underflows from atanl/atan2l due to bug 15319.
7556         (casinh_test_data): Likewise.
7558 2013-07-07  David S. Miller  <davem@davemloft.net>
7560         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7562 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7564         * sysdeps/i386/fpu/libm-test-ulps: Update.
7565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7567 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7569         * configure.in (--enable-lock-elision): Fix message text.
7570         * INSTALL: Regenerate.
7571         * configure: Regenerate.
7573 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7577 2013-07-03  Andreas Jaeger  <aj@suse.de>
7579         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7580         define.
7581         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7582         (ptrace_peeksiginfo_args): Add.
7583         (__ptrace_peeksiginfo_flags): Add.
7584         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7585         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7586         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7588 2013-07-03  Allan McRae  <allan@archlinux.org>
7590         * sysdeps/i386/fpu/libm-test-ulps: Update.
7592 2013-07-02  David S. Miller  <davem@davemloft.net>
7594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7596 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7600 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7602         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605 2013-07-02  Andi Kleen <ak@linux.intel.com>
7607         * config.h.in (ENABLE_LOCK_ELISION): Add.
7608         * configure.in (--enable-lock-elision): Add option.
7609         * manual/install.texi: Document --enable lock elision.
7610         * configure: Regenerate
7611         * INSTALL: Regenerate.
7613 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7615         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7616         SSE4.2 strcasecmp for libc.a.
7617         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7619 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7621         [BZ #13304]
7622         * soft-fp/op-common.h (_FP_FMA): New macro.
7623         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7624         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7625         (_FP_MUL_MEAT_1_imm): ... here.
7626         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7627         (_FP_MUL_MEAT_1_wide): ... here.
7628         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7629         (_FP_MUL_MEAT_1_hard): ... here.
7630         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7631         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7632         (_FP_MUL_MEAT_2_wide): ... here.
7633         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7634         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7635         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7636         (_FP_MUL_MEAT_2_gmp): ... here.
7637         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7638         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7639         (_FP_MUL_MEAT_4_wide): ... here.
7640         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7641         (_FP_MUL_MEAT_4_gmp): ... here.
7642         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7643         (_FP_WFRACBITS_DW_S): Likewise.
7644         (_FP_WFRACXBITS_DW_S): Likewise.
7645         (_FP_HIGHBIT_DW_S): Likewise.
7646         (FP_FMA_S): Likewise.
7647         (_FP_FRAC_HIGH_DW_S): Likewise.
7648         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7649         (_FP_WFRACBITS_DW_D): Likewise.
7650         (_FP_WFRACXBITS_DW_D): Likewise.
7651         (_FP_HIGHBIT_DW_D): Likewise.
7652         (FP_FMA_D): Likewise.
7653         (_FP_FRAC_HIGH_DW_D): Likewise.
7654         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7655         (_FP_WFRACBITS_DW_E): Likewise.
7656         (_FP_WFRACXBITS_DW_E): Likewise.
7657         (_FP_HIGHBIT_DW_E): Likewise.
7658         (FP_FMA_E): Likewise.
7659         (_FP_FRAC_HIGH_DW_E): Likewise.
7660         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7661         (_FP_WFRACBITS_DW_Q): Likewise.
7662         (_FP_WFRACXBITS_DW_Q): Likewise.
7663         (_FP_HIGHBIT_DW_Q): Likewise.
7664         (FP_FMA_Q): Likewise.
7665         (_FP_FRAC_HIGH_DW_Q): Likewise.
7666         * soft-fp/fmasf4.c: New file.
7667         * soft-fp/fmadf4.c: Likewise.
7668         * soft-fp/fmatf4.c: Likewise.
7670 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7673         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7674         Silvermont.
7675         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7676         macro.
7677         (index_Slow_SSE4_2): Likewise.
7678         (index_Prefer_PMINUB_for_stringop): Likewise.
7679         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7680         bit_Slow_SSE4_2 is set.
7681         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7682         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7684 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7686         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7687         rtld_global._dl_hwcap2.
7688         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7689         POWER8.
7690         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7691         POWER8 feature descriptions defined in _dl_hwcap2.
7692         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7693         string handling for POWER8 feature bits.
7694         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7695         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7696         _dl_powerpc_cap_flags.
7697         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7698         * sysdeps/powerpc/rtld-global-offsets.sym
7699         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7700         _dl_hwcap2 in the rtld_global_ro structure.
7702 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7704         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7705         hardware capabilities in support of AT_HWCAP2.
7706         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7707         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7708         GLRO(dl_hwcap2).
7709         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7710         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7711         explicitly the unknown a_type display mechanism is used.
7712         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7713         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7714         struct member.
7715         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7716         to macro prototype for AT_HWCAP2 support.
7717         * sysdeps/i386/dl-procinfo.h: Likewise.
7718         * sysdeps/s390/dl-procinfo.h: Likewise.
7719         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7720         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7721         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7722         return -1 for unknown a_type display fallback.
7723         * sysdeps/sparc/dl-procinfo.h: Likewise.
7724         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7725         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7727 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7729         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7730         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7732 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7734         [BZ #12492]
7735         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7736         mprotect making __stack_prot writable.
7738 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7739             Joseph Myers  <joseph@codesourcery.com>
7741         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7742         as being properly aligned.
7744 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7746         * dlfcn/modstatic5.c: New file.
7747         * dlfcn/tststatic5.c: New file.
7748         * dlfcn/Makefile (tests): Add tststatic5.
7749         (tests-static): Likewise.
7750         (modules-names): Add modstatic5.
7751         (tststatic5-ENV): New variable.
7752         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7754         [BZ #15022]
7755         * elf/dl-support.c (_dl_main_map): New variable.
7756         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7757         (_dl_nns, _dl_load_adds): Set to 1.
7758         (_dl_initial_searchlist): Refer to _dl_main_map.
7759         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7760         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7761         call to _dl_get_origin.
7762         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7763         around call_map.
7764         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7765         * dlfcn/modstatic3.c: New file.
7766         * dlfcn/tststatic3.c: New file.
7767         * dlfcn/tststatic4.c: New file.
7768         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7769         (tests-static): Likewise.
7770         (modules-names): Add modstatic3.
7771         (tststatic3-ENV, tststatic4-ENV): New variables.
7772         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7773         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7775 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7777         * configure.in (CC): Require GCC version 4.4 or later.
7778         * configure: Regenerated.
7779         * manual/install.texi (Tools for Compilation): Update GCC version
7780         requirement.
7781         * INSTALL: Regenerated.
7783 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7785         [BZ #15674]
7786         * string/test-memcmp.c (check2): New.
7787         (main): Call check2.
7789         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7791 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7793         [BZ #15022]
7794         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7795         over to...
7796         (dl_open_worker) [!SHARED]: ... here.
7798 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7800         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7802 2013-06-25  Richard Henderson  <rth@redhat.com>
7804         * locale/programs/locarchive.c: Include <libc-internal.h>
7806 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7808         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7809         trailing whitespace removed.
7811 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7813         [BZ #10283]
7814         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7815         * locale/programs/locarchive.c: Include libc-mmap.h.
7816         (prepare_address_space): Take two new outputs (the mmap base and len).
7817         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7818         values.
7819         (create_archive): Declare new mmap base and len values for
7820         prepare_address_space, and store the result in ah.
7821         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7822         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7823         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7824         Declare new mmap base and len values for
7825         prepare_address_space, and store the result in new_ah.
7826         (open_archive): Declare new mmap base and len values for
7827         prepare_address_space, and store the result in ah.
7828         (close_archive): If ah->mmap_base is not NULL, use that and
7829         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7830         * sysdeps/generic/libc-mmap.h: New file.
7832 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7834         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7835         (ALIGN_UP): Likewise.
7836         (PTR_ALIGN_DOWN): Likewise.
7837         (PTR_ALIGN_UP): Likewise.
7839 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7841         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7842         entry mapped to PPC_PLATFORM_POWER8.
7843         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7844         POWER8.
7845         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7846         (_dl_string_platform): Add case for exporting platform position for
7847         POWER8.
7848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7849         search path to sysdeps/powerpc/powerpc32/power8 directory.
7850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7851         search path to sysdeps/powerpc/powerpc64/power8 directory.
7852         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7853         power7 directories.
7854         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7855         power7 directories.
7857 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7859         * INSTALL: Regenerate.
7861         * nscd/connections.c (nscd_init): Fix comment.
7863 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7865         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7867         [BZ #15667]
7868         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7869         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7871 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7873         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7874         DL_DST_REQ_STATIC.
7875         (DL_DST_REQ_STATIC): Remove macro.
7877 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7879         [BZ #7006]
7880         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7881         with a shift of 0 bits.
7883 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7885         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7886         $(tststatic-ENV).
7888 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7890         [BZ #15655]
7891         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7893 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7895         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7896         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7897         accepts -fno-tree-loop-distribute-patterns.
7898         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7899         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7900         recursive call.
7901         * string/memset.c (memset): Likewise.
7902         * string/test-memmove.c (simple_memmove): Disable loop transformation
7903         to library calls.
7904         * string/test-memset.c (simple_memset): Likewise.
7905         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7906         * benchtests/bench-memset.c (simple_memset): Likewise.
7907         * configure: Regenerated.
7909 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7911         * math/test-misc.c (main): Ignore fesetround failure when failures
7912         of subsequent rounding tests would be ignored.
7914         [BZ #15654]
7915         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7916         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7917         * math/fegetenv.c (__fegetenv): Return 0.
7918         * math/fegetexcept.c (fegetexcept): Return 0.
7919         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7920         FE_TONEAREST.
7921         * math/feholdexcpt.c (feholdexcept): Return 0.
7922         * math/fesetenv.c (__fesetenv): Return 0.
7923         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7924         argument FE_TONEAREST.
7925         * math/feupdateenv.c (__feupdateenv): Return 0.
7926         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7928 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7930         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7931         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7932         ($(objpfx)rtld-%.os rules): Use them.
7934 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7936         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7937         fields.
7939 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7941         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7942         length of target pattern, then descending length of dependency pattern.
7943         * configure.in (AWK): Require gawk 3.1.2 or newer.
7944         * manual/install.texi (Tools for Compilation): Say that we do.
7945         * configure: Regenerated.
7947         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7948         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7949         * scripts/sysd-rules.awk: ... this new script.
7950         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7951         than a glob-style pattern.
7953 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7955         * math/test-misc.c (main): Do not treat incorrectly rounded
7956         conversions as failure unless ROUNDING_TESTS passes.
7958 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7960         [BZ #15631]
7961         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7962         restore exception state around main square root computation, then
7963         check for inexactness explicitly.
7965         * math/libm-test.inc (fma_test_data): Add another test.
7967 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7969         * manual/threads.texi (Non-POSIX Extensions): New document
7970         node.  Document pthread_getattr_default_np and
7971         pthread_setattr_default_np.
7973         * Versions.def (libpthread): Add GLIBC_2.18.
7974         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7976         Likewise.
7977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7978         Likewise.
7979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7980         Likewise.
7981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7982         Likewise.
7983         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7984         Likewise.
7985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7986         Likewise.
7987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7988         Likewise.
7989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7990         Likewise.
7991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7992         Likewise.
7994 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7997         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7999 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8000             H.J. Lu  <hjl.tools@gmail.com>
8002         [BZ #15627]
8003         * sysdeps/x86_64/rtld-memset.c: Remove file.
8004         * sysdeps/x86_64/rtld-memset.S: New file.
8006 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
8008         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8009         (test_in_one_mode): Take arguments for whether the rounding mode
8010         is supported for each floating-point type.
8011         (do_test): Pass new arguments to test_in_one_mode using
8012         ROUNDING_TESTS.
8014 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8016         * posix/tst-waitid.c (do_test): Distinguish different instances of
8017         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
8018         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8019         before entering the kernel for waitpid.
8021 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8023         * NEWS: Fix note on clock function precision.  Text by Roland
8024         McGrath.
8026 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8028         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8029         it into place only when and if the sanity check passes.
8031 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
8033         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8034         output for whether conversion result is exact.  Take argument
8035         indicating whether type is IBM long double.
8036         (round_for_all): Change need_exact field to ibm_ld.
8037         * stdlib/tst-strtod-round.c (struct exactness): New type.
8038         (struct test): Change bool ld_ok field to struct exactness exact.
8039         (TEST): Update all definitions for change to field.
8040         (tests): Regenerate array contents.
8041         (test_in_one_mode): Take pointer to new field instead of old ld_ok
8042         field value.  Check for IBM long double here.
8043         (do_test): Update calls to test_in_one_mode.
8045 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8047         [BZ #12515]
8048         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8049         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8051 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8053         [BZ #15605]
8054         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8055         generated by the compiler on loop optimizations.
8056         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8057         general definitions.
8059 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
8061         * math/bug-nextafter.c: Include <math-tests.h>.
8062         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8063         the relevant type.
8064         * math/bug-nexttoward.c: Include <math-tests.h>.
8065         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8066         the relevant type.
8067         * math/test-misc.c: Include <math-tests.h>.
8068         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8069         the relevant type.
8071 2013-06-12  Andreas Jaeger  <aj@suse.de>
8073         * po/ia.po: Update Interlingua translation from translation
8074         project.
8076 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8078         * include/fenv.h: Include stdbool.h.
8079         (struct rm_ctx): New structure.
8080         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8081         Define macro.
8082         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8083         (SET_RESTORE_ROUNDF): Likewise.
8084         (SET_RESTORE_ROUNDL): Likewise.
8085         (SET_RESTORE_ROUND_NOEX): Likewise.
8086         (SET_RESTORE_ROUND_NOEXF): Likewise.
8087         (SET_RESTORE_ROUND_NOEXL): Likewise.
8088         (SET_RESTORE_ROUND_53BIT): Likewise.
8089         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8090         (libc_feresetround_noexf_ctx): Likewise.
8091         (libc_feresetround_noexl_ctx): Likewise.
8092         (libc_feholdsetround_53bit_ctx): Likewise.
8093         (libc_feresetround_53bit_ctx): Likewise.
8094         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8095         (libc_feholdexcept_setround_sse_ctx): New function.
8096         (libc_fesetenv_sse_ctx): Likewise.
8097         (libc_feupdateenv_sse_ctx): Likewise.
8098         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8099         (libc_feholdexcept_setround_387_ctx): Likewise.
8100         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8101         (libc_feholdsetround_387_prec_ctx): Likewise.
8102         (libc_feholdsetround_387_ctx): Likewise.
8103         (libc_feholdsetround_387_53bit_ctx): Likewise.
8104         (libc_feholdsetround_sse_ctx): Likewise.
8105         (libc_feresetround_sse_ctx): Likewise.
8106         (libc_feresetround_387_ctx): Likewise.
8107         (libc_feupdateenv_387_ctx): Likewise.
8108         (libc_feholdexcept_setroundf_ctx): Define macro.
8109         (libc_fesetenvf_ctx): Likewise.
8110         (libc_feupdateenvf_ctx): Likewise.
8111         (libc_feholdsetroundf_ctx): Likewise.
8112         (libc_feresetroundf_ctx): Likewise.
8113         (libc_feholdexcept_setround_ctx): Likewise.
8114         (libc_fesetenv_ctx): Likewise.
8115         (libc_feupdateenv_ctx): Likewise.
8116         (libc_feholdsetround_ctx): Likewise.
8117         (libc_feresetround_ctx): Likewise.
8118         (libc_feholdexcept_setroundl_ctx): Likewise.
8119         (libc_feupdateenvl_ctx): Likewise.
8120         (libc_feholdsetroundl_ctx): Likewise.
8121         (libc_feresetroundl_ctx): Likewise.
8122         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8123         (libc_feresetround_53bit_ctx): Likewise.
8125 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8127         * locale/iso-639.def: Convert to UTF-8.
8129 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8131         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8132         (EXCEPTION_TESTS_double): Likewise.
8133         (EXCEPTION_TESTS_long_double): Likewise.
8134         (EXCEPTION_TESTS): Likewise.
8135         * math/libm-test.inc (test_exceptions): Only test exceptions if
8136         EXCEPTION_TESTS (FLOAT).
8138 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8140         * benchtests/Makefile (string-bench): Add strcpy_chk and
8141         stpcpy_chk.
8142         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8143         * benchtests/bench-stpcpy_chk.c: New file.
8144         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8145         * benchtests/bench-strcpy_chk.c: New file.
8146         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8147         code.
8148         (do_test): Likewise.
8150 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8152         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8153         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8154         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8155         with tabs where appropriate.
8156         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8157         dl-procinfo.h.
8158         [PPC_PLATFORM_PPC440]: Likewise.
8159         [PPC_PLATFORM_PPC464]: Likewise.
8160         [PPC_PLATFORM_PPC476]: Likewise.
8161         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8162         ppc464, and ppc476 platform strings merging from ports/
8163         dl-procinfo.h.
8165 2013-06-11  Andreas Schwab  <schwab@suse.de>
8167         [BZ #14991]
8168         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8169         (from_ucs4_idx): Regenerate.
8170         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8171         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8172         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8173         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8174         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8175         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8176         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8177         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8178         from FROM_LOOP and TO_LOOP specific macros.
8179         (BODY): Handle combining characters.
8180         * iconvdata/BIG5HKSCS.irreversible: Update.
8181         * iconvdata/BIG5HKSCS.precomposed: New file.
8182         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8183         characters.
8184         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8186 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8188         * include/sys/time.h: Fix indentation and add copyright header.
8190         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8191         (do_test): Likewise.
8192         * string/test-memchr.c (do_one_test): Likewise.
8193         (do_test): Likewise.
8194         * string/test-memcmp.c (do_one_test): Likewise.
8195         (do_test): Likewise.
8196         * string/test-memcpy.c (do_one_test): Likewise.
8197         (do_test): Likewise.
8198         * string/test-memmem.c (do_one_test): Likewise.
8199         (do_test): Likewise.
8200         (do_random_tests): Likewise.
8201         * string/test-memmove.c (do_one_test): Likewise.
8202         (do_test): Likewise.
8203         * string/test-memset.c (do_one_test): Likewise.
8204         (do_test): Likewise.
8205         * string/test-rawmemchr.c (do_one_test): Likewise.
8206         (do_test): Likewise.
8207         * string/test-strcasecmp.c (do_one_test): Likewise.
8208         (do_test): Likewise.
8209         * string/test-strcasestr.c (do_one_test): Likewise.
8210         (do_test): Likewise.
8211         * string/test-strcat.c (do_one_test): Likewise.
8212         (do_test): Likewise.
8213         * string/test-strchr.c (do_one_test): Likewise.
8214         (do_test): Likewise.
8215         * string/test-strcmp.c (do_one_test): Likewise.
8216         (do_test): Likewise.
8217         * string/test-strcpy.c (do_one_test): Likewise.
8218         (do_test): Likewise.
8219         * string/test-string.h: Likewise.
8220         (test_init): Likewise.
8221         * string/test-strlen.c (do_one_test): Likewise.
8222         (do_test): Likewise.
8223         * string/test-strncasecmp.c (do_one_test): Likewise.
8224         (do_test): Likewise.
8225         * string/test-strncat.c (do_one_test): Likewise.
8226         (do_test): Likewise.
8227         * string/test-strncmp.c (do_one_test): Likewise.
8228         (do_test_limit): Likewise.
8229         (do_test): Likewise.
8230         * string/test-strncpy.c (do_one_test): Likewise.
8231         (do_test): Likewise.
8232         * string/test-strnlen.c (do_one_test): Likewise.
8233         (do_test): Likewise.
8234         * string/test-strpbrk.c (do_one_test): Likewise.
8235         (do_test): Likewise.
8236         * string/test-strrchr.c (do_one_test): Likewise.
8237         (do_test): Likewise.
8238         * string/test-strspn.c (do_one_test): Likewise.
8239         (do_test): Likewise.
8240         * string/test-strstr.c (do_one_test): Likewise.
8241         (do_test): Likewise.
8243         * benchtests/Makefile (string-bench): Add string benchmarks.
8244         * benchtests/bench-bcopy-ifunc.c: New file.
8245         * benchtests/bench-bcopy.c: New file.
8246         * benchtests/bench-bzero-ifunc.c: New file.
8247         * benchtests/bench-bzero.c: New file.
8248         * benchtests/bench-memccpy-ifunc.c: New file.
8249         * benchtests/bench-memccpy.c: New file.
8250         * benchtests/bench-memchr-ifunc.c: New file.
8251         * benchtests/bench-memchr.c: New file.
8252         * benchtests/bench-memcmp-ifunc.c: New file.
8253         * benchtests/bench-memcmp.c: New file.
8254         * benchtests/bench-memmem-ifunc.c: New file.
8255         * benchtests/bench-memmem.c: New file.
8256         * benchtests/bench-memmove-ifunc.c: New file.
8257         * benchtests/bench-memmove.c: New file.
8258         * benchtests/bench-mempcpy-ifunc.c: New file.
8259         * benchtests/bench-mempcpy.c: New file.
8260         * benchtests/bench-memset-ifunc.c: New file.
8261         * benchtests/bench-memset.c: New file.
8262         * benchtests/bench-rawmemchr-ifunc.c: New file.
8263         * benchtests/bench-rawmemchr.c: New file.
8264         * benchtests/bench-stpcpy-ifunc.c: New file.
8265         * benchtests/bench-stpcpy.c: New file.
8266         * benchtests/bench-stpncpy-ifunc.c: New file.
8267         * benchtests/bench-stpncpy.c: New file.
8268         * benchtests/bench-strcasecmp-ifunc.c: New file.
8269         * benchtests/bench-strcasecmp.c: New file.
8270         * benchtests/bench-strcasestr-ifunc.c: New file.
8271         * benchtests/bench-strcasestr.c: New file.
8272         * benchtests/bench-strcat-ifunc.c: New file.
8273         * benchtests/bench-strcat.c: New file.
8274         * benchtests/bench-strchr-ifunc.c: New file.
8275         * benchtests/bench-strchr.c: New file.
8276         * benchtests/bench-strchrnul-ifunc.c: New file.
8277         * benchtests/bench-strchrnul.c: New file.
8278         * benchtests/bench-strcmp-ifunc.c: New file.
8279         * benchtests/bench-strcmp.c: New file.
8280         * benchtests/bench-strcpy-ifunc.c: New file.
8281         * benchtests/bench-strcpy.c: New file.
8282         * benchtests/bench-strcspn-ifunc.c: New file.
8283         * benchtests/bench-strcspn.c: New file.
8284         * benchtests/bench-strlen-ifunc.c: New file.
8285         * benchtests/bench-strlen.c: New file.
8286         * benchtests/bench-strncasecmp-ifunc.c: New file.
8287         * benchtests/bench-strncasecmp.c: New file.
8288         * benchtests/bench-strncat-ifunc.c: New file.
8289         * benchtests/bench-strncat.c: New file.
8290         * benchtests/bench-strncmp-ifunc.c: New file.
8291         * benchtests/bench-strncmp.c: New file.
8292         * benchtests/bench-strncpy-ifunc.c: New file.
8293         * benchtests/bench-strncpy.c: New file.
8294         * benchtests/bench-strnlen-ifunc.c: New file.
8295         * benchtests/bench-strnlen.c: New file.
8296         * benchtests/bench-strpbrk-ifunc.c: New file.
8297         * benchtests/bench-strpbrk.c: New file.
8298         * benchtests/bench-strrchr-ifunc.c: New file.
8299         * benchtests/bench-strrchr.c: New file.
8300         * benchtests/bench-strspn-ifunc.c: New file.
8301         * benchtests/bench-strspn.c: New file.
8302         * benchtests/bench-strstr-ifunc.c: New file.
8303         * benchtests/bench-strstr.c: New file.
8305         * benchtests/Makefile: Disable parallel execution of targets.
8306         (string-bench): Add memcpy.
8307         (benchset): New variable to store a list of benchmark sets.
8308         (bench-func): Renamed from bench.
8309         (bench-set): New target.
8310         (bench): Depend on bench-func and bench-set.
8311         * benchtests/README: Add section on benchmark sets.
8312         * benchtests/bench-memcpy-ifunc.c: New file.
8313         * benchtests/bench-memcpy.c: New file.
8314         * benchtests/bench-string.h: New file.
8316 2013-06-11  Andreas Schwab  <schwab@suse.de>
8318         [BZ #15577]
8319         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8320         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8321         values in the triple.
8322         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8323         terminator in the group key.
8325 2013-06-11  Andreas Jaeger  <aj@suse.de>
8327         * po/zh_TW.po: Update Chinese (traditional) translation from
8328         translation project.
8330 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8332         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8333         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8334         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
8335         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8336         (clock_getcpuclockid): Likewise.
8337         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8338         Add weak_alias and libc_hidden_def.
8339         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8340         * rt/clock_gettime.c (clock_gettime): Rename to
8341         __clock_gettime.  Add weak_alias and libc_hidden_def.
8342         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8343         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8344         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
8345         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8346         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8347         Likewise.
8348         * rt/clock_settime.c (clock_settime): Rename to
8349         __clock_settime.  Add weak_alias and libc_hidden_def.
8350         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8352 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
8354         * mach/err_boot.sub: Remove trailing whitespace.
8355         * mach/err_ipc.sub: Likewise.
8356         * mach/err_mach.sub: Likewise.
8358         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8359         (ROUNDING_TESTS_double): Likewise.
8360         (ROUNDING_TESTS_long_double): Likewise.
8361         (ROUNDING_TESTS): Likewise.
8362         * math/libm-test.inc: Include <math-tests.h>.
8363         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8364         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8365         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8366         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8368 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8370         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8371         of assigning.
8373 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8375         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8376         otherwise empty TRANS lines.
8377         * sysdeps/gnu/errlist.c: Regenerated.
8379         * catgets/gencat.c (error_print): Use (void) in function
8380         definition.
8381         * crypt/crypt_util.c (__init_des): Likewise.
8382         * crypt/speeds.c (Stop): Likewise.
8383         (main): Likewise.
8384         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8385         * inet/ruserpass.c (token): Likewise.
8386         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8387         * intl/localealias.c (extend_alias_table): Likewise.
8388         * intl/plural-exp.c (init_germanic_plural): Likewise.
8389         * libio/fcloseall.c (__fcloseall): Likewise.
8390         * libio/genops.c (_IO_flush_all): Likewise.
8391         (_IO_flush_all_linebuffered): Likewise.
8392         (_IO_cleanup): Likewise.
8393         (_IO_iter_begin): Likewise.
8394         (_IO_iter_end): Likewise.
8395         (_IO_list_lock): Likewise.
8396         (_IO_list_unlock): Likewise.
8397         (_IO_list_resetlock): Likewise.
8398         * libio/getchar.c (getchar): Likewise.
8399         * libio/getchar_u.c (getchar_unlocked): Likewise.
8400         * libio/getwchar.c (getwchar): Likewise.
8401         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8402         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8403         * login/getpt.c (__getpt): Likewise.
8404         * login/tst-utmp.c (main): Likewise.
8405         * malloc/hooks.c (__malloc_check_init): Likewise.
8406         * malloc/malloc.c (__malloc_stats): Likewise.
8407         * malloc/mtrace.c (tr_break): Likewise.
8408         (mtrace): Likewise.
8409         (muntrace): Likewise.
8410         * misc/fstab.c (endfsent): Likewise.
8411         * misc/getclktck.c (__getclktck): Likewise.
8412         * misc/getdtsz.c (__getdtablesize): Likewise.
8413         * misc/gethostid.c (gethostid): Likewise.
8414         * misc/getpagesize.c (__getpagesize): Likewise.
8415         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8416         (__get_nprocs): Likewise.
8417         (__get_phys_pages): Likewise.
8418         (__get_avphys_pages): Likewise.
8419         * misc/getttyent.c (getttyent): Likewise.
8420         (setttyent): Likewise.
8421         (endttyent): Likewise.
8422         * misc/getusershell.c (getusershell): Likewise.
8423         (endusershell): Likewise.
8424         (setusershell): Likewise.
8425         (initshells): Likewise.
8426         * misc/hsearch.c (__hdestroy): Likewise.
8427         * misc/sync.c (sync): Likewise.
8428         * misc/syslog.c (closelog_internal): Likewise.
8429         (closelog): Likewise.
8430         * misc/ttyslot.c (ttyslot): Likewise.
8431         * misc/vhangup.c (vhangup): Likewise.
8432         * posix/fork.c (__fork): Likewise.
8433         * posix/getegid.c (__getegid): Likewise.
8434         * posix/geteuid.c (__geteuid): Likewise.
8435         * posix/getgid.c (__getgid): Likewise.
8436         * posix/getpid.c (__getpid): Likewise.
8437         * posix/getppid.c (__getppid): Likewise.
8438         * posix/getuid.c (__getuid): Likewise.
8439         * posix/pause.c (pause): Likewise.
8440         * posix/setpgrp.c (setpgrp): Likewise.
8441         * posix/setsid.c (__setsid): Likewise.
8442         * posix/test-vfork.c (noop): Likewise.
8443         * resolv/gethnamaddr.c (_endhtent): Likewise.
8444         (_gethtent): Likewise.
8445         (ht_endhostent): Likewise.
8446         (gethostent): Likewise.
8447         (dns_service): Likewise.
8448         * stdlib/drand48.c (drand48): Likewise.
8449         * stdlib/lrand48.c (lrand48): Likewise.
8450         * stdlib/mrand48.c (mrand48): Likewise.
8451         * stdlib/rand.c (rand): Likewise.
8452         * stdlib/random.c (__random): Likewise.
8453         * stdlib/setenv.c (clearenv): Likewise.
8454         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8455         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8456         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8457         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8458         (__get_nprocs): Likewise.
8459         (__get_phys_pages): Likewise.
8460         (__get_avphys_pages): Likewise.
8461         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8462         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8463         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8464         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8465         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8466         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8467         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8468         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8469         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8470         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8471         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8472         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8473         * sysdeps/posix/clock.c (clock): Likewise.
8474         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8475         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8476         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8477         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8478         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8479         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8480         (__get_nprocs_conf): Likewise.
8481         (__get_phys_pages): Likewise.
8482         (__get_avphys_pages): Likewise.
8483         * time/clock.c (clock): Likewise.
8484         * time/tzset.c (__tzname_max): Likewise.
8486 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8488         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8489         (__bswap_32): Do not use "register".
8490         * crypt/crypt.c (_ufc_doit_r): Likewise.
8491         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8492         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8493         * gmon/gmon.c (__monstartup): Likewise.
8494         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8495         * hurd/hurdmalloc.c (more_memory): Likewise.
8496         (malloc): Likewise.
8497         (free): Likewise.
8498         (realloc): Likewise.
8499         (malloc_fork_prepare): Likewise.
8500         (malloc_fork_parent): Likewise.
8501         (malloc_fork_child): Likewise.
8502         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8503         (_svcauth_des): Likewise.
8504         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8505         * inet/inet_net.c (inet_network): Likewise.
8506         * inet/inet_netof.c (inet_netof): Likewise.
8507         * inet/rcmd.c (__validuser2_sa): Likewise.
8508         * io/fts.c (fts_open): Likewise.
8509         (fts_load): Likewise.
8510         (fts_close): Likewise.
8511         (fts_read): Likewise.
8512         (fts_children): Likewise.
8513         (fts_build): Likewise.
8514         (fts_stat): Likewise.
8515         (fts_sort): Likewise.
8516         (fts_alloc): Likewise.
8517         (fts_lfree): Likewise.
8518         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8519         (_IO_file_xsgetn): Likewise.
8520         (_IO_file_xsgetn_mmap): Likewise.
8521         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8522         (_IO_cookie_write): Likewise.
8523         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8524         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8525         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8526         * malloc/obstack.c (_obstack_begin): Likewise.
8527         (_obstack_begin_1): Likewise.
8528         (_obstack_newchunk): Likewise.
8529         (_obstack_allocated_p): Likewise.
8530         (obstack_free): Likewise.
8531         (_obstack_memory_used): Likewise.
8532         * misc/getttyent.c (getttynam): Likewise.
8533         (getttyent): Likewise.
8534         (skip): Likewise.
8535         (value): Likewise.
8536         * misc/getusershell.c (initshells): Likewise.
8537         * misc/syslog.c (__vsyslog_chk): Likewise.
8538         * misc/ttyslot.c (ttyslot): Likewise.
8539         * nis/nis_hash.c (__nis_hash): Likewise.
8540         * posix/fnmatch_loop.c (FCT): Likewise.
8541         * posix/getconf.c (print_all): Likewise.
8542         (main): Likewise.
8543         * posix/getopt.c (exchange): Likewise.
8544         * posix/glob.c (globfree): Likewise.
8545         (prefix_array): Likewise.
8546         (__glob_pattern_type): Likewise.
8547         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8548         (NS_GET32): Likewise.
8549         (NS_PUT16): Likewise.
8550         (NS_PUT32): Likewise.
8551         * resolv/gethnamaddr.c (getanswer): Likewise.
8552         (gethostbyname2): Likewise.
8553         (gethostbyaddr): Likewise.
8554         (_gethtent): Likewise.
8555         (_gethtbyname2): Likewise.
8556         (_gethtbyaddr): Likewise.
8557         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8558         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8559         * resolv/res_init.c (__res_vinit): Likewise.
8560         (net_mask): Likewise.
8561         * resolv/res_mkquery.c (outchar): Likewise.
8562         (PRINT): Likewise.
8563         * stdio-common/printf_fp.c (outchar): Likewise.
8564         (PRINT): Likewise.
8565         * stdio-common/printf_fphex.c (outchar): Likewise.
8566         (PRINT): Likewise.
8567         * stdio-common/printf_size.c (outchar): Likewise.
8568         (PRINT): Likewise.
8569         * stdio-common/test_rdwr.c (main): Likewise.
8570         * stdio-common/tfformat.c (matches): Likewise.
8571         * stdio-common/vfprintf.c (outchar): Likewise.
8572         (printf_unknown): Likewise.
8573         (buffered_vfprintf): Likewise.
8574         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8575         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8576         (ReadFile): Likewise.
8577         * stdlib/qsort.c (SWAP): Likewise.
8578         (_quicksort): Likewise.
8579         * stdlib/setenv.c (__add_to_environ): Likewise.
8580         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8581         * stdlib/strtol_l.c (__strtol_l): Likewise.
8582         * stdlib/tst-strtod.c (main): Likewise.
8583         * stdlib/tst-strtol.c (main): Likewise.
8584         * stdlib/tst-strtoll.c (main): Likewise.
8585         * string/bits/string2.h (__strcmp_cc): Likewise.
8586         (__strcmp_cg): Likewise.
8587         (__strcspn_c1): Likewise.
8588         (__strcspn_c2): Likewise.
8589         (__strcspn_c3): Likewise.
8590         (__strspn_c1): Likewise.
8591         (__strspn_c2): Likewise.
8592         (__strspn_c3): Likewise.
8593         (__strsep_1c): Likewise.
8594         (__strsep_2c): Likewise.
8595         (__strsep_3c): Likewise.
8596         * string/memccpy.c (__memccpy): Likewise.
8597         * string/stpcpy.c (__stpcpy): Likewise.
8598         * string/strcmp.c (strcmp): Likewise.
8599         * string/strrchr.c (strrchr): Likewise.
8600         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8601         Likewise.
8602         * sysdeps/mach/hurd/getcwd.c
8603         (_hurd_canonicalize_directory_name_internal): Likewise.
8604         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8605         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8606         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8607         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8608         Likewise, in both definitions.
8609         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8610         definitions.
8611         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8612         64] (__bswap_64): Likewise.
8613         * time/test_time.c (main): Likewise.
8614         * time/tzfile.c (__tzfile_read): Likewise.
8615         (__tzfile_compute): Likewise.
8616         * time/tzset.c (__tzset_parse_tz): Likewise.
8617         (tzset_internal): Likewise.
8618         (compute_change): Likewise.
8619         * wcsmbs/wcscat.c (__wcscat): Likewise.
8620         * wcsmbs/wcschr.c (wcschr): Likewise.
8621         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8622         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8623         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8624         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8625         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8626         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8627         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8628         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8629         * wcsmbs/wmemset.c (wmemset): Likewise.
8631 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8633         * scripts/config.guess: Update to version 2013-05-16.
8634         * scripts/config.sub: Update to version 2013-04-24.
8635         * scripts/install-sh: Update to version 2011-11-20.07.
8636         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8637         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8639 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8641         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8642         * elf/sln.c: Likewise.
8643         * hurd/hurd/ioctl.h: Likewise.
8644         * hurd/hurdmalloc.c: Likewise.
8645         * hurd/xattr.c: Likewise.
8646         * include/shlib-compat.h: Likewise.
8647         * inet/ruserpass.c: Likewise.
8648         * libio/iofgets_u.c: Likewise.
8649         * libio/iofgetws_u.c: Likewise.
8650         * locale/programs/ld-identification.c: Likewise.
8651         * locale/programs/ld-time.c: Likewise.
8652         * mach/msg-destroy.c: Likewise.
8653         * nss/nss_files/files-netgrp.c: Likewise.
8654         * resolv/res_data.c: Likewise.
8655         * soft-fp/op-1.h: Likewise.
8656         * soft-fp/op-2.h: Likewise.
8657         * soft-fp/op-4.h: Likewise.
8658         * soft-fp/op-common.h: Likewise.
8659         * stdio-common/printf_fphex.c: Likewise.
8660         * stdlib/strtod_l.c: Likewise.
8661         * sunrpc/rpc/clnt.h: Likewise.
8662         * sysdeps/generic/framestate.c: Likewise.
8663         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8664         * sysdeps/i386/bsd-setjmp.S: Likewise.
8665         * sysdeps/i386/__longjmp.S: Likewise.
8666         * sysdeps/i386/setjmp.S: Likewise.
8667         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8668         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8669         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8670         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8671         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8672         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8673         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8674         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8675         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8676         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8677         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8678         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8679         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8680         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8681         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8682         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8683         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8684         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8685         * sysdeps/ieee754/support.c: Likewise.
8686         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8687         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8688         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8689         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8690         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8691         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8692         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8693         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8694         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8695         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8696         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8697         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8698         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8699         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8700         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8701         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8702         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8705 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8707         * posix/transbug.c: Remove executable mode.
8709 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8711         * crypt/speeds.c: Remove trailing whitespace.
8712         * dlfcn/default.c: Likewise.
8713         * elf/ifuncdep2.c: Likewise.
8714         * elf/ifuncmain1.c: Likewise.
8715         * elf/ifuncmain1vis.c: Likewise.
8716         * elf/testobj.h: Likewise.
8717         * elf/tst-stackguard1.c: Likewise.
8718         * gmon/sys/gmon.h: Likewise.
8719         * hurd/hurdmsg.c: Likewise.
8720         * hurd/new-fd.c: Likewise.
8721         * hurd/ports-get.c: Likewise.
8722         * iconvdata/ibm1008_420.c: Likewise.
8723         * inet/tst-getni1.c: Likewise.
8724         * inet/tst-getni2.c: Likewise.
8725         * libio/ioungetc.c: Likewise.
8726         * libio/wfiledoalloc.c: Likewise.
8727         * manual/libm-err-tab.pl: Likewise.
8728         * math/w_dremf.c: Likewise.
8729         * misc/ftruncate.c: Likewise.
8730         * posix/bug-glob2.c: Likewise.
8731         * posix/tst-pcre.c: Likewise.
8732         * posix/wait4.c: Likewise.
8733         * resolv/README: Likewise.
8734         * resolv/res_debug.h: Likewise.
8735         * resolv/tst-inet_ntop.c: Likewise.
8736         * setjmp/bug269-setjmp.c: Likewise.
8737         * soft-fp/extended.h: Likewise.
8738         * soft-fp/op-1.h: Likewise.
8739         * soft-fp/op-2.h: Likewise.
8740         * soft-fp/op-4.h: Likewise.
8741         * soft-fp/op-8.h: Likewise.
8742         * soft-fp/testit.c: Likewise.
8743         * stdio-common/bug16.c: Likewise.
8744         * stdlib/random.c: Likewise.
8745         * sunrpc/rpcsvc/rquota.x: Likewise.
8746         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8747         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8748         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8749         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8750         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8751         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8752         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8753         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8754         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8755         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8756         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8757         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8758         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8759         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8760         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8761         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8762         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8763         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8764         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8765         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8766         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8767         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8768         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8769         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8770         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8771         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8774         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8775         * sysdeps/ieee754/s_lib_version.c: Likewise.
8776         * sysdeps/mach/hurd/check_fds.c: Likewise.
8777         * sysdeps/mach/hurd/getsockname.c: Likewise.
8778         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8779         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8780         * sysdeps/powerpc/bits/link.h: Likewise.
8781         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8782         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8783         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8784         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8785         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8786         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8787         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8788         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8789         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8790         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8791         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8792         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8793         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8794         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8795         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8796         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8797         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8798         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8799         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8800         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8801         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8802         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8803         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8804         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8805         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8806         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8807         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8808         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8809         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8810         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8811         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8813         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8814         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8815         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8816         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8817         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8818         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8819         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8820         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8821         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8822         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8823         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8824         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8825         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8826         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8827         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8828         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8829         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8830         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8833         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8834         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8835         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8836         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8837         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8838         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8839         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8840         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8841         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8842         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8843         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8844         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8845         * sysdeps/powerpc/sysdep.h: Likewise.
8846         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8847         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8848         * sysdeps/sh/dl-trampoline.S: Likewise.
8849         * sysdeps/sh/memset.S: Likewise.
8850         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8851         * sysdeps/sh/strlen.S: Likewise.
8852         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8853         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8854         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8855         * sysdeps/sparc/sparc32/rem.S: Likewise.
8856         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8857         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8858         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8859         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8860         * sysdeps/sparc/sparc32/urem.S: Likewise.
8861         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8862         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8863         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8864         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8865         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8866         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8867         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8868         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8869         * sysdeps/unix/bsd/times.c: Likewise.
8870         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8871         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8875         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8876         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8877         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8878         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8879         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8880         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8881         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8882         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8883         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8884         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8885         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8886         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8887         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8888         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8889         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8890         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8891         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8892         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8893         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8894         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8895         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8896         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8897         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8898         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8899         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8900         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8901         * sysdeps/x86_64/strcspn.S: Likewise.
8903 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8905         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8906         generated file.  Regenerate properly from gen-translit.pl.
8907         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8908         locale/C-translit.h.
8910 2013-06-05  Andreas Schwab  <schwab@suse.de>
8912         [BZ #15100]
8913         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8914         week as 6 instead of -1.
8915         * time/tst-strptime.c (day_tests): Add test case.
8917 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8919         * sysdeps/generic/math_private.h
8920         (libc_feholdexcept_setround_53bit): Replace with
8921         libc_feholdsetround_53bit.
8922         (libc_feupdateenv_53bit): Replace with
8923         libc_feresetround_53bit.
8924         (SET_RESTORE_ROUND_53BIT): Adjust.
8926 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8928         * string/test-strchrnul.c: Add copyright header.
8930         * posix/tst-getaddrinfo4.c: Increase test timeout.
8932 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8934         [BZ #15536]
8935         * math/libm-test.inc (MAX_EXP): Remove
8936         (MIN_EXP): Define.
8937         (ulp): Use MIN_EXP - MANT_DIG.
8938         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8940 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8942         * po/be.po: Revert last change.
8943         * po/zh_CN.po: Likewise.
8944         * po/header.pot: Likewise.
8946 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8948         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8949         link-libc-deps to empty as target-specific variable.
8950         * Makerules (link-libc-args): New variable.
8951         (libc-for-link): Likewise.
8952         (link-libc-deps): Likewise.
8953         (lib%.so): Depend on $(link-libc-deps).  Link with
8954         $(link-libc-args).
8955         (build-module): Link with $(link-libc-args).
8956         (build-module-asneeded): Likewise.
8957         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8958         list of objects.
8959         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8960         target-specific variable.
8961         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8962         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8963         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8964         libc.
8965         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8966         libc and ld.so.
8967         ($(objpfx)libpcprofile.so): Likewise.
8968         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8969         libc_nonshared.a.
8970         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8971         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8972         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8973         $(link-libc-deps).
8974         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8975         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8976         * login/Makefile ($(objpfx)libutil.so): Likewise.
8977         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8978         * math/Makefile ($(objpfx)libm.so): Likewise.
8979         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8980         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8981         variable instead of depending directly on libc.
8982         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8983         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8984         $(link-libc-deps).
8985         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8986         libc.
8987         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8988         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8989         ($(objpfx)libanl.so): Likewise.
8990         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8991         ld.so.
8992         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8993         $(link-libc-deps).
8994         * sysdeps/i386/fpu/Makefile: Remove file.
8995         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8996         ($(objpfx)libm.so): Remove dependency on ld.so.
8998 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
9000         [BZ # 15553]
9001         * nis/yp_xdr.c (XDRMAXNAME): Define.
9002         (XDRMAXRECORD): Define.
9003         (xdr_domainname): Use XDRMAXNAME.
9004         (xdr_mapname): Likewise.
9005         (xdr_peername): Likewise.
9006         (xdr_keydat): Use XDRMAXRECORD.
9007         (xdr_valdat): Likewise.
9009 2013-05-30  Jeff Law  <law@redhat.com>
9011         [BZ #14256]
9012         * manual/errno.texi (ESTALE): Update to account for more than
9013         just NFS file systems.
9014         * sysdeps/gnu/errlist.c: Regenerated.
9016 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9018         [BZ #15465]
9019         * elf/Makefile (tests): Add tst-null-argv.
9020         (modules-names):  Add tst-null-argv-lib.
9021         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9022         (tst-null-argv-ENV): Set environment for tst-null-argv.
9023         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9024         (RTLD_PROGNAME): New macro.
9025         * elf/tst-null-argv.c: New test case.
9026         * elf/tst-null-argv-lib.c: Library for test case.
9027         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9028         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9029         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9030         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9031         * elf/dl-init.c (call_init): Likewise.
9032         (_dl_init): Likewise.
9033         * elf/dl-load.c (print_search_path): Likewise.
9034         (_dl_map_object): Likewise.
9035         * elf/dl-lookup.c (do_lookup_x): Likewise.
9036         (add_dependency): Likewise.
9037         (_dl_lookup_symbol_x): Likewise.
9038         (_dl_debug_bindings): Likewise.
9039         * elf/dl-open.c (_dl_show_scope): Likewise.
9040         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9041         * elf/dl-version.c (match_symbol): Likewise.
9042         (_dl_check_map_versions): Likewise.
9043         * elf/rtld.c (dl_main): Likewise.
9044         (print_unresolved): Use RTLD_PROGNAME.
9045         (print_missing_version): Likewise.
9046         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9047         (elf_machine_rela): Likewise.
9048         * sysdeps/powerpc/powerpc32/dl-machine.c
9049         (__process_machine_rela): Likewise.
9050         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9051         Likewise.
9052         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9053         Likewise.
9054         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9055         Likewise.
9056         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9057         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9058         Likewise.
9059         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9060         Likewise.
9061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9063 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
9065         * po/be.po: Add descriptive title.
9066         * po/zh_CN.po: Likewise.
9067         * po/header.pot: Likewise.
9069 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
9071         * locale/programs/locarchive.c (create_archive): Inlucde fname in
9072         error message.
9073         (enlarge_archive): Likewise.
9075 2013-05-28  Ben North  <ben@redfrontdoor.org>
9077         * manual/arith.texi (frexp): It is the magnitude of the return
9078         value which lies in [0.5, 1), not the return value itself.
9080 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9084 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
9086         * stdio-common/bug26.c (main): Correct fscanf template.
9088         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9089         declare _dl_skip_args.
9091         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9092         Don't declare.
9094         * manual/platform.texi: Add missing @end deftypefun.
9096 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9098         [BZ #15529]
9099         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9100         bit of mantissa of 2^16382.
9101         * math/libm-test.inc (hypot_test_data): Add more tests.
9103         * math/libm-test.inc: Add drem and pow10 to list of tested
9104         functions.
9105         (pow10_test): New function.
9106         (drem_test): Likewise.
9107         (drem_test_tonearest): Likewise.
9108         (drem_test_towardzero): Likewise.
9109         (drem_test_downward): Likewise.
9110         (drem_test_upward): Likewise.
9111         (main): Call the new functions.
9113         * math/libm-test.inc (finite_test_data): Remove.
9114         (finite_test): Run tests from isfinite_test_data.
9115         (gamma_test_data): Remove.
9116         (gamma_test): Run tests from lgamma_test_data.
9117         * sysdeps/i386/fpu/libm-test-ulps: Update.
9118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9120 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9122         * manual/platform.texi: Add PowerPC PPR function set documentation.
9123         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9124         implementation.
9126 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9128         * math/libm-test.inc (MAX_EXP): Define.
9129         (ULPDIFF): Define.
9130         (ulp): New function.
9131         (check_float_internal): Use ULPDIFF.
9132         (cpow_test): Disable failing test.
9133         (check_ulp): Test ulp() implemetnation.
9134         (main): Call check_ulp before starting tests.
9136 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9138         * math/gen-libm-test.pl (generate_testfile): Do not handle
9139         START_DATA and END_DATA.
9140         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9141         END_DATA.
9142         (acos_tonearest_test_data): Likewise.
9143         (acos_towardzero_test_data): Likewise.
9144         (acos_downward_test_data): Likewise.
9145         (acos_upward_test_data): Likewise.
9146         (acosh_test_data): Likewise.
9147         (asin_test_data): Likewise.
9148         (asin_tonearest_test_data): Likewise.
9149         (asin_towardzero_test_data): Likewise.
9150         (asin_downward_test_data): Likewise.
9151         (asin_upward_test_data): Likewise.
9152         (asinh_test_data): Likewise.
9153         (atan_test_data): Likewise.
9154         (atanh_test_data): Likewise.
9155         (atan2_test_data): Likewise.
9156         (cabs_test_data): Likewise.
9157         (cacos_test_data): Likewise.
9158         (cacosh_test_data): Likewise.
9159         (carg_test_data): Likewise.
9160         (casin_test_data): Likewise.
9161         (casinh_test_data): Likewise.
9162         (catan_test_data): Likewise.
9163         (catanh_test_data): Likewise.
9164         (cbrt_test_data): Likewise.
9165         (ccos_test_data): Likewise.
9166         (ccosh_test_data): Likewise.
9167         (ceil_test_data): Likewise.
9168         (cexp_test_data): Likewise.
9169         (cimag_test_data): Likewise.
9170         (clog_test_data): Likewise.
9171         (clog10_test_data): Likewise.
9172         (conj_test_data): Likewise.
9173         (copysign_test_data): Likewise.
9174         (cos_test_data): Likewise.
9175         (cos_tonearest_test_data): Likewise.
9176         (cos_towardzero_test_data): Likewise.
9177         (cos_downward_test_data): Likewise.
9178         (cos_upward_test_data): Likewise.
9179         (cosh_test_data): Likewise.
9180         (cosh_tonearest_test_data): Likewise.
9181         (cosh_towardzero_test_data): Likewise.
9182         (cosh_downward_test_data): Likewise.
9183         (cosh_upward_test_data): Likewise.
9184         (cpow_test_data): Likewise.
9185         (cproj_test_data): Likewise.
9186         (creal_test_data): Likewise.
9187         (csin_test_data): Likewise.
9188         (csinh_test_data): Likewise.
9189         (csqrt_test_data): Likewise.
9190         (ctan_test_data): Likewise.
9191         (ctan_tonearest_test_data): Likewise.
9192         (ctan_towardzero_test_data): Likewise.
9193         (ctan_downward_test_data): Likewise.
9194         (ctan_upward_test_data): Likewise.
9195         (ctanh_test_data): Likewise.
9196         (ctanh_tonearest_test_data): Likewise.
9197         (ctanh_towardzero_test_data): Likewise.
9198         (ctanh_downward_test_data): Likewise.
9199         (ctanh_upward_test_data): Likewise.
9200         (erf_test_data): Likewise.
9201         (erfc_test_data): Likewise.
9202         (exp_test_data): Likewise.
9203         (exp_tonearest_test_data): Likewise.
9204         (exp_towardzero_test_data): Likewise.
9205         (exp_downward_test_data): Likewise.
9206         (exp_upward_test_data): Likewise.
9207         (exp10_test_data): Likewise.
9208         (exp2_test_data): Likewise.
9209         (expm1_test_data): Likewise.
9210         (fabs_test_data): Likewise.
9211         (fdim_test_data): Likewise.
9212         (finite_test_data): Likewise.
9213         (floor_test_data): Likewise.
9214         (fma_test_data): Likewise.
9215         (fma_towardzero_test_data): Likewise.
9216         (fma_downward_test_data): Likewise.
9217         (fma_upward_test_data): Likewise.
9218         (fmax_test_data): Likewise.
9219         (fmin_test_data): Likewise.
9220         (fmod_test_data): Likewise.
9221         (fpclassify_test_data): Likewise.
9222         (frexp_test_data): Likewise.
9223         (gamma_test_data): Likewise.
9224         (hypot_test_data): Likewise.
9225         (ilogb_test_data): Likewise.
9226         (isfinite_test_data): Likewise.
9227         (isgreater_test_data): Likewise.
9228         (isgreaterequal_test_data): Likewise.
9229         (isinf_test_data): Likewise.
9230         (isless_test_data): Likewise.
9231         (islessequal_test_data): Likewise.
9232         (islessgreater_test_data): Likewise.
9233         (isnan_test_data): Likewise.
9234         (isnormal_test_data): Likewise.
9235         (issignaling_test_data): Likewise.
9236         (isunordered_test_data): Likewise.
9237         (j0_test_data): Likewise.
9238         (j1_test_data): Likewise.
9239         (jn_test_data): Likewise.
9240         (ldexp_test_data): Likewise.
9241         (lgamma_test_data): Likewise.
9242         (lrint_test_data): Likewise.
9243         (lrint_tonearest_test_data): Likewise.
9244         (lrint_towardzero_test_data): Likewise.
9245         (lrint_downward_test_data): Likewise.
9246         (lrint_upward_test_data): Likewise.
9247         (llrint_test_data): Likewise.
9248         (llrint_tonearest_test_data): Likewise.
9249         (llrint_towardzero_test_data): Likewise.
9250         (llrint_downward_test_data): Likewise.
9251         (llrint_upward_test_data): Likewise.
9252         (log_test_data): Likewise.
9253         (log10_test_data): Likewise.
9254         (log1p_test_data): Likewise.
9255         (log2_test_data): Likewise.
9256         (logb_test_data): Likewise.
9257         (logb_downward_test_data): Likewise.
9258         (lround_test_data): Likewise.
9259         (llround_test_data): Likewise.
9260         (modf_test_data): Likewise.
9261         (nearbyint_test_data): Likewise.
9262         (nextafter_test_data): Likewise.
9263         (nexttoward_test_data): Likewise.
9264         (pow_test_data): Likewise.
9265         (pow_tonearest_test_data): Likewise.
9266         (pow_towardzero_test_data): Likewise.
9267         (pow_downward_test_data): Likewise.
9268         (pow_upward_test_data): Likewise.
9269         (remainder_test_data): Likewise.
9270         (remainder_tonearest_test_data): Likewise.
9271         (remainder_towardzero_test_data): Likewise.
9272         (remainder_downward_test_data): Likewise.
9273         (remainder_upward_test_data): Likewise.
9274         (remquo_test_data): Likewise.
9275         (rint_test_data): Likewise.
9276         (rint_tonearest_test_data): Likewise.
9277         (rint_towardzero_test_data): Likewise.
9278         (rint_downward_test_data): Likewise.
9279         (rint_upward_test_data): Likewise.
9280         (round_test_data): Likewise.
9281         (scalb_test_data): Likewise.
9282         (scalbn_test_data): Likewise.
9283         (scalbln_test_data): Likewise.
9284         (signbit_test_data): Likewise.
9285         (sin_test_data): Likewise.
9286         (sin_tonearest_test_data): Likewise.
9287         (sin_towardzero_test_data): Likewise.
9288         (sin_downward_test_data): Likewise.
9289         (sin_upward_test_data): Likewise.
9290         (sincos_test_data): Likewise.
9291         (sinh_test_data): Likewise.
9292         (sinh_tonearest_test_data): Likewise.
9293         (sinh_towardzero_test_data): Likewise.
9294         (sinh_downward_test_data): Likewise.
9295         (sinh_upward_test_data): Likewise.
9296         (sqrt_test_data): Likewise.
9297         (tan_test_data): Likewise.
9298         (tan_tonearest_test_data): Likewise.
9299         (tan_towardzero_test_data): Likewise.
9300         (tan_downward_test_data): Likewise.
9301         (tan_upward_test_data): Likewise.
9302         (tanh_test_data): Likewise.
9303         (tgamma_test_data): Likewise.
9304         (trunc_test_data): Likewise.
9305         (y0_test_data): Likewise.
9306         (y1_test_data): Likewise.
9307         (yn_test_data): Likewise.
9308         (significand_test_data): Likewise.
9310         * math/gen-libm-test.pl (@functions): Remove variable.
9311         (generate_testfile): Don't handle START and END lines.
9312         * math/libm-test.inc (START): New macro.
9313         (END): Likewise.
9314         (END_COMPLEX): Likewise.
9315         (acos_test): Use END macro without arguments.
9316         (acos_test_tonearest): Likewise.
9317         (acos_test_towardzero): Likewise.
9318         (acos_test_downward): Likewise.
9319         (acos_test_upward): Likewise.
9320         (acosh_test): Likewise.
9321         (asin_test): Likewise.
9322         (asin_test_tonearest): Likewise.
9323         (asin_test_towardzero): Likewise.
9324         (asin_test_downward): Likewise.
9325         (asin_test_upward): Likewise.
9326         (asinh_test): Likewise.
9327         (atan_test): Likewise.
9328         (atanh_test): Likewise.
9329         (atan2_test): Likewise.
9330         (cabs_test): Likewise.
9331         (cacos_test): Use END_COMPLEX macro without arguments.
9332         (cacosh_test): Likewise.
9333         (carg_test): Use END macro without arguments.
9334         (casin_test): Use END_COMPLEX macro without arguments.
9335         (casinh_test): Likewise.
9336         (catan_test): Likewise.
9337         (catanh_test): Likewise.
9338         (cbrt_test): Use END macro without arguments.
9339         (ccos_test): Use END_COMPLEX macro without arguments.
9340         (ccosh_test): Likewise.
9341         (ceil_test): Use END macro without arguments.
9342         (cexp_test): Use END_COMPLEX macro without arguments.
9343         (cimag_test): Use END macro without arguments.
9344         (clog_test): Use END_COMPLEX macro without arguments.
9345         (clog10_test): Likewise.
9346         (conj_test): Likewise.
9347         (copysign_test): Use END macro without arguments.
9348         (cos_test): Likewise.
9349         (cos_test_tonearest): Likewise.
9350         (cos_test_towardzero): Likewise.
9351         (cos_test_downward): Likewise.
9352         (cos_test_upward): Likewise.
9353         (cosh_test): Likewise.
9354         (cosh_test_tonearest): Likewise.
9355         (cosh_test_towardzero): Likewise.
9356         (cosh_test_downward): Likewise.
9357         (cosh_test_upward): Likewise.
9358         (cpow_test): Use END_COMPLEX macro without arguments.
9359         (cproj_test): Likewise.
9360         (creal_test): Use END macro without arguments.
9361         (csin_test): Use END_COMPLEX macro without arguments.
9362         (csinh_test): Likewise.
9363         (csqrt_test): Likewise.
9364         (ctan_test): Likewise.
9365         (ctan_test_tonearest): Likewise.
9366         (ctan_test_towardzero): Likewise.
9367         (ctan_test_downward): Likewise.
9368         (ctan_test_upward): Likewise.
9369         (ctanh_test): Likewise.
9370         (ctanh_test_tonearest): Likewise.
9371         (ctanh_test_towardzero): Likewise.
9372         (ctanh_test_downward): Likewise.
9373         (ctanh_test_upward): Likewise.
9374         (erf_test): Use END macro without arguments.
9375         (erfc_test): Likewise.
9376         (exp_test): Likewise.
9377         (exp_test_tonearest): Likewise.
9378         (exp_test_towardzero): Likewise.
9379         (exp_test_downward): Likewise.
9380         (exp_test_upward): Likewise.
9381         (exp10_test): Likewise.
9382         (exp2_test): Likewise.
9383         (expm1_test): Likewise.
9384         (fabs_test): Likewise.
9385         (fdim_test): Likewise.
9386         (finite_test): Likewise.
9387         (floor_test): Likewise.
9388         (fma_test): Likewise.
9389         (fma_test_towardzero): Likewise.
9390         (fma_test_downward): Likewise.
9391         (fma_test_upward): Likewise.
9392         (fmax_test): Likewise.
9393         (fmin_test): Likewise.
9394         (fmod_test): Likewise.
9395         (fpclassify_test): Likewise.
9396         (frexp_test): Likewise.
9397         (gamma_test): Likewise.
9398         (hypot_test): Likewise.
9399         (ilogb_test): Likewise.
9400         (isfinite_test): Likewise.
9401         (isgreater_test): Likewise.
9402         (isgreaterequal_test): Likewise.
9403         (isinf_test): Likewise.
9404         (isless_test): Likewise.
9405         (islessequal_test): Likewise.
9406         (islessgreater_test): Likewise.
9407         (isnan_test): Likewise.
9408         (isnormal_test): Likewise.
9409         (issignaling_test): Likewise.
9410         (isunordered_test): Likewise.
9411         (j0_test): Likewise.
9412         (j1_test): Likewise.
9413         (jn_test): Likewise.
9414         (ldexp_test): Likewise.
9415         (lgamma_test): Likewise.
9416         (lrint_test): Likewise.
9417         (lrint_test_tonearest): Likewise.
9418         (lrint_test_towardzero): Likewise.
9419         (lrint_test_downward): Likewise.
9420         (lrint_test_upward): Likewise.
9421         (llrint_test): Likewise.
9422         (llrint_test_tonearest): Likewise.
9423         (llrint_test_towardzero): Likewise.
9424         (llrint_test_downward): Likewise.
9425         (llrint_test_upward): Likewise.
9426         (log_test): Likewise.
9427         (log10_test): Likewise.
9428         (log1p_test): Likewise.
9429         (log2_test): Likewise.
9430         (logb_test): Likewise.
9431         (logb_test_downward): Likewise.
9432         (lround_test): Likewise.
9433         (llround_test): Likewise.
9434         (modf_test): Likewise.
9435         (nearbyint_test): Likewise.
9436         (nextafter_test): Likewise.
9437         (nexttoward_test): Likewise.
9438         (pow_test): Likewise.
9439         (pow_test_tonearest): Likewise.
9440         (pow_test_towardzero): Likewise.
9441         (pow_test_downward): Likewise.
9442         (pow_test_upward): Likewise.
9443         (remainder_test): Likewise.
9444         (remainder_test_tonearest): Likewise.
9445         (remainder_test_towardzero): Likewise.
9446         (remainder_test_downward): Likewise.
9447         (remainder_test_upward): Likewise.
9448         (remquo_test): Likewise.
9449         (rint_test): Likewise.
9450         (rint_test_tonearest): Likewise.
9451         (rint_test_towardzero): Likewise.
9452         (rint_test_downward): Likewise.
9453         (rint_test_upward): Likewise.
9454         (round_test): Likewise.
9455         (scalb_test): Likewise.
9456         (scalbn_test): Likewise.
9457         (scalbln_test): Likewise.
9458         (signbit_test): Likewise.
9459         (sin_test): Likewise.
9460         (sin_test_tonearest): Likewise.
9461         (sin_test_towardzero): Likewise.
9462         (sin_test_downward): Likewise.
9463         (sin_test_upward): Likewise.
9464         (sincos_test): Likewise.
9465         (sinh_test): Likewise.
9466         (sinh_test_tonearest): Likewise.
9467         (sinh_test_towardzero): Likewise.
9468         (sinh_test_downward): Likewise.
9469         (sinh_test_upward): Likewise.
9470         (sqrt_test): Likewise.
9471         (tan_test): Likewise.
9472         (tan_test_tonearest): Likewise.
9473         (tan_test_towardzero): Likewise.
9474         (tan_test_downward): Likewise.
9475         (tan_test_upward): Likewise.
9476         (tanh_test): Likewise.
9477         (tgamma_test): Likewise.
9478         (trunc_test): Likewise.
9479         (y0_test): Likewise.
9480         (y1_test): Likewise.
9481         (yn_test): Likewise.
9482         (significand_test): Likewise.
9484 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9486         [BZ #15381]
9487         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9489 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9491         [BZ #14894]
9492         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9493         __ppc_mdoio and __ppc_mdoom.
9494         * manual/platform.texi: Document new functions __ppc_yield,
9495         __ppc_mdoio and __ppc_mdoom.
9497 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9499         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9500         (main): Mention "tls" pseudo-hwcap is legacy.
9501         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9503 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9505         * math/gen-libm-test.pl (parse_args): Output only string of
9506         arguments as text for test name, not full call or descriptions of
9507         tests for extra outputs.
9508         (generate_testfile): Do not pass function name to parse_args.
9509         Generate this_func variable from START.
9510         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9511         field to arg_str.
9512         (struct test_ff_f_data): Likewise.
9513         (test_ff_f_data_nexttoward): Likewise.
9514         (struct test_fi_f_data): Likewise.
9515         (struct test_fl_f_data): Likewise.
9516         (struct test_if_f_data): Likewise.
9517         (struct test_fff_f_data): Likewise.
9518         (struct test_c_f_data): Likewise.
9519         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9520         (struct test_fF_f1_data): Likewise.
9521         (struct test_ffI_f1_data): Likewise.
9522         (struct test_c_c_data): Rename test_name field to arg_str.
9523         (struct test_cc_c_data): Likewise.
9524         (struct test_f_i_data): Likewise.
9525         (struct test_ff_i_data): Likewise.
9526         (struct test_f_l_data): Likewise.
9527         (struct test_f_L_data): Likewise.
9528         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9529         and extra2_name.
9530         (COMMON_TEST_SETUP): New macro.
9531         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9532         (COMMON_TEST_CLEANUP): Likewise.
9533         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9534         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9535         macros.
9536         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9537         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9538         macros.
9539         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9540         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9541         cleanup macros.
9542         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9543         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9544         macros.
9545         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9546         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9547         macros.
9548         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9549         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9550         cleanup macros.
9551         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9552         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9553         cleanup macros.
9554         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9555         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9556         cleanup macros.
9557         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9558         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9559         macros.
9560         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9561         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9562         macros.
9563         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9564         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9565         macros.
9566         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9567         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9568         cleanup macros.
9569         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9570         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9571         cleanup macros.
9572         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9573         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9574         macros.
9575         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9576         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9577         cleanup macros.
9578         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9579         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9580         macros.
9581         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9582         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9583         macros.
9584         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9585         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9586         cleanup macros.
9587         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9589 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9591         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9592         to _sifields.sigfault.
9593         (si_addr_lsb): Define new macro.
9594         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9595         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9596         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9598 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9600         [BZ #15441]
9601         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9602         returns -1.
9603         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9604         null return -1.
9605         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9606         loading the domain.
9608 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9610         * math/gen-libm-test.pl (parse_args): Do not include expected
9611         result in test name.
9612         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9613         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9614         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9616         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9619 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9621         * benchtests/Makefile: Sort function entries.
9623         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9624         tanh, asinh, acosh, atanh.
9625         * benchtests/acos-inputs: New file.
9626         * benchtests/acosh-inputs: New file.
9627         * benchtests/asin-inputs: New file.
9628         * benchtests/asinh-inputs: New file.
9629         * benchtests/atanh-inputs: New file.
9630         * benchtests/cosh-inputs: New file.
9631         * benchtests/log-inputs: New file.
9632         * benchtests/sinh-inputs: New file.
9633         * benchtests/tanh-inputs: New file.
9635 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9637         [BZ #15339]
9638         * posix/tst-getaddrinfo4.c: New test.
9639         * posix/Makefile (tests): Add it.
9641 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9643         [BZ #15339]
9644         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9645         when no services were used.
9646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9647         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9649 2013-05-21  Andreas Schwab  <schwab@suse.de>
9651         [BZ #15014]
9652         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9653         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9654         successful.
9655         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9656         redundant variable declarations and reallocation of buffer when
9657         parsing as IPv6 address.  Always set NSS status when called from
9658         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9659         buffer too small.  Correct computation of needed size.
9660         * nss/Makefile (tests): Add test-digits-dots.
9661         * nss/test-digits-dots.c: New test.
9663 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9665         * benchtests/Makefile: Remove instructions for adding
9666         benchmark tests.
9667         * benchtests/README: New file to explain how to execute and
9668         enhance the benchmark tests.
9670 2013-05-21  Andreas Schwab  <schwab@suse.de>
9672         [BZ #15493]
9673         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9674         * setjmp/tst-sigsetjmp.c: New test.
9676 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9678         * sysdeps/x86_64/memset.S (memset): New implementation.
9679         (__bzero): Likewise.
9680         (__memset_tail): New function.
9682 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9684         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9685         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9686         __memcpy_sse2_unaligned ifunc selection.
9687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9688         Add memcpy-sse2-unaligned.S.
9689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9690         Add: __memcpy_sse2_unaligned.
9692 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9694         [BZ #15490]
9695         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9696         math_force_eval before restoring floating-point envrionment.
9697         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9698         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9699         Likewise.
9700         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9701         <math_private.h>.
9702         (__nearbyintl): Use math_force_eval before restoring
9703         floating-point environment.
9704         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9706         * math/gen-libm-test.pl (special_functions): Remove.
9707         (parse_args): Don't handle TEST_extra.  Handle functions with no
9708         return value.
9709         * math/libm-test.inc (struct test_sincos_data): Replace with
9710         struct test_fFF_11_data.
9711         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9712         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9713         (sincos_test_data): Change element type to struct
9714         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9715         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9716         RUN_TEST_LOOP_sincos.
9717         * math/README.libm-test: Don't mention special handling of
9718         individual functions.
9719         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9720         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9721         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9722         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9723         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9726         * math/gen-libm-test.pl (get_variable): Remove function.
9727         (parse_args): Don't show pointer parameters to call in test
9728         names.  Use "extra output N" in test names for extra outputs
9729         rather than naming variables.
9731 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9733         [BZ #15488]
9734         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9735         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9736         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9737         double tests.
9738         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9739         disable.
9740         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9741         check_long_double.
9743         * math/gen-libm-test.pl (@tests): Remove variable.
9744         ($count): Likewise.
9745         (new_test): Remove function.
9746         (show_exceptions): New function.
9747         (special_functions): Use show_exceptions instead of new_test.
9748         (parse_args): Likewise.
9749         (generate_testfile): Pass only function name in generated call to
9750         print_max_error or print_complex_max_error.
9751         (get_ulps): Do not handle complex tests specially.
9752         (output_test): Rename to ...
9753         (get_all_ulps_for_test): ... this.  Return a string rather than
9754         printing to a file.  Require ulps to be present.
9755         (output_ulps): Generate arrays rather than #defines.
9756         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9757         (struct ulp_data): New type.
9758         (BUILD_COMPLEX_ULP): Remove macro.
9759         (compare_ulp_data): New function.
9760         (find_ulps): Likewise.
9761         (find_test_ulps): Likewise.
9762         (find_function_ulps): Likewise.
9763         (find_complex_function_ulps): Likewise.
9764         (print_max_error): Determine allowed ulps using
9765         find_function_ulps.
9766         (print_complex_max_error): Determine allowed ulps using
9767         find_complex_function_ulps.
9768         (check_float_internal): Determine max ulps using find_test_ulps.
9769         (check_float): Do not take max_ulp parameter.  Update call to
9770         check_float_internal.
9771         (check_complex): Likewise.
9772         (check_int): Do not take max_ulp parameter.
9773         (check_long): Likewise.
9774         (check_bool): Likewise.
9775         (check_longlong): Likewise.
9776         (struct test_f_f_data): Remove max_ulp field.
9777         (struct test_ff_f_data): Likewise.
9778         (struct test_ff_f_data_nexttoward): Likewise.
9779         (struct test_fi_f_data): Likewise.
9780         (struct test_fl_f_data): Likewise.
9781         (struct test_if_f_data): Likewise.
9782         (struct test_fff_f_data): Likewise.
9783         (struct test_c_f_data): Likewise.
9784         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9785         (struct test_fF_f1_data): Likewise.
9786         (struct test_ffI_f1_data): Likewise.
9787         (struct test_c_c_data): Remove max_ulp field.
9788         (struct test_cc_c_data): Likewise.
9789         (struct test_f_i_data): Likewise.
9790         (struct test_ff_i_data): Likewise.
9791         (struct test_f_l_data): Likewise.
9792         (struct test_f_L_data): Likewise.
9793         (struct test_sincos_data): Likewise.
9794         (RUN_TEST_f_f): Do not handle ulps.
9795         (RUN_TEST_LOOP_f_f): Likewise.
9796         (RUN_TEST_2_f): Likewise.
9797         (RUN_TEST_LOOP_2_f): Likewise.
9798         (RUN_TEST_fff_f): Likewise.
9799         (RUN_TEST_LOOP_fff_f): Likewise.
9800         (RUN_TEST_c_f): Likewise.
9801         (RUN_TEST_LOOP_c_f): Likewise.
9802         (RUN_TEST_f_f1): Likewise.
9803         (RUN_TEST_LOOP_f_f1): Likewise.
9804         (RUN_TEST_fF_f1): Likewise.
9805         (RUN_TEST_LOOP_fF_f1): Likewise.
9806         (RUN_TEST_fI_f1): Likewise.
9807         (RUN_TEST_LOOP_fI_f1): Likewise.
9808         (RUN_TEST_ffI_f1): Likewise.
9809         (RUN_TEST_LOOP_ffI_f1): Likewise.
9810         (RUN_TEST_c_c): Likewise.
9811         (RUN_TEST_LOOP_c_c): Likewise.
9812         (RUN_TEST_cc_c): Likewise.
9813         (RUN_TEST_LOOP_cc_c): Likewise.
9814         (RUN_TEST_f_i): Likewise.
9815         (RUN_TEST_LOOP_f_i): Likewise.
9816         (RUN_TEST_f_i_tg): Likewise.
9817         (RUN_TEST_LOOP_f_i_tg): Likewise.
9818         (RUN_TEST_ff_i_tg): Likewise.
9819         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9820         (RUN_TEST_f_b): Likewise.
9821         (RUN_TEST_LOOP_f_b): Likewise.
9822         (RUN_TEST_f_b_tg): Likewise.
9823         (RUN_TEST_LOOP_f_b_tg): Likewise.
9824         (RUN_TEST_f_l): Likewise.
9825         (RUN_TEST_LOOP_f_l): Likewise.
9826         (RUN_TEST_f_L): Likewise.
9827         (RUN_TEST_LOOP_f_L): Likewise.
9828         (RUN_TEST_sincos): Likewise.
9829         (RUN_TEST_LOOP_sincos): Likewise.
9831 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9833         [BZ #15480]
9834         [BZ #15485]
9835         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9836         main case of finite arguments, set rounding mode to FE_TONEAREST
9837         and discard exceptions.
9838         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9839         exceptions.
9840         (remainder_tonearest_test_data): New variable.
9841         (remainder_test_tonearest): New function.
9842         (remainder_towardzero_test_data): New variable.
9843         (remainder_test_towardzero): New function.
9844         (remainder_downward_test_data): New variable.
9845         (remainder_test_downward): New function.
9846         (remainder_upward_test_data): New variable.
9847         (remainder_test_upward): New function.
9848         (main): Call the new test functions.
9850         * math/libm-test.inc (struct test_f_f1_data): Remove field
9851         extra_init.
9852         (struct test_fF_f1_data): Likewise.
9853         (struct test_ffI_f1_data): Likewise.
9854         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9855         based on value of EXTRA_EXPECTED.
9856         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9857         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9858         EXTRA_VAR based on value of EXTRA_EXPECTED.
9859         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9860         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9861         EXTRA_VAR based on value of EXTRA_EXPECTED.
9862         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9863         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9864         EXTRA_VAR based on value of EXTRA_EXPECTED.
9865         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9866         * math/gen-libm-test.pl (parse_args): Don't output initializers
9867         for extra output values.
9869         * math/libm-test.inc (check_int): Expect result to be exactly
9870         equal to expected value and do not handle ulps.
9871         (check_long): Likewise.
9872         (check_longlong): Likewise.
9874         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9875         exceptions.
9876         (cimag_test_data): Likewise.
9877         (conj_test_data): Likewise.
9878         (copysign_test_data): Likewise.
9879         (cproj_test_data): Likewise.
9880         (creal_test_data): Likewise.
9881         (fabs_test_data): Likewise.
9882         (fdim_test_data): Likewise.
9883         (finite_test_data): Likewise.
9884         (floor_test_data): Likewise.
9885         (fmax_test_data): Likewise.
9886         (fmin_test_data): Likewise.
9887         (fmod_test_data): Likewise.
9888         (fpclassify_test_data): Likewise.
9889         (frexp_test_data): Likewise.
9890         (ilogb_test_data): Likewise.
9891         (isfinite_test_data): Likewise.
9892         (isgreater_test_data): Likewise.
9893         (isgreaterequal_test_data): Likewise.
9894         (isinf_test_data): Likewise.
9895         (isless_test_data): Likewise.
9896         (islessequal_test_data): Likewise.
9897         (islessgreater_test_data): Likewise.
9898         (isnan_test_data): Likewise.
9899         (isnormal_test_data): Likewise.
9900         (issignaling_test_data): Likewise.
9901         (isunordered_test_data): Likewise.
9902         (ldexp_test_data): Likewise.
9903         (lrint_test_data): Likewise.
9904         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9905         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9906         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9907         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9908         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9909         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9910         test input.
9911         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9912         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9913         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9914         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9915         that test input.
9916         (lrint_downward_test_data): Test for "inexact" exceptions.
9917         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9918         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9919         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9920         test input.
9921         (lrint_upward_test_data): Test for "inexact" exceptions.
9922         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9923         test input.
9924         (llrint_test_data): Test for "inexact" exceptions.
9925         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9926         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9927         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9928         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9929         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9930         (llrint_downward_test_data): Test for "inexact" exceptions.
9931         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9932         (llrint_upward_test_data): Test for "inexact" exceptions.
9933         (logb_test_data): Likewise.
9934         (logb_downward_test_data): Likewise.
9935         (nextafter_test_data): Likewise.
9936         (nexttoward_test_data): Likewise.
9937         (remainder_test_data): Likewise.
9938         (remquo_test_data): Likewise.
9939         (scalbn_test_data): Likewise.
9940         (scalbln_test_data): Likewise.
9941         (signbit_test_data): Likewise.
9942         (sqrt_test_data): Likewise.
9943         (significand_test_data): Likewise.
9945 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9947         [BZ #15424]
9948         * benchtests/bench-modf.c (struct args): Mark arg0 as
9949         volatile.
9950         * scripts/bench.pl: Mark members of struct args as volatile.
9952 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9954         [BZ # 15497]
9955         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9956         negative infinity on POWER6 or lower.
9957         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9959 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9961         [BZ #15442]
9962         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9963         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9964         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9965         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9966         (_FP_SETQNAN): New macro.
9967         (_FP_SETQNAN_SEMIRAW): Likewise.
9968         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9969         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9970         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9971         (FP_EXTEND): Use _FP_FRAC_SNANP.
9972         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9973         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9974         into account.
9975         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9976         New macro.
9977         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9978         Likewise.
9980 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9982         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9983         with DIVIDE_BY_ZERO_EXCEPTION.
9984         (gamma_test_data): Likewise.
9985         (lgamma_test_data): Likewise.
9986         (log_test_data): Likewise.
9987         (log10_test_data): Likewise.
9988         (log2_test_data): Likewise.
9989         (tgamma_test_data): Likewise.
9991         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9992         (acos_test_tonearest): Likewise.
9993         (acos_test_towardzero): Likewise.
9994         (acos_test_downward): Likewise.
9995         (acos_test_upward): Likewise.
9996         (acosh_test): Likewise.
9997         (asin_test): Likewise.
9998         (asin_test_tonearest): Likewise.
9999         (asin_test_towardzero): Likewise.
10000         (asin_test_downward): Likewise.
10001         (asin_test_upward): Likewise.
10002         (asinh_test): Likewise.
10003         (atan_test): Likewise.
10004         (atanh_test): Likewise.
10005         (atan2_test): Likewise.
10006         (cabs_test): Likewise.
10007         (cacos_test): Likewise.
10008         (cacosh_test): Likewise.
10009         (casin_test): Likewise.
10010         (casinh_test): Likewise.
10011         (catan_test): Likewise.
10012         (catanh_test): Likewise.
10013         (cbrt_test): Likewise.
10014         (ccos_test): Likewise.
10015         (ccosh_test): Likewise.
10016         (cexp_test): Likewise.
10017         (clog_test): Likewise.
10018         (clog10_test): Likewise.
10019         (cos_test): Likewise.
10020         (cos_test_tonearest): Likewise.
10021         (cos_test_towardzero): Likewise.
10022         (cos_test_downward): Likewise.
10023         (cos_test_upward): Likewise.
10024         (cosh_test): Likewise.
10025         (cosh_test_tonearest): Likewise.
10026         (cosh_test_towardzero): Likewise.
10027         (cosh_test_downward): Likewise.
10028         (cosh_test_upward): Likewise.
10029         (cpow_test): Likewise.
10030         (csin_test): Likewise.
10031         (csinh_test): Likewise.
10032         (csqrt_test): Likewise.
10033         (ctan_test): Likewise.
10034         (ctan_test_tonearest): Likewise.
10035         (ctan_test_towardzero): Likewise.
10036         (ctan_test_downward): Likewise.
10037         (ctan_test_upward): Likewise.
10038         (ctanh_test): Likewise.
10039         (ctanh_test_tonearest): Likewise.
10040         (ctanh_test_towardzero): Likewise.
10041         (ctanh_test_downward): Likewise.
10042         (ctanh_test_upward): Likewise.
10043         (erf_test): Likewise.
10044         (erfc_test): Likewise.
10045         (exp_test): Likewise.
10046         (exp_test_tonearest): Likewise.
10047         (exp_test_towardzero): Likewise.
10048         (exp_test_downward): Likewise.
10049         (exp_test_upward): Likewise.
10050         (exp10_test): Likewise.
10051         (exp2_test): Likewise.
10052         (expm1_test): Likewise.
10053         (fmod_test): Likewise.
10054         (gamma_test): Likewise.
10055         (hypot_test): Likewise.
10056         (j0_test): Likewise.
10057         (j1_test): Likewise.
10058         (jn_test): Likewise.
10059         (lgamma_test): Likewise.
10060         (log_test): Likewise.
10061         (log10_test): Likewise.
10062         (log1p_test): Likewise.
10063         (log2_test): Likewise.
10064         (logb_test_downward): Likewise.
10065         (pow_test): Likewise.
10066         (pow_test_tonearest): Likewise.
10067         (pow_test_towardzero): Likewise.
10068         (pow_test_downward): Likewise.
10069         (pow_test_upward): Likewise.
10070         (remainder_test): Likewise.
10071         (remquo_test): Likewise.
10072         (sin_test): Likewise.
10073         (sin_test_tonearest): Likewise.
10074         (sin_test_towardzero): Likewise.
10075         (sin_test_downward): Likewise.
10076         (sin_test_upward): Likewise.
10077         (sincos_test): Likewise.
10078         (sinh_test): Likewise.
10079         (sinh_test_tonearest): Likewise.
10080         (sinh_test_towardzero): Likewise.
10081         (sinh_test_downward): Likewise.
10082         (sinh_test_upward): Likewise.
10083         (sqrt_test): Likewise.
10084         (tan_test): Likewise.
10085         (tan_test_tonearest): Likewise.
10086         (tan_test_towardzero): Likewise.
10087         (tan_test_downward): Likewise.
10088         (tan_test_upward): Likewise.
10089         (tanh_test): Likewise.
10090         (tgamma_test): Likewise.
10091         (y0_test): Likewise.
10092         (y1_test): Likewise.
10093         (yn_test): Likewise.
10095         * math/gen-libm-test.pl (adjust_arg): Remove function.
10096         (special_function): Remove argument $in_func.  Only handle
10097         generating output for tables of tests, not inside functions.
10098         (parse_args): Likewise.
10099         (generate_testfile): Remove variable $in_func.  Update call to
10100         parse_args.
10101         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10102         (MINUS_ZERO_INIT): Rename macro to minus_zero.
10103         (PLUS_INFTY_INIT): Rename macro to plus_infty.
10104         (MINUS_INFTY_INIT): Rename macro to minus_infty.
10105         (QNAN_VALUE_INIT): Rename macro to qnan_value.
10106         (MAX_VALUE_INIT): Rename macro to max_value.
10107         (MIN_VALUE_INIT): Rename macro to min_value.
10108         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10109         (plus_zero): Remove variable.
10110         (minus_zero): Likewise.
10111         (plus_infty): Likewise.
10112         (minus_infty): Likewise.
10113         (qnan_value): Likewise.
10114         (max_value): Likewise.
10115         (min_value): Likewise.
10116         (min_subnorm_value): Likewise.
10118 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10120         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10121         uint64_t or uint32_t usage.
10122         * crypt/sha256-block.c: Likewise.
10123         * crypt/sha256-crypt.c: Likewise.
10124         * crypt/sha256.c: Likewise.
10125         * crypt/sha512-block.c: Likewise.
10126         * crypt/sha512-crypt.c: Likewise.
10127         * crypt/sha512.c: Likewise.
10128         * debug/backtrace-tst.c: Likewise.
10129         * debug/pcprofiledump.c: Likewise.
10130         * elf/cache.c: Likewise.
10131         * elf/dl-cache.c: Likewise.
10132         * elf/dl-misc.c: Likewise.
10133         * elf/dl-profile.c: Likewise.
10134         * elf/dl-support.c: Likewise.
10135         * elf/ldconfig.c: Likewise.
10136         * elf/sprof.c: Likewise.
10137         * iconv/dummy-repertoire.c: Likewise.
10138         * iconv/iconv_charmap.c: Likewise.
10139         * iconv/skeleton.c: Likewise.
10140         * iconvdata/8bit-generic.c: Likewise.
10141         * iconvdata/cp737.h: Likewise.
10142         * iconvdata/cp775.h: Likewise.
10143         * iconvdata/ibm1008.h: Likewise.
10144         * iconvdata/ibm1025.h: Likewise.
10145         * iconvdata/ibm1046.h: Likewise.
10146         * iconvdata/ibm1097.h: Likewise.
10147         * iconvdata/ibm1112.h: Likewise.
10148         * iconvdata/ibm1122.h: Likewise.
10149         * iconvdata/ibm1123.h: Likewise.
10150         * iconvdata/ibm1124.h: Likewise.
10151         * iconvdata/ibm1129.h: Likewise.
10152         * iconvdata/ibm1130.h: Likewise.
10153         * iconvdata/ibm1132.h: Likewise.
10154         * iconvdata/ibm1133.h: Likewise.
10155         * iconvdata/ibm1137.h: Likewise.
10156         * iconvdata/ibm1140.h: Likewise.
10157         * iconvdata/ibm1141.h: Likewise.
10158         * iconvdata/ibm1142.h: Likewise.
10159         * iconvdata/ibm1143.h: Likewise.
10160         * iconvdata/ibm1144.h: Likewise.
10161         * iconvdata/ibm1145.h: Likewise.
10162         * iconvdata/ibm1146.h: Likewise.
10163         * iconvdata/ibm1147.h: Likewise.
10164         * iconvdata/ibm1148.h: Likewise.
10165         * iconvdata/ibm1149.h: Likewise.
10166         * iconvdata/ibm1153.h: Likewise.
10167         * iconvdata/ibm1154.h: Likewise.
10168         * iconvdata/ibm1155.h: Likewise.
10169         * iconvdata/ibm1156.h: Likewise.
10170         * iconvdata/ibm1157.h: Likewise.
10171         * iconvdata/ibm1158.h: Likewise.
10172         * iconvdata/ibm1160.h: Likewise.
10173         * iconvdata/ibm1161.h: Likewise.
10174         * iconvdata/ibm1162.h: Likewise.
10175         * iconvdata/ibm1163.h: Likewise.
10176         * iconvdata/ibm1164.h: Likewise.
10177         * iconvdata/ibm1166.h: Likewise.
10178         * iconvdata/ibm1167.h: Likewise.
10179         * iconvdata/ibm12712.h: Likewise.
10180         * iconvdata/ibm1390.h: Likewise.
10181         * iconvdata/ibm1399.h: Likewise.
10182         * iconvdata/ibm16804.h: Likewise.
10183         * iconvdata/ibm4517.h: Likewise.
10184         * iconvdata/ibm4899.h: Likewise.
10185         * iconvdata/ibm4909.h: Likewise.
10186         * iconvdata/ibm4971.h: Likewise.
10187         * iconvdata/ibm5347.h: Likewise.
10188         * iconvdata/ibm803.h: Likewise.
10189         * iconvdata/ibm856.h: Likewise.
10190         * iconvdata/ibm901.h: Likewise.
10191         * iconvdata/ibm902.h: Likewise.
10192         * iconvdata/ibm9030.h: Likewise.
10193         * iconvdata/ibm9066.h: Likewise.
10194         * iconvdata/ibm921.h: Likewise.
10195         * iconvdata/ibm922.h: Likewise.
10196         * iconvdata/ibm9448.h: Likewise.
10197         * iconvdata/isiri-3342.h: Likewise.
10198         * iconvdata/jis0201.h: Likewise.
10199         * include/link.h: Likewise.
10200         * include/netdb.h: Likewise.
10201         * inet/check_native.c: Likewise.
10202         * inet/check_pf.c: Likewise.
10203         * inet/getipv4sourcefilter.c: Likewise.
10204         * inet/getnameinfo.c: Likewise.
10205         * inet/getsourcefilter.c: Likewise.
10206         * inet/htonl.c: Likewise.
10207         * inet/setipv4sourcefilter.c: Likewise.
10208         * inet/setsourcefilter.c: Likewise.
10209         * inet/test-inet6_opt.c: Likewise.
10210         * inet/tst-network.c: Likewise.
10211         * locale/C-collate.c: Likewise.
10212         * locale/C-ctype.c: Likewise.
10213         * locale/C-time.c: Likewise.
10214         * locale/C-translit.h: Likewise.
10215         * locale/loadarchive.c: Likewise.
10216         * locale/programs/3level.h: Likewise.
10217         * locale/programs/charmap.c: Likewise.
10218         * locale/programs/charmap.h: Likewise.
10219         * locale/programs/ld-address.c: Likewise.
10220         * locale/programs/ld-collate.c: Likewise.
10221         * locale/programs/ld-ctype.c: Likewise.
10222         * locale/programs/ld-identification.c: Likewise.
10223         * locale/programs/ld-measurement.c: Likewise.
10224         * locale/programs/ld-messages.c: Likewise.
10225         * locale/programs/ld-monetary.c: Likewise.
10226         * locale/programs/ld-name.c: Likewise.
10227         * locale/programs/ld-numeric.c: Likewise.
10228         * locale/programs/ld-paper.c: Likewise.
10229         * locale/programs/ld-telephone.c: Likewise.
10230         * locale/programs/ld-time.c: Likewise.
10231         * locale/programs/linereader.c: Likewise.
10232         * locale/programs/locale.c: Likewise.
10233         * locale/programs/locarchive.c: Likewise.
10234         * locale/programs/locfile.h: Likewise.
10235         * locale/programs/repertoire.c: Likewise.
10236         * locale/programs/simple-hash.c: Likewise.
10237         * locale/programs/simple-hash.h: Likewise.
10238         * malloc/memusage.c: Likewise.
10239         * malloc/memusagestat.c: Likewise.
10240         * nis/nis_defaults.c: Likewise.
10241         * nis/nis_hash.c: Likewise.
10242         * nis/nis_print.c: Likewise.
10243         * nis/nis_xdr.c: Likewise.
10244         * nscd/connections.c: Likewise.
10245         * nscd/hstcache.c: Likewise.
10246         * nscd/nscd_gethst_r.c: Likewise.
10247         * nscd/nscd_getserv_r.c: Likewise.
10248         * nscd/nscd_helper.c: Likewise.
10249         * nscd/servicescache.c: Likewise.
10250         * nss/makedb.c: Likewise.
10251         * nss/nss_db/db-XXX.c: Likewise.
10252         * nss/nss_db/db-initgroups.c: Likewise.
10253         * nss/nss_db/db-netgrp.c: Likewise.
10254         * nss/nss_files/files-network.c: Likewise.
10255         * nss/nss_files/files-parse.c: Likewise.
10256         * posix/bug-regex5.c: Likewise.
10257         * posix/fnmatch_loop.c: Likewise.
10258         * posix/regcomp.c: Likewise.
10259         * posix/regexec.c: Likewise.
10260         * posix/tst-rfc3484-2.c: Likewise.
10261         * posix/tst-rfc3484-3.c: Likewise.
10262         * posix/tst-rfc3484.c: Likewise.
10263         * resolv/nss_dns/dns-canon.c: Likewise.
10264         * resolv/nss_dns/dns-network.c: Likewise.
10265         * resolv/res_init.c: Likewise.
10266         * resolv/res_mkquery.c: Likewise.
10267         * resolv/tst-aton.c: Likewise.
10268         * stdlib/cxa_atexit.c: Likewise.
10269         * stdlib/cxa_finalize.c: Likewise.
10270         * stdlib/gen-fpioconst.c: Likewise.
10271         * stdlib/strtol_l.c: Likewise.
10272         * string/tst-endian.c: Likewise.
10273         * sunrpc/auth_des.c: Likewise.
10274         * sunrpc/clnt_udp.c: Likewise.
10275         * sunrpc/rtime.c: Likewise.
10276         * sunrpc/svcauth_des.c: Likewise.
10277         * sunrpc/xdr.c: Likewise.
10278         * sunrpc/xdr_intXX_t.c: Likewise.
10279         * sunrpc/xdr_rec.c: Likewise.
10280         * sysdeps/generic/ldconfig.h: Likewise.
10281         * sysdeps/generic/ldsodefs.h: Likewise.
10282         * sysdeps/generic/memusage.h: Likewise.
10283         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10284         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10285         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10286         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10287         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10288         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10289         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10290         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10291         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10293         * sysdeps/posix/getaddrinfo.c: Likewise.
10294         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10296         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10297         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10298         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10299         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10300         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10301         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10302         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10303         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10304         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10305         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10306         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10307         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10308         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10309         * sysdeps/x86_64/dl-tls.h: Likewise.
10310         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10311         * time/alt_digit.c: Likewise.
10312         * time/era.c: Likewise.
10313         * wcsmbs/tst-c16c32-1.c: Likewise.
10315 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10317         * math/libm-test.inc (struct test_sincos_data): New type.
10318         (RUN_TEST_LOOP_sincos): New macro.
10319         (sincos_test_data): New variable.
10320         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10322 2013-05-16  Richard Henderson  <rth@redhat.com>
10324         * math/atest-exp2.c (LIMB64): New macro.
10325         (CONSTSZ): New macro.
10326         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10327         (hexdig): Move ...
10328         (print_mpn_fp): ... to function scope.
10329         (read_mpn_hex): Remove.
10330         (get_log2): Remove.
10331         (exp2_mpn): Use mp_log2.
10332         (main): Use mp_exp1.
10334 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10336         * math/libm-test.inc: Remove comment about not testing "inexact"
10337         exceptions.
10338         (INEXACT_EXCEPTION): New macro.
10339         (NO_INEXACT_EXCEPTION): Likewise.
10340         (INVALID_EXCEPTION_OK): Update value.
10341         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10342         (OVERFLOW_EXCEPTION_OK): Likewise.
10343         (UNDERFLOW_EXCEPTION_OK): Likewise.
10344         (IGNORE_ZERO_INF_SIGN): Likewise.
10345         (ERRNO_UNCHANGED): Likewise.
10346         (ERRNO_EDOM): Likewise.
10347         (ERRNO_ERANGE): Likewise.
10348         (test_exceptions): Handle testing "inexact" exceptions.
10349         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10350         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10351         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10352         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10353         INEXACT_EXCEPTION.
10354         (rint_towardzero_test_data): Likewise.
10355         (rint_downward_test_data): Likewise.
10356         (rint_upward_test_data): Likewise.
10358         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10359         with OVERFLOW_EXCEPTION.
10360         (exp10_test_data): Likewise.
10361         (exp2_test_data): Likewise.
10362         (expm1_test_data): Likewise.
10363         (lgamma_test_data): Likewise.
10364         (pow_test_data): Likewise.
10365         (tgamma_test_data): Likewise.
10366         (yn_test_data): Remove duplicate test of overflow.
10368         * math/libm-test.inc (struct test_cc_c_data): New type.
10369         (RUN_TEST_LOOP_cc_c): New macro.
10370         (cpow_test_data): New variable.
10371         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10373         * math/libm-test.inc (struct test_f_L_data): New type.
10374         (RUN_TEST_LOOP_f_L): New macro.
10375         (llrint_test_data): New variable.
10376         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10377         (llrint_tonearest_test_data): New variable.
10378         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10379         (llrint_towardzero_test_data): New variable.
10380         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10381         (llrint_downward_test_data): New variable.
10382         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10383         (llrint_upward_test_data): New variable.
10384         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10385         (llround_test_data): New variable.
10386         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10388 2013-05-13  Peter Collingbourne  <pcc@google.com>
10390         * math/atest-exp2.c (get_log2): Remove const attribute.
10392 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10394         * math/libm-test.inc (struct test_f_l_data): New type.
10395         (RUN_TEST_LOOP_f_l): New macro.
10396         (lrint_test_data): New variable.
10397         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10398         (lrint_tonearest_test_data): New variable.
10399         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10400         (lrint_towardzero_test_data): New variable.
10401         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10402         (lrint_downward_test_data): New variable.
10403         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10404         (lrint_upward_test_data): New variable.
10405         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10406         (lround_test_data): New variable.
10407         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10409 2013-05-15  Peter Collingbourne  <pcc@google.com>
10411         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10412         (EXTRACT_WORDS64) Use where appropriate.
10413         (INSERT_WORDS64) Likewise.
10415         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10416         constraints with x constraints.
10417         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10419         * malloc/obstack.c (_obstack_compat): Add initializer.
10421 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10423         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10424         si_trapno and add si_addr_lsb to _sifields.sigfault.
10425         (si_trapno): Remove macro.
10426         (si_addr_lsb): Define new macro.
10427         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10429 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10431         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10432         instead of TEST_f_l.
10433         (llrint_test_tonearest): Likewise.
10434         (llrint_test_towardzero): Likewise.
10435         (llrint_test_downward): Likewise.
10436         (llrint_test_upward): Likewise.
10437         (llround_test): Likewise.
10439         * math/libm-test.inc (struct test_f_i_data): Add comment.
10440         (RUN_TEST_LOOP_f_b): New macro.
10441         (RUN_TEST_LOOP_f_b_tg): Likewise.
10442         (finite_test_data): New variable.
10443         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10444         (isfinite_test_data): New variable.
10445         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10446         (isinf_test_data): New variable.
10447         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10448         (isnan_test_data): New variable.
10449         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10450         (isnormal_test_data): New variable.
10451         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10452         (issignaling_test_data): New variable.
10453         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10454         (signbit_test_data): New variable.
10455         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10457         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10458         with INVALID_EXCEPTION.
10459         (acosh_test_data): Likewise.
10460         (asin_test_data): Likewise.
10461         (atanh_test_data): Likewise.
10462         (fmod_test_data): Likewise.
10463         (log_test_data): Likewise.
10464         (log10_test_data): Likewise.
10465         (log2_test_data): Likewise.
10466         (pow_test_data): Likewise.
10467         (sqrt_test_data): Likewise.
10468         (y0_test_data): Likewise.
10469         (y1_test_data): Likewise.
10470         (yn_test_data): Likewise.
10472         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10473         function contents.
10475         * math/libm-test.inc (struct test_ff_i_data): New type.
10476         (RUN_TEST_LOOP_ff_i_tg): New macro.
10477         (isgreater_test_data): New variable.
10478         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10479         (isgreaterequal_test_data): New variable.
10480         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10481         (isless_test_data): New variable.
10482         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10483         (islessequal_test_data): New variable.
10484         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10485         (islessgreater_test_data): New variable.
10486         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10487         (isunordered_test_data): New variable.
10488         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10490 2013-05-14  David S. Miller  <davem@davemloft.net>
10492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10494 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10496         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10498         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10499         extra_test to int.
10500         (struct test_f_i_data): Change type of max_ulp to int.
10502         * math/libm-test.inc (test_ffI_f1_data): New type.
10503         (RUN_TEST_LOOP_ffI_f1): New macro.
10504         (remquo_test_data): New variable.
10505         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10507         * setjmp/tst-setjmp-fp.c: New file.
10508         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10509         (link-libm): New variable.
10510         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10512         * math/libm-test.inc (struct test_f_i_data): New type.
10513         (RUN_TEST_LOOP_f_i): New macro.
10514         (RUN_TEST_LOOP_f_i_tg): Likewise.
10515         (fpclassify_test_data): New variable.
10516         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10517         (ilogb_test_data): New variable.
10518         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10520         * math/libm-test.inc (scalbln_test): Correct function name in END
10521         call.
10523         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10524         (RUN_TEST_LOOP_fI_f1): New macro.
10525         (frexp_test_data): New variable.
10526         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10528         * math/libm-test.inc (struct test_fF_f1_data): New type.
10529         (RUN_TEST_LOOP_fF_f1): New macro.
10530         (modf_test_data): New variable.
10531         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10533         * math/libm-test.inc (struct test_f_f1_data): New type.
10534         (RUN_TEST_LOOP_f_f1): New macro.
10535         (gamma_test_data): New variable.
10536         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10537         (lgamma_test_data): New variable.
10538         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10540 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10542         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10543         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10544         (main): Comment "tls" pseudo-hwcap.
10546 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10548         * math/libm-test.inc (struct test_fl_f_data): New type.
10549         (RUN_TEST_LOOP_fl_f): New variable.
10550         (scalbln_test_data): New variable.
10551         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10553         * math/libm-test.inc (struct test_fi_f_data): New type.
10554         (RUN_TEST_LOOP_fi_f): New macro.
10555         (ldexp_test_data): New variable.
10556         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10557         (scalbn_test_data): New variable.
10558         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10560         * math/libm-test.inc (struct test_c_f_data): New type.
10561         (RUN_TEST_LOOP_c_f): New macro.
10562         (cabs_test_data): New variable.
10563         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10564         (carg_test_data): New variable.
10565         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10566         (cimag_test_data): New variable.
10567         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10568         (creal_test_data): New variable.
10569         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10571         * math/libm-test.inc (struct test_if_f_data): New type.
10572         (RUN_TEST_LOOP_if_f): New macro.
10573         (jn_test_data): New variable.
10574         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10575         (yn_test_data): New variable.
10576         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10578         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10580 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10582         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10583         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10585 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10587         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10588         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10589         (bench-deps): Add bench-timing.h.
10590         * benchtests-bench-skeleton.c: Include bench-timing.h.
10591         (main): Use TIMING_* macros instead of clock_gettime.
10592         * benchtests/bench-timing.h: New file.
10594         [BZ #14582]
10595         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10596         Renamed from _LIB_VERSION.
10597         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10599 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10601         * math/libm-test.inc (struct test_fff_f_data): New type.
10602         (RUN_TEST_LOOP_fff_f): New macro.
10603         (fma_test_data): New variable.
10604         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10605         (fma_towardzero_test_data): New variable.
10606         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10607         (fma_downward_test_data): New variable.
10608         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10609         (fma_upward_test_data): New variable.
10610         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10612         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10613         (struct test_c_c_data): New type.
10614         (RUN_TEST_LOOP_c_c): New macro.
10615         (cacos_test_data): New variable.
10616         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10617         (cacosh_test_data): New variable.
10618         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10619         (casin_test_data): New variable.
10620         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10621         (casinh_test_data): New variable.
10622         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10623         (catan_test_data): New variable.
10624         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10625         (catanh_test_data): New variable.
10626         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10627         (ccos_test_data): New variable.
10628         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10629         (ccosh_test_data): New variable.
10630         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10631         (cexp_test_data): New variable.
10632         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10633         (clog_test_data): New variable.
10634         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10635         (clog10_test_data): New variable.
10636         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10637         (conj_test_data): New variable.
10638         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10639         (cproj_test_data): New variable.
10640         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10641         (csin_test_data): New variable.
10642         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10643         (csinh_test_data): New variable.
10644         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10645         (csqrt_test_data): New variable.
10646         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10647         (ctan_test_data): New variable.
10648         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10649         (ctan_tonearest_test_data): New variable.
10650         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10651         (ctan_towardzero_test_data): New variable.
10652         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10653         (ctan_downward_test_data): New variable.
10654         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10655         (ctan_upward_test_data): New variable.
10656         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10657         (ctanh_test_data): New variable.
10658         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10659         (ctanh_tonearest_test_data): New variable.
10660         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10661         (ctanh_towardzero_test_data): New variable.
10662         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10663         (ctanh_downward_test_data): New variable.
10664         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10665         (ctanh_upward_test_data): New variable.
10666         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10667         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10668         of BUILD_COMPLEX.
10670         * math/libm-test.inc (struct test_ff_f_data): New type.
10671         (struct test_ff_f_data_nexttoward): Likewise.
10672         (RUN_TEST_LOOP_2_f): New macro.
10673         (RUN_TEST_LOOP_ff_f): Likewise.
10674         (atan2_test_data): New variable.
10675         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10676         (copysign_test_data): New variable.
10677         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10678         (fdim_test_data): New variable.
10679         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10680         (fmax_test_data): New variable.
10681         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10682         (fmin_test_data): New variable.
10683         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10684         (fmod_test_data): New variable.
10685         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10686         (hypot_test_data): New variable.
10687         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10688         (nextafter_test_data): New variable.
10689         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10690         (nexttoward_test_data): New variable.
10691         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10692         (pow_test_data): New variable.
10693         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10694         (pow_tonearest_test_data): New variable.
10695         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10696         (pow_towardzero_test_data): New variable.
10697         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10698         (pow_downward_test_data): New variable.
10699         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10700         (pow_upward_test_data): New variable.
10701         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10702         (remainder_test_data): New variable.
10703         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10704         (scalb_test_data): New variable.
10705         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10706         * sysdeps/i386/fpu/libm-test-ulps: Update.
10708 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10710         * math/libm-test.inc (fma_test): Use max_value instead of local
10711         variable fltmax.
10712         (nextafter_test): Likewise.
10714         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10715         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10716         (acos_downward_test_data): New variable.
10717         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10718         (acos_upward_test_data): New variable.
10719         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10720         (acosh_test_data): New variable.
10721         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10722         (asin_test_data): New variable.
10723         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10724         (asin_tonearest_test_data): New variable.
10725         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10726         (asin_towardzero_test_data): New variable.
10727         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10728         (asin_downward_test_data): New variable.
10729         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10730         (asin_upward_test_data): New variable.
10731         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10732         (asinh_test_data): New variable.
10733         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10734         (atan_test_data): New variable.
10735         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10736         (atanh_test_data): New variable.
10737         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10738         (cbrt_test_data): New variable.
10739         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10740         (ceil_test_data): New variable.
10741         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10742         (cos_test_data): New variable.
10743         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10744         (cos_tonearest_test_data): New variable.
10745         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10746         (cos_towardzero_test_data): New variable.
10747         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10748         (cos_downward_test_data): New variable.
10749         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10750         (cos_upward_test_data): New variable.
10751         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10752         (cosh_test_data): New variable.
10753         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10754         (cosh_tonearest_test_data): New variable.
10755         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10756         (cosh_towardzero_test_data): New variable.
10757         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10758         (cosh_downward_test_data): New variable.
10759         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10760         (cosh_upward_test_data): New variable.
10761         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10762         (erf_test_data): New variable.
10763         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10764         (erfc_test_data): New variable.
10765         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10766         (exp_test_data): New variable.
10767         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10768         (exp_tonearest_test_data): New variable.
10769         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10770         (exp_towardzero_test_data): New variable.
10771         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10772         (exp_downward_test_data): New variable.
10773         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10774         (exp_upward_test_data): New variable.
10775         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10776         (exp10_test_data): New variable.
10777         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10778         (exp2_test_data): New variable.
10779         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10780         (expm1_test_data): New variable.
10781         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10782         (fabs_test_data): New variable.
10783         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10784         (floor_test_data): New variable.
10785         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10786         (j0_test_data): New variable.
10787         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10788         (j1_test_data): New variable.
10789         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10790         (log_test_data): New variable.
10791         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10792         (log10_test_data): New variable.
10793         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10794         (log1p_test_data): New variable.
10795         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10796         (log2_test_data): New variable.
10797         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10798         (logb_test_data): New variable.
10799         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10800         (logb_downward_test_data): New variable.
10801         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10802         (nearbyint_test_data): New variable.
10803         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10804         (rint_test_data): New variable.
10805         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10806         (rint_tonearest_test_data): New variable.
10807         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10808         (rint_towardzero_test_data): New variable.
10809         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10810         (rint_downward_test_data): New variable.
10811         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10812         (rint_upward_test_data): New variable.
10813         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10814         (round_test_data): New variable.
10815         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10816         (sin_test_data): New variable.
10817         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10818         (sin_tonearest_test_data): New variable.
10819         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10820         (sin_towardzero_test_data): New variable.
10821         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10822         (sin_downward_test_data): New variable.
10823         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10824         (sin_upward_test_data): New variable.
10825         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10826         (sinh_test_data): New variable.
10827         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10828         (sinh_tonearest_test_data): New variable.
10829         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10830         (sinh_towardzero_test_data): New variable.
10831         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10832         (sinh_downward_test_data): New variable.
10833         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10834         (sinh_upward_test_data): New variable.
10835         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10836         (sqrt_test_data): New variable.
10837         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10838         (tan_test_data): New variable.
10839         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10840         (tan_tonearest_test_data): New variable.
10841         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10842         (tan_towardzero_test_data): New variable.
10843         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10844         (tan_downward_test_data): New variable.
10845         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10846         (tan_upward_test_data): New variable.
10847         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10848         (tanh_test_data): New variable.
10849         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10850         (tgamma_test_data): New variable.
10851         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10852         (trunc_test_data): New variable.
10853         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10854         (y0_test_data): New variable.
10855         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10856         (y1_test_data): New variable.
10857         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10858         (significand_test_data): New variable.
10859         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10861 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10863         [BZ #12387]
10864         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10866 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10868         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10870 2013-05-10  Andreas Jaeger  <aj@suse.de>
10872         [BZ #15448]
10873         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10874         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10876 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10878         * math/gen-libm-test.pl (adjust_arg): New function.
10879         (special_functions): Handle generating output in both functions
10880         and arrays.
10881         (parse_args): Likewise.
10882         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10883         $in_func argument to parse_args.
10884         * math/libm-test.inc (struct test_f_f_data): New type.
10885         (IF_ROUND_INIT_): New macro.
10886         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10887         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10888         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10889         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10890         (ROUND_RESTORE_): Likewise.
10891         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10892         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10893         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10894         (ROUND_RESTORE_FE_UPWARD): Likewise.
10895         (RUN_TEST_LOOP_f_f): New macro.
10896         (acos_test_data): New variable.
10897         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10898         (acos_tonearest_test_data): New variable.
10899         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10901 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10903         * benchtests/bench-skeleton.c (startup): Fix coding style.
10905 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10907         [BZ #6809]
10908         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10909         negative infinity argument.
10910         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10911         negative infinity argument.
10912         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10913         negative infinity argument.
10914         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10915         domain errors.
10917 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10919         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10920         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10921         * iconv/iconv_prog.c (main): Likewise.
10922         * locale/programs/charmap-dir.c (charmap_readdir)
10923         (fopen_uncompressed): Likewise.
10924         * locale/programs/locfile.c (siblings_uncached)
10925         (write_locale_data): Use lstat64 instead of lstat.
10926         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10927         stat.
10929 2013-05-10  Andreas Jaeger  <aj@suse.de>
10931         [BZ #15395]
10932         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10933         localization.
10934         Include <locale.h>.
10936 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10938         * elf/dl-close.c (_dl_close_worker): Add comments.
10940 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10942         [BZ #15359]
10943         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10944         high part of pi/2.
10945         (__ieee754_rem_pio2l): Update comments.
10947         [BZ #15429]
10948         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10949         high part of pi/2.
10950         (__ieee754_rem_pio2l): Update comments.
10952         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10953         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10955         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10956         M_PI_4l.
10958         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10959         (M_PI_34_LOG10El): Likewise.
10960         (M_PI2_LOG10El): Likewise.
10961         (M_PI4_LOG10El): Likewise.
10962         (M_PI_LOG10El): Likewise.
10964 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10968 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10970         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10971         (MINUS_ZERO_INIT): Likewise.
10972         (PLUS_INFTY_INIT): Likewise.
10973         (MINUS_INFTY_INIT): Likewise.
10974         (QNAN_VALUE_INIT): Likewise.
10975         (MAX_VALUE_INIT): Likewise.
10976         (MIN_VALUE_INIT): Likewise.
10977         (MIN_SUBNORM_VALUE_INIT): Likewise.
10978         (plus_zero): Initialize with PLUS_ZERO_INIT.
10979         (minus_zero): Initialize with MINUS_ZERO_INIT.
10980         (plus_infty): Initialize with PLUS_INFTY_INIT.
10981         (minus_infty): Initialize with MINUS_INFTY_INIT.
10982         (qnan_value): Initialize with QNAN_VALUE_INIT.
10983         (max_value): Initialize with MAX_VALUE_INIT.
10984         (min_value): Initialize with MIN_VALUE_INIT.
10985         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10987         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10988         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10989         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10990         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10992         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10993         (RUN_TEST_2_f): Likewise.
10994         (RUN_TEST_ff_f): Likewise.
10995         (RUN_TEST_fi_f): Likewise.
10996         (RUN_TEST_fl_f): Likewise.
10997         (RUN_TEST_fff_f): Likewise.
10998         (RUN_TEST_c_f): Likewise.
10999         (RUN_TEST_f_f1): Likewise.
11000         (RUN_TEST_fF_f1): Likewise.
11001         (RUN_TEST_fI_f1): Likewise.
11002         (RUN_TEST_ffI_f1): Likewise.
11003         (RUN_TEST_c_c): Likewise.
11004         (RUN_TEST_cc_c): Likewise.
11005         (RUN_TEST_f_i): Likewise.
11006         (RUN_TEST_f_i_tg): Likewise.
11007         (RUN_TEST_ff_i_tg): Likewise.
11008         (RUN_TEST_f_b): Likewise.
11009         (RUN_TEST_f_b_tg): Likewise.
11010         (RUN_TEST_f_l): Likewise.
11011         (RUN_TEST_f_L): Likewise.
11012         (RUN_TEST_sincos): Likewise.
11013         * math/gen-libm-test.pl (new_test): Take new argument to indicate
11014         whether to show exceptions.  Do not include ");\n" in return
11015         value.
11016         (special_functions): Output call to RUN_TEST_sincos instead of
11017         check_float calls.  Update calls to new_test.
11018         (parse_args): Output call to single RUN_TEST_* macro instead of
11019         check_* calls and other assignments.  Update calls to new_test.
11021         [BZ #2546]
11022         [BZ #2560]
11023         [BZ #5159]
11024         [BZ #15426]
11025         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11026         input to result for tgamma overflow.
11027         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11028         (gamma_coeff): New variable.
11029         (NCOEFF): New macro.
11030         (gamma_positive): New function.
11031         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11032         underflow here.  Use gamma_positive instead of exp (lgamma) for
11033         other arguments.
11034         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11035         (gamma_coeff): New variable.
11036         (NCOEFF): New macro.
11037         (gammaf_positive): New function.
11038         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11039         underflow here.  Use gamma_positive instead of exp (lgamma) for
11040         other arguments.
11041         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11042         (gamma_coeff): New variable.
11043         (NCOEFF): New macro.
11044         (gammal_positive): New function.
11045         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11046         underflow here.  Use gamma_positive instead of exp (lgamma) for
11047         other arguments.
11048         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11049         (gamma_coeff): New variable.
11050         (NCOEFF): New macro.
11051         (gammal_positive): New function.
11052         (__ieee754_gammal_r): Handle positive infinity, overflow and
11053         underflow here.  Handle NaN the same as positive infinity.  Remove
11054         check x < 0xffffffff for negative integers.  Use gamma_positive
11055         instead of exp (lgamma) for other arguments.
11056         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11057         (gamma_coeff): New variable.
11058         (NCOEFF): New macro.
11059         (gammal_positive): New function.
11060         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11061         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11062         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11063         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11064         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11065         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11066         * sysdeps/generic/math_private.h (__gamma_productf): New
11067         prototype.
11068         (__gamma_product): Likewise.
11069         (__gamma_productl): Likewise.
11070         * math/Makefile (libm-calls): Add gamma_product.
11071         * math/libm-test.inc (tgamma_test): Add more tests.
11072         * sysdeps/i386/fpu/libm-test-ulps: Update.
11073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11075 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
11077         * benchtests/bench-skeleton.c (main): Preheat CPU.
11079 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
11081         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11083 2013-05-07  Roland McGrath  <roland@hack.frob.com>
11085         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11086         and _dl_skip_args_internal.
11088 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
11090         * manual/message.texi (Message Translation): Talk about users.
11091         Message to key mapping impacts design.
11093 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11095         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11097         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11099         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11100         * sysdeps/wordsize-64/glob64.c: ... here.
11102         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11103         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11104         New macros.
11106         * debug/getlogin_r_chk.c: Moved to ...
11107         * login/getlogin_r_chk.c: ... here.
11108         * debug/Makefile (routines): Move getlogin_r_chk to ...
11109         * login/Makefile (routines): ... here.
11110         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11111         * login/Versions (libc: GLIBC_2.4): ... here.
11113         * io/poll.c (__poll): Renamed from poll.
11114         Add libc_hidden_def.
11115         (poll): Define as weak alias.
11117         * debug/ptsname_r_chk.c: Moved to ...
11118         * login/ptsname_r_chk.c: ... here.
11119         * debug/Makefile (routines): Move ptsname_r_chk to ...
11120         * login/Makefile (routines): ... here.
11121         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11122         * login/Versions (libc: GLIBC_2.4): ... here.
11124         * posix/getlogin.c: Moved to ...
11125         * login/getlogin.c: ... here.
11126         * posix/getlogin_r.c: Moved to ...
11127         * login/getlogin_r.c: ... here.
11128         * posix/getlogin_r.c: Moved to ...
11129         * login/getlogin_r.c: ... here.
11130         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11131         * login/Makefile (routines): ... here.
11132         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11133         * login/Versions (libc: GLIBC_2.0): ... here.
11135         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11136         (setrlimit): Define as weak alias.
11138         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11139         Call __ names for open, ftruncate, and close.
11140         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11141         (truncate): Define as weak alias.
11143 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11145         * math/gen-libm-test.pl (parse_args): Initialize x before each
11146         test of frexp, modf and remquo.
11148         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11149         test signgam value.
11151 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11153         [BZ #15418]
11154         [BZ #15419]
11155         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11156         internal tests.
11157         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11159 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11161         * elf/dl-writev.h: New file.
11162         * elf/dl-misc.c: Include it.
11163         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11164         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11166 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11168         * math/libm-test.inc (noXFails): Remove variable.
11169         (noXPasses): Likewise.
11170         (BUILD_COMPLEX_INT): Remove macro.
11171         (print_screen): Remove xfail argument.
11172         (print_screen_max_error): Likewise.
11173         (update_stats): Likewise.
11174         (print_max_error): Likewise.  Update calls to other affected
11175         functions.
11176         (print_complex_max_error): Likewise.
11177         (test_single_exception): Update calls to print_screen.
11178         (test_single_errno): Likewise.
11179         (check_float_internal): Remove xfail argument.  Update calls to
11180         other affected functions.
11181         (check_float): Likewise.
11182         (check_complex): Likewise.
11183         (check_int): Likewise.
11184         (check_long): Likewise.
11185         (check_bool): Likewise.
11186         (check_longlong): Likewise.
11187         (main): Don't print noXFails and noXPasses.
11188         * math/gen-libm-test.pl (top level): Don't mention expected
11189         failure handling in comment.
11190         (new_test): Don't handle expected failures.
11191         (parse_args): Don't mention expected failure handling in comment.
11192         (generate_testfile): Don't handle expected failures.
11193         (parse_ulps): Likewise.
11194         (print_ulps_file): Likewise.
11195         (get_failure): Remove function.
11196         (output_test): Don't handle expected failures.
11197         * make/README.libm-test: Don't mention expected failure handling.
11199         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11200         (minus_zero): Likewise.
11201         (plus_infty): Likewise.
11202         (minus_infty): Likewise.
11203         (qnan_value): Likewise.
11204         (max_value): Likewise.
11205         (min_value): Likewise.
11206         (min_subnorm_value): Likewise.
11207         (initialize): Do not initialize those variables dynamically.
11209 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11211         * io/open.c (__open_2): Moved to ...
11212         * io/open_2.c: ... this new file.
11213         * io/open64.c (__open64_2): Moved to ...
11214         * io/open64_2.c: ... this new file.
11215         * io/openat.c (__openat_2): Moved to ...
11216         * io/openat_2.c: ... this new file.
11217         * io/openat64.c (__openat64_2): Moved to ...
11218         * io/openat64_2.c: ... this new file.
11219         * io/Makefile (routines): Add them.
11220         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11221         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11222         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11223         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11224         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11225         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11226         (__openat64): Add hidden_ver.
11227         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11228         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11230         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11231         Separately conditionalize setting of GLRO(dl_sysinfo) so
11232         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11233         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11235 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11237         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11238         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11239         definition.
11240         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11241         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11242         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11243         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11244         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11246 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11248         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11249         test signgam value.
11251         * math/libm-test.inc (hypot_test): Do not use
11252         IGNORE_ZERO_INF_SIGN.
11254 2013-05-03  Andreas Jaeger  <aj@suse.de>
11256         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11257         Linux 3.9.
11258         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11259         (PF_MAX): Adjust for VSOCK change.
11261 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11265 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11267         [BZ #15264]
11268         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11269         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11270         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11272 2013-05-02  David S. Miller  <davem@davemloft.net>
11274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11276 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11278         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11280 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11282         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11284 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11286         [BZ #14952]
11287         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11288         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11289         Use __attribute__ ((__gnu_inline__)).
11290         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11291         Don't use __attribute__ ((__gnu_inline__)).
11293 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11295         [BZ #15423]
11296         * math/s_catan.c (__catan): Handle small real or imaginary part of
11297         input specially to avoid spurious underflow.
11298         * math/s_catanf.c (__catanf): Likewise.
11299         * math/s_catanh.c (__catanh): Likewise.
11300         * math/s_catanhf.c (__catanhf): Likewise.
11301         * math/s_catanhl.c (__catanhl): Likewise.
11302         * math/s_catanl.c (__catanl): Likewise.
11303         * math/libm-test.inc (catan_test): Add more tests.
11304         (catanh_test): Likewise.
11305         * sysdeps/i386/fpu/libm-test-ulps: Update.
11306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11308 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11312 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11314         [BZ #15416]
11315         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11316         accurately for denominator in atan2.
11317         * math/s_catanf.c (__catanf): Likewise.
11318         * math/s_catanh.c (__catanh): Likewise.
11319         * math/s_catanhf.c (__catanhf): Likewise.
11320         * math/s_catanhl.c (__catanhl): Likewise.
11321         * math/s_catanl.c (__catanl): Likewise.
11322         * math/libm-test.inc (catan_test): Add more tests.
11323         (catanh_test): Likewise.
11324         * sysdeps/i386/fpu/libm-test-ulps: Update.
11325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11327 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11329         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11331         * benchtests/Makefile (bench): Remove slow benchmarks.
11332         * benchtests/atan-inputs: Add slow benchmark inputs.
11333         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11334         (BENCH_FUNC): Accept variant offset.
11335         (VARIANT): Define.
11336         * benchtests/bench-skeleton.c (main): Run benchmark for each
11337         variant.
11338         * benchtests/cos-inputs: Add slow benchmark inputs.
11339         * benchtests/exp-inputs: Likewise.
11340         * benchtests/pow-inputs: Likewise.
11341         * benchtests/sin-inputs: Likewise.
11342         * benchtests/slowatan-inputs: Remove.
11343         * benchtests/slowatan.c: Remove.
11344         * benchtests/slowcos-inputs: Remove.
11345         * benchtests/slowcos.c: Remove.
11346         * benchtests/slowexp-inputs: Remove.
11347         * benchtests/slowexp.c: Remove.
11348         * benchtests/slowpow-inputs: Remove.
11349         * benchtests/slowpow.c: Remove.
11350         * benchtests/slowsin-inputs: Remove.
11351         * benchtests/slowsin.c: Remove.
11352         * benchtests/slowtan-inputs: Remove.
11353         * benchtests/slowtan.c: Remove.
11354         * benchtests/tan-inputs: Add slow benchmark inputs.
11355         * scripts/bench.pl: Parse comments and directives.
11357         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
11358         in CPPFLAGS.
11359         ($(objpfx)bench-%.c): Remove *-ITER.
11360         * benchtests/bench-modf.c: Remove definition of ITER.
11361         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11362         (main): Loop for DURATION seconds instead of fixed number of
11363         iterations.
11364         * scripts/bench.pl: Don't expect iterations in parameters.
11366 2013-04-29  Roland McGrath  <roland@hack.frob.com>
11368         * io/fchdir.c (__fchdir): Renamed from fchdir.
11369         (fchdir): Define as weak alias.
11371 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11373         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11374         (ERRNO_EDOM): Likewise.
11375         (ERRNO_ERANGE): Likewise.
11376         (noErrnoTests): New variable.
11377         (init_max_error): Set errno to 0.
11378         (test_single_errno): New function.
11379         (test_errno): Likewise.
11380         (check_float_internal): Call test_errno.  Set errno to 0.
11381         (check_complex): Refer to errno tests in comment.
11382         (check_int): Call test_errno.  Set errno to 0.
11383         (check_long): Likewise.
11384         (check_bool): Likewise.
11385         (check_longlong): Likewise.
11386         (cos_test): Use ERRNO_* flags for errno tests instead of
11387         check_int.
11388         (expm1_test): Likewise.
11389         (fmod_test): Likewise.
11390         (ilogb_test): Likewise.
11391         (lgamma_test): Likewise.
11392         (pow_test): Likewise.
11393         (remainder_test): Likewise.
11394         (sin_test): Likewise.
11395         (tan_test): Likewise.
11396         (yn_test): Likewise.
11397         (initialize): Set errno to 0.
11398         (main): Print number of errno tests.
11399         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11401 2013-04-29  Andreas Jaeger  <aj@suse.de>
11403         [BZ #15084]
11404         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11405         and RES_USEVC.
11407         [BZ #15085]
11408         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11409         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11410         unimplemented.
11412         [BZ #15380]
11413         * stdlib/random.c (__initstate): Return NULL if
11414         __initstate fails.
11416         [BZ #15086]
11417         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11418         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11419         RES_SNGLKUPREOP.
11421 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11425 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11427         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11428         of individual tests.
11429         (casin_test): Likewise.
11430         (casinh_test): Likewise.
11432 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11434         [BZ #15409]
11435         * math/s_catan.c (__catan): Handle arguments with large real or
11436         imaginary part separately without squaring.
11437         * math/s_catanf.c (__catanf): Likewise.
11438         * math/s_catanh.c (__catanh): Likewise.
11439         * math/s_catanhf.c (__catanhf): Likewise.
11440         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11441         and redefine.
11442         (__catanhl): Handle arguments with large real or imaginary part
11443         separately without squaring.
11444         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11445         and redefine.
11446         (__catanl): Handle arguments with large real or imaginary part
11447         separately without squaring.
11448         * math/libm-test.inc (catan_test): Add more tests.
11449         (catanh_test): Likewise.
11450         * sysdeps/i386/fpu/libm-test-ulps: Update.
11451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11453 2013-04-27  Andreas Jaeger  <aj@suse.de>
11455         [BZ #15007]
11456         * stdlib/stdlib.h: Update guards for qecvt.
11457         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11458         <stdlib.h>.
11460 2013-04-27  Allan McRae  <allan@archlinux.org>
11462         * sysdeps/i386/fpu/libm-test-ulps: Update.
11464 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11466         [BZ #15406]
11467         * math/s_catan.c: Include <float.h>.
11468         (__catan): Ensure underflow exception occurs for underflowed
11469         result.
11470         * math/s_catanf.c: Include <float.h>.
11471         (__catanf): Ensure underflow exception occurs for underflowed
11472         result.
11473         * math/s_catanh.c: Include <float.h>.
11474         (__catanh): Ensure underflow exception occurs for underflowed
11475         result.
11476         * math/s_catanhf.c: Include <float.h>.
11477         (__catanhf): Ensure underflow exception occurs for underflowed
11478         result.
11479         * math/s_catanhl.c: Include <float.h>.
11480         (__catanhl): Ensure underflow exception occurs for underflowed
11481         result.
11482         * math/s_catanl.c: Include <float.h>.
11483         (__catanl): Ensure underflow exception occurs for underflowed
11484         result.
11485         * math/libm-test.inc (catan_test): Add more tests.
11486         (catanh_test): Likewise.
11488         [BZ #15405]
11489         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11490         underflowed result.
11491         * math/s_ccoshf.c (__ccoshf): Likewise.
11492         * math/s_ccoshl.c (__ccoshl): Likewise.
11493         * math/s_csin.c (__csin): Likewise.
11494         * math/s_csinf.c (__csinf): Likewise.
11495         * math/s_csinh.c (__csinh): Likewise.
11496         * math/s_csinhf.c (__csinhf): Likewise.
11497         * math/s_csinhl.c (__csinhl): Likewise.
11498         * math/s_csinl.c (__csinl): Likewise.
11499         * math/libm-test.inc (ccos_test): Add more tests.
11500         (ccosh_test): Likewise.
11501         (csin_test): Likewise.
11502         (csinh_test): Likewise.
11504 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11506         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11507         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11508         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11509         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11510         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11511         powerpc/power5+/fpu folders.
11512         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11515 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11519 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11521         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11522         additions to variable.
11523         [$(config-machine) = x86_64] (modules-names): Likewise.
11524         ($(objpfx)tst-audit3): Remove dependency.
11525         ($(objpfx)tst-audit3.out): Likewise.
11526         ($(objpfx)tst-audit4): Likewise.
11527         ($(objpfx)tst-audit4.out): Likewise.
11528         ($(objpfx)tst-audit5): Likewise.
11529         ($(objpfx)tst-audit5.out): Likewise.
11530         ($(objpfx)tst-audit6): Likewise.
11531         ($(objpfx)tst-audit6.out): Likewise.
11532         ($(objpfx)tst-audit7): Likewise.
11533         ($(objpfx)tst-audit7.out): Likewise.
11534         (tst-audit3-ENV): Remove variable.
11535         (tst-audit4-ENV): Likewise.
11536         (tst-audit5-ENV): Likewise.
11537         (tst-audit6-ENV): Likewise.
11538         (tst-audit7-ENV): Likewise.
11539         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11540         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11541         addition to variable.
11542         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11543         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11544         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11545         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11546         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11547         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11548         tst-audit3, tst-audit4 and tst-audit5.
11549         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11550         tst-audit6 and tst-audit7.
11551         [$(subdir) = elf] (modules-names): Add audit modules for those
11552         tests.
11553         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11554         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11555         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11556         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11557         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11558         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11559         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11560         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11561         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11562         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11563         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11564         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11565         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11566         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11567         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11568         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11569         Likewise.
11570         [$(subdir) = elf && $(config-cflags-avx) = yes]
11571         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11572         [$(subdir) = elf && $(config-cflags-avx) = yes]
11573         (CFLAGS-tst-auditmod4a.c): Likewise.
11574         [$(subdir) = elf && $(config-cflags-avx) = yes]
11575         (CFLAGS-tst-auditmod4b.c): Likewise.
11576         [$(subdir) = elf && $(config-cflags-avx) = yes]
11577         (CFLAGS-tst-auditmod6b.c): Likewise.
11578         [$(subdir) = elf && $(config-cflags-avx) = yes]
11579         (CFLAGS-tst-auditmod6c.c): Likewise.
11580         [$(subdir) = elf && $(config-cflags-avx) = yes]
11581         (CFLAGS-tst-auditmod7b.c): Likewise.
11582         * elf/tst-audit3.c: Move to ...
11583         * sysdeps/x86_64/tst-audit3.c: ... here.
11584         * elf/tst-audit4.c: Move to ...
11585         * sysdeps/x86_64/tst-audit4.c: ... here.
11586         * elf/tst-audit5.c: Move to ...
11587         * sysdeps/x86_64/tst-audit5.c: ... here.
11588         * elf/tst-audit6.c: Move to ...
11589         * sysdeps/x86_64/tst-audit6.c: ... here.
11590         * elf/tst-audit7.c: Move to ...
11591         * sysdeps/x86_64/tst-audit7.c: ... here.
11592         * elf/tst-auditmod3a.c: Move to ...
11593         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11594         * elf/tst-auditmod3b.c: Move to ...
11595         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11596         * elf/tst-auditmod4a.c: Move to ...
11597         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11598         * elf/tst-auditmod4b.c: Move to ...
11599         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11600         * elf/tst-auditmod5a.c: Move to ...
11601         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11602         * elf/tst-auditmod5b.c: Move to ...
11603         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11604         * elf/tst-auditmod6a.c: Move to ...
11605         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11606         * elf/tst-auditmod6b.c: Move to ...
11607         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11608         * elf/tst-auditmod6c.c: Move to ...
11609         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11610         * elf/tst-auditmod7a.c: Move to ...
11611         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11612         * elf/tst-auditmod7b.c: Move to ...
11613         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11615 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11617         [BZ #15366]
11618         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11619         define unconditionally.
11620         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11621         define unconditionally.
11622         (INT8_C, INT16_C, etc.): Likewise.
11624 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11626         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11627         __ehdr_start with hidden visibility.
11629         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11631 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11633         * math/libm-test.inc (cos_test): Use accurate hex constants.
11634         (sincost_test): Likewise.
11636 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11638         * math/libm-test.inc (catan_test): Add more tests.
11639         (catanh_test): Likewise.
11641         * math/s_catanf.c (__catanf): Use suffixed floating-point
11642         constants.
11643         * math/s_catanhf.c (__catanhf): Likewise.
11644         * math/s_catanhl.c (__catanhl): Likewise.
11645         * math/s_catanl.c (__catanl): Likewise.
11647         [BZ #15394]
11648         * math/s_catan.c (__catan): Calculate imaginary part of result
11649         with log1p not log unless computing log of number close to 0.
11650         * math/s_catanf.c (__catanf): Likewise.
11651         * math/s_catanl.c (__catanl): Likewise.
11652         * math/s_catanh.c (__catanh): Calculate real part of result with
11653         log1p not log unless computing log of number close to 0.
11654         * math/s_catanhf.c (__catanhf): Likewise.
11655         * math/s_catanhl.c (__catanhl): Likewise.
11656         * math/libm-test.inc (catan_test): Add more tests.
11657         (catanh_test): Likewise.
11658         * sysdeps/i386/fpu/libm-test-ulps: Update.
11659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11661 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11663         * benchtests/Makefile: Mention files in which fast and slow
11664         paths of math functions are implemented.
11666 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11668         * sysdeps/posix/timespec_get.c: New file.
11670 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11672         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11673         POWER.
11674         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11675         for POWER.
11676         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11677         powerpc/power5/fpu folders.
11678         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11679         * benchtests/Makefile: Add modf testcase.
11680         * benchtests/bench-modf.c: New file: Benchmark test for mo
11682 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11684         [BZ #14888]
11685         * time/Makefile (tests): Add tst-strptime-whitespace.
11686         * time/strptime_l.c (get_number): Use ISSPACE.
11687         (__strptime_internal): Likewise.
11688         * time/tst-strptime-whitespace.c: New test case.
11690 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11692         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11693         member.
11694         (_nss_files_init): Set it here.
11696 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11698         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11699         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11700         unsigned.
11702 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11704         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11706 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11708         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11709         size just once.
11711 2013-04-21  David S. Miller  <davem@davemloft.net>
11713         * po/ru.po: Update Russion translation from translation project.
11715 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11717         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11718         and setfsgid.
11720 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11722         * configure.in: Remove i386 configure warning. Remove i386 case.
11723         * configure: Regenerate.
11724         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11725         Add example to error message.
11726         * sysdeps/i386/configure: Regenerate.
11728 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11730         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11731         slowtan.
11732         * benchtests/cos-inputs: New file.
11733         * benchtests/slowcos-inputs: New file.
11734         * benchtests/slowcos.c: New file.
11735         * benchtests/slowtan-inputs: New file.
11736         * benchtests/slowtan.c: New file.
11737         * benchtests/tan-inputs: New file.
11739 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11741         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11742         considered kosher.
11744 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11746         * benchtests/Makefile: Include cppflags-iterator.mk to add
11747         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11749         * Makefile.in (bench-clean): New target.
11750         * benchtests/Makefile (bench-clean): Likewise.
11752 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11754         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11756 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11758         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11760 2013-04-15  Andreas Schwab  <schwab@suse.de>
11762         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11763         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11764         * nscd/pwdcache.c (cache_addpw): Likewise.
11765         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11766         more than recsize.
11768 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11770         * benchtests/Makefile (bench): Write all output to
11771         bench-out.tmp together.
11773 2013-04-15  Andreas Schwab  <schwab@suse.de>
11775         * nscd/nscd.c (main): Don't fork again after closing files.
11777 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11779         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11781         * benchtests/Rules (bench-deps): Collect dependencies into a
11782         single variable.  Add Makefile to dependencies.
11783         ($(objpfx)bench-%.c): Depend on bench-deps.
11785 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11786             Xavier Roche  <roche+kml2@exalead.com>
11788         [BZ #15361]
11789         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11790         just that it's a file descriptor.
11791         * manual/llio.texi (Synchronizing AIO Operations): Update description
11792         for EBADF error from aio_fsync.
11794 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11796         * Rules (bench): Move target definition...
11797         * benchtests/Makefile: ... here.
11799 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11801         * math/libm-test.inc (cos_test): Fix PI/2 test.
11802         (sincos_test): Likewise.
11803         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11804         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11806 2013-04-11  Andreas Schwab  <schwab@suse.de>
11808         [BZ #13988]
11809         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11810         accept exponent character only when digits were seen.
11811         * stdio-common/Makefile (tests): Add bug26.
11812         * stdio-common/bug26.c: New file.
11814         [BZ #14293]
11815         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11816         non-freeable.
11818 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11820         * Makeconfig (rtld-prefix): Define built linker prefix.
11821         * Rules (run-bench): Use it.
11822         * math/Makefile (run-regen-ulps): Likewise.
11824         * Rules (bench): Remove eval.
11826 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11827             Roland McGrath  <roland@hack.frob.com>
11828             Ondrej Bilka  <neleai@seznam.cz>
11830         [BZ #15346]
11831         * time/getdate.c: Include ctype.h and alloca.h.
11832         (__getdate_r): Trim leading and trailing spaces of input.
11833         * time/tst-getdate.c (tests): Add tests with leading and
11834         trailing spaces.
11836 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11838         [BZ #14280]
11839         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11840         when computing value.
11842 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11844         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11845         Use testrun.sh to run libm tests.
11847         [BZ #15309]
11848         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11850 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11852         [BZ #15264]
11853         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11855 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11857         * Makefile.in (regen-ulps): New target.
11858         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11859         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11860         [ifneq (no,$(PERL)] (regen-ulps): New target.
11861         [ifeq (no,$(PERL)] (regen-ulps): New target.
11862         * math/libm-test.inc (ulps_file_name): Define.
11863         (output_dir): New variable.
11864         (options): Add "output-dir" option.
11865         (parse_opt): Handle 'o' case.
11866         (main): If output_dir is non-NULL use it as a prefix
11867         otherwise use "".
11868         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11870 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11872         [BZ #10060, #10062]
11873         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11874         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11875         fail configure if __sync_val_compare_and_swap is not inlined.
11876         * sysdeps/i386/configure: Regenerate.
11877         * configure.in: Build for i686 when configured for i386.
11878         * configure: Regenerate.
11879         * README: Remove i386 reference.
11881 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11883         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11884         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11886 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11888         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11889         (lmsnanval): New variables.
11890         (F): Add conversion tests.
11891         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11892         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11894         * stdio-common/tstdiomisc.c (F): Properly collect individual
11895         tests' results.
11897         [BZ #14686, #15336]
11898         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11899         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11900         Instead, use input NaN values or generate a qNaN by arithmetic
11901         operation.  Also fix bugs to comply with the standard.
11902         * math/libm-test.inc (remainder_test): Add more tests.
11904         [BZ #15335, #15342]
11905         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11906         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11907         input NaN values or generate a qNaN by arithmetic operation.
11909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11910         unreachable code.
11912         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11913         definitions.
11915 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11917         [BZ #14478]
11918         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11919         underflowed result.
11920         * math/s_cexpf.c (__cexpf): Likewise.
11921         * math/s_cexpl.c (__cexpl): Likewise.
11922         * math/libm-test.inc (cexp_test): Add more tests.
11924 2013-04-03  Andreas Schwab  <schwab@suse.de>
11926         [BZ #15330]
11927         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11928         order arrays from heap if bigger than alloca cutoff.
11930 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11932         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11933         (SNAN_TESTS_double): Refer to GCC PR56831.
11934         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11935         GCC PR56828.
11937 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11939         * Rules (bench): Move bench.out after the run is complete.
11941         * Rules (bench): Echo currently running benchmark.
11943         * benchtests/Makefile (bench): Add atan and slowatan.
11944         * benchtests/atan-inputs: New file.
11945         * benchtests/slowatan-inputs: New file.
11946         * benchtests/slowatan.c: New file.
11948         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11950         its value.
11952         [BZ #15305]
11953         * sysdeps/unix/sysv/linux/kernel-features.h
11954         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11955         __ASSUME_XFS_RESTRICTED_CHOWN.
11956         * sysdeps/unix/sysv/linux/pathconf.c
11957         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11958         Save and restore errno.
11960 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11962         [BZ #15327]
11963         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11964         arguments using __kernel_casinh.
11965         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11966         arguments using __kernel_casinhf.
11967         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11968         arguments using __kernel_casinhl.
11969         * math/libm-test.inc (cacosh_test): Add more tests.
11970         * sysdeps/i386/fpu/libm-test-ulps: Update.
11971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11973 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11975         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11978         * bench/Makefile (bench): Add sin and slowsin.
11979         * benchtests/sin-inputs: New file.
11980         * benchtests/slowsin-inputs: New file.
11981         * benchtests/slowsin.c: New file.
11983         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11984         (bench): Add slowexp and slowpow.
11985         (exp-ITER): Increase iterations.
11986         (pow-ITER): Likewise.
11987         * benchtests/exp-inputs: Change input.
11988         * benchtests/pow-inputs: Likewise.
11989         * benchtests/slowexp-inputs: New file.
11990         * benchtests/slowexp.c: New file.
11991         * benchtests/slowpow-inputs: New file.
11992         * benchtests/slowpow.c: New file.
11994 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11996         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11997         instructions.
11998         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11999         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12000         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12001         * benchtests/Makefile: Add rint benchtest.
12002         * benchtests/rint-inputs: Input for rint benchtest.
12004 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12006         * Versions.def (libm): Add GLIBC_2.18.
12007         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12008         hidden libm prototypes.
12009         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12010         * math/Makefile (libm-calls): Add s_issignaling.
12011         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12012         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
12013         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12014         declaration.
12015         * math/math.h [__USE_GNU] (issignaling): New macro.
12016         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12017         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12018         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12019         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12020         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12021         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12022         * manual/arith.texi (issignaling): New section.
12023         * manual/libm-err-tab.pl (@all_functions): Update comment.
12024         * math/gen-libm-test.pl (parse_args): Apply special handling for
12025         issignaling.
12026         * math/libm-test.inc (print_float, issignaling_test): New
12027         functions.
12028         (check_float_internal): Add issignaling checks.
12029         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12030         default definition.
12031         * sysdeps/powerpc/math-tests.h: New file.
12032         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12033         tests.
12034         * math/test-snan.c (TEST_FUNC): Likewise.
12036 2013-03-30  David S. Miller  <davem@davemloft.net>
12038         * po/de.po: Update from translation team.
12040 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
12042         [BZ #10357]
12043         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12044         imaginary part less than 1.0 and real part less than 0.5
12045         specially.
12046         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12047         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12048         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12049         (cacos_test): Add more tests.
12050         (casin_test): Likewise.
12051         (casinh_test): Likewise.
12052         * sysdeps/i386/fpu/libm-test-ulps: Update.
12053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12055 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12057         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12058         ONE with its value.
12060         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12061         (__pow_mp): Replace ONE and MONE with their values.
12062         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12063         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12064         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12065         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12066         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12067         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12069         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12071         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12072         (__pow_mp): Replace ZERO and MZERO with their values.
12073         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12074         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12075         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12077         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12078         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12079         (__sqr): Likewise.
12081         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12083         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12085 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12087         * include/stdlib.h [!SHARED] (__call_tls_dtors):
12088         Declare with __attribute__ ((weak)).
12089         * stdlib/exit.c (__libc_atexit) [!SHARED]:
12090         Call __call_tls_dtors only if it's not NULL.
12092 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12094         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12095         didn't do it already, then set _dl_phdr and _dl_phnum based on the
12096         magic __ehdr_start linker symbol if it's defined.
12097         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12098         them up here if it was already done.
12100         * elf/dl-support.c (_dl_phdr): Make pointer to const.
12101         (_dl_aux_init): Use const in cast when setting it.
12102         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12103         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12104         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12106         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12107         Declare them here.
12108         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12109         * csu/libc-tls.c: Nor here.
12110         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12112         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12113         (__libc_message): Never call vsyslog.
12115 2013-03-28  Alan Modra  <amodra@gmail.com>
12117         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12118         Define as empty.
12119         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12120         Likewise.
12122 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12124         [BZ #15214]
12125         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12126         underflow.
12127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12129 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12131         [BZ #15304]
12132         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12133         Don't add gid passed as argument.
12135         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12137 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12139         [BZ #15307]
12140         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12141         imaginary part between 1.0 and 1.5 and real part less than 0.5
12142         specially.
12143         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12144         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12145         * math/libm-test.inc (cacos_test): Add more tests.
12146         (casin_test): Likewise.
12147         (casinh_test): Likewise.
12148         * sysdeps/i386/fpu/libm-test-ulps: Update.
12149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12151 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12153         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12154         constants.
12155         (norm): Likewise.
12156         (denorm): Likewise.
12157         (__dbl_mp): Likewise.
12158         (add_magnitudes): Likewise.
12159         (sub_magnitudes): Likewise.
12160         (__add): Likewise.
12161         (__sub): Likewise.
12162         (__mul): Likewise.
12163         (__sqr): Likewise.
12164         (__inv): Likewise.
12165         (__dvd): Likewise.
12167         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12168         commented code.
12169         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12170         (__dubcos): Likewise.
12171         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12172         (__ieee754_acos): Likewise.
12173         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12174         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12175         (__exp1): Likewise.
12176         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12177         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12178         (log1): Likewise.
12179         (my_log2): Likewise.
12180         (checkint): Likewise.
12181         * sysdeps/ieee754/dbl-64/e_remainder.c
12182         (__ieee754_remainder): Likewise.
12183         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12185         (bsloww): Likewise.
12186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12188         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12189         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12190         MANTISSA_STORE_T to store computations on mantissa.  Use
12191         macros for rounding and division.
12192         (denorm): Likewise.
12193         (__dbl_mp): Likewise.
12194         (add_magnitudes): Likewise.
12195         (sub_magnitudes): Likewise.
12196         (__mul): Likewise.
12197         (__sqr): Likewise.
12198         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12199         powers of two in terms of TWOPOW macro.
12200         (mp_no): Make type of mantissa as MANTISSA_T.
12201         [!RADIXI]: Define RADIXI.
12202         [!TWO52]: Define TWO52.
12203         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12205 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12207         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12208         llroundl symbol when building for PPC32.
12210 2013-03-24  Mark H Weaver  <mhw@netris.org>
12212         * manual/arith.texi (Normalization Functions): Fix prototypes for
12213         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12215 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12217         [BZ #13889]
12218         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12219         high value to check if expl overflow.
12220         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12221         to check for underflow and overflow.
12222         * math/libm-test.inc: Add exp test.
12224 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12226         [BZ #11120]
12227         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12228         with NOT_IN_libc.
12230 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12232         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12233         symbol.
12235 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12237         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12238         wrap blocks consisting of several statements.
12240         * sysdeps/generic/math-tests.h: New file.
12241         * sysdeps/i386/fpu/math-tests.h: Likewise.
12242         * math/test-snan.c: Include it.
12243         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12245 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12247         [BZ #15285]
12248         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12249         (__ieee754_j0l): Do not improve calculations using cos of twice
12250         input for inputs above LDBL_MAX / 2.0L.
12251         (__ieee754_y0l): Likewise.
12252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12253         (__ieee754_j1l): Do not improve calculations using cos of twice
12254         input for inputs above LDBL_MAX / 2.0L.
12255         (__ieee754_y1l): Likewise.
12256         * math/libm-test.inc (j0_test): Add another test.
12257         (j1_test): Likewise.
12258         (y0_test): Likewise.
12259         (y1_test): Likewise.
12260         * sysdeps/i386/fpu/libm-test-ulps: Update.
12262 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12264         * Rules ($(objpfx)bench-%.c): Include code from a C source
12265         file.
12267 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12269         [BZ #15287]
12270         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12271         imaginary part 1.0 and real part less than 0.5 specially.
12272         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12273         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12274         * math/libm-test.inc (cacos_test): Add more tests.
12275         (casin_test): Likewise.
12276         (casinh_test): Likewise.
12277         * sysdeps/i386/fpu/libm-test-ulps: Update.
12278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12280 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12282         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12283         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12285 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12287         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12288         * config.make.in (config-cflags-sse4): Remove variable.
12289         (config-cflags-avx): Likewise.
12290         (config-cflags-sse2avx): Likewise.
12291         (config-cflags-novzeroupper): Likewise.
12292         (config-asflags-i686): Likewise.
12293         (have-mfma4): Likewise.
12294         (have-as-vis3): Likewise.
12295         (MIG): Likewise.
12296         * configure.in (MIG): Do not AC_SUBST.
12297         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12298         (libc_cv_cc_sse4): Do not AC_SUBST.
12299         (libc_cv_cc_avx): Likewise.
12300         (libc_cv_cc_sse2avx): Likewise.
12301         (libc_cv_cc_novzeroupper): Likewise.
12302         (libc_cv_cc_fma4): Likewise.
12303         (libc_cv_as_i686): Likewise.
12304         (libc_cv_sparc_as_vis3): Likewise.
12305         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12306         LIBC_CONFIG_VAR.
12307         (config-asflags-i686): Likewise.
12308         (config-cflags-avx): Likewise.
12309         (config-cflags-sse2avx): Likewise.
12310         (have-mfma4): Likewise.
12311         (config-cflags-novzeroupper): Likewise.
12312         * sysdeps/mach/configure.in (MIG): Likewise.
12313         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12314         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12315         LIBC_CONFIG_VAR.
12316         (config-cflags-avx): Likewise.
12317         (config-cflags-sse2avx): Likewise.
12318         (have-mfma4): Likewise.
12319         (config-cflags-novzeroupper): Likewise.
12320         * configure: Regenerated.
12321         * sysdeps/i386/configure: Likewise.
12322         * sysdeps/mach/configure: Likewise.
12323         * sysdeps/sparc/configure: Likewise.
12324         * sysdeps/x86_64/configure: Likewise.
12326 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12328         [BZ #14812]
12329         * locale/programs/localedef.c (options): Put N_ translation marker
12330         on argument names, not just descriptions.
12332 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12334         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12336 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
12338         [BZ #14176]
12339         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12341 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12343         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12344         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12345         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12346         [!BEFORE_ABORT] (before_abort): New function.
12347         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12348         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12349         (writev_for_fatal): New function.
12350         (WRITEV_FOR_FATAL): New macro; call that.
12351         (backtrace_and_maps): New function.
12352         (BEFORE_ABORT): New macro; call that.
12353         (struct str_list): Type removed.
12354         (__libc_message, __libc_fatal): Functions removed.
12355         Include <sysdeps/posix/libc_fatal.c> instead.
12357 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
12359         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12360         constants.
12361         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12362         double constants.
12364 2013-03-19  Andreas Schwab  <schwab@suse.de>
12366         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12367         * sysdeps/gnu/configure: Regenerate.
12369         * configure.in: Substitute libc_cv_rtlddir.
12370         * configure: Regenerate.
12371         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12372         * Makeconfig (rtlddir, inst_rtlddir): New variables.
12373         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12374         * elf/Makefile (install-others, CFLAGS-interp.c)
12375         (ldso_install, common-ldd-rewrite): Likewise.
12376         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12377         $(inst_slibdir)/$(rtld-installed-name).
12378         * scripts/rellns-sh: Add -p option.
12379         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12380         for source.
12382 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12384         * manual/nptl.texi: Renamed to ...
12385         * manual/threads.texi: ... this.
12386         * manual/Makefile (chapters): Update.
12388 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12390         [BZ #14812]
12391         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12392         on argument names, not just descriptions.
12393         * malloc/memusagestat.c (options): Likewise.
12394         * nss/getent.c (options): Likewise.
12396 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12398         [BZ #14812]
12399         * iconv/iconv_prog.c (options): Put N_ translation marker
12400         on argument names, not just descriptions.
12401         * iconv/iconvconfig.c (options): Likewise.
12403 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12405         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12406         implementation which is faster on all x86_64 architectures.
12407         Tested on AMD, Intel Nehalem, SNB, IVB.
12408         * sysdeps/x86_64/strnlen.S: Likewise.
12410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12411         Remove all multiarch strlen and strnlen versions.
12412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12413         Remove strlen and strnlen related parts.
12415         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12416         Inline strlen part.
12417         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12419         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12420         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12421         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12422         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12423         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12424         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12426 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12428         * manual/memory.texi (Malloc Tunable Parameters):
12429         Sort parameters alphabetically. Add comments for missing entries.
12431 2013-03-17  David S. Miller  <davem@davemloft.net>
12433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12435 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12437         [BZ #15283]
12438         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12439         for arguments at most half maximum finite value.
12440         * math/libm-test.inc (j0_test): Add more tests.
12441         (j1_test): Likewise.
12442         (y0_test): Likewise.
12443         (y1_test): Likewise.
12444         * sysdeps/i386/fpu/libm-test-ulps: Update.
12445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12447         [BZ #14155]
12448         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12449         1 / x and functions P and Q for arguments above 0x1p256L.
12450         (__ieee754_y0l): Likewise.
12451         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12452         (__ieee754_y1l): Likewise.
12453         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12454         (j1_test): Likewise.
12455         (y0_test): Likewise.
12456         (y1_test): Likewise.
12458 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12460         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12461         variable.
12463 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12465         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12466         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12467         zero since it's initialized to EXEC_PAGESIZE.
12469         * sysdeps/unix/sysv/linux/ldsodefs.h
12470         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12471         * sysdeps/generic/ldsodefs.h: ... here.
12473 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12475         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12477         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12478         math/test-snan.c.
12479         * math/test-snan.c: Renamed from
12480         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12481         * math/Makefile (tests): Add test-snan.
12482         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12483         test-powerpc-snan.
12485         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12486         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12487         functions.
12488         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12489         __builtin_nan family of functions.
12490         * math/libm-test.inc (initialize): Initialize qnan_value with
12491         __builtin_nan family of functions.
12492         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12493         Remove variables.
12494         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12495         Remove functions.
12496         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12497         storage class.  Initialize qNaN_var and sNaN_var with
12498         __builtin_nan and __builtin_nans families of functions,
12499         respectively.
12501         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12502         (sqrt_test): Remove duplicate test with qNaN input.
12503         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12504         (round_test, signbit_test, significand_test): Note missing +/-Inf
12505         as well as qNaN tests.
12507         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12508         qNaN_var.  Fix a few strings, too.
12509         * math/libm-test.inc (nan_value): Rename to qnan_value.
12510         * math/gen-libm-test.pl (%beautify): Adjust to that.
12511         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12512         * math/test-misc.c (main): Likewise.
12513         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12514         to __qnan_bytes, and __qnan_union, respectively.
12515         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12516         Likewise.
12517         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12518         and lqnanval, respectively.
12519         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12520         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12521         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12522         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12524         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12525         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12526         doubles.
12528         * math/test-misc.c (main): Fix copy'n'pastos.
12529         * misc/tst-efgcvt.c (special): Likewise.
12531         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12532         Remove declarations.
12534 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12536         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12537         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12538         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12539         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12541 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12544         macro to return vdso values correctly in IFUNC implementations.
12545         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12546         Optimization by using IFUNC.
12548 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12549             Richard Henderson  <rth@redhat.com>
12550             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12552         * Makefile.in (bench): New target.
12553         * NEWS: Mention the benchmark framework.
12554         * Rules (bench): Likewise.
12555         (binaries-bench): Generate binaries for functions to
12556         benchmark.
12557         * benchtests/Makefile: New makefile for benchmark tests.
12558         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12559         programs.
12560         * benchtests/exp-inputs: New input file for EXP function.
12561         * benchtests/pow-inputs: New input file for POW function.
12562         * scripts/bench.pl: New script to generate source files for
12563         benchmark programs.
12565 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12567         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12568         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12569         computations on mantissa.  Use macros for rounding and
12570         division.
12571         (denorm): Likewise.
12572         (__dbl_mp): Likewise.
12573         (add_magnitudes): Likewise.
12574         (sub_magnitudes): Likewise.
12575         (__mul): Likewise.
12576         (__sqr): Likewise.
12577         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12578         powers of two in terms of TWOPOW macro.
12579         (mp_no): Make type of mantissa as MANTISSA_T.
12580         [!RADIXI]: Define RADIXI.
12581         [!TWO52]: Define TWO52.
12582         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12584         * manual/nptl.texi (cindex): Modify threads to pthreads.
12586 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12588         * sysdeps/x86_64/preconfigure: Regenerated.
12590 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12592         [BZ #14155]
12593         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12594         0x1p28 and above.
12595         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12596         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12597         0x1p28 and above.
12598         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12599         * math/libm-test.inc (j0_test): Do not allow one spurious
12600         underflow exception.
12601         (y1_test): Likewise.
12603 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12605         * manual/Makefile (chapters): Add nptl.
12606         * manual/debug.texi (Debugging Support): Add link to Threads
12607         chapter.
12608         * manual/nptl.texi: New file.
12610         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12612 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12614         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12615         for non-NULL pointer before the memory validity test. Pointed
12616         out by Holger Brunck <holger.brunck@keymile.com>.
12618 2013-03-13  Andreas Schwab  <schwab@suse.de>
12620         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12621         instead of .os.
12623 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12625         * timezone/zic.c: Update from tzcode 2013b.
12627 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12629         * manual/install.texi (Configuring and compiling):
12630         Mention i686 and i586.
12631         * INSTALL: Regenerate.
12633 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12635         * sysdeps/init_array/elf-init.c: New file.
12636         * csu/elf-init.c
12637         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12638         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12640         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12641         __gmon_start__ as global, but as static with a .preinit_array pointer.
12642         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12643         * sysdeps/init_array/crti.S: New file, empty except for comments.
12644         * sysdeps/init_array/crtn.S: Likewise.
12646 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12648         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12649         definining bcopy.
12650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12651         Remove Prefer_SSE_for_memop.
12652         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12653         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12654         HAS_PREFER_SSE_FOR_MEMOP.
12655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12656         memset-x86-64.
12657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12658         Remove bzero, memset ifunc support.
12659         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12660         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12661         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12662         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12664 2013-03-11  Andreas Schwab  <schwab@suse.de>
12666         [BZ #15234]
12667         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12668         by SHLIB_COMPAT.
12669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12670         (GLIBC_2.16): Remove pthread_atfork.
12672 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12674         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12675         (ptestcases.h): Likewise.
12677 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12679         * Makeconfig ($(common-objpfx)config.status): Depend on
12680         sysdeps/*/preconfigure{,.in} too.
12682 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12684         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12685         (__free_hook): Use void * instead of __malloc_ptr_t.
12686         (__malloc_hook): Likewise.
12687         (__realloc_hook): Likewise.
12688         (__memalign_hook): Likewise.
12689         (__after_morecore_hook): Likewise.
12690         * malloc/arena.c (save_malloc_hook): Likewise.
12691         (save_free_hook): Likewise.
12692         * malloc/hooks.c (malloc_hook_ini): Likewise.
12693         (realloc_hook_ini): Likewise.
12694         (memalign_hook_ini): Likewise.
12695         * malloc/malloc.c (malloc_hook_ini): Likewise.
12696         (realloc_hook_ini): Likewise.
12697         (memalign_hook_ini): Likewise.
12698         (__free_hook): Likewise.
12699         (__malloc_hook): Likewise.
12700         (__realloc_hook): Likewise.
12701         (__memalign_hook): Likewise.
12702         (__libc_malloc): Likewise.
12703         (__libc_free): Likewise.
12704         (__libc_realloc): Likewise.
12705         (__libc_memalign): Likewise.
12706         (__libc_valloc): Likewise.
12707         (__libc_pvalloc): Likewise.
12708         (__libc_calloc): Likewise.
12709         (__posix_memalign): Likewise.
12710         * malloc/morecore.c (__sbrk): Likewise.
12711         (__default_morecore): Likewise.
12713         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12715         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12716         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12717         __malloc_ptrdiff_t.
12719         * malloc/malloc.h (__malloc_size_t): Remove macro.
12720         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12721         __malloc_size_t.
12722         (old_memalign_hook): Likewise.
12723         (old_realloc_hook): Likewise.
12724         (struct hdr): Likewise.
12725         (flood): Likewise.
12726         (mallochook): Likewise.
12727         (memalignhook): Likewise.
12728         (reallochook): Likewise.
12729         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12730         (tr_old_realloc_hook): Likewise.
12731         (tr_old_memalign_hook): Likewise.
12732         (tr_mallochook): Likewise.
12733         (tr_reallochook): Likewise.
12734         (tr_memalignhook): Likewise.
12736 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12739         default_ldbl_pack and using as default implementation.
12740         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12741         implementation.
12742         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12743         redundant definition.
12744         (ldbl_insert_mantissa): Likewise.
12745         (ldbl_canonicalize): Likewise.
12746         (ldbl_nearbyint): Likewise.
12747         (ldbl_pack): Rename to ldbl_pack_ppc.
12748         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12749         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12750         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12752 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12755         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12756         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12757         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12759         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12760         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12761         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12763 2013-03-07  Andreas Jaeger  <aj@suse.de>
12765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12766         bits/mman-linux.h.
12768 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12770         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12771         Include mpa.h and declare __MPEXP.
12772         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12773         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12774         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12775         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12776         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12777         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12778         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12780         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12781         (__slowpow): Use long double EXPL and LOGL functions to
12782         compute POW.
12783         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12784         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12785         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12786         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12787         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12788         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12791         intermediate variable to calculate exponent.
12792         (__sqr): Likewise.
12793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12794         Likewise.
12795         (__sqr): Likewise.
12797         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12798         [!NO__SQR]: Define __sqr.
12799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12800         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12801         sysdeps/ieee754/dbl-64/mpa.c.
12802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12804         [BZ #12723]
12805         * posix/Makefile (tests): Add tst-pathconf.
12806         * posix/tst-pathconf.c: New test case.
12807         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12808         _PC_PIPE_BUF.
12809         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12811 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12813         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12815 2013-03-06  Andreas Jaeger  <aj@suse.de>
12817         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12818         definition via __MAP_ANONYMOUS.
12820         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12821         it's not part of Linux headers.
12823         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12824         (MAP_HUGE_MASK): Define.
12826         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12827         Define.
12828         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12830         Define.
12831         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12832         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12833         Define.
12834         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12835         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12836         Define.
12837         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12839         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12840         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12841         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12842         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12843         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12844         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12846         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12847         Handle f2fs.
12849         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12850         Handle f2fs and efivarfs.
12852         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12853         f2fs.
12855         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12856         (EFIVARFS_MAGIC): Add.
12857         (F2FS_LINK_MAX): Add.
12859 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12861         * stdio-common/vfprintf.c: Replace __builtin_expect with
12862         __glibc_unlikely.
12864 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12866         [BZ #13550]
12867         * sysdeps/generic/bp-sym.h: Remove file.
12868         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12869         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12870         <bp-sym.h> and <bp-asm.h>.
12871         (__longjmp): Don't use BP_SYM.
12872         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12873         and <bp-asm.h>.
12874         (memcpy): Don't use BP_SYM.
12875         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12876         <bp-sym.h> and <bp-asm.h>.
12877         (memcpy): Don't use BP_SYM.
12878         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12879         <bp-asm.h>.
12880         (memcpy): Don't use BP_SYM.
12881         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12882         <bp-asm.h>.
12883         (memset): Don't use BP_SYM.
12884         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12885         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12886         (__bzero): Don't use BP_SYM.
12887         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12888         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12890         <bp-sym.h> and <bp-asm.h>.
12891         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12892         pointers.
12893         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12894         <bp-sym.h> and <bp-asm.h>.
12895         (memcpy): Don't use BP_SYM.
12896         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12897         <bp-sym.h> and <bp-asm.h>.
12898         (memset): Don't use BP_SYM.
12899         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12900         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12901         (__bzero): Don't use BP_SYM.
12902         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12903         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12904         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12905         <bp-sym.h> and <bp-asm.h>.
12906         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12907         pointers.
12908         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12909         <bp-sym.h> and <bp-asm.h>.
12910         (memcpy): Don't use BP_SYM.
12911         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12912         <bp-sym.h> and <bp-asm.h>.
12913         (memset): Don't use BP_SYM.
12914         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12915         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12916         (__bzero): Don't use BP_SYM.
12917         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12918         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12919         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12920         <bp-sym.h> and <bp-asm.h>.
12921         (__memchr): Don't use BP_SYM.
12922         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12923         <bp-sym.h> and <bp-asm.h>.
12924         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12925         pointers.
12926         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12927         <bp-sym.h> and <bp-asm.h>.
12928         (memcpy): Don't use BP_SYM.
12929         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12930         <bp-sym.h> and <bp-asm.h>.
12931         (__mempcpy): Don't use BP_SYM.
12932         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12933         <bp-sym.h> and <bp-asm.h>.
12934         (__memrchr): Don't use BP_SYM.
12935         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12936         <bp-sym.h> and <bp-asm.h>.
12937         (memset): Don't use BP_SYM.
12938         (__bzero): Likewise.
12939         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12940         <bp-sym.h> and <bp-asm.h>.
12941         (__rawmemchr): Don't use BP_SYM.
12942         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12943         <bp-sym.h> and <bp-asm.h>.
12944         (__STRCMP): Don't use BP_SYM.
12945         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12946         <bp-sym.h> and <bp-asm.h>.
12947         (strchr): Don't use BP_SYM.
12948         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12949         <bp-sym.h> and <bp-asm.h>.
12950         (__strchrnul): Don't use BP_SYM.
12951         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12952         <bp-sym.h> and <bp-asm.h>.
12953         (strlen): Don't use BP_SYM.
12954         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12955         <bp-sym.h> and <bp-asm.h>.
12956         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12957         pointers.
12958         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12959         <bp-sym.h> and <bp-asm.h>.
12960         (__strnlen): Don't use BP_SYM.
12961         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12962         <bp-sym.h> and <bp-asm.h>.
12963         (__GI__setjmp): Don't use BP_SYM.
12964         (_setjmp): Likewise.
12965         (__sigsetjmp): Likewise.
12966         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12967         (L(start_addresses)): Don't use BP_SYM.
12968         (_start): Likewise.
12969         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12970         <bp-asm.h>.
12971         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12972         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12973         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12974         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12975         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12976         <bp-asm.h>.
12977         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12978         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12979         about bounded pointers.
12980         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12981         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12982         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12983         <bp-asm.h>.
12984         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12985         about bounded pointers.  Remove GKM FIXME comments.
12986         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12987         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12988         <bp-asm.h>.
12989         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12990         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12991         Remove GKM FIXME comments.
12992         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12993         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12994         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12995         <bp-asm.h>.
12996         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12997         about bounded pointers.  Remove GKM FIXME comment.
12998         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12999         and <bp-asm.h>.
13000         (strncmp): Don't use BP_SYM.  Remove comment about bounded
13001         pointers.
13002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13003         <bp-sym.h> and <bp-asm.h>.
13004         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13006         <bp-sym.h> and <bp-asm.h>.
13007         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13008         comment.
13010 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13012         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13013         call free(NULL).
13015 2013-03-05  David S. Miller  <davem@davemloft.net>
13017         * po/es.po: Update from translation team.
13019 2013-03-05  Andreas Jaeger  <aj@suse.de>
13021         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13022         <bits/mman-linux.h>.
13023         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13024         is fine.
13025         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13026         <bits/mman-linux.h> to end of file.
13027         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13028         is fine.
13029         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13030         <bits/mman-linux.h> to end of file.
13031         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13032         is fine.
13033         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13034         <bits/mman-linux.h> to end of file.
13036         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13037         (MCL_CURRENT, MCL_FUTURE): Define here.
13039 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13041         [BZ #15232]
13042         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13043         attribute_hidden.
13044         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13046 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13048         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13049         fourth parameter needed for rt_sigprocmask syscall.
13050         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13051         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13052         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13053         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13054         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13055         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13057 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
13059         [BZ #13550]
13060         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13061         comment about bounded pointers.
13062         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13063         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13065 2013-03-04  Andreas Jaeger  <aj@suse.de>
13067         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13068         common definitions.
13070         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13071         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13072         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13073         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13074         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13075         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13077 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13079         [BZ #15055]
13080         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13081         __ieee754_sqrl instead of __sqrl.
13083 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
13085         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13086         * sysdeps/powerpc/fpu_control.h: ... here.
13087         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13088         * sysdeps/powerpc/bits/fenvinline.h: ... here.
13089         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13090         * sysdeps/powerpc/bits/mathinline.h: ... here.
13092 2013-03-01  Roland McGrath  <roland@hack.frob.com>
13094         * elf/dl-hwcaps.c (_dl_important_hwcaps):
13095         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13096         to just [NEED_DL_SYSINFO_DSO].
13097         * elf/dl-support.c: Likewise.
13098         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13099         * elf/rtld.c (dl_main): Likewise.
13100         * elf/setup-vdso.h (setup_vdso): Likewise.
13101         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13102         * sysdeps/unix/sysv/linux/dl-sysdep.c
13103         (_dl_discover_osversion): Likewise.
13105 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
13107         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13108         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13110 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13112         * NEWS: Mention libm performance improvements and non-x86 PI
13113         futex support.
13115         * csu/libc-start.c (__pthread_initialize_minimal): Change
13116         function arguments.
13117         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13119 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13121         [BZ #13550]
13122         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13123         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13124         <bp-sym.h> and <bp-asm.h>.
13125         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13126         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13127         and <bp-asm.h>.
13128         (memcpy): Don't use BP_SYM.
13129         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13130         <bp-asm.h>.
13131         (__mpn_add_n): Don't use BP_SYM.
13132         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13133         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13134         and <bp-asm.h>.
13135         (__mpn_addmul_1): Don't use BP_SYM.
13136         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13137         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13138         <bp-sym.h>.
13139         (_setjmp): Don't use BP_SYM.
13140         (__novmx_setjmp): Likewise.
13141         (__GI__setjmp): Likewise.
13142         (__vmx_setjmp): Likewise.
13143         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13144         <bp-sym.h>.
13145         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13146         (__bzero): Don't use BP_SYM.
13147         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13148         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13149         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13150         <bp-sym.h> and <bp-asm.h>.
13151         (memcpy): Don't use BP_SYM.
13152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13153         <bp-sym.h> and <bp-asm.h>.
13154         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13155         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13156         <bp-sym.h> and <bp-asm.h>.
13157         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13158         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13159         <bp-asm.h>.
13160         (__mpn_lshift): Don't use BP_SYM.
13161         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13162         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13163         <bp-asm.h>.
13164         (memset): Don't use BP_SYM.
13165         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13166         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13167         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13168         <bp-asm.h>.
13169         (__mpn_mul_1): Don't use BP_SYM.
13170         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13171         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13172         <bp-sym.h> and <bp-asm.h>.
13173         (memcmp): Don't use BP_SYM.
13174         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13175         <bp-sym.h> and <bp-asm.h>.
13176         (memcpy): Don't use BP_SYM.
13177         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13178         <bp-sym.h> and <bp-asm.h>.
13179         (memset): Don't use BP_SYM.
13180         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13181         <bp-sym.h> and <bp-asm.h>.
13182         (strncmp): Don't use BP_SYM.
13183         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13184         <bp-sym.h> and <bp-asm.h>.
13185         (memcpy): Don't use BP_SYM.
13186         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13187         <bp-sym.h> and <bp-asm.h>.
13188         (memset): Don't use BP_SYM.
13189         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13190         <bp-sym.h> and <bp-asm.h>.
13191         (__memchr): Don't use BP_SYM.
13192         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13193         <bp-sym.h> and <bp-asm.h>.
13194         (memcmp): Don't use BP_SYM.
13195         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13196         <bp-sym.h> and <bp-asm.h>.
13197         (memcpy): Don't use BP_SYM.
13198         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13199         <bp-sym.h> and <bp-asm.h>.
13200         (__mempcpy): Don't use BP_SYM.
13201         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13202         <bp-sym.h> and <bp-asm.h>.
13203         (__memrchr): Don't use BP_SYM.
13204         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13205         <bp-sym.h> and <bp-asm.h>.
13206         (memset): Don't use BP_SYM.
13207         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13208         <bp-sym.h> and <bp-asm.h>.
13209         (__rawmemchr): Don't use BP_SYM.
13210         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13211         <bp-sym.h> and <bp-asm.h>.
13212         (__STRCMP): Don't use BP_SYM.
13213         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13214         <bp-sym.h> and <bp-asm.h>.
13215         (strchr): Don't use BP_SYM.
13216         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13217         <bp-sym.h> and <bp-asm.h>.
13218         (__strchrnul): Don't use BP_SYM.
13219         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13220         <bp-sym.h> and <bp-asm.h>.
13221         (strlen): Don't use BP_SYM.
13222         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13223         <bp-sym.h> and <bp-asm.h>.
13224         (strncmp): Don't use BP_SYM.
13225         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13226         <bp-sym.h> and <bp-asm.h>.
13227         (__strnlen): Don't use BP_SYM.
13228         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13229         <bp-asm.h>.
13230         (__mpn_rshift): Don't use BP_SYM.
13231         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13232         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13233         <bp-sym.h> and <bp-asm.h>.
13234         (__sigsetjmp): Don't use BP_SYM.
13235         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13236         (L(start_addresses)): Don't use BP_SYM.
13237         (_start): Likewise.
13238         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13239         <bp-asm.h>.
13240         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13241         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13242         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13243         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13244         <bp-asm.h>.
13245         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13246         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13247         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13248         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13249         <bp-asm.h>.
13250         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13251         comments.
13252         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13253         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13254         <bp-asm.h>.
13255         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13256         FIXME comments.
13257         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13258         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13259         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13260         <bp-asm.h>.
13261         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13262         comment.
13263         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13264         and <bp-asm.h>.
13265         (strncmp): Don't use BP_SYM,
13266         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13267         <bp-asm.h>.
13268         (__mpn_sub_n): Don't use BP_SYM.
13269         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13270         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13271         and <bp-asm.h>.
13272         (__mpn_submul_1): Don't use BP_SYM.
13273         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13275         <bp-sym.h> and <bp-asm.h>.
13276         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13278         <bp-sym.h> and <bp-asm.h>.
13279         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13280         comment.
13282 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13285         Use ZK to minimize writes to Z.
13286         (sub_magnitudes): Simplify code a bit.
13287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13288         Use ZK to minimize writes to Z.
13289         (sub_magnitudes): Simplify code a bit.
13291 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13293         * csu/gmon-start.c: Add special exception to license text.
13295 2013-02-27  Richard Henderson  <rth@redhat.com>
13297         * scripts/config.guess: Update from config.git.
13298         * scripts/config.sub: Likewise.
13300 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13304         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13306         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13308         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13310         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13312 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13314         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13315         [$(build-shared = yes].
13317 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13319         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13320         (__mul): Reduce iterations for calculating mantissa.
13322         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13323         MPTWO.
13324         (__mpranred): Likewise.
13326         [BZ #15160]
13327         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13328         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13330 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13332         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13333         Define __attribute__.
13335 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13337         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13338         unused.
13339         * posix/regex_internal.h (__attribute): Remove.
13340         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13341         (re_string_context_at): Likewise.
13342         (bitset_not): Use __attribute__ and mark function as possibly
13343         unused.
13344         (bitset_merge): Likewise.
13345         (bitset_mask): Likewise.
13346         (re_string_char_size_at): Likewise.
13347         (re_string_wchar_at): Likewise.
13348         (re_string_elem_size_at): Likewise.
13350 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13352         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13353         code.
13354         (cc32): Likewise.
13356         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13357         (__acr): Likewise.
13358         (__cpy): Likewise.
13359         (norm): Likewise.
13360         (denorm): Likewise.
13361         (__dbl_mp): Likewise.
13362         (add_magnitudes): Likewise.
13363         (sub_magnitudes): Likewise.
13364         (__mul): Likewise.
13365         (__inv): Likewise.
13367         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13368         style.
13370         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13371         style.
13373         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13374         code.
13376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13377         up changes with default code.
13378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13379         Likewise.
13381 2013-02-24  Allan McRae  <allan@archlinux.org>
13383         * manual/socket.texi (The Internet Namespace): Order menu items
13384         to match that in the file.
13386         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13387         node listing of the info page menu.
13389 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13391         [BZ #13550]
13392         * sysdeps/i386/bp-asm.h: Remove file.
13393         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13394         (PARMS): Do not use macros from bp-asm.h.
13395         (S1): Likewise.
13396         (S2): Likewise.
13397         (SIZE): Likewise.
13398         (__mpn_add_n): Do not use BP_SYM
13399         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13400         "bp-asm.h".
13401         (PARMS): Do not use macros from bp-asm.h.
13402         (S1): Likewise.
13403         (SIZE): Likewise.
13404         (__mpn_addmul_1): Do not use BP_SYM
13405         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13406         "bp-asm.h".
13407         (PARMS): Do not use macros from bp-asm.h.
13408         (SIGMSK): Likewise.
13409         (_setjmp): Likewise.  Do not use BP_SYM.
13410         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13411         "bp-asm.h".
13412         (PARMS): Do not use macros from bp-asm.h.
13413         (SIGMSK): Likewise.
13414         (setjmp): Likewise.  Do not use BP_SYM.
13415         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13416         "bp-asm.h".
13417         (PARMS): Do not use macros from bp-asm.h.
13418         (__frexp): Do not use BP_SYM.
13419         (frexp): Likewise.
13420         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13421         "bp-asm.h".
13422         (PARMS): Do not use macros from bp-asm.h.
13423         (__frexpf): Do not use BP_SYM.
13424         (frexpf): Likewise.
13425         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13426         "bp-asm.h".
13427         (PARMS): Do not use macros from bp-asm.h.
13428         (__frexpl): Do not use BP_SYM.
13429         (frexpl): Likewise.
13430         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13431         "bp-asm.h".
13432         (PARMS): Do not use macros from bp-asm.h.
13433         (__remquo): Do not use BP_SYM.
13434         (remquo): Likewise.
13435         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13436         "bp-asm.h".
13437         (PARMS): Do not use macros from bp-asm.h.
13438         (__remquof): Do not use BP_SYM.
13439         (remquof): Likewise.
13440         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13441         "bp-asm.h".
13442         (PARMS): Do not use macros from bp-asm.h.
13443         (__remquol): Do not use BP_SYM.
13444         (remquol): Likewise.
13445         * sysdeps/i386/i486/strcat.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         (SRC): Likewise.
13450         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13451         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13452         "bp-asm.h".
13453         (PARMS): Do not use macros from bp-asm.h.
13454         (strlen): Do not use BP_SYM.
13455         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13456         "bp-asm.h".
13457         (PARMS): Do not use macros from bp-asm.h.
13458         (S1): Likewise.
13459         (S2): Likewise.
13460         (SIZE): Likewise.
13461         (__mpn_add_n): Do not use BP_SYM.
13462         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13463         "bp-asm.h".
13464         (PARMS): Do not use macros from bp-asm.h.
13465         (S1): Likewise.
13466         (SIZE): Likewise.
13467         (__mpn_addmul_1): Do not use BP_SYM.
13468         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13469         weak_alias.
13470         (bzero): Likewise.
13471         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13472         "bp-asm.h".
13473         (PARMS): Do not use macros from bp-asm.h.
13474         (S): Likewise.
13475         (SIZE): Likewise.
13476         (__mpn_lshift): Do not use BP_SYM.
13477         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13478         "bp-asm.h".
13479         (PARMS): Do not use macros from bp-asm.h.
13480         (DEST): Likewise.
13481         (SRC): Likewise.
13482         (LEN): Likewise.
13483         (memcpy): Likewise.  Do not use BP_SYM.
13484         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13485         libc_hidden_def and weak_alias.
13486         (mempcpy): Do not use BP_SYM in weak_alias.
13487         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13488         "bp-asm.h".
13489         (PARMS): Do not use macros from bp-asm.h.
13490         (DEST): Likewise.
13491         (LEN): Likewise.
13492         [!BZERO_P] (CHR): Likewise.
13493         (memset): Likewise.  Do not use BP_SYM.
13494         * sysdeps/i386/i586/mul_1.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         (SIZE): Likewise.
13499         (__mpn_mul_1): Do not use BP_SYM.
13500         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13501         "bp-asm.h".
13502         (PARMS): Do not use macros from bp-asm.h.
13503         (S): Likewise.
13504         (SIZE): Likewise.
13505         (__mpn_rshift): Do not use BP_SYM.
13506         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13507         "bp-asm.h".
13508         (PARMS): Do not use macros from bp-asm.h.
13509         (STR): Likewise.
13510         (CHR): Likewise.
13511         (strchr): Likewise.  Do not use BP_SYM.
13512         (index): Do not use BP_SYM in weak_alias.
13513         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13514         "bp-asm.h".
13515         (PARMS): Do not use macros from bp-asm.h.
13516         (DEST): Likewise.
13517         (SRC): Likewise.
13518         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13519         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13520         "bp-asm.h".
13521         (PARMS): Do not use macros from bp-asm.h.
13522         (strlen): Do not use BP_SYM.
13523         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13524         "bp-asm.h".
13525         (PARMS): Do not use macros from bp-asm.h.
13526         (S1): Likewise.
13527         (S2): Likewise.
13528         (SIZE): Likewise.
13529         (__mpn_sub_n): Do not use BP_SYM.
13530         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13531         "bp-asm.h".
13532         (PARMS): Do not use macros from bp-asm.h.
13533         (S1): Likewise.
13534         (SIZE): Likewise.
13535         (__mpn_submul_1): Do not use BP_SYM.
13536         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13537         "bp-asm.h".
13538         (PARMS): Do not use macros from bp-asm.h.
13539         (S1): Likewise.
13540         (S2): Likewise.
13541         (SIZE): Likewise.
13542         (__mpn_add_n): Do not use BP_SYM.
13543         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13544         weak_alias.
13545         (bzero): Likewise.
13546         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13547         "bp-asm.h".
13548         (PARMS): Do not use macros from bp-asm.h.
13549         (BLK2): Likewise.
13550         (LEN): Likewise.
13551         (memcmp): Do not use BP_SYM.
13552         (bcmp): Do not use BP_SYM in weak_alias.
13553         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13554         "bp-asm.h".
13555         (PARMS): Do not use macros from bp-asm.h.
13556         (DEST): Likewise.
13557         (SRC): Likewise.
13558         (LEN): Likewise.
13559         (memcpy): Likewise.  Do not use BP_SYM.
13560         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13561         "bp-asm.h".
13562         (PARMS): Do not use macros from bp-asm.h.
13563         (DEST): Likewise.
13564         (SRC): Likewise.
13565         (LEN): Likewise.
13566         (memmove): Likewise.  Do not use BP_SYM.
13567         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13568         "bp-asm.h".
13569         (PARMS): Do not use macros from bp-asm.h.
13570         (DEST): Likewise.
13571         (SRC): Likewise.
13572         (LEN): Likewise.
13573         (__mempcpy): Likewise.  Do not use BP_SYM.
13574         (mempcpy): Do not use BP_SYM in weak_alias.
13575         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13576         "bp-asm.h".
13577         (PARMS): Do not use macros from bp-asm.h.
13578         (DEST): Likewise.
13579         (LEN): Likewise.
13580         [!BZERO_P] (CHR): Likewise.
13581         (memset): Likewise.  Do not use BP_SYM.
13582         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13583         "bp-asm.h".
13584         (PARMS): Do not use macros from bp-asm.h.
13585         (STR2): Likewise.
13586         (strcmp): Do not use BP_SYM.
13587         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13588         "bp-asm.h".
13589         (PARMS): Do not use macros from bp-asm.h.
13590         (STR): Likewise.
13591         (DELIM): Likewise.
13592         [USE_AS_STRTOK_R] (SAVE): Likewise.
13593         (FUNCTION): Likewise.  Do not use BP_SYM.
13594         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13595         aliases.
13596         (strtok_r): Likewise.
13597         (__GI___strtok_r): Likewise.
13598         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13599         (PARMS): Do not use macros from bp-asm.h.
13600         (S): Likewise.
13601         (SIZE): Likewise.
13602         (__mpn_lshift): Do not use BP_SYM.
13603         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13604         (PARMS): Do not use macros from bp-asm.h.
13605         (STR): Likewise.
13606         (CHR): Likewise.
13607         (__memchr): Do not use BP_SYM.
13608         (memchr): Do not use BP_SYM in weak_alias.
13609         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13610         (PARMS): Do not use macros from bp-asm.h.
13611         (BLK2): Likewise.
13612         (LEN): Likewise.
13613         (memcmp): Do not use BP_SYM.
13614         (bcmp): Do not use BP_SYM in weak_alias.
13615         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13616         (PARMS): Do not use macros from bp-asm.h.
13617         (S1): Likewise.
13618         (SIZE): Likewise.
13619         (__mpn_mul_1): Do not use BP_SYM.
13620         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13621         "bp-asm.h".
13622         (PARMS): Do not use macros from bp-asm.h.
13623         (STR): Likewise.
13624         (CHR): Likewise.
13625         (__rawmemchr): Do not use BP_SYM.
13626         (rawmemchr): Do not use BP_SYM in weak_alias.
13627         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13628         (PARMS): Do not use macros from bp-asm.h.
13629         (S): Likewise.
13630         (SIZE): Likewise.
13631         (__mpn_rshift): Do not use BP_SYM.
13632         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13633         (PARMS): Do not use macros from bp-asm.h.
13634         (SIGMSK): Likewise.
13635         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13636         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13637         (_start): Do not use BP_SYM.
13638         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13639         (PARMS): Do not use macros from bp-asm.h.
13640         (DEST): Likewise.
13641         (SRC): Likewise.
13642         (__stpcpy): Likewise.  Do not use BP_SYM.
13643         (stpcpy): Do not use BP_SYM in weak_alias.
13644         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13645         "bp-asm.h".
13646         (PARMS): Do not use macros from bp-asm.h.
13647         (DEST): Likewise.
13648         (SRC): Likewise.
13649         (LEN): Likewise.
13650         (__stpncpy): Likewise.  Do not use BP_SYM.
13651         (stpncpy): Do not use BP_SYM in weak_alias.
13652         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13653         (PARMS): Do not use macros from bp-asm.h.
13654         (STR): Likewise.
13655         (CHR): Likewise.
13656         (strchr): Likewise.  Do not use BP_SYM.
13657         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13658         "bp-asm.h".
13659         (PARMS): Do not use macros from bp-asm.h.
13660         (STR): Likewise.
13661         (CHR): Likewise.
13662         (__strchrnul): Likewise.  Do not use BP_SYM.
13663         (strchrnul): Do not use BP_SYM in weak_alias.
13664         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13665         "bp-asm.h".
13666         (PARMS): Do not use macros from bp-asm.h.
13667         (STOP): Likewise.
13668         (strcspn): Do not use BP_SYM.
13669         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13670         "bp-asm.h".
13671         (PARMS): Do not use macros from bp-asm.h.
13672         (STR): Likewise.
13673         (STOP): Likewise.
13674         (strpbrk): Likewise.  Do not use BP_SYM.
13675         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13676         "bp-asm.h".
13677         (PARMS): Do not use macros from bp-asm.h.
13678         (STR): Likewise.
13679         (CHR): Likewise.
13680         (strrchr): Likewise.  Do not use BP_SYM.
13681         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13682         (PARMS): Do not use macros from bp-asm.h.
13683         (SKIP): Likewise.
13684         (strspn): Do not use BP_SYM.
13685         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13686         (PARMS): Do not use macros from bp-asm.h.
13687         (STR): Likewise.
13688         (DELIM): Likewise.
13689         (SAVE): Likewise.
13690         (FUNCTION): Likewise.  Do not use BP_SYM.
13691         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13692         aliases.
13693         (strtok_r): Likewise.
13694         (__GI___strtok_r): Likewise.
13695         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13696         (PARMS): Do not use macros from bp-asm.h.
13697         (S1): Likewise.
13698         (S2): Likewise.
13699         (SIZE): Likewise.
13700         (__mpn_sub_n): Do not use BP_SYM.
13701         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13702         "bp-asm.h".
13703         (PARMS): Do not use macros from bp-asm.h.
13704         (S1): Likewise.
13705         (SIZE): Likewise.
13706         (__mpn_submul_1): Do not use BP_SYM.
13707         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13708         <bp-sym.h>.
13709         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13710         and <bp-asm.h>.
13711         (PARMS): Do not use macros from bp-asm.h.
13712         (FLAGS): Likewise.
13713         (PTID): Likewise.
13714         (TLS): Likewise.
13715         (CTID): Likewise.
13716         (__clone): Do not use BP_SYM.
13717         (clone): Do not use BP_SYM in weak_alias.
13718         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13719         and <bp-asm.h>.
13720         (PARMS): Do not use macros from bp-asm.h.
13721         (LEN): Likewise.
13722         (__mmap64): Do not use BP_SYM.
13723         (mmap64): Do not use BP_SYM in weak_alias.
13724         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13725         <bp-sym.h> and <bp-asm.h>.
13726         (PARMS): Do not use macros from bp-asm.h.
13727         (__posix_fadvise64_l64): Do not use BP_SYM.
13728         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13729         (PARMS): Do not use macros from bp-asm.h.
13730         (NSOPS): Likewise.
13731         (semtimedop): Do not use BP_SYM.
13732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13733         and <bp-asm.h>.
13735 2013-02-21  Allan McRae  <allan@archlinux.org>
13737         * manual/message.texi (Charset conversion in gettext):
13738         Move @end statement to beginning of line.
13740 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13743         static.
13744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13745         Likewise.
13747         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13748         (denorm): Likewise.
13749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13752 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13754         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13755         tail-call to the resolved function if pltexit isn't needed.
13757 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13760         or Y being zero as being unlikely.
13761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13762         Likewise.
13764 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13766         * manual/nss.texi (System Databases and Name Service Switch):
13767         Remove frobnicate @pxref.
13769 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13771         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13772         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13774 2013-02-20  Petr Machata  <pmachata@redhat.com>
13776         * elf/elf.h (R_ARM_TARGET1): New macro.
13777         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13778         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13779         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13780         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13781         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13782         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13783         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13784         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13785         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13786         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13787         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13788         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13789         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13790         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13791         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13792         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13793         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13794         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13795         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13796         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13797         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13798         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13799         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13800         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13801         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13802         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13803         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13804         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13805         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13806         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13807         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13808         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13809         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13810         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13811         (R_ARM_THM_GOT_BREL12): Likewise.
13812         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13813         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13814         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13815         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13816         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13817         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13818         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13819         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13820         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13822 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13824         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13825         __attribute_used__ to __attribute__ ((unused)).
13827 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13829         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13830         powerpc mpa.c.
13831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13832         comment formatting.
13833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13835 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13837         [BZ #13550]
13838         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13839         Remove macro.
13840         (ENTER): Remove both macro definitions.
13841         (LEAVE): Likewise.
13842         (CHECK_BOUNDS_LOW): Likewise.
13843         (CHECK_BOUNDS_HIGH): Likewise.
13844         (CHECK_BOUNDS_BOTH): Likewise.
13845         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13846         (RETURN_BOUNDED_POINTER): Likewise.
13847         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13848         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13849         (POP_ERRNO_LOCATION_RETURN): Likewise.
13850         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13851         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13852         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13853         macros.
13854         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13855         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13856         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13857         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13858         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13859         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13860         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13861         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13862         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13863         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13864         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13865         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13866         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13867         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13868         removed macros.
13869         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13870         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13871         macros.
13872         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13873         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13874         * sysdeps/i386/i586/memset.S (memset): Likewise.
13875         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13877         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13878         macros.
13879         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13880         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13881         Change uses of L(2) to L(out).
13882         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13883         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13884         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13885         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13886         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13887         removed macros.
13888         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13889         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13890         macros.
13891         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13892         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13893         (RETURN): Do not use macro LEAVE.
13894         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13895         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13896         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13897         * sysdeps/i386/i686/memset.S (memset): Likewise.
13898         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13899         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13900         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13901         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13902         Likewise.
13903         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13904         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13905         L(1_2) and L(1_3) into L(1).
13906         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13907         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13908         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13909         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13910         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13911         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13912         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13913         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13914         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13915         macros.
13916         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13917         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13918         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13919         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13920         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13921         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13922         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13923         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13924         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13925         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13926         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13927         * sysdeps/i386/strspn.S (strspn): Likewise.
13928         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13929         conditional code.
13930         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13931         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13932         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13933         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13934         L(1_3) into L(1_1).
13935         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13936         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13937         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13938         macros.
13939         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13941 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13943         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13944         macro.
13946 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13948         * math/atest-exp.c (exp_mpn): Remove ROUND.
13949         * math/atest-exp2.c (exp_mpn): Likewise.
13950         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13952         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13953         * stdlib/tst-tls-atexit-lib.c: Likewise.
13954         * stdlib/tst-tls-atexit.c: Likewise.
13956 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13958         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13959         and __attribute_alloc_size__.
13961 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13963         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13964         __attribute_alloc_size__.
13965         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13966         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13968 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13970         * include/programs/xmalloc.h: New file.
13971         * catgets/gencat.c: Include it.
13972         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13973         * elf/pldd.c: Likewise.
13974         * iconv/iconv_charmap.c: Likewise.
13975         * iconv/iconvconfig.c: Likewise.
13976         * iconv/strtab.c: Likewise.
13977         * locale/programs/locale.c: Likewise.
13978         * locale/programs/localedef.h: Likewise.
13979         * locale/programs/simple-hash.c: Likewise.
13980         * nscd/nscd.h: Likewise.
13981         * nss/makedb.c: Likewise.
13982         * sysdeps/generic/ldconfig.h: Likewise.
13984 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13986         * Versions.def: Add GLIBC_2.18.
13987         * include/link.h (struct link_map): New member l_tls_dtor_count.
13988         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13989         (__call_tls_dtors): Likewise.
13990         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13991         __cxa_thread_atexit_impl.
13992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13993         Likewise.
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13995         Likewise.
13996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13997         Likewise.
13998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13999         Likewise.
14000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14002         Likewise.
14003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14004         Likewise.
14005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14007         Likewise.
14008         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14009         (tests): Add test case tst-tls-atexit.
14010         (modules-names): Add shared library for tst-tls-atexit.
14011         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14012         (GLIBC_PRIVATE): Add __call_tls_dtors.
14013         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14014         for libstdc++.
14015         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14016         * stdlib/tst-tls-atexit.c: New test case.
14017         * stdlib/tst-tls-atexit-lib.c: New test case.
14019         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14021         * elf/Versions (ld): Add _dl_find_dso_for_object.
14022         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14023         * elf/dl-open.c (_dl_find_dso_for_object): New function.
14024         (dl_open_worker): Use _dl_find_dso_for_object.
14025         * elf/dl-sym.c (do_sym): Likewise.
14026         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14028 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14030         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14031         Syntactic changes only.
14032         (_dl_runtime_profile): Do a tail-call to the resolved function.
14034 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
14036         [BZ #13550]
14037         * sysdeps/x86_64/bp-asm.h: Remove file.
14038         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14039         <bp-sym.h> and <bp-asm.h>.
14040         (__clone): Do not use BP_SYM.
14041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14042         <bp-sym.h> and <bp-asm.h>.
14043         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14044         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14045         "bp-asm.h".
14046         (_setjmp): Do not use BP_SYM.
14047         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14048         "bp-asm.h".
14049         (setjmp): Do not use BP_SYM.
14050         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14051         libc_hidden_def.
14052         (mempcpy): Do not use BP_SYM in weak_alias.
14053         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14054         "bp-asm.h".
14055         (strchr): Do not use BP_SYM.
14056         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14057         "bp-asm.h".
14058         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14059         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14060         (_start): Do not use BP_SYM.
14061         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14062         "bp-asm.h".
14063         (strcat): Do not use BP_SYM.
14064         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14065         "bp-asm.h".
14066         (STRCMP): Do not use BP_SYM.
14067         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14068         "bp-asm.h".
14069         (STRCPY): Do not use BP_SYM.
14070         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14071         "bp-asm.h".
14072         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14073         "bp-asm.h".
14074         (FUNCTION): Do not use BP_SYM.
14075         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14076         weak_alias.
14077         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14079 2013-02-17  Andreas Jaeger  <aj@suse.de>
14081         * time/Versions: Sort entries.
14082         * string/Versions: Likewise.
14083         * resolv/Versions: Likewise.
14084         * posix/Versions: Likewise.
14085         * iconv/Versions: Likewise.
14086         * elf/Versions: Likewise.
14087         * wcsmbs/Versions: Likewise.
14089 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14091         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14092         loop termination condition.
14094         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14095         variable to calculate EZ.
14096         (__sqr): Likewise.
14098         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14099         the lower precision input.
14101 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
14103         [BZ #13550]
14104         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14105         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14106         (run-via-rtld-prefix): Do not handle %-bp tests.
14107         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14108         (all-object-suffixes): Remove .ob.
14109         (bppfx): Remove variable.
14110         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14111         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14112         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14113         [$(build-bounded) = yes] (libtype.ob): Likewise.
14114         * Makerules (elide-routines.ob): Remove variable.
14115         (do-tests-clean): Do not handle *-bp.out.
14116         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14117         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14118         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14119         (tests): Do not include $(tests-bp.out).
14120         (xtests): Do not include $(xtests-bp.out).
14121         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14122         [$(build-bounded) = yes] ($(addprefix
14123         $(objpfx),$(binaries-bounded))): Remove rule.
14124         ($(objpfx)%-bp.out): Remove rule.
14125         * config.make.in (build-bounded): Remove variable.
14126         * crypt/Makefile [$(build-bounded) = yes]
14127         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14128         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14129         append to variable.
14130         [$(build-bounded) = yes] (install-lib): Likewise.
14131         [$(build-bounded) = yes] (generated): Likewise.
14132         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14133         Remove rule.
14134         * intl/Makefile [$(build-bounded) = yes]
14135         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14136         * math/Makefile [$(build-bounded) = yes]
14137         ($(tests:%=$(objpfx)%-bp): Likewise.
14138         * misc/Makefile [$(build-bounded) = yes]
14139         ($(objpfx)tst-tsearch-bp): Likewise.
14140         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14141         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14142         Remove dependency.
14143         * string/Makefile (o-objects.ob): Remove variable.
14144         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14145         (CFLAGS-.ob): Remove variable.
14146         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14147         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14148         both definitions of variable.
14149         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14150         (ASFLAGS-.ob): Remove variable.
14152 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14154         [BZ #13550]
14155         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14156         Remove __BOUNDED_POINTERS__ from condition.
14157         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14158         * string/bits/string2.h [!__NO_STRING_INLINES &&
14159         !__BOUNDED_POINTERS__]: Likewise.
14160         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14161         Likewise.
14162         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14163         Remove conditional code.
14164         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14165         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14166         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14167         condition.
14169         [BZ #13550]
14170         * csu/libc-start.c: Do not include <bp-sym.h>.
14171         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14172         * elf/dl-open.c: Do not include <bp-sym.h>.
14173         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14174         * math/fegetenv.c: Do not include <bp-sym.h>.
14175         (fegetenv): Do not use BP_SYM in versioned symbols.
14176         * nptl/sysdeps/pthread/bits/libc-lockP.h
14177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14178         <bp-sym.h>.
14179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14180         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14182         (__pthread_mutex_destroy): Likewise.
14183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14184         (__pthread_mutex_lock): Likewise.
14185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14186         (__pthread_mutex_trylock): Likewise.
14187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14188         (__pthread_mutex_unlock): Likewise.
14189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14190         (__pthread_mutexattr_init): Likewise.
14191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14192         (__pthread_mutexattr_destroy): Likewise.
14193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14194         (__pthread_mutexattr_settype): Likewise.
14195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14196         (__pthread_rwlock_init): Likewise.
14197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14198         (__pthread_rwlock_destroy): Likewise.
14199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14200         (__pthread_rwlock_rdlock): Likewise.
14201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14202         (__pthread_rwlock_tryrdlock): Likewise.
14203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14204         (__pthread_rwlock_wrlock): Likewise.
14205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14206         (__pthread_rwlock_trywrlock): Likewise.
14207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14208         (__pthread_rwlock_unlock): Likewise.
14209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14210         (__pthread_key_create): Likewise.
14211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14212         (__pthread_setspecific): Likewise.
14213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14214         (__pthread_getspecific): Likewise.
14215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14216         Likewise.
14217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14218         (_pthread_cleanup_push_defer): Likewise.
14219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14220         (_pthread_cleanup_pop_restore): Likewise.
14221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14222         (pthread_setcancelstate): Likewise.
14223         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14224         <bp-sym.h>.
14225         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14226         (memchr): Do not use BP_SYM in weak_alias.
14227         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14228         (fegetenv): Do not use BP_SYM in versioned symbols.
14229         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14230         (fesetenv): Do not use BP_SYM in versioned symbols.
14231         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14232         (feupdateenv): Do not use BP_SYM in versioned symbols.
14233         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14234         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14235         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14236         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14237         (open64): Do not use BP_SYM in weak_alias.
14238         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14239         (fegetenv): Do not use BP_SYM in versioned symbols.
14240         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14241         (fesetenv): Do not use BP_SYM in versioned symbols.
14242         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14243         (feupdateenv): Do not use BP_SYM in versioned symbols.
14244         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14245         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14246         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14247         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14248         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14249         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14250         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14251         <bp-sym.h>.
14252         (__libc_start_main): Do not use BP_SYM.
14254 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14257         redundant return line.
14258         (norm): Likewise.
14259         (denorm): Likewise.
14260         (dbl_mp): Likewise.
14261         (sub_magnitudes): Likewise.
14262         (__add): Likewise.
14263         (__sub): Likewise.
14264         (__mul): Likewise.
14265         (__inv): Likewise.
14266         (__dvd): Likewise.
14267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14268         (norm): Likewise.
14269         (denorm): Likewise.
14270         (dbl_mp): Likewise.
14271         (sub_magnitudes): Likewise.
14272         (__add): Likewise.
14273         (__sub): Likewise.
14274         (__mul): Likewise.
14275         (__inv): Likewise.
14276         (__dvd): Likewise.
14278         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14279         instead of __mul.
14280         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14281         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14282         (cc32): Likewise.
14284         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14285         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14287         of __mul for squares.
14288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14289         function
14290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14291         Likewise.
14292         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14293         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14295 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14297         [BZ #13550]
14298         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14299         code.
14300         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14301         prototype or function definition.  Rename ubp_* variables and
14302         parameters.  Remove argv definitions conditional on
14303         [__BOUNDED_POINTERS__].
14304         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14305         * elf/dl-runtime.c (_dl_fixup): Likewise.
14306         * include/set-hooks.h (RUN_HOOK): Likewise.
14307         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14308         definition.
14309         * string/strcpy.c (strcpy): Do not use __unbounded.
14310         * sysdeps/generic/frame.h (struct layout): Likewise.
14311         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14312         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14313         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14314         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14315         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14316         (__backtrace): Likewise.
14317         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14318         use __ptrvalue.
14319         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14320         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14321         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14322         Likewise.
14323         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14324         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14325         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14326         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14327         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14328         Do not use __unbounded.
14329         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14330         Rename __unboundedrlimits parameter to rlimits in prototype.
14331         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14332         Do not use __unbounded.
14333         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14334         not use __ptrvalue.
14335         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14336         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14337         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14338         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14339         __ptrvalue or __unbounded.
14340         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14341         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14342         use __unbounded.
14343         (__new_msgctl): Do not use __ptrvalue.
14344         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14345         __unbounded.
14346         (__libc_msgrcv): Do not use __ptrvalue.
14347         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14348         startup_info): Do not use __unbounded.
14349         (__libc_start_main): Likewise.  Rename ubp_* variables and
14350         parameters.  Remove argv definitions conditional on
14351         [__BOUNDED_POINTERS__].
14352         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14353         __ptrvalue.
14354         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14355         use __unbounded.
14356         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14357         or __ptrvalue.
14358         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14359         use __unbounded.
14360         (__new_shmctl): Do not use __ptrvalue.
14361         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14362         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14363         Likewise.
14364         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14365         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14366         (__libc_sigaction): Likewise.
14367         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14368         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14369         Likewise.
14370         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14372 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
14374         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14376         * string/mempcpy.c: Implement by calling memcpy.
14378 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14380         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14383         evaluation.
14385         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14386         values in the mantissa.
14388         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14389         minimize writes to Z.
14390         (sub_magnitudes): Simplify code a bit.
14392 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14394         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14395         from the message.  The linker prefixes all warnings with that already.
14397 2013-02-12  Andreas Schwab  <schwab@suse.de>
14399         [BZ #15078]
14400         * posix/regexec.c (extend_buffers): Add parameter min_len.
14401         (check_matching): Pass minimum needed length.
14402         (clean_state_log_if_needed): Likewise.
14403         (get_subexp): Likewise.
14404         * posix/Makefile (tests): Add bug-regex34.
14405         (bug-regex34-ENV): Define.
14406         * posix/bug-regex34.c: New file.
14408         [BZ #11561]
14409         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14410         elements compare against the byte sequence of it, not its name.
14411         * posix/Makefile (tests): Add bug-regex35.
14412         (bug-regex35-ENV): Define.
14413         * posix/bug-regex35.c: New file.
14415 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14417         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14418         comment.
14419         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14420         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14421         (CHECK_EOL): Add undef.
14423 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14425         * bits/stdlib-bsearch.h: New file.
14426         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14427         * stdlib/stdlib.h: Likewise.
14429 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14431         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14432         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14433         declaration.
14434         * manual/search.texi (Array Search Function): Add missing const in
14435         lfind prototype.
14436         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14437         declaration to use rlim_t.
14438         (Basic Scheduling Functions): Remove erroneous const from
14439         sched_getparam prototype.  Remove erroneous * from
14440         sched_get_priority_max and sched_get_priority_min prototypes.
14441         (Resource Usage): Fix summary @comment on vtimes to refer to
14442         sys/vtimes.h rather than vtimes.h.
14443         Add missing *s in vtimes prototype.
14444         (Limits on Resources): Fix ulimit prototype to return long int.
14445         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14446         prototypes to use long int rather than double.
14447         (BSD Random): Fix initstate and setstate to use char *, not void *.
14448         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14449         prototype to make second argument 'struct aiocb64 *const[]'.
14450         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14451         (Status of AIO Operations): Remove erroneous const in aio_return and
14452         aio_return64 prototypes.
14453         (Synchronizing I/O): Fix sync prototype to return void.
14454         * manual/startup.texi (Suboptions): Remove an erroneous const in
14455         getsubopt prototype.
14456         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14457         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14458         use size_t rather than int.
14459         (Scanning All Users): Likewise for getpwent_r.
14460         (Setting Groups): Add missing const to setgroups prototype.
14461         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14462         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14463         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14464         'const void *' rather than 'const char *'.
14465         (Host Address Functions): Likewise for inet_ntop.
14466         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14467         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14468         ssize_t for return value.
14469         (Sending Data): Likewise for send, sendto, sendmsg.
14470         (Socket Option Functions): Add a missing const in setsockopt prototype.
14471         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14472         use wchar_t for the argument.
14473         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14474         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14475         take no arguments.
14476         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14477         double/float/long double for second argument.
14478         Fix return types of significand, significandf, significandl.
14479         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14480         argument in fchmod prototype.
14481         (File Owner): Use uid_t and gid_t in fchown prototype.
14482         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14483         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14484         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14485         use 'const struct dirent **' as argument types to CMP function pointer
14486         argument.
14487         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14488         (File Times): Fix summary magic @comment for struct utimbuf and utime
14489         to refer to utime.h, not time.h.
14490         * manual/string.texi (Argz Functions): Add missing const in
14491         argz_extract and argz_next prototypes.
14492         (Finding Tokens in a String): Likewise for basename.
14493         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14494         (Copying and Concatenation): Fix typo in wmemmove prototype.
14495         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14496         (Signal Stack): Remove erroneous const in sigstack prototype.
14497         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14498         prototype.
14499         (Simple Calendar Time): Likewise for stime.
14500         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14501         prototype.
14502         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14503         say sys/sysctl.h instead.
14504         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14505         and vsyslog prototypes.
14507 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14509         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14510         Remove.
14512 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14514         * misc/sys/mman.h: Fix typo in mremap comment.
14516 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14518         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14519         the '\0' terminator.
14521 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14523         [BZ #13550]
14524         * debug/segfault.c: Don't include <bp-checks.h>.
14525         * sysdeps/generic/bp-checks.h: Remove file.
14526         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14527         (__GETDENTS): Don't use CHECK_N.
14528         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14529         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14530         (__getgroups): Don't use CHECK_N.
14531         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14532         (setgroups): Don't use CHECK_N.
14533         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14534         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14535         (__libc_msgrcv): Don't use CHECK_N.
14536         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14537         (__libc_msgsnd): Don't use CHECK_N.
14538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14539         <bp-checks.h>.
14540         (__libc_pread): Don't use CHECK_N.
14541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14542         include <bp-checks.h>.
14543         (__libc_pread64): Don't use CHECK_N.
14544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14545         include <bp-checks.h>.
14546         (__libc_pwrite): Don't use CHECK_N.
14547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14548         include <bp-checks.h>.
14549         (__libc_pwrite64): Don't use CHECK_N.
14550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14551         <bp-checks.h>.
14552         (__libc_pread): Don't use CHECK_N.
14553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14554         include <bp-checks.h>.
14555         (__libc_pread64): Don't use CHECK_N.
14556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14557         include <bp-checks.h>.
14558         (__libc_pwrite): Don't use CHECK_N.
14559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14560         include <bp-checks.h>.
14561         (__libc_pwrite64): Don't use CHECK_N.
14562         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14563         (do_pread): Don't use CHECK_N.
14564         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14565         (do_pread64): Don't use CHECK_N.
14566         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14567         (do_pwrite): Don't use CHECK_N.
14568         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14569         (do_pwrite64): Don't use CHECK_N.
14570         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14571         (__libc_readv): Don't use CHECK_N.
14572         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14573         (semop): Don't use CHECK_N.
14574         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14575         <bp-checks.h>.
14576         (semtimedop): Don't use CHECK_N.
14577         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14578         (__libc_pread): Don't use CHECK_N.
14579         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14580         <bp-checks.h>.
14581         (__libc_pread64): Don't use CHECK_N.
14582         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14583         <bp-checks.h>.
14584         (__libc_pwrite): Don't use CHECK_N.
14585         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14586         <bp-checks.h>.
14587         (__libc_pwrite64): Don't use CHECK_N.
14588         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14589         <bp-checks.h>.
14590         (__libc_msgrcv): Don't use CHECK_N.
14591         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14592         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14593         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14594         (__libc_writev): Don't use CHECK_N.
14596 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14598         * string/strcpy.c: Removed unused variable.
14600         * Makeconfig (+sysdep-includes): Define with := rather than =.
14601         Use an existing include/ subdir of each sysdeps dir before it.
14603 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14605         * nscd/connection.c (register_traced_file): Comment function.
14606         [HAVE_INOTIFY] (union __inev): Define.
14607         [HAVE_INOTIFY] (inotify_check_files): New function.
14608         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14609         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14610         clear_db_cache.
14611         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14613 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14615         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14616         loaded if not already and that a failure is permanent.
14618 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14620         [BZ #15006]
14621         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14622         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14624 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14626         [BZ #13550]
14627         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14628         (CHECK_1_NULL_OK): Likewise.
14629         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14630         (__fxstat): Do not use CHECK_1.
14631         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14632         <bp-checks.h>.
14633         (___fxstat64): Do not use CHECK_1.
14634         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14635         <bp-checks.h>.
14636         (__fxstatat): Do not use CHECK_1.
14637         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14638         <bp-checks.h>.
14639         (__fxstatat64): Do not use CHECK_1.
14640         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14641         <bp-checks.h>.
14642         (__fxstat): Do not use CHECK_1.
14643         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14644         <bp-checks.h>.
14645         (__fxstatat): Do not use CHECK_1.
14646         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14647         <bp-checks.h>.
14648         (__getresgid): Do not use CHECK_1.
14649         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14650         <bp-checks.h>.
14651         (__getresuid): Do not use CHECK_1.
14652         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14653         <bp-checks.h>.
14654         (__lxstat): Do not use CHECK_1.
14655         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14656         <bp-checks.h>.
14657         (__old_msgctl): Do not use CHECK_1.
14658         (__new_msgctl): Likewise.
14659         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14660         <bp-checks.h>.
14661         (__new_setrlimit): Do not use CHECK_1.
14662         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14663         <bp-checks.h>.
14664         (__old_shmctl): Do not use CHECK_1.
14665         (__new_shmctl): Likewise.
14666         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14667         <bp-checks.h>.
14668         (__xstat): Do not use CHECK_1.
14669         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14670         (__lxstat): Do not use CHECK_1.
14671         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14672         <bp-checks.h>.
14673         (___lxstat64): Do not use CHECK_1.
14674         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14675         (__old_msgctl): Do not use CHECK_1.
14676         (__new_msgctl): Likewise.
14677         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14678         <bp-checks.h>.
14679         (__gettimeofday): Do not use CHECK_1.
14680         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14681         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14682         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14683         <bp-checks.h>.
14684         (__gettimeofday): Do not use CHECK_1.
14685         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14686         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14687         (__new_shmctl): Do not use CHECK_1.
14688         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14689         <bp-checks.h>.
14690         (do_sigtimedwait): Do not use CHECK_1.
14691         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14692         <bp-checks.h>.
14693         (do_sigwaitinfo): Do not use CHECK_1.
14694         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14695         <bp-checks.h>.
14696         (msgctl): Do not use CHECK_1.
14697         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14698         <bp-checks.h>.
14699         (shmctl): Do not use CHECK_1.
14700         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14701         (ustat): Do not use CHECK_1.
14702         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14703         <bp-checks.h>.
14704         (__fxstat): Do not use CHECK_1.
14705         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14706         <bp-checks.h>.
14707         (__fxstatat): Do not use CHECK_1.
14708         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14709         <bp-checks.h>.
14710         (__lxstat): Do not use CHECK_1.
14711         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14712         <bp-checks.h>.
14713         (__xstat): Do not use CHECK_1.
14714         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14715         (__xstat): Do not use CHECK_1.
14716         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14717         (___xstat64): Do not use CHECK_1.
14719         [BZ #13550]
14720         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14721         definitions.
14722         (CHECK_BOUNDS_HIGH): Likewise.
14723         * string/strcpy.c: Do not include <bp-checks.h>.
14724         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14726 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14728         * nscd/nscd-client.h (__nscd_drop_map_ref):
14729         Add __attribute__ ((unused)).
14730         * nis/nss-nisplus.h (niserr2nss): Likewise.
14732         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14733         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14735         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14736         Remove inline keyword.
14737         * include/rounding-mode.h (round_away): Likewise.
14738         * libio/wfileops.c (adjust_wide_data): Likewise.
14739         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14740         (__m128i_strloadu_tolower): Likewise.
14741         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14742         (__m128i_strloadu_tolower): Likewise.
14743         * time/mktime.c (ydhms_diff): Likewise.
14744         * locale/elem-hash.h (elem_hash): Likewise.
14745         * locale/setlocale.c (setdata): Likewise.
14746         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14747         (re_string_wchar_at): Likewise.
14748         (bitset_not, bitset_merge, bitset_mask): Likewise.
14749         [!(__GNUC__ > 3)] (inline): Remove macro.
14750         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14751         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14752         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14753         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14754         * string/memcmp.c (memcmp_bytes): Likewise.
14755         * locale/programs/locarchive.c (compute_hashval): Likewise.
14756         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14757         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14758         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14759         * nss/getent.c (print_rpc, print_protocols): Likewise.
14760         (print_passwd, print_group, print_aliases): Likewise.
14761         * nis/nss-nisplus.h (niserr2nss): Likewise.
14762         * nscd/connections.c (restart_p): Likewise.
14763         Change return type to bool.
14765 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14767         * Makeconfig (all-Depend-files): Add existing
14768         $(sorted-subdirs:=/Depend) files.
14769         (all-subdirs): Remove nss.
14770         * sysdeps/unix/inet/Subdirs: Add it here instead.
14771         * hesiod/Depend: New file.
14773         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14774         instead of calling alloca.
14776         * io/lseek.c (__lseek): Rename to __libc_lseek.
14777         Define __lseek as an alias.
14779         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14781 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14783         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14784         else clause and remove check for non-standard endianness.
14786 2013-02-04  David S. Miller  <davem@davemloft.net>
14788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14790 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14792         [BZ #13550]
14793         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14794         (__ubp_memchr): Remove prototype.
14795         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14796         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14797         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14798         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14799         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14800         Remove alias.
14801         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14802         (__ubp_memchr): Likewise.
14803         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14804         (__ubp_memchr): Likewise.
14805         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14806         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14807         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14808         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14809         CHECK_STRING.
14810         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14811         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14812         (__getcwd): Do not use CHECK_STRING.
14813         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14814         <bp-checks.h>.
14815         (__real_chown): Do not use CHECK_STRING.
14816         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14817         <bp-checks.h>.
14818         (fchownat): Do not use CHECK_STRING.
14819         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14820         CHECK_STRING.
14821         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14822         <bp-checks.h>.
14823         (__lchown): Do not use CHECK_STRING.
14824         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14825         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14826         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14827         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14829         include <bp-checks.h>.
14830         (truncate64): Do not use CHECK_STRING.
14831         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14832         <bp-checks.h>.
14833         (__real_chown): Do not use CHECK_STRING.
14834         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14835         <bp-checks.h>.
14836         (__lchown): Do not use CHECK_STRING.
14837         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14838         <bp-checks.h>.
14839         (__chown): Do not use CHECK_STRING.
14840         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14841         <bp-checks.h>.
14842         (truncate64): Do not use CHECK_STRING.
14843         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14844         Likewise.
14845         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14846         (__xmknod): Do not use CHECK_STRING.
14847         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14848         <bp-checks.h>.
14849         (__xmknodat): Do not use CHECK_STRING.
14850         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14851         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14853 2013-02-04  Andreas Schwab  <schwab@suse.de>
14855         [BZ #14142]
14856         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14857         * include/netdb.h: Likewise for h_errno.
14858         * elf/tst-stackguard1.c: Include <tls.h>.
14860 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14862         * elf/link.h (struct link_map): Extend the l_addr comment.
14863         * include/link.h (struct link_map): Likewise.
14865 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14867         [BZ #13550]
14868         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14869         (BOUNDED_1): Remove macro.
14870         * debug/backtrace.c: Don't include <bp-checks.h>.
14871         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14872         (__backtrace): Likewise.
14873         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14874         <bp-checks.h>.
14875         (__backtrace): Don't use BOUNDED_1.
14876         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14877         <bp-checks.h>.
14878         (__backtrace): Don't use BOUNDED_1.
14879         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14880         (__backtrace): Don't use BOUNDED_1.
14881         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14882         (shmat): Don't use BOUNDED_N.
14884 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14886         [BZ #13550]
14887         * sysdeps/generic/bp-start.h: Remove file.
14888         * csu/libc-start.c: Don't include <bp-start.h>.
14889         (LIBC_START_MAIN): Set up __environ directly instead of using
14890         INIT_ARGV_and_ENVIRON.
14891         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14892         <bp-start.h>.
14894         [BZ #13550]
14895         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14896         definitions.
14897         (CHECK_FCNTL): Likewise.
14898         (CHECK_N_PAGES): Likewise.
14900         [BZ #13550]
14901         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14902         definitions.
14903         (CHECK_SIGSET_NULL_OK): Likewise.
14904         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14905         <bp-checks.h>.
14906         (sigpending): Don't use CHECK_SIGSET.
14907         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14908         <bp-checks.h>.
14909         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14910         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14911         <bp-checks.h>.
14912         (do_sigsuspend): Don't use CHECK_SIGSET.
14913         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14914         use CHECK_SIGSET.
14915         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14916         (do_sigwait): Don't use CHECK_SIGSET.
14917         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14918         use CHECK_SIGSET.
14919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14920         include <bp-checks.h>.
14921         (sigpending): Don't use CHECK_SIGSET.
14922         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14923         include <bp-checks.h>.
14924         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14925         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14926         <bp-checks.h>.
14927         (sigpending): Don't use CHECK_SIGSET.
14928         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14929         <bp-checks.h>.
14930         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14932         [BZ #13550]
14933         * sysdeps/generic/bp-semctl.h: Remove file.
14934         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14935         <bp-checks.h> and <bp-semctl.h>.
14936         (__old_semctl): Don't use CHECK_SEMCTL.
14937         (__new_semctl): Likewise.
14938         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14939         and <bp-semctl.h>.
14940         (__old_semctl): Don't use CHECK_SEMCTL.
14941         (__new_semctl): Likewise.
14942         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14943         <bp-checks.h> and <bp-semctl.h>.
14944         (__old_semctl): Don't use CHECK_SEMCTL.
14945         (__new_semctl): Likewise.
14946         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14947         <bp-checks.h> and <bp-semctl.h>.
14948         (semctl): Don't use CHECK_SEMCTL.
14950         [BZ #13550]
14951         * Makerules (elide-bp-thunks): Remove variable.
14952         (elide-routines.oS): Don't use $(elide-bp-thunks).
14953         (elide-routines.os): Likewise.
14954         (elide-routines.o): Likewise.
14955         (elide-routines.op): Likewise.
14956         (elide-routines.og): Likewise.
14957         (objects): Don't use $(bp-thunks).
14958         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14959         include.
14960         (common-generated): Do not add s-proto-bp.d.
14961         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14962         (int): Likewise.
14963         (typ): Likewise.
14964         Do not generate makefile rules for bounded-pointer thunks.
14965         * sysdeps/generic/bp-thunks.h: Remove file.
14966         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14967         * sysdeps/unix/s-proto-bp.S: Likewise.
14969         [BZ #15062]
14970         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14971         parts of result separately when argument is not close to line from
14972         -i to i and one part of argument is small.
14973         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14974         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14975         * math/libm-test.inc (cacos_test): Add more tests.
14976         (casin_test): Likewise.
14977         (casinh_test): Likewise.
14978         * sysdeps/i386/fpu/libm-test-ulps: Update.
14979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14981 2013-01-31  David S. Miller  <davem@davemloft.net>
14983         * po/de.po: Update from translation team.
14985 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14987         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14989 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14991         * configure.in (_AC_PROG_CC_C89): New definition.
14992         * configure: Regenerate.
14994         * configure.in (AC_PROG_CPP): New definition.
14995         * configure: Regenerate.
14997 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14999         * debug/tst-backtrace.h: New file.
15000         * debug/tst-backtrace2.c: Include tst-backtrace.h.
15001         (ret): Remove variable.
15002         (x): Likewise.
15003         (FAIL): Remove macro.
15004         (NO_INLINE): Likewise.
15005         (fn1): Use match function instead of strstr.
15006         * debug/tst-backtrace3.c: Include tst-backtrace.h.
15007         (ret): Remove variable.
15008         (x): Likewise.
15009         (FAIL): Remove macro.
15010         (NO_INLINE): Likewise.
15011         (fn): Use match function instead of strstr.
15012         * debug/tst-backtrace4.c: Include tst-backtrace.h.
15013         (ret): Remove variable.
15014         (x): Likewise.
15015         (FAIL): Remove macro.
15016         (NO_INLINE): Likewise.
15017         (handle_signal): Use match function instead of strstr.
15018         * debug/tst-backtrace5.c: Include tst-backtrace.h.
15019         (ret): Remove variable.
15020         (x): Likewise.
15021         (FAIL): Remove macro.
15022         (NO_INLINE): Likewise.
15023         (handle_signal): Use match function instead of strstr.
15025 2013-01-23  Roland McGrath  <roland@hack.frob.com>
15027         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15029 2013-01-23  David S. Miller  <davem@davemloft.net>
15031         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15032         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15033         argument of CAS if possible.
15034         * sysdeps/sparc/sparc64/bits/atomic.h
15035         (__arch_compare_and_exchange_val_32_acq): Likewise.
15036         (__arch_compare_and_exchange_val_64_acq): Likewise.
15038 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
15040         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15041         * sysdeps/posix/ulimit.c: ... this.
15042         Include <limits.h>.
15043         * sysdeps/unix/bsd/ulimit.c: Remove file.
15045 2013-01-23  Adam Conrad  <adconrad@0c3.net>
15047         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15048         (LDFLAGS-tst-array5): Likewise.
15050 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15052         [BZ #15036]
15053         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15054         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15055         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15056         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15058 2013-01-21  David S. Miller  <davem@davemloft.net>
15060         * sysdeps/sparc/backtrace.c: New file.
15061         * sysdeps/sparc/sparc32/backtrace.h: New file.
15062         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15063         * sysdeps/sparc/sparc64/backtrace.h: New file.
15064         * sysdeps/sparc/sparc64/backtrace.c: Delete.
15065         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15066         -funwind-tables.
15068 2013-01-21  Andreas Schwab  <schwab@suse.de>
15070         [BZ #15020]
15071         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15072         closed its stdout.
15074 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
15076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15077         "mpa2.h".
15078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15080 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
15081             Mark Mitchell  <mark@codesourcery.com>
15082             Tom de Vries  <tom@codesourcery.com>
15083             Paul Pluzhnikov  <ppluzhnikov@google.com>
15085         * debug/tst-backtrace2.c: New file.
15086         * debug/tst-backtrace3.c: Likewise.
15087         * debug/tst-backtrace4.c: Likewise.
15088         * debug/tst-backtrace5.c: Likewise.
15089         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15090         (CFLAGS-tst-backtrace3.c): Likewise.
15091         (CFLAGS-tst-backtrace4.c): Likewise.
15092         (CFLAGS-tst-backtrace5.c): Likewise.
15093         (LDFLAGS-tst-backtrace2): Likewise.
15094         (LDFLAGS-tst-backtrace3): Likewise.
15095         (LDFLAGS-tst-backtrace4): Likewise.
15096         (LDFLAGS-tst-backtrace5): Likewise.
15097         (tests): Add new tests tst-backtrace2, tst-backtrace3,
15098         tst-backtrace4 and tst-backtrace5.
15100 2013-01-18  Anton Blanchard  <anton@samba.org>
15101             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15103         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15104         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15105         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15106         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15108         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15109         "+r" and remove output regs list as redundant.  Add explicit inline
15110         asm to specify register of return val to work around compiler codegen
15111         bug.  Remove (int) cast on return value.  Add return type parameter to
15112         use in macro so that this macro does not truncate return value for
15113         64-bit values.
15114         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15115         pass to INTERNAL_VSYSCALL_NCS.
15116         (INLINE_VSYSCALL): Add 'long int' as return type to
15117         INTERNAL_VSYSCALL_NCS macro invocation.
15118         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15119         INTERNAL_VSYSCALL_NCS macro invocation.
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15122 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15124         [BZ #14496]
15125         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15126         Fix application of SIMD FP exception mask.
15128         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15129         mp_no from a power of two.
15130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15131         __mpexp_twomm1.  Use __pow_mp.
15133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15134         multiplication.
15136 2013-01-17  David S. Miller  <davem@davemloft.net>
15138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15140 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15142         [BZ #15023]
15143         * include/complex.h: Condition contents on [!_COMPLEX_H].
15144         (__kernel_casinhf): New prototype.
15145         (__kernel_casinh): Likewise.
15146         (__kernel_casinhl): Likewise.
15147         * math/Makefile (libm_calls): Add k_casinh.
15148         * math/k_casinh.c: New file.
15149         * math/k_casinhf.c: Likewise.
15150         * math/k_casinhl.c: Likewise.
15151         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15152         finite nonzero arguments.
15153         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15154         finite nonzero arguments.
15155         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15156         finite nonzero arguments.
15157         * math/s_casinh.c: Do not include <float.h>.
15158         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15159         * math/s_casinhf.c: Do not include <float.h>.
15160         (__casinhf): Move code for finite nonzero arguments to
15161         k_casinhf.c.
15162         * math/s_casinhl.c: Do not include <float.h>.
15163         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15164         redefine.
15165         (__casinhl): Move code for finite nonzero arguments to
15166         k_casinhl.c.
15167         * math/libm-test.inc (cacos_test): Add more tests.
15168         * sysdeps/i386/fpu/libm-test-ulps: Update.
15169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15171 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15173         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15174         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15175         [!HAVE_MREMAP]: Remove [defined linux] case.
15176         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15178 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15180         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15182 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15184         * elf/elf.h (R_386_SIZE32): New relocation.
15185         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15186         R_386_SIZE32.
15187         (elf_machine_rela): Likewise.
15188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15189         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15191 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15193         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15194         (FP_FAST_FMA): Do not define.
15195         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15196         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15197         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15198         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15199         !_SOFT_FLOAT]: Likewise.
15200         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15201         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15202         value.
15203         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15204         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15205         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15206         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15207         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15208         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15209         file.
15211 2013-01-16  Andreas Schwab  <schwab@suse.de>
15213         [BZ #14327]
15214         * include/stdlib.h (__mktemp): Add declaration.
15215         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15216         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15218 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15220         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15221         definitions.
15222         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15223         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15224         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15225         definitions here.
15226         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15227         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15228         definitions.
15229         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15230         and ONE.
15231         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15232         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15233         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15234         definitions.
15235         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15236         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15237         definitions.
15238         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15240         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15242 2013-01-15  David S. Miller  <davem@davemloft.net>
15244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15245         trunc{,f} to libm-sysdep_routes.
15246         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15248         file.
15249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15251         file.
15252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15253         file.
15254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15256         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15257         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15258         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15259         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15260         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15261         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15264         nearbyint{,f} to libm-sysdep_routes.
15265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15267         New file.
15268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15269         file.
15270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15271         New file.
15272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15273         file.
15274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15276         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15277         file.
15278         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15279         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15280         file.
15281         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15282         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15283         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15285         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15286         libc_feholdexcept and libc_fesetenv.
15288 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15290         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15292 2013-01-14  David S. Miller  <davem@davemloft.net>
15294         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15295         (SPARC_ASM_VIS2_IFUNC): Likewise.
15296         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15298         use of 'siam' instruction.
15299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15300         Likewise.
15301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15302         Likewise.
15303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15304         Likewise.
15305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15310         file.
15311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15312         file.
15313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15314         file.
15315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15316         file.
15317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15319         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15322         new VIS2 routines.
15323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15326         Likewise.
15327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15332         routines to libm-sysdep_routines.
15333         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15336         fdim/fdimf to libm-sysdep_routines.
15337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15338         file.
15339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15341         file.
15342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15345         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15346         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15347         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15348         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15350 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15352         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15353         to optimize copies.
15355         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15360         local variable MPTWO.
15361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15362         Likewise.
15364 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15366         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15367         GLOB_NOESCAPE.
15369 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15371         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15373 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15375         * manual/pattern.texi (glob_t): Document gl_flags.
15376         (glob64_t): Likewise.
15378 2013-01-11  David S. Miller  <davem@davemloft.net>
15380         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15381         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15382         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15383         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15384         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15385         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15386         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15387         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15388         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15389         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15390         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15391         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15392         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15394         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15395         sparc V9 rather than using V8 code.
15396         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15397         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15399         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15400         Move to...
15401         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15402         Here.
15404 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15406         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15407         not in the main loop.
15408         * configure: Regenerated.
15410 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15412         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15413         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15414         to just #else.
15415         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15416         [!__GLIBC_HAVE_LONG_LONG] case.
15417         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15418         condition to just #else.
15419         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15420         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15421         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15422         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15423         unconditional.
15424         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15425         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15426         #elif condition to just #else.
15427         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15428         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15429         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15430         #elif condition to just #else.
15432 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15434         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15435         (EF_MIPS_ARCH_64): Fix value.
15436         (EF_MIPS_ARCH_32R2): New.
15437         (EF_MIPS_ARCH_64R2): New.
15439 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15441         * Makeconfig (+link-pie-before-libc): New.
15442         (+link-pie-after-libc): Likewise.
15443         (+link-pie-tests): Likewise.
15444         (+link-pie): Rewritten.
15445         (link-before-libc): Remove $(config-LDFLAGS).
15446         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15447         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15448         (config-LDFLAGS): Renamed to ...
15449         (rtld-LDFLAGS): This.
15450         (rtld-tests-LDFLAGS): New macro.
15451         (link-libc-rpath-link): Likewise.
15452         (link-libc-tests-rpath-link): Likewise.
15453         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15454         (link-libc): Prepand $(link-libc-rpath-link).
15455         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15456         (test-program-prefix): New macro.
15457         (test-via-rtld-prefix): Likewise.
15458         (test-program-cmd): Likewise.
15459         (host-test-program-cmd): Likewise.
15460         * Makefile ($(common-objpfx)testrun.sh): Replace
15461         $(run-program-prefix) with $(test-program-prefix).
15462         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15463         $(rtld-LDFLAGS).
15464         ($(common-objpfx)shlib.lds): Likewise.
15465         (build-module-helper): Likewise.
15466         ($(common-objpfx)format.lds): Likewise.
15467         * Rules (binaries-pie-tests): New.
15468         (binaries-pie-notests): Likewise.
15469         (binaries-pie): Rewritten.
15470         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15471         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15472         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15473         (make-test-out): Replace $(host-built-program-cmd) with
15474         $(host-test-program-cmd).
15475         * config.make.in (build-hardcoded-path-in-tests): New variable.
15476         * configure.in (--enable-hardcoded-path-in-tests): New configure
15477         option.
15478         (hardcoded_path_in_tests): New AC_SUBST.
15479         * configure: Regenerated.
15480         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15481         $(built-program-cmd) with $(test-program-cmd).
15482         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15483         (test_program_cmd): This.
15484         * elf/Makefile ($(objpfx)order.out): Run test with
15485         $(test-program-prefix).
15486         ($(objpfx)order2.out): Likewise.
15487         ($(objpfx)tst-initorder.out): Likewise.
15488         ($(objpfx)tst-initorder2.out): Likewise.
15489         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15490         $(test-program-cmd).
15491         ($(objpfx)tst-array1-static.out): Likewise.
15492         ($(objpfx)tst-array2.out): Likewise.
15493         ($(objpfx)tst-array3.out): Likewise.
15494         ($(objpfx)tst-array4.out): Likewise.
15495         ($(objpfx)tst-array5.out): Likewise.
15496         ($(objpfx)tst-array5-static.out): Likewise.
15497         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15498         $(test-program-cmd).
15499         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15500         $(run-program-prefix) with $(test-program-prefix).
15501         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15502         (test_program_prefix): This.
15503         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15504         $(run-program-prefix) with $(test-program-prefix).
15505         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15506         (test_program_prefix): This.
15507         * iconvdata/tst-tables.sh: Likewise.
15508         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15509         $(run-program-prefix) with $(test-program-prefix).
15510         ($(objpfx)tst-translit.out): Likewise.
15511         ($(objpfx)tst-gettext2.out): Likewise.
15512         ($(objpfx)tst-gettext4.out): Likewise.
15513         ($(objpfx)tst-gettext6.out): Likewise.
15514         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15515         (test_program_prefix): This.
15516         * intl/tst-gettext2.sh: Likewise.
15517         * intl/tst-gettext4.sh  Likewise.
15518         * intl/tst-gettext6.sh: Likewise.
15519         * intl/tst-translit.sh: Likewise.
15520         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15521         with $(test-program-cmd).
15522         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15523         $(run-program-prefix) with $(test-program-prefix).
15524         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15525         (test_program_prefix): This.
15526         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15527         $(run-program-prefix) with $(test-program-prefix).
15528         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15529         (test_program_prefix): This.
15530         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15531         * posix/Makefile ($(objpfx)globtest.out): Replace
15532         $(run-via-rtld-prefix) and $(test-wrapper) with
15533         $(test-program-prefix) and $(test-via-rtld-prefix).
15534         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15535         $(test-program-prefix).
15536         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15537         $(host-test-program-cmd).
15538         (tst-spawn-ARGS): Likewise.
15539         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15540         $(test-program-prefix).
15541         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15542         (test_via_rtld_prefix): This.
15543         (test_wrapper): Renamed to ...
15544         (test_program_prefix): This.
15545         (run_program_prefix): Replaced by test_program_prefix.
15546         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15547         (test_program_prefix): This.
15548         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15549         with $(host-test-program-cmd).
15550         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15551         $(run-program-prefix) with $(test-program-prefix).
15552         ($(objpfx)tst-printf.out): Likewise.
15553         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15554         $(test-program-cmd).
15555         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15556         (test_program_prefix): This.
15557         * stdio-common/tst-unbputc.sh: Likewise.
15558         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15559         $(run-program-prefix) with $(test-program-prefix).
15560         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15561         (test_program_prefix): This.
15562         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15563         $(built-program-cmd) with $(test-program-cmd).
15565 2013-01-11  Andreas Jaeger  <aj@suse.de>
15567         [BZ #15003]
15568         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15569         value. Sync with Linux 3.7.
15571 2013-01-10  David S. Miller  <davem@davemloft.net>
15573         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15574         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15575         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15577 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15579         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15580         never set.
15581         * configure: Regenerated.
15583 2013-01-10  David S. Miller  <davem@davemloft.net>
15585         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15586         sparc V9 rather than using V8 code.
15587         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15588         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15590 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15592         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15593         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15594         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15595         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15596         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15597         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15598         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15599         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15600         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15601         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15602         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15603         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15604         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15605         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15606         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15607         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15608         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15609         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15610         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15611         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15612         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15613         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15614         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15615         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15616         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15617         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15618         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15620 2013-01-10  David S. Miller  <davem@davemloft.net>
15622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15624 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15626         * posix/Makefile (tests-static): New variable.
15627         (tests): Add $(tests-static).
15628         (tst-exec-static-ARGS): New variable.
15629         (tst-spawn-static-ARGS): Likewise.
15630         * posix/tst-exec-static.c: New file.
15631         * posix/tst-spawn-static.c: Likewise.
15632         * posix/tst-exec.c: Support run directly.
15633         * posix/tst-spawn.c: Likewise.
15635 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15637         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15638         long.
15639         * math/bits/mathcalls.h (llrint): Likewise.
15640         (llround): Likewise.
15641         * stdlib/stdlib.h (struct drand48_data): Likewise.
15642         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15643         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15644         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15645         Likewise.
15646         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15647         Likewise.
15648         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15649         (elf_greg_t): Likewise.
15650         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15651         (__jmp_buf): Likewise.
15652         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15653         definitions.
15654         (llrint): Likewise, for all definitions.
15655         (llrintl): Likewise.
15657         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15658         Remove [__GNUC__] condition.
15659         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15660         condition to just [__USE_ISOC99].
15661         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15663 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15665         [BZ #14200]
15666         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15667         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15668         defined.
15669         (_POSIX_V6_ILP32_OFF32): Likewise.
15670         (_XBS5_ILP32_OFF32): Likewise.
15671         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15672         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15674 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15676         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15678         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15679         doubles __mpexp_twomm1.  Adjust usage.
15680         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15681         Remove.
15683 2013-01-10  Andreas Schwab  <schwab@suse.de>
15685         [BZ #14964]
15686         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15687         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15689 2013-01-09  David S. Miller  <davem@davemloft.net>
15691         [BZ #15003]
15692         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15693         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15694         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15695         TCP_FASTOPEN): Define.
15696         (tcp_repair_opt): New structure.
15697         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15698         enum values.
15699         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15700         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15701         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15702         (tcp_cookie_transactions): New structure.
15704 2013-01-09  Anton Blanchard  <anton@samba.org>
15706         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15707         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15708         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15709         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15711 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15713         * include/features.h (__USE_ANSI): Remove.
15715 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15717         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15719         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15721 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15723         * sysdeps/s390/fpu/libm-test-ulps: Update.
15725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15727         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15728         (__acr): Likewise.
15729         (__cpy): Likewise.
15730         (norm): Likewise.
15731         (denorm): Likewise.
15732         (__mp_dbl): Likewise.
15733         (__dbl_mp): Likewise.
15734         (add_magnitudes): Likewise.
15735         (sub_magnitudes): Likewise.
15736         (__add): Likewise.
15737         (__sub): Likewise.
15738         (__mul): Likewise.
15739         (__inv): Likewise.
15740         (__dvd): Likewise.
15741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15742         (__acr): Likewise.
15743         (__cpy): Likewise.
15744         (norm): Likewise.
15745         (denorm): Likewise.
15746         (__mp_dbl): Likewise.
15747         (__dbl_mp): Likewise.
15748         (add_magnitudes): Likewise.
15749         (sub_magnitudes): Likewise.
15750         (__add): Likewise.
15751         (__sub): Likewise.
15752         (__mul): Likewise.
15753         (__inv): Likewise.
15754         (__dvd): Likewise.
15755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15756         (__acr): Likewise.
15757         (__cpy): Likewise.
15758         (norm): Likewise.
15759         (denorm): Likewise.
15760         (__mp_dbl): Likewise.
15761         (__dbl_mp): Likewise.
15762         (add_magnitudes): Likewise.
15763         (sub_magnitudes): Likewise.
15764         (__add): Likewise.
15765         (__sub): Likewise.
15766         (__mul): Likewise.
15767         (__inv): Likewise.
15768         (__dvd): Likewise.
15770 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15772         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15773         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15774         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15775         2 && __USE_EXTERN_INLINES]: Likewise.
15777 2013-01-08  Andreas Jaeger  <aj@suse.de>
15779         [BZ# 14985]
15780         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15781         Remove.
15782         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15783         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15785 2013-01-07  Anton Blanchard  <anton@samba.org>
15787         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15788         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15789         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15790         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15791         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15792         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15793         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15794         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15796         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15797         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15798         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15799         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15800         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15801         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15802         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15803         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15804         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15805         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15806         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15807         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15808         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15809         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15810         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15811         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15812         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15813         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15814         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15815         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15816         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15817         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15819         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15820         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15821         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15822         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15823         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15824         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15825         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15826         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15827         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15828         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15829         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15831 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15833         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15834         (__MALLOC_PMT): Likewise.
15835         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15836         [__GNUC__], only on [_LIBC].
15837         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15838         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15839         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15840         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15841         forward declaration.
15842         (realloc_hook_ini): Likewise.
15843         (memalign_hook_ini): Likewise.
15844         (__libc_memalign): Do not use __MALLOC_PMT in variable
15845         declaration.
15846         (__libc_valloc): Likewise.
15847         (__libc_pvalloc): Likewise.
15848         (__libc_calloc): Likewise.
15849         (__posix_memalign): Likewise.
15851         [BZ #14996]
15852         * math/s_casinh.c: Include <float.h>.
15853         (__casinh): Do not do computation with squaring and square root
15854         for large arguments.
15855         * math/s_casinhf.c: Include <float.h>.
15856         (__casinhf): Do not do computation with squaring and square root
15857         for large arguments.
15858         * math/s_casinhl.c: Include <float.h>.
15859         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15860         (__casinhl): Do not do computation with squaring and square root
15861         for large arguments.
15862         * math/libm-test.inc (casin_test): Add more tests.
15863         (casinh_test): Likewise.
15864         * sysdeps/i386/fpu/libm-test-ulps: Update.
15865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15867 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15869         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15870         (__x86_64_raw_data_cache_size): Likewise.
15871         (__x86_64_data_cache_size_half): Likewise.
15872         (__x86_64_raw_data_cache_size_half): Likewise.
15873         (__x86_64_shared_cache_size): Likewise.
15874         (__x86_64_raw_shared_cache_size): Likewise.
15875         (__x86_64_shared_cache_size_half): Likewise.
15876         (__x86_64_raw_shared_cache_size_half): Likewise.
15877         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15878         to ...
15879         (__x86_data_cache_size): This.
15880         (__x86_64_raw_data_cache_size): Renamed to ...
15881         (__x86_raw_data_cache_size): This.
15882         (__x86_64_data_cache_size_half): Renamed to ...
15883         (__x86_data_cache_size_half): This.
15884         (__x86_64_raw_data_cache_size_half): Renamed to ...
15885         (__x86_raw_data_cache_size_half): This.
15886         (__x86_64_shared_cache_size): Renamed to ...
15887         (__x86_shared_cache_size): This.
15888         (__x86_64_raw_shared_cache_size): Renamed to ...
15889         (__x86_raw_shared_cache_size): This.
15890         (__x86_64_shared_cache_size_half): Renamed to ...
15891         (__x86_shared_cache_size_half): This.
15892         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15893         (__x86_raw_shared_cache_size_half): This.
15894         * sysdeps/x86_64/memcpy.S: Updated.
15895         * sysdeps/x86_64/memset.S: Likewise.
15896         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15897         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15898         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15900 2013-01-04  David S. Miller  <davem@davemloft.net>
15902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15904 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15906         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15907         1 to avoid redefinition warning.
15908         (__USE_GNU): Don't define.
15909         (init_signaling_nan): Protoize.
15911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15913 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15915         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15917         (__cpymn): Likewise.
15918         (norm): Remove commented code.
15919         (denorm): Likewise.
15920         (__mp_dbl): Likewise.
15921         (__inv): Likewise.
15922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15923         (__cpymn): Likewise.
15924         (norm): Remove commented code.
15925         (denorm): Likewise.
15926         (__mp_dbl): Likewise.
15927         (__inv): Likewise.
15929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15930         mp_no value for 1.0 and 2.0.
15931         (norm): Use RADIXI instead of radixi.d.
15932         (denorm): Likewise.
15933         (__mul): Use 0.0 instead of zero.d.
15934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15935         mp_no value for 1.0 and 2.0.
15936         (norm): Use RADIXI instead of radixi.d.
15937         (denorm): Likewise.
15938         (__mul): Use 0.0 instead of zero.d.
15940 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15942         [BZ #14994]
15943         * math/s_casinh.c (__casinh): Reduce finite argument to first
15944         quadrant then set signs of results at the end.
15945         * math/s_casinhf.c (__casinhf): Likewise.
15946         * math/s_casinhl.c (__casinhl): Likewise.
15947         * math/libm-test.inc (casin_test): Add more tests.
15948         (casinh_test): Likewise.
15949         * sysdeps/i386/fpu/libm-test-ulps: Update.
15950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15952 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15954         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15956         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15958         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15959         declarations.
15960         (denorm): Likewise.
15961         (__mp_dbl): Likewise.
15962         (__inv): Likewise.
15964         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15965         and adjust the header comment.
15967         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15968         variable name from declaration.
15970 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15973         Initialize COMMON_CPUID_INDEX_7 element.
15974         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15975         (CPUID_RTM): Likewise.
15976         (HAS_RTM): Likewise.
15977         (COMMON_CPUID_INDEX_7): New enum.
15979 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15981         [BZ #14981]
15982         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15983         size is zero, record memory as freed.
15985 2013-01-03  Andreas Jaeger  <aj@suse.de>
15987         * po/ia.po: Add new Interlingua translation.
15989 2012-01-03  Allan McRae  <allan@archlinux.org>
15991         * locale/programs/localedef.c: Fix description of '--posix' flag.
15993 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15995         * NEWS: Update dates in second copyright notice.
15996         * README: Update copyright dates in example.
15997         * manual/libc.texinfo: Update copyright dates.
15998         * scripts/test-installation.pl: Update copyright date in --version
15999         output.
16001         * hurd/ctty-input.c: Fix copyright notice formatting.
16002         * hurd/ctty-output.c: Likewise.
16003         * hurd/dtable.c: Likewise.
16004         * hurd/hurd-raise.c: Likewise.
16005         * hurd/hurdprio.c: Likewise.
16006         * hurd/msgportdemux.c: Likewise.
16007         * misc/sys/file.h: Likewise.
16008         * misc/sys/ioctl.h: Likewise.
16009         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16010         * sysdeps/mach/hurd/chdir.c: Likewise.
16011         * sysdeps/mach/hurd/fchdir.c: Likewise.
16012         * sysdeps/mach/hurd/rename.c: Likewise.
16013         * sysdeps/mach/hurd/rmdir.c: Likewise.
16014         * sysdeps/mach/hurd/seekdir.c: Likewise.
16015         * sysdeps/mach/hurd/setsid.c: Likewise.
16016         * sysdeps/posix/wait3.c: Likewise.
16018         * All files with FSF copyright notices: Update copyright dates
16019         using scripts/update-copyrights.
16020         * intl/plural.c: Regenerated.
16021         * locale/programs/charmap-kw.h: Likewise.
16022         * locale/programs/locfile-kw.h: Likewise.
16024 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16026         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16027         four values.
16029         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16030         calculation loop and add branch prediction.
16032         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16033         check access beyond bounds of m1np.
16035         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16036         MPTWO.
16037         (__inv): Remove local variable MPTWO to use the global
16038         constant.
16039         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16040         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16041         variable MPTWO.
16042         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16043         MP3HALFS static const.
16045 2013-01-01  David S. Miller  <davem@davemloft.net>
16047         * po/ca.po: Update from translation team.
16049 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
16051         * scripts/update-copyrights: New file.
16052         * Makeconfig: Reformat copyright notice.
16053         * ctype/ctype.h: Likewise.
16054         * debug/swprintf_chk.c: Likewise.
16055         * elf/dl-cache.c: Likewise.
16056         * elf/dl-debug.c: Likewise.
16057         * elf/dl-object.c: Likewise.
16058         * grp/initgroups.c: Likewise.
16059         * hurd/Makefile: Likewise.
16060         * hurd/hurd/signal.h: Likewise.
16061         * hurd/hurdfault.c: Likewise.
16062         * hurd/hurdioctl.c: Likewise.
16063         * hurd/hurdlookup.c: Likewise.
16064         * hurd/intr-msg.c: Likewise.
16065         * iconv/gconv_open.c: Likewise.
16066         * libio/swprintf.c: Likewise.
16067         * locale/lc-ctype.c: Likewise.
16068         * locale/nl_langinfo.c: Likewise.
16069         * mach/Machrules: Likewise.
16070         * mach/Makefile: Likewise.
16071         * malloc/obstack.h: Likewise.
16072         * manual/Makefile: Likewise.
16073         * manual/tsort.awk: Likewise.
16074         * misc/bits/stab.def: Likewise.
16075         * nis/nis_print_group_entry.c: Likewise.
16076         * nis/nis_table.c: Likewise.
16077         * nis/nss_compat/compat-pwd.c: Likewise.
16078         * nis/nss_compat/compat-spwd.c: Likewise.
16079         * po/Makefile: Likewise.
16080         * posix/fnmatch.c: Likewise.
16081         * posix/regex.h: Likewise.
16082         * resolv/Makefile: Likewise.
16083         * resolv/nss_dns/dns-network.c: Likewise.
16084         * resolv/res_hconf.c: Likewise.
16085         * scripts/gen-sorted.awk: Likewise.
16086         * soft-fp/soft-fp.h: Likewise.
16087         * stdio-common/printf.h: Likewise.
16088         * stdlib/monetary.h: Likewise.
16089         * stdlib/random.c: Likewise.
16090         * stdlib/random_r.c: Likewise.
16091         * sysdeps/generic/Makefile: Likewise.
16092         * sysdeps/gnu/Makefile: Likewise.
16093         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16095         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16096         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16097         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16100         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16101         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16102         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16103         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16104         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16105         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16106         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16107         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16108         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16109         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16110         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16111         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16112         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16113         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16114         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16115         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16116         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16117         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16118         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16119         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16120         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16121         * sysdeps/mach/hurd/errnos.awk: Likewise.
16122         * sysdeps/mach/hurd/fork.c: Likewise.
16123         * sysdeps/mach/hurd/getcwd.c: Likewise.
16124         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16125         * sysdeps/mach/hurd/mmap.c: Likewise.
16126         * sysdeps/mach/hurd/utimes.c: Likewise.
16127         * sysdeps/mach/hurd/xmknod.c: Likewise.
16128         * sysdeps/posix/profil.c: Likewise.
16129         * sysdeps/posix/readdir_r.c: Likewise.
16130         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16131         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16132         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16133         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16135         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16136         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16137         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16139         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16140         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16141         * sysdeps/pthread/lio_listio.c: Likewise.
16142         * sysdeps/sparc/dl-procinfo.h: Likewise.
16143         * sysdeps/unix/i386/sysdep.S: Likewise.
16144         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16145         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16146         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16147         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16149         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16150         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16151         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16152         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16153         * sysdeps/wordsize-32/divdi3.c: Likewise.
16154         * time/sys/time.h: Likewise.
16155         * wcsmbs/Makefile: Likewise.
16157 2013-01-01  David S. Miller  <davem@davemloft.net>
16159         * po/fr.po: Update from translation team.
16161         * catgets/gencat.c: Update copyright year.
16162         * csu/version.c: Likewise.
16163         * debug/catchsegv.sh: Likewise.
16164         * debug/pcprofiledump.c: Likewise.
16165         * debug/xtrace.sh: Likewise.
16166         * elf/ldconfig.c: Likewise.
16167         * elf/ldd.bash.in: Likewise.
16168         * elf/pldd.c: Likewise.
16169         * elf/sotruss.ksh: Likewise.
16170         * elf/sprof.c: Likewise.
16171         * iconv/iconv_prog.c: Likewise.
16172         * iconv/iconvconfig.c: Likewise.
16173         * locale/programs/locale.c: Likewise.
16174         * locale/programs/localedef.c: Likewise.
16175         * login/programs/pt_chown.c: Likewise.
16176         * malloc/memusage.sh: Likewise.
16177         * malloc/memusagestat.c: Likewise.
16178         * malloc/mtrace.pl: Likewise.
16179         * nscd/nscd.c: Likewise.
16180         * nss/getent.c: Likewise.
16181         * nss/makedb.c: Likewise.
16182         * posix/getconf.c: Likewise.
16184 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16186         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16187         numbers.
16189 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16191         * math/bits/mathcalls.h (modf): Use __nonnull.
16193 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16195         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16196         (split): Use macro CN instead of the bare value.
16197         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16198         could be used.
16199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16200         instead of the bare value.
16201         (power1): Likewise.
16203 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16205         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16206         __ATAN_TWOM.
16207         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16209         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16210         their values.
16211         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16212         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16213         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16214         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16216 2012-12-28  Andreas Jaeger  <aj@suse.de>
16218         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16219         values are from Linux 3.7.
16221         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16222         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16224 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16226         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16227         TRUE case.
16229         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16230         (norm): Likewise.
16231         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16232         variables with preprocessor constants.
16233         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16234         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16235         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16237 2012-12-27  Bruno Haible  <bruno@clisp.org>
16239         [BZ #14317]
16240         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16241         only if needed.
16243 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16246         and use variable directly.
16247         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16249         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16250         MPONE.
16251         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16252         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16253         variable MPONE.
16254         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16256         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16257         include directive.  Remove local variable MPONE.
16258         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16259         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16260         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16262 2012-12-25  David S. Miller  <davem@davemloft.net>
16264         * version.h (RELEASE): Set to "development".
16265         (VERSION): Set to "2.17.90".
16266         * NEWS: Add 2.18 section.
16268 2012-12-21  David S. Miller  <davem@davemloft.net>
16270         * po/hr.po: Update from translation team.
16272 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16274         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16276 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16278         * NEWS:  Mention new memcpy for MIPS.
16280 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16282         * manual/contrib.texi (Contributors): Spelling correction.
16284 2012-12-15  David S. Miller  <davem@davemloft.net>
16286         * po/ru.po: Update from translation team.
16288 2012-12-13  David S. Miller  <davem@davemloft.net>
16290         * NEWS: Mention IFUNC testsuite enhancements.
16292         * po/pl.po: Update from translation team.
16293         * po/bg.po: Likewise.
16295         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16296         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16298 2012-12-11  David S. Miller  <davem@davemloft.net>
16300         * po/sv.po: Update from translation team.
16302         * po/vi.po: Update from translation team.
16304         * po/cs.po: Update from translation team.
16306         * po/de.po: Update from translation team.
16307         * po/eo.po: Likewise.
16308         * po/nl.po: Likewise.
16310 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16312         [BZ #14246]
16313         * manual/argp.texi (Argp Helper Functions): Move node to follow
16314         Argp Parsing State.
16316         [BZ #14872]
16317         * manual/conf.texi (Limits on File System Capacity): Mention if
16318         terminating null is included in the max size.
16320 2012-12-10  Andreas Jaeger  <aj@suse.de>
16322         * po/cs.po: Update from translation team.
16324 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16326         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16327         void pointer and cast to uintptr_t.
16328         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16329         path.
16330         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16331         * sysdeps/s390/s390-64/memset.S: Likewise.
16333 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
16335         [BZ #14833]
16336         * menual/message.texi (Message Translation): Fix typos.
16337         (Helper programs for gettext): Likewise.
16339 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
16341         [BZ #14898]
16342         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16343         Change to -1.
16345 2012-12-07  David S. Miller  <davem@davemloft.net>
16347         * po/libc.pot: Update.
16349 2012-12-07  Richard Henderson  <rth@redhat.com>
16351         [BZ #10114]
16352         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16353         normal/normal case to before the switch.
16354         (_FP_DIV): Likewise.
16356 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
16357             Mike Frysinger  <vapier@gentoo.org>
16359         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16360         check for __NR_fadvise64_64.
16362 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
16364         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16365         0, not just to plain "0" as a statement.
16366         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16367         with cw.
16369 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
16371         * NEWS: Use sourceware.org in Bugzilla URL.
16373 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16376         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16378         * stdio-common/tst-put-error.c (do_test): Add newline to the
16379         padded test to ensure flush.
16381 2012-12-05  Jeff Law  <law@redhat.com>
16383         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16385 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16387         * README: Don't refer to ports add-on as distributed separately.
16388         Mention AArch64 in list of systems supported in the ports add-on.
16390         * LICENSES: Add more non-FSF copyright and license notices.
16392         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16393         ((unused)).
16395         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16397         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16398         10000 as width of padded output.
16400 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16402         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16404         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16405         variable LX with __attribute__ ((unused)).
16406         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16407         Likewise.
16408         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16410         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16411         with __attribute__ ((unused)).
16413 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16415         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16417 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16419         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16420         (CFLAGS-nldbl-acos.c): New variable.
16421         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16422         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16423         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16424         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16425         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16426         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16427         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16428         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16429         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16430         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16431         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16432         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16433         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16434         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16435         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16436         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16437         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16438         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16439         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16440         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16441         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16442         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16443         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16444         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16445         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16446         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16447         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16448         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16449         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16450         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16451         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16452         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16453         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16454         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16455         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16456         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16457         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16458         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16459         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16460         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16461         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16462         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16463         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16464         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16465         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16466         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16467         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16468         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16469         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16470         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16471         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16472         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16473         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16474         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16475         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16476         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16477         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16478         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16479         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16480         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16481         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16482         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16483         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16484         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16485         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16486         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16487         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16488         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16489         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16490         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16491         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16492         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16493         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16494         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16495         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16496         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16497         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16498         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16499         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16500         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16501         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16502         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16503         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16504         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16505         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16506         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16507         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16508         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16509         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16510         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16511         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16512         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16513         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16514         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16515         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16516         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16517         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16520         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16522         [BZ #14914]
16523         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16524         whole low double instead of just low 47 bits when splitting values
16525         into two parts.
16527 2012-12-03  Allan McRae  <allan@archlinux.org>
16529         * manual/stdio.texi (Predefined Printf Handlers): Remove
16530         @hsep and @vsep usage.
16532 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16534         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16535         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16537 2012-12-03  Jeff Law  <law@redhat.com>
16539         * time/sys/time.h (settimeofday): Do not mark TV argument
16540         as __nonnull.
16542 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16544         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16545         when currently writing and seek to current position when not.
16546         * libio/Makefile (tests): Remove bug-fclose1.
16547         * libio/bug-fclose1.c: Delete.
16549 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16551         * manual/arith.texi (feenableexcept): Fix typo.
16552         (fedisableexcept): Likewise.
16554 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16556         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16557         second, differently-typed declaration, rather than a cast.
16559 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16561         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16562         * include/rpc/svc.h: ... here.
16564 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16566         [BZ #13013]
16567         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16568         depending n and resplen2 to catch cases where answer
16569         equals answerp2.
16571 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16573         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16574         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16576 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16578         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16580 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16582         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16584 2012-11-28  Jeff Law  <law@redhat.com>
16586         [BZ #13761]
16587         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16588         dataset_temporary.  Track alloca usage into alloca_used.
16589         If dataset is large allocate and release it via malloc/free.
16591 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16593         [BZ #14197]
16594         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16596 2012-11-28  David S. Miller  <davem@davemloft.net>
16598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16600 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16602         [BZ #14803]
16603         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16604         of pi/2 rounded to nearest to 64 bits.
16605         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16606         nearest to 64 bits.
16607         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16608         bits.
16610 2012-11-28  Jeff Law <law@redhat.com>
16611             Martin Osvald <mosvald@redhat.com>
16613         [BZ #14889]
16614         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16615         * sunrpc/svc.c: Include time.h.
16616         (__svc_accept_failed): New function.
16617         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16618         any reason other than EINTR, call __svc_accept_failed.
16619         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16620         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16622 2012-11-28  Andreas Schwab  <schwab@suse.de>
16624         * scripts/abilist.awk: Also handle indirect functions in .opd
16625         section.
16627 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16629         [BZ #13881]
16630         * sysdeps/x86/fpu/powl_helper.c: New file.
16631         * sysdeps/x86/fpu/Makefile: Likewise.
16632         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16633         (p3): New object.
16634         (__ieee754_powl): Use __powl_helper for finite arguments except
16635         integer exponents below 8.
16636         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16637         (p3): New object.
16638         (__ieee754_powl): Use __powl_helper for finite arguments except
16639         integer exponents below 8.
16640         * math/libm-test.inc (pow_test): Add more tests and enable some
16641         previously disabled tests.
16642         * sysdeps/i386/fpu/libm-test-ulps: Update.
16643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16645 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16646             Carlos O'Donell  <carlos_odonell@mentor.com>
16648         * nss/makedb.c (is_prime): Assert that input is odd and greater
16649         than 4.  Note that fact in a comment too.
16650         (next_prime): Add 4 to input.
16652 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16654         [BZ #11741]
16655         * libio/Makefile (tests): Add test case tst-fwrite-error.
16656         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16657         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16658         * libio/tst-fwrite-error.c: New test case.
16660 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16662         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16663         before casting to void *.
16664         * include/libc-internal.h (__pointer_type): New macro.
16665         (__integer_if_pointer_type_sub): Likewise.
16666         (__integer_if_pointer_type): Likewise.
16667         (cast_to_integer): Likewise.
16668         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16669         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16670         before casting to atomic64_t.
16671         (atomic_exchange_acq): Likewise.
16672         (__arch_exchange_and_add_body): Likewise.
16673         (__arch_add_body): Likewise.
16674         (atomic_add_negative): Likewise.
16675         (atomic_add_zero): Likewise.
16677 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16679         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16680         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16681         (add_fdes): Likewise.
16682         (linear_search_fdes): Likewise.
16683         (binary_search_unencoded_fdes): Likewise.
16685 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16687         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16689 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16691         * configure.in: Autodetect C++ header directories.
16692         * configure: Regenerated.
16694 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16696         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16698 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16702 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16704         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16705         LDBL_MANT_DIG == 106]: Disable some tests.
16706         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16707         Likewise.
16708         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16709         Likewise.
16711         [BZ #14871]
16712         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16713         input for small inputs.  Return +/- pi/2 for large inputs.
16714         * math/libm-test.inc (atan_test): Add more tests.
16716         * sysdeps/generic/unwind-dw2-fde-glibc.c
16717         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16718         __attribute__ ((unused)).
16720         [BZ #14645]
16721         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16722         x * y if x and y are nonzero and z is zero.
16724         [BZ #14811]
16725         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16726         nonzero exponents with absolute value below 0x1p-117 to +/-
16727         0x1p-117.
16729         [BZ #14869]
16730         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16731         up arguments below 2**-450, not just those below 2**-500.
16732         * math/libm-test.inc (hypot_test): Add another test.
16734         [BZ #14868]
16735         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16736         Return a+b for ratio over 2**120, not 2**60.
16737         * math/libm-test.inc (hypot_test): Add another test.
16739         * math/libm-test.inc (clog_test): Use
16740         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16741         (clog10_test): Likewise.
16743         [BZ #6778]
16744         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16746 2012-11-22  Andreas Schwab  <schwab@suse.de>
16748         * sysdeps/i386/fpu/libm-test-ulps: Update.
16750 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16752         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16753         printf output with newline.
16755 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16757         [BZ #14865]
16758         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16759         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16760         -z nodlopen, -z initfirst and -z execstack support.
16761         * configure: Regenerated.
16763         * elf/elf.h (DF_1_NODIRECT): New macro.
16764         (DF_1_IGNMULDEF): Likewise.
16765         (DF_1_NOKSYMS): Likewise.
16766         (DF_1_NOHDR): Likewise.
16767         (DF_1_EDITED): Likewise.
16768         (DF_1_NORELOC): Likewise.
16769         (DF_1_SYMINTPOSE): Likewise.
16770         (DF_1_GLOBAUDIT): Likewise.
16771         (DF_1_SINGLETON): Likewise.
16772         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16773         DT_1_SUPPORTED_MASK bits.
16774         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16776 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16778         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16780 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16782         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16783         macro.
16785         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16786         (sendmmsg): Move declarations...
16787         * socket/sys/socket.h: ... here.
16788         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16789         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16790         include it from...
16791         * socket/recvmmsg.c: ... this new file.
16792         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16793         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16794         definition of __sendmmsg hidden.
16795         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16796         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16797         Move ENOSYS stub into and include it from...
16798         * socket/sendmmsg.c: ... this new file.
16799         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16800         (sysdep_routines): Move recvmmsg and sendmmsg...
16801         * socket/Makefile (routines): ... here.
16802         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16803         (GLIBC_PRIVATE): Add __sendmmsg.
16804         * include/sys/socket.h (__sendmmsg): Add declarations.
16805         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16806         sendmmsg.
16808 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16810         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16811         variable I1 with __attribute__ ((unused)).
16812         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16814 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16816         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16817         DUMMY variables with __attribute__ ((unused)).
16819         * bits/byteswap.h: Include <bits/types.h>.
16820         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16822 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16824         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16825         string_t.  Do not manually set errno.
16826         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16827         length with __strnlen.  Make sure to both set errno and return it on
16828         failure.
16830 2012-11-19  David S. Miller  <davem@davemloft.net>
16832         With help from Joseph Myers.
16833         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16834         very large arguments properly.
16835         * math/libm-test.inc (atan_test): New tests.
16836         (atan2_test): New tests.
16837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16840 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16842         [BZ #14856]
16843         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16844         Define to 3.
16846         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16847         [POSIX] (EADDRNOTAVAIL): Likewise.
16848         [POSIX] (EAFNOSUPPORT): Likewise.
16849         [POSIX] (EALREADY): Likewise.
16850         [POSIX] (ECONNABORTED): Likewise.
16851         [POSIX] (ECONNREFUSED): Likewise.
16852         [POSIX] (ECONNRESET): Likewise.
16853         [POSIX] (EDESTADDRREQ): Likewise.
16854         [POSIX] (EDQUOT): Likewise.
16855         [POSIX] (EHOSTUNREACH): Likewise.
16856         [POSIX] (EIDRM): Likewise.
16857         [POSIX] (EISCONN): Likewise.
16858         [POSIX] (ELOOP): Likewise.
16859         [POSIX] (EMULTIHOP): Likewise.
16860         [POSIX] (ENETDOWN): Likewise.
16861         [POSIX] (ENETUNREACH): Likewise.
16862         [POSIX] (ENOBUFS): Likewise.
16863         [POSIX] (ENODATA): Likewise.
16864         [POSIX] (ENOLINK): Likewise.
16865         [POSIX] (ENOMSG): Likewise.
16866         [POSIX] (ENOPROTOOPT): Likewise.
16867         [POSIX] (ENOSR): Likewise.
16868         [POSIX] (ENOSTR): Likewise.
16869         [POSIX] (ENOTCONN): Likewise.
16870         [POSIX] (ENOTSOCK): Likewise.
16871         [POSIX] (EOPNOTSUPP): Likewise.
16872         [POSIX] (EOVERFLOW): Likewise.
16873         [POSIX] (EPROTO): Likewise.
16874         [POSIX] (EPROTONOSUPPORT): Likewise.
16875         [POSIX] (EPROTOTYPE): Likewise.
16876         [POSIX] (ESTALE): Likewise.
16877         [POSIX] (ETIME): Likewise.
16878         [POSIX] (ETXTBSY): Likewise.
16879         [POSIX] (EWOULDBLOCK): Likewise.
16880         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16881         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16882         [POSIX] (SEEK_CUR): Likewise.
16883         [POSIX] (SEEK_END): Likewise.
16884         [POSIX || UNIX98] (mode_t): Do not require.
16885         [POSIX] (off_t): Likewise.
16886         [POSIX] (pid_t): Likewise.
16887         [POSIX] (sys/stat.h): Do not allow header.
16888         [POSIX] (unistd.h): Likewise.
16889         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16890         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16891         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16892         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16893         require.
16894         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16895         sigevent): Specify elements.
16896         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16897         entry.
16898         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16899         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16901         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16902         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16903         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16904         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16905         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16906         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16907         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16908         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16909         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16910         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16911         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16912         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16913         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16914         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16915         Likewise.
16916         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16917         Likewise.
16918         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16919         Likewise.
16920         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16921         Likewise.
16922         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16923         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16924         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16925         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16926         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16927         Specify lower bound on value.
16928         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16929         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16930         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16931         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16932         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16933         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16934         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16935         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16936         value.
16937         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16938         as optional.
16939         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16940         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16941         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16942         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16943         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16944         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16945         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16946         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16947         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16948         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16949         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16950         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16951         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16952         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16953         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16954         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16955         entry.
16956         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16957         optional.
16958         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16959         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16960         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16961         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16962         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16963         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16964         Likewise.
16965         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16966         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16967         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16968         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16969         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16970         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16971         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16972         as optional.
16973         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16974         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16975         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16976         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16977         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16978         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16979         specify as optional.
16980         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16981         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16982         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16983         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16984         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16985         [XPG3] (NL_LANGMAX): Likewise.
16986         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16987         [POSIX || XPG3] (NL_NMAX): Likewise.
16988         [POSIX || XPG3] (NL_SETMAX): Likewise.
16989         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16990         [XPG3] (NZERO): Likewise.
16991         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16992         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16993         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16994         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16995         (REG_ERANGE): Expect.
16996         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16997         optional-constant.
16998         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16999         Use (void) in prototype.
17000         [POSIX] (*_t): Allow.
17001         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17002         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17003         (WRDE_BADVAL): Expect.
17005         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17006         expect.
17007         [XPG3 || XPG4] (O_RSYNC): Likewise.
17008         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17009         Likewise.
17010         [XPG3 || XPG4] (pthread_sigmask): Likewise.
17011         [XPG3 || XPG4] (sigqueue): Likewise.
17012         [XPG3 || XPG4] (sigtimedwait): Likewise.
17013         [XPG3 || XPG4] (sigwaitinfo): Likewise.
17014         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17015         [XPG3 || XPG4] (vsnprintf): Likewise.
17016         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17017         Likewise.
17018         [XPG3 || XPG4] (blksize_t): Likewise.
17019         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17020         Likewise.
17021         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17022         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17023         [XPG3 || XPG4] (struct itimerspec): Likewise.
17024         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17025         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17026         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17027         [XPG3 || XPG4] (clockid_t): Likewise.
17028         [XPG3 || XPG4] (timer_t): Likewise.
17029         [XPG3 || XPG4] (clock_getres): Likewise.
17030         [XPG3 || XPG4] (clock_gettime): Likewise.
17031         [XPG3 || XPG4] (clock_settime): Likewise.
17032         [XPG3 || XPG4] (nanosleep): Likewise.
17033         [XPG3 || XPG4] (timer_create): Likewise.
17034         [XPG3 || XPG4] (timer_delete): Likewise.
17035         [XPG3 || XPG4] (timer_gettime): Likewise.
17036         [XPG3 || XPG4] (timer_getoverrun): Likewise.
17037         [XPG3 || XPG4] (timer_settime): Likewise.
17038         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17039         [XPG3 || XPG4] (getlogin_r): Likewise.
17040         [XPG3 || XPG4] (pread): Likewise.
17041         [XPG3 || XPG4] (pthread_atfork): Likewise.
17042         [XPG3 || XPG4] (pwrite): Likewise.
17044         [BZ #14835]
17045         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17046         <bits/siginfo.h>.
17048 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17050         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17051         finalizing MALLSTREAM.
17053         * sysdeps/mach/hurd/syncfs.c: New file.
17055 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17057         [BZ #14719]
17058         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17059         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17060         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17061         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17062         (_nss_dns_gethostbyname4_r): Likewise.
17063         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17064         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17066 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
17068         [BZ #13763]
17069         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17071 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
17073         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17074         * elf/cache.c (print_entry): Print ",AArch64" for
17075         FLAG_AARCH64_LIB64
17077         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17078         * elf/cache.c (print_entry): Print ",hard-float" for
17079         FLAG_ARM_LIBHF.
17081 2012-11-18  David S. Miller  <davem@davemloft.net>
17083         With help from Joseph Myers.
17084         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17085         cutoff to 2**-13.
17086         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17087         cutoff to 2**-25.
17088         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17089         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17090         small.
17091         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17092         * math/libm-test.inc (y0_test): New tests.
17093         (y1_test): New tests.
17094         * sysdeps/i386/fpu/libm-test-ulps: Update.
17095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17098 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
17100         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17101         64-bit targets.
17102         * configure: Regenerated.
17104 2012-11-17  David S. Miller  <davem@davemloft.net>
17106         [BZ #14811]
17107         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17108         nonzero exponents with absolute value below 0x1p-128 to +/-
17109         0x1p-128.
17111 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17113         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17115         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17117         * posix/getconf-speclist.c: New file.
17118         * posix/posix-envs.def: Likewise.
17119         * posix/confstr.c (START_ENV_GROUP): New macro.
17120         (END_ENV_GROUP): Likewise.
17121         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17122         (KNOWN_PRESENT_ENV_STRING): Likewise.
17123         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17124         (UNKNOWN_ENVIRONMENT): Likewise.
17125         (confstr): Include posix-envs.def instead of handling
17126         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17127         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17128         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17129         (END_ENV_GROUP): Likewise.
17130         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17131         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17132         (UNKNOWN_ENVIRONMENT): Likewise.
17133         (__sysconf): Include posix-envs.def instead of handling associated
17134         cases directly here.
17135         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17136         preprocessing getconf-speclist.c rather than running getconf or
17137         generating empty file.
17139 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17141         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17143 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17145         [BZ #14672]
17146         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17148 2012-11-16  David S. Miller  <davem@davemloft.net>
17150         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17151         smaller than LDBL_EPSILON/2.0L, just return xm1.
17153 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17155         * elf/tst-array1.c (init): Set constructor priority to 1000.
17156         (fini): Set destructor priority to 1000.
17157         * elf/tst-array2dep.c: Likewise.
17159 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17161         [BZ #11741]
17162         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17163         (_IO_new_file_xsputn): Also return EOF if none of the input
17164         data was written when overflow failed.
17165         * libio/iopadn.c (_IO_padn): Likewise.
17166         * libio/iowpadn.c (_IO_wpadn): Likewise.
17167         * stdio-common/tst-put-error.c: Add copyright notice.
17168         (do_test): Add case for printing padded string.
17169         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17170         _IO_padn returned error.
17171         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17172         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17173         return EOF.
17175 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17177         * libio/libioP.h: Add comment note that the references to C++
17178         bits are now obsolete.
17180 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17182         * math/libm-test.inc (check_complex): Use asprintf.
17184 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17186         * debug/pcprofiledump.c (print_version): Update copyright year.
17187         * malloc/memusagestat.c (print_version): Likewise.
17189 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17191         [BZ #14831]
17192         * elf/Makefile (tests): Add tst-audit8.
17193         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17194         ($(objpfx)tst-audit8.out): New target.
17195         (tst-audit8-ENV): New variable.
17196         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17197         audit if l_reloc_result is NULL.
17198         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17199         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17200         * elf/tst-audit8.c: New file.
17202 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17204         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17205         * misc/Makefile (CFLAGS-select.c): Define.
17206         * posix/Makefile (CFLAGS-pause.c): Define.
17208 2012-11-13  David S. Miller  <davem@davemloft.net>
17210         * crypt/Makefile: Move test targets after toplevel Rules
17211         inclusion.  Grab any necessary sysdep routines when linking.
17212         * crypt/md5.c (md5_process_block): Remove define, we will always
17213         name it __md5_process_block.
17214         (md5_finish_ctx): Update md5_process_block call.
17215         (md5_stream): Likewise.
17216         (md5_process_bytes): Likewise.
17217         (md5_process_block): Rename to __md5_process_block and move to ...
17218         * crypt/md5-block.c: ... here.
17219         * crypt/sha256.c (sha256_process_block): Move to ...
17220         * crypt/sha256-block.c: ... here.
17221         * crypt/sha512.c (sha512_process_block): Move to ...
17222         * crypt/sha512-block.c: ... here.
17223         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17224         path.
17225         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17226         * sysdeps/sparc/sparc64/multiarch/Makefile
17227         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17228         crypt subdir.
17229         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17230         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17231         multiarch changes.
17232         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17233         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17234         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17235         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17236         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17237         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17238         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17239         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17240         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17241         file.
17242         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17243         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17244         file.
17245         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17247 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17249         * timezone/tzselect.ksh: Update from tzcode git revision
17250         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17251         * timezone/zdump.c: Likewise.
17252         * timezone/zic.c: Likewise.
17253         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17254         in TZVERSION setting, not $(PKGVERSION).
17255         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17256         REPORT_BUGS_TO settings.
17258         [BZ #14838]
17259         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17260         macro.
17262 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17264         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17265         detection to immediately after _FP_ROUND().
17266         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17267         bits are 0.
17269 2012-11-11  David S. Miller  <davem@davemloft.net>
17271         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17272         inttypes.h
17273         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17274         __close rather than their public counterparts.
17276 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17278         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17279         file.
17280         [UNIX98] (sem_timedwait): Do not expect.
17281         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17282         [XPG4 || UNIX98] (sockatmark): Do not expect.
17283         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17284         (clock_getcpuclockid): Do not expect.
17285         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17286         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17287         Do not expect.
17288         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17289         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17290         [UNIX98] (vwscanf): Likewise.
17291         [UNIX98] (vswscanf): Likewise.
17293 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17295         * timezone/version.h: Remove file.
17296         * timezone/README: Do not refer to version.h.
17297         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17298         $(objpfx)version.h.
17299         ($(objpfx)zdump.o): Likewise.
17300         ($(objpfx)version.h): New target.
17302         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17303         2012i.
17304         * timezone/README: Don't mention modification to tzselect.ksh.
17305         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17306         work on unmodified tzselect.ksh.  Substitute version numbers in
17307         tzselect.ksh.
17309         * Makefile (format-me): Remove.
17310         (INSTALL): Adjust indentation.  Use commands directly instead of
17311         using $(format-me).
17313         * aclocal.m4 (ACX_PKGVERSION): New macro.
17314         (ACX_BUGURL): Likewise.
17315         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17316         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17317         (REPORT_BUGS_TO): Likewise.
17318         * configure: Regenerated.
17319         * config.h.in (PKGVERSION): New macro.
17320         (REPORT_BUGS_TO): Likewise.
17321         * config.make.in (PKGVERSION): New variable.
17322         (PKGVERSION_TEXI): Likewise.
17323         (REPORT_BUGS_TO): Likewise.
17324         (REPORT_BUGS_TEXI): Likewise.
17325         * Makefile (format-me): Use -I$(common-objpfx)manual.
17326         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17327         ($(common-objpfx)manual/%): New target.
17328         (manual/%): Remove target.
17329         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17330         (print_version): Use PKGVERSION.
17331         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17332         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17333         and REPORT_BUGS_TO.
17334         ($(objpfx)xtrace): Likewise.
17335         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17336         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17337         (print_version): Use PKGVERSION.
17338         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17339         (do_version): Use PKGVERSION.
17340         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17341         REPORT_BUGS_TO.
17342         (common-ldd-rewrite): Likewise.
17343         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17344         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17345         (print_version): Use PKGVERSION.
17346         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17347         * elf/pldd.c (argp_program_bug_address): Remove variable.
17348         (more_help): New function.
17349         (argp): Use more_help.
17350         (print_version): Use PKGVERSION.
17351         * elf/sln.c (main): Use PKGVERSION.
17352         (usage): Use REPORT_BUGS_TO.
17353         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17354         (top level): Use PKGVERSION.
17355         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17356         (print_version): Use PKGVERSION.
17357         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17358         (print_version): Use PKGVERSION.
17359         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17360         (print_version): Use PKGVERSION.
17361         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17362         (print_version): Use PKGVERSION.
17363         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17364         (print_version): Use PKGVERSION.
17365         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17366         (print_version): Use PKGVERSION.
17367         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17368         and BUGURL.
17369         ($(objpfx)memusage): Likewise.
17370         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17371         (do_version): Use PKGVERSION.
17372         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17373         (print_version): Use PKGVERSION.
17374         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17375         ($PKGVERSION): New variable.
17376         ($REPORT_BUGS_TO): Likewise.
17377         (usage): Use $REPORT_BUGS_TO.
17378         (top level): Use $PKGVERSION.
17379         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17380         ($(objpfx)pkgvers.texi): New rule.
17381         ($(objpfx)stamp-pkgvers): Likewise.
17382         * manual/install.texi: Include pkgvers.texi.
17383         (--with-pkgversion): Document new configure option.
17384         (--with-bugurl): Likewise.
17385         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17386         than necessarily for this particular distribution.  Use
17387         REPORT_BUGS_TO for where to report bugs.
17388         * INSTALL: Regenerated.
17389         * manual/libc.texinfo: Include pkgvers.texi.
17390         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17391         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17392         (print_version): Use PKGVERSION.
17393         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17394         (print_version): Use PKGVERSION.
17395         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17396         (print_version): Use PKGVERSION.
17397         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17398         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17399         macro.
17400         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17401         (print_version): Use PKGVERSION.
17402         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17403         (print_version): Use PKGVERSION.
17404         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17405         and PKGVERSION.
17407         * timezone/checktab.awk: Update from tzcode 2012i.
17408         * timezone/ialloc.c: Likewise.
17409         * timezone/private.h: Likewise.
17410         * timezone/scheck.c: Likewise.
17411         * timezone/tzfile.h: Likewise.
17412         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17413         (TZVERSION): Hardcode tzcode version number.
17414         * timezone/zdump.c: Update from tzcode 2012i.
17415         * timezone/zic.c: Likewise.
17416         * timezone/version.h: New file.
17417         * timezone/README: Describe version.h.  Update upstream location.
17419         [BZ #14824]
17420         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17421         (mktemp): Enable declaration.
17422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17423         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17426         Likewise.
17427         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17428         Likewise.
17429         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17430         Likewise.
17431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17432         Likewise.
17433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17434         Likewise.
17435         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17436         Likewise.
17438         [BZ #14821]
17439         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17440         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17441         for copies of such integer values.
17442         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17443         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17445 2012-11-09  Andreas Jaeger  <aj@suse.de>
17447         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17448         definitions and declarations that are provided by
17449         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17451 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17453         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17454         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17455         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17456         definition.
17458 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17460         * elf/elf.h: Update comment before AArch64 relocations.
17462 2012-11-07  David S. Miller  <davem@davemloft.net>
17464         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17465         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17466         (__start_context): Declare.
17467         (__makecontext_ret): Delete.
17468         (__makecontext): Hook up __start_context instead of
17469         __makecontext_ret.
17470         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17471         (sysdep_routines): Add __start_context when in stdlib.
17473 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17475         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17476         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17477         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17478         hardcoded "nm".
17479         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17480         (READELF): New variable.  Use it instead of hardcoded "readelf".
17482 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17484         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17485         * sysdeps/x86/Makefile: Here.
17486         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17487         * sysdeps/x86/tst-xmmymm.sh: This.
17489 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17491         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17492         expectations.
17493         [UNIX98] (pthread_barrier_t): Do not expect.
17494         [UNIX98] (pthread_barrierattr_t): Likewise.
17495         [UNIX98] (pthread_spinlock_t): Likewise.
17496         [UNIX98] (pthread_barrier_destroy): Likewise.
17497         [UNIX98] (pthread_barrier_init): Likewise.
17498         [UNIX98] (pthread_barrier_wait): Likewise.
17499         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17500         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17501         [UNIX98] (pthread_barrierattr_init): Likewise.
17502         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17503         [UNIX98] (pthread_getcpuclockid): Likewise.
17504         [UNIX98] (pthread_mutex_timedlock): Likewise.
17505         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17506         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17507         [UNIX98] (pthread_sigmask): Likewise.
17508         [UNIX98] (pthread_spin_destroy): Likewise.
17509         [UNIX98] (pthread_spin_init): Likewise.
17510         [UNIX98] (pthread_spin_lock): Likewise.
17511         [UNIX98] (pthread_spin_trylock): Likewise.
17512         [UNIX98] (pthread_spin_unlock): Likewise.
17513         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17514         Do not expect.
17515         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17516         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17517         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17518         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17519         [XPG3 || XPG4] (pthread_key_t): Likewise.
17520         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17521         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17522         [XPG3 || XPG4] (pthread_once_t): Likewise.
17523         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17524         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17525         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17526         [XPG3 || XPG4] (pthread_t): Likewise.
17528         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17529         not expect.
17530         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17532         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17533         Change function return type to int.
17535         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17536         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17537         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17538         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17539         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17540         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17541         [!POSIX] (posix_madvise): Likewise.
17542         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17543         && !UNIX98].
17544         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17545         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17546         (mode_t): Likewise.
17547         (posix_mem_offset): Likewise.
17548         (posix_typed_mem_get_info): Likewise.
17549         (posix_typed_mem_open): Likewise.
17551         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17552         Change condition to [XOPEN2K8].
17554         * conform/conformtest.pl: Preprocess allow-header data with -x c
17555         instead of from stdin.
17556         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17557         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17558         [C99-based standards] (cerfc): Likewise.
17559         [C99-based standards] (cexp2): Likewise.
17560         [C99-based standards] (cexpm1): Likewise.
17561         [C99-based standards] (clog10): Likewise.
17562         [C99-based standards] (clog1p): Likewise.
17563         [C99-based standards] (clog2): Likewise.
17564         [C99-based standards] (clgamma): Likewise.
17565         [C99-based standards] (ctgamma): Likewise.
17566         [C99-based standards] (cerff): Likewise.
17567         [C99-based standards] (cerfcf): Likewise.
17568         [C99-based standards] (cexp2f): Likewise.
17569         [C99-based standards] (cexpm1f): Likewise.
17570         [C99-based standards] (clog10f): Likewise.
17571         [C99-based standards] (clog1pf): Likewise.
17572         [C99-based standards] (clog2f): Likewise.
17573         [C99-based standards] (clgammaf): Likewise.
17574         [C99-based standards] (ctgammaf): Likewise.
17575         [C99-based standards] (cerfl): Likewise.
17576         [C99-based standards] (cerfcl): Likewise.
17577         [C99-based standards] (cexp2l): Likewise.
17578         [C99-based standards] (cexpm1l): Likewise.
17579         [C99-based standards] (clog10l): Likewise.
17580         [C99-based standards] (clog1pl): Likewise.
17581         [C99-based standards] (clog2l): Likewise.
17582         [C99-based standards] (clgammal): Likewise.
17583         [C99-based standards] (ctgammal): Likewise.
17584         * conform/data/inttypes.h-data [C99-based standards]: Include
17585         stdint.h-data.  Remove all expectations for stdint.h contents.
17586         [C99-based standards] (PRI*): Do not allow.
17587         [C99-based standards] (SCN*): Likewise.
17588         [C99-based standards] (*_t): Likewise.
17589         [C99-based-standards] (PRId8): Expect macro.
17590         [C99-based-standards] (PRIi8): Likewise.
17591         [C99-based-standards] (PRIo8): Likewise.
17592         [C99-based-standards] (PRIu8): Likewise.
17593         [C99-based-standards] (PRIx8): Likewise.
17594         [C99-based-standards] (PRIX8): Likewise.
17595         [C99-based-standards] (SCNd8): Likewise.
17596         [C99-based-standards] (SCNi8): Likewise.
17597         [C99-based-standards] (SCNo8): Likewise.
17598         [C99-based-standards] (SCNu8): Likewise.
17599         [C99-based-standards] (SCNx8): Likewise.
17600         [C99-based-standards] (PRIdLEAST8): Likewise.
17601         [C99-based-standards] (PRIiLEAST8): Likewise.
17602         [C99-based-standards] (PRIoLEAST8): Likewise.
17603         [C99-based-standards] (PRIuLEAST8): Likewise.
17604         [C99-based-standards] (PRIxLEAST8): Likewise.
17605         [C99-based-standards] (PRIXLEAST8): Likewise.
17606         [C99-based-standards] (SCNdLEAST8): Likewise.
17607         [C99-based-standards] (SCNiLEAST8): Likewise.
17608         [C99-based-standards] (SCNoLEAST8): Likewise.
17609         [C99-based-standards] (SCNuLEAST8): Likewise.
17610         [C99-based-standards] (SCNxLEAST8): Likewise.
17611         [C99-based-standards] (PRIdFAST8): Likewise.
17612         [C99-based-standards] (PRIiFAST8): Likewise.
17613         [C99-based-standards] (PRIoFAST8): Likewise.
17614         [C99-based-standards] (PRIuFAST8): Likewise.
17615         [C99-based-standards] (PRIxFAST8): Likewise.
17616         [C99-based-standards] (PRIXFAST8): Likewise.
17617         [C99-based-standards] (SCNdFAST8): Likewise.
17618         [C99-based-standards] (SCNiFAST8): Likewise.
17619         [C99-based-standards] (SCNoFAST8): Likewise.
17620         [C99-based-standards] (SCNuFAST8): Likewise.
17621         [C99-based-standards] (SCNxFAST8): Likewise.
17622         [C99-based-standards] (PRId16): Likewise.
17623         [C99-based-standards] (PRIi16): Likewise.
17624         [C99-based-standards] (PRIo16): Likewise.
17625         [C99-based-standards] (PRIu16): Likewise.
17626         [C99-based-standards] (PRIx16): Likewise.
17627         [C99-based-standards] (PRIX16): Likewise.
17628         [C99-based-standards] (SCNd16): Likewise.
17629         [C99-based-standards] (SCNi16): Likewise.
17630         [C99-based-standards] (SCNo16): Likewise.
17631         [C99-based-standards] (SCNu16): Likewise.
17632         [C99-based-standards] (SCNx16): Likewise.
17633         [C99-based-standards] (PRIdLEAST16): Likewise.
17634         [C99-based-standards] (PRIiLEAST16): Likewise.
17635         [C99-based-standards] (PRIoLEAST16): Likewise.
17636         [C99-based-standards] (PRIuLEAST16): Likewise.
17637         [C99-based-standards] (PRIxLEAST16): Likewise.
17638         [C99-based-standards] (PRIXLEAST16): Likewise.
17639         [C99-based-standards] (SCNdLEAST16): Likewise.
17640         [C99-based-standards] (SCNiLEAST16): Likewise.
17641         [C99-based-standards] (SCNoLEAST16): Likewise.
17642         [C99-based-standards] (SCNuLEAST16): Likewise.
17643         [C99-based-standards] (SCNxLEAST16): Likewise.
17644         [C99-based-standards] (PRIdFAST16): Likewise.
17645         [C99-based-standards] (PRIiFAST16): Likewise.
17646         [C99-based-standards] (PRIoFAST16): Likewise.
17647         [C99-based-standards] (PRIuFAST16): Likewise.
17648         [C99-based-standards] (PRIxFAST16): Likewise.
17649         [C99-based-standards] (PRIXFAST16): Likewise.
17650         [C99-based-standards] (SCNdFAST16): Likewise.
17651         [C99-based-standards] (SCNiFAST16): Likewise.
17652         [C99-based-standards] (SCNoFAST16): Likewise.
17653         [C99-based-standards] (SCNuFAST16): Likewise.
17654         [C99-based-standards] (SCNxFAST16): Likewise.
17655         [C99-based-standards] (PRId32): Likewise.
17656         [C99-based-standards] (PRIi32): Likewise.
17657         [C99-based-standards] (PRIo32): Likewise.
17658         [C99-based-standards] (PRIu32): Likewise.
17659         [C99-based-standards] (PRIx32): Likewise.
17660         [C99-based-standards] (PRIX32): Likewise.
17661         [C99-based-standards] (SCNd32): Likewise.
17662         [C99-based-standards] (SCNi32): Likewise.
17663         [C99-based-standards] (SCNo32): Likewise.
17664         [C99-based-standards] (SCNu32): Likewise.
17665         [C99-based-standards] (SCNx32): Likewise.
17666         [C99-based-standards] (PRIdLEAST32): Likewise.
17667         [C99-based-standards] (PRIiLEAST32): Likewise.
17668         [C99-based-standards] (PRIoLEAST32): Likewise.
17669         [C99-based-standards] (PRIuLEAST32): Likewise.
17670         [C99-based-standards] (PRIxLEAST32): Likewise.
17671         [C99-based-standards] (PRIXLEAST32): Likewise.
17672         [C99-based-standards] (SCNdLEAST32): Likewise.
17673         [C99-based-standards] (SCNiLEAST32): Likewise.
17674         [C99-based-standards] (SCNoLEAST32): Likewise.
17675         [C99-based-standards] (SCNuLEAST32): Likewise.
17676         [C99-based-standards] (SCNxLEAST32): Likewise.
17677         [C99-based-standards] (PRIdFAST32): Likewise.
17678         [C99-based-standards] (PRIiFAST32): Likewise.
17679         [C99-based-standards] (PRIoFAST32): Likewise.
17680         [C99-based-standards] (PRIuFAST32): Likewise.
17681         [C99-based-standards] (PRIxFAST32): Likewise.
17682         [C99-based-standards] (PRIXFAST32): Likewise.
17683         [C99-based-standards] (SCNdFAST32): Likewise.
17684         [C99-based-standards] (SCNiFAST32): Likewise.
17685         [C99-based-standards] (SCNoFAST32): Likewise.
17686         [C99-based-standards] (SCNuFAST32): Likewise.
17687         [C99-based-standards] (SCNxFAST32): Likewise.
17688         [C99-based-standards] (PRId64): Likewise.
17689         [C99-based-standards] (PRIi64): Likewise.
17690         [C99-based-standards] (PRIo64): Likewise.
17691         [C99-based-standards] (PRIu64): Likewise.
17692         [C99-based-standards] (PRIx64): Likewise.
17693         [C99-based-standards] (PRIX64): Likewise.
17694         [C99-based-standards] (SCNd64): Likewise.
17695         [C99-based-standards] (SCNi64): Likewise.
17696         [C99-based-standards] (SCNo64): Likewise.
17697         [C99-based-standards] (SCNu64): Likewise.
17698         [C99-based-standards] (SCNx64): Likewise.
17699         [C99-based-standards] (PRIdLEAST64): Likewise.
17700         [C99-based-standards] (PRIiLEAST64): Likewise.
17701         [C99-based-standards] (PRIoLEAST64): Likewise.
17702         [C99-based-standards] (PRIuLEAST64): Likewise.
17703         [C99-based-standards] (PRIxLEAST64): Likewise.
17704         [C99-based-standards] (PRIXLEAST64): Likewise.
17705         [C99-based-standards] (SCNdLEAST64): Likewise.
17706         [C99-based-standards] (SCNiLEAST64): Likewise.
17707         [C99-based-standards] (SCNoLEAST64): Likewise.
17708         [C99-based-standards] (SCNuLEAST64): Likewise.
17709         [C99-based-standards] (SCNxLEAST64): Likewise.
17710         [C99-based-standards] (PRIdFAST64): Likewise.
17711         [C99-based-standards] (PRIiFAST64): Likewise.
17712         [C99-based-standards] (PRIoFAST64): Likewise.
17713         [C99-based-standards] (PRIuFAST64): Likewise.
17714         [C99-based-standards] (PRIxFAST64): Likewise.
17715         [C99-based-standards] (PRIXFAST64): Likewise.
17716         [C99-based-standards] (SCNdFAST64): Likewise.
17717         [C99-based-standards] (SCNiFAST64): Likewise.
17718         [C99-based-standards] (SCNoFAST64): Likewise.
17719         [C99-based-standards] (SCNuFAST64): Likewise.
17720         [C99-based-standards] (SCNxFAST64): Likewise.
17721         [C99-based-standards] (PRIdMAX): Likewise.
17722         [C99-based-standards] (PRIiMAX): Likewise.
17723         [C99-based-standards] (PRIoMAX): Likewise.
17724         [C99-based-standards] (PRIuMAX): Likewise.
17725         [C99-based-standards] (PRIxMAX): Likewise.
17726         [C99-based-standards] (PRIXMAX): Likewise.
17727         [C99-based-standards] (SCNdMAX): Likewise.
17728         [C99-based-standards] (SCNiMAX): Likewise.
17729         [C99-based-standards] (SCNoMAX): Likewise.
17730         [C99-based-standards] (SCNuMAX): Likewise.
17731         [C99-based-standards] (SCNxMAX): Likewise.
17732         [C99-based-standards] (PRIdPTR): Likewise.
17733         [C99-based-standards] (PRIiPTR): Likewise.
17734         [C99-based-standards] (PRIoPTR): Likewise.
17735         [C99-based-standards] (PRIuPTR): Likewise.
17736         [C99-based-standards] (PRIxPTR): Likewise.
17737         [C99-based-standards] (PRIXPTR): Likewise.
17738         [C99-based-standards] (SCNdPTR): Likewise.
17739         [C99-based-standards] (SCNiPTR): Likewise.
17740         [C99-based-standards] (SCNoPTR): Likewise.
17741         [C99-based-standards] (SCNuPTR): Likewise.
17742         [C99-based-standards] (SCNxPTR): Likewise.
17743         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17744         allow.
17745         * conform/data/stdint.h-data: Update comments to clarify
17746         requirements.
17747         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17748         type.
17749         [C99-based standards] (INT8_MAX): Likewise.
17750         [C99-based standards] (INT16_MIN): Likewise.
17751         [C99-based standards] (INT16_MAX): Likewise.
17752         [C99-based standards] (INT32_MIN): Likewise.
17753         [C99-based standards] (INT32_MAX): Likewise.
17754         [C99-based standards] (INT64_MIN): Likewise.
17755         [C99-based standards] (INT64_MAX): Likewise.
17756         [C99-based standards] (UINT8_MAX): Likewise.
17757         [C99-based standards] (UINT16_MAX): Likewise.
17758         [C99-based standards] (UINT32_MAX): Likewise.
17759         [C99-based standards] (UINT64_MAX): Likewise.
17760         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17761         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17762         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17763         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17764         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17765         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17766         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17767         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17768         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17769         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17770         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17771         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17772         [C99-based standards] (INT_FAST8_MIN): Likewise.
17773         [C99-based standards] (INT_FAST8_MAX): Likewise.
17774         [C99-based standards] (INT_FAST16_MIN): Likewise.
17775         [C99-based standards] (INT_FAST16_MAX): Likewise.
17776         [C99-based standards] (INT_FAST32_MIN): Likewise.
17777         [C99-based standards] (INT_FAST32_MAX): Likewise.
17778         [C99-based standards] (INT_FAST64_MIN): Likewise.
17779         [C99-based standards] (INT_FAST64_MAX): Likewise.
17780         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17781         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17782         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17783         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17784         [C99-based standards] (INTPTR_MIN): Likewise.
17785         [C99-based standards] (INTPTR_MAX): Likewise.
17786         [C99-based standards] (UINTPTR_MAX): Likewise.
17787         [C99-based standards] (INTMAX_MIN): Likewise.
17788         [C99-based standards] (INTMAX_MAX): Likewise.
17789         [C99-based standards] (UINTMAX_MAX): Likewise.
17790         [C99-based standards] (PTRDIFF_MIN): Likewise.
17791         [C99-based standards] (PTRDIFF_MAX): Likewise.
17792         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17793         [C99-based standards] (SIZE_MAX): Likewise.
17794         [C99-based standards] (WCHAR_MAX): Likewise.
17795         [C99-based standards] (WINT_MAX): Likewise.
17796         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17797         constraint on value.
17798         [C99-based standards] (WCHAR_MIN): Likewise.
17799         [C99-based standards] (WINT_MIN): Likewise.
17800         [C99-based standards] (*_t): Allow.
17801         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17802         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17803         Include math.h-data and complex.h-data.  Remove all expectations
17804         of math.h and complex.h contents.
17805         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17806         at end of line.
17807         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17808         (struct tm): Expect tag.
17809         [C99-based-standards] (wcstof): Expect function.
17810         [C99-based-standards] (wcstold): Likewise.
17811         [C99-based-standards] (wcstoll): Likewise.
17812         [C99-based-standards] (wcstoull): Likewise.
17813         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17814         macro-int-constant.  Specify type.
17815         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17816         constraint on value.
17817         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17818         Specify type.
17819         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17820         Specify value.
17821         [ISO C standards]: Do not allow headers.
17822         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17823         wcs[abcdefghijklmnopqrstuvwxyz]*.
17824         [ISO C standards] (*_t): Do not allow.
17825         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17826         Expect function.
17827         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17828         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17829         Specify type.
17830         [ISO C standards]: Do not allow headers.
17831         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17832         is[abcdefghijklmnopqrstuvwxyz]*.
17833         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17834         to[abcdefghijklmnopqrstuvwxyz]*.
17835         [ISO C standards] (*_t): Do not allow.
17836         * conform/data/stdalign.h-data: New file.
17837         * conform/data/stdbool.h-data: Likewise.
17838         * conform/data/stdnoreturn.h-data: Likewise.
17840 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17842         [BZ #14815]
17843         * manual/filesys.texi (Directory Entries): Typo fix.
17844         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17846 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17848         * elf/elf.h (EM_AARCH64): New macro.
17849         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17850         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17851         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17852         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17853         (R_AARCH64_TLSDESC): Likewise.
17854         (NT_ARM_TLS): Likewise.
17855         (NT_ARM_HW_BREAK): Likewise.
17856         (NT_ARM_HW_WATCH): Likewise.
17858 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17860         [BZ #14811]
17861         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17862         (__ieee754_powl): Saturate nonzero exponents with absolute value
17863         below 0x1p-79 to +/- 0x1p-79.
17864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17865         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17866         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17867         nonzero exponents with absolute value below 0x1p-32 to +/-
17868         0x1p-32.
17869         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17870         (__ieee754_powl): Saturate nonzero exponents with absolute value
17871         below 0x1p-79 to +/- 0x1p-79.
17872         * math/libm-test.inc (pow_test): Add more tests.
17874 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17876         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17877         _dl_s390_cap_flags with kernel. Increase string length.
17878         (_dl_s390_platforms): Add z196 and zEC12.
17880 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17882         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17883         Change XOPEN21K to XOPEN2K.
17885 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17887         * string/memmove.c: Use memcpy when possible.
17889 2012-11-06  Andreas Jaeger  <aj@suse.de>
17891         * po/eo.po: Update from translation team.
17893 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17895         [BZ #14793]
17896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17897         exponent and small x and y exponents, scale x or y up.  Increase
17898         by 2 the exponent used in scaling up.
17899         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17900         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17901         * math/libm-test.inc (fma_test): Add more tests.
17902         (fma_test_towardzero): Likewise.
17903         (fma_test_downward): Likewise.
17904         (fma_test_upward): Likewise.
17906 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17908         [BZ #14805]
17909         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17910         fenv_t *.
17912         [BZ #14801]
17913         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17914         namespace for names of struct fields.
17915         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17916         fenv_t fields.
17917         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17918         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17920 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17922         [BZ #3665]
17923         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17925 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17927         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17928         PTR_DEMANGLE.
17930         [BZ #5246]
17931         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17932         PTR_DEMANGLE.
17934 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17936         [BZ #14797]
17937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17938         definitely overflow as x * y not x * y + z.
17939         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17940         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17941         * math/libm-test.inc (fma_test): Add more tests.
17942         (fma_test_towardzero): Likewise.
17943         (fma_test_downward): Likewise.
17944         (fma_test_upward): Likewise.
17946 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17948         [BZ #157]
17950         * include/stub-tag.h: Remove file.
17951         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17952         '#include' of it.
17953         * manual/maint.texi (Porting): Don't reference it.
17954         * Makerules ($(objpfx)stubs): Likewise.
17955         * dirent/closedir.c: Don't include <stub-tag.h>.
17956         * dirent/dirfd.c: Likewise.
17957         * dirent/fdopendir.c: Likewise.
17958         * dirent/getdents.c: Likewise.
17959         * dirent/getdents64.c: Likewise.
17960         * dirent/opendir.c: Likewise.
17961         * dirent/readdir.c: Likewise.
17962         * dirent/readdir64.c: Likewise.
17963         * dirent/readdir64_r.c: Likewise.
17964         * dirent/readdir_r.c: Likewise.
17965         * dirent/rewinddir.c: Likewise.
17966         * dirent/seekdir.c: Likewise.
17967         * dirent/telldir.c: Likewise.
17968         * gmon/profil.c: Likewise.
17969         * grp/setgroups.c: Likewise.
17970         * inet/if_index.c: Likewise.
17971         * io/access.c: Likewise.
17972         * io/chdir.c: Likewise.
17973         * io/chmod.c: Likewise.
17974         * io/chown.c: Likewise.
17975         * io/close.c: Likewise.
17976         * io/dup.c: Likewise.
17977         * io/dup2.c: Likewise.
17978         * io/dup3.c: Likewise.
17979         * io/euidaccess.c: Likewise.
17980         * io/faccessat.c: Likewise.
17981         * io/fchdir.c: Likewise.
17982         * io/fchmod.c: Likewise.
17983         * io/fchmodat.c: Likewise.
17984         * io/fchown.c: Likewise.
17985         * io/fchownat.c: Likewise.
17986         * io/fcntl.c: Likewise.
17987         * io/flock.c: Likewise.
17988         * io/fstatfs.c: Likewise.
17989         * io/fstatfs64.c: Likewise.
17990         * io/fstatvfs.c: Likewise.
17991         * io/fstatvfs64.c: Likewise.
17992         * io/futimens.c: Likewise.
17993         * io/fxstat.c: Likewise.
17994         * io/fxstat64.c: Likewise.
17995         * io/fxstatat.c: Likewise.
17996         * io/fxstatat64.c: Likewise.
17997         * io/getcwd.c: Likewise.
17998         * io/isatty.c: Likewise.
17999         * io/lchmod.c: Likewise.
18000         * io/lchown.c: Likewise.
18001         * io/link.c: Likewise.
18002         * io/linkat.c: Likewise.
18003         * io/lseek.c: Likewise.
18004         * io/lseek64.c: Likewise.
18005         * io/lxstat64.c: Likewise.
18006         * io/mkdir.c: Likewise.
18007         * io/mkdirat.c: Likewise.
18008         * io/mkfifo.c: Likewise.
18009         * io/mkfifoat.c: Likewise.
18010         * io/open.c: Likewise.
18011         * io/open64.c: Likewise.
18012         * io/openat.c: Likewise.
18013         * io/openat64.c: Likewise.
18014         * io/pipe.c: Likewise.
18015         * io/pipe2.c: Likewise.
18016         * io/poll.c: Likewise.
18017         * io/posix_fadvise.c: Likewise.
18018         * io/posix_fadvise64.c: Likewise.
18019         * io/posix_fallocate.c: Likewise.
18020         * io/posix_fallocate64.c: Likewise.
18021         * io/read.c: Likewise.
18022         * io/readlink.c: Likewise.
18023         * io/readlinkat.c: Likewise.
18024         * io/rmdir.c: Likewise.
18025         * io/sendfile.c: Likewise.
18026         * io/sendfile64.c: Likewise.
18027         * io/statfs.c: Likewise.
18028         * io/statfs64.c: Likewise.
18029         * io/statvfs.c: Likewise.
18030         * io/statvfs64.c: Likewise.
18031         * io/symlink.c: Likewise.
18032         * io/symlinkat.c: Likewise.
18033         * io/ttyname.c: Likewise.
18034         * io/ttyname_r.c: Likewise.
18035         * io/umask.c: Likewise.
18036         * io/unlink.c: Likewise.
18037         * io/unlinkat.c: Likewise.
18038         * io/utime.c: Likewise.
18039         * io/utimensat.c: Likewise.
18040         * io/write.c: Likewise.
18041         * io/xmknod.c: Likewise.
18042         * io/xmknodat.c: Likewise.
18043         * io/xstat.c: Likewise.
18044         * io/xstat64.c: Likewise.
18045         * login/getpt.c: Likewise.
18046         * login/grantpt.c: Likewise.
18047         * login/unlockpt.c: Likewise.
18048         * math/e_acoshl.c: Likewise.
18049         * math/e_acosl.c: Likewise.
18050         * math/e_asinl.c: Likewise.
18051         * math/e_atan2l.c: Likewise.
18052         * math/e_atanhl.c: Likewise.
18053         * math/e_coshl.c: Likewise.
18054         * math/e_expl.c: Likewise.
18055         * math/e_fmodl.c: Likewise.
18056         * math/e_gammal_r.c: Likewise.
18057         * math/e_hypotl.c: Likewise.
18058         * math/e_j0l.c: Likewise.
18059         * math/e_j1l.c: Likewise.
18060         * math/e_jnl.c: Likewise.
18061         * math/e_lgammal_r.c: Likewise.
18062         * math/e_log10l.c: Likewise.
18063         * math/e_log2l.c: Likewise.
18064         * math/e_logl.c: Likewise.
18065         * math/e_powl.c: Likewise.
18066         * math/e_rem_pio2l.c: Likewise.
18067         * math/e_sinhl.c: Likewise.
18068         * math/e_sqrtl.c: Likewise.
18069         * math/fclrexcpt.c: Likewise.
18070         * math/fedisblxcpt.c: Likewise.
18071         * math/feenablxcpt.c: Likewise.
18072         * math/fegetenv.c: Likewise.
18073         * math/fegetexcept.c: Likewise.
18074         * math/fegetround.c: Likewise.
18075         * math/feholdexcpt.c: Likewise.
18076         * math/fesetenv.c: Likewise.
18077         * math/fesetround.c: Likewise.
18078         * math/feupdateenv.c: Likewise.
18079         * math/fgetexcptflg.c: Likewise.
18080         * math/fraiseexcpt.c: Likewise.
18081         * math/fsetexcptflg.c: Likewise.
18082         * math/ftestexcept.c: Likewise.
18083         * math/k_cosl.c: Likewise.
18084         * math/k_rem_pio2l.c: Likewise.
18085         * math/k_sinl.c: Likewise.
18086         * math/k_tanl.c: Likewise.
18087         * math/s_asinhl.c: Likewise.
18088         * math/s_atanl.c: Likewise.
18089         * math/s_cbrtl.c: Likewise.
18090         * math/s_erfl.c: Likewise.
18091         * math/s_expm1l.c: Likewise.
18092         * math/s_log1pl.c: Likewise.
18093         * math/s_tanhl.c: Likewise.
18094         * misc/acct.c: Likewise.
18095         * misc/brk.c: Likewise.
18096         * misc/chflags.c: Likewise.
18097         * misc/chroot.c: Likewise.
18098         * misc/fchflags.c: Likewise.
18099         * misc/fgetxattr.c: Likewise.
18100         * misc/flistxattr.c: Likewise.
18101         * misc/fremovexattr.c: Likewise.
18102         * misc/fsetxattr.c: Likewise.
18103         * misc/fsync.c: Likewise.
18104         * misc/ftruncate.c: Likewise.
18105         * misc/futimes.c: Likewise.
18106         * misc/futimesat.c: Likewise.
18107         * misc/getdomain.c: Likewise.
18108         * misc/getdtsz.c: Likewise.
18109         * misc/gethostid.c: Likewise.
18110         * misc/gethostname.c: Likewise.
18111         * misc/getloadavg.c: Likewise.
18112         * misc/getpagesize.c: Likewise.
18113         * misc/getsysstats.c: Likewise.
18114         * misc/getxattr.c: Likewise.
18115         * misc/gtty.c: Likewise.
18116         * misc/ioctl.c: Likewise.
18117         * misc/lgetxattr.c: Likewise.
18118         * misc/listxattr.c: Likewise.
18119         * misc/llistxattr.c: Likewise.
18120         * misc/lremovexattr.c: Likewise.
18121         * misc/lsetxattr.c: Likewise.
18122         * misc/lutimes.c: Likewise.
18123         * misc/madvise.c: Likewise.
18124         * misc/mincore.c: Likewise.
18125         * misc/mlock.c: Likewise.
18126         * misc/mlockall.c: Likewise.
18127         * misc/mmap.c: Likewise.
18128         * misc/mprotect.c: Likewise.
18129         * misc/msync.c: Likewise.
18130         * misc/munlock.c: Likewise.
18131         * misc/munlockall.c: Likewise.
18132         * misc/munmap.c: Likewise.
18133         * misc/preadv.c: Likewise.
18134         * misc/preadv64.c: Likewise.
18135         * misc/ptrace.c: Likewise.
18136         * misc/pwritev.c: Likewise.
18137         * misc/pwritev64.c: Likewise.
18138         * misc/readv.c: Likewise.
18139         * misc/reboot.c: Likewise.
18140         * misc/remap_file_pages.c: Likewise.
18141         * misc/removexattr.c: Likewise.
18142         * misc/revoke.c: Likewise.
18143         * misc/select.c: Likewise.
18144         * misc/setdomain.c: Likewise.
18145         * misc/setegid.c: Likewise.
18146         * misc/seteuid.c: Likewise.
18147         * misc/sethostid.c: Likewise.
18148         * misc/sethostname.c: Likewise.
18149         * misc/setregid.c: Likewise.
18150         * misc/setreuid.c: Likewise.
18151         * misc/setxattr.c: Likewise.
18152         * misc/sstk.c: Likewise.
18153         * misc/stty.c: Likewise.
18154         * misc/swapoff.c: Likewise.
18155         * misc/swapon.c: Likewise.
18156         * misc/sync.c: Likewise.
18157         * misc/syncfs.c: Likewise.
18158         * misc/syscall.c: Likewise.
18159         * misc/truncate.c: Likewise.
18160         * misc/ualarm.c: Likewise.
18161         * misc/usleep.c: Likewise.
18162         * misc/ustat.c: Likewise.
18163         * misc/utimes.c: Likewise.
18164         * misc/vhangup.c: Likewise.
18165         * misc/writev.c: Likewise.
18166         * posix/_exit.c: Likewise.
18167         * posix/alarm.c: Likewise.
18168         * posix/execve.c: Likewise.
18169         * posix/fexecve.c: Likewise.
18170         * posix/fork.c: Likewise.
18171         * posix/fpathconf.c: Likewise.
18172         * posix/getaddrinfo.c: Likewise.
18173         * posix/getegid.c: Likewise.
18174         * posix/geteuid.c: Likewise.
18175         * posix/getgid.c: Likewise.
18176         * posix/getgroups.c: Likewise.
18177         * posix/getlogin.c: Likewise.
18178         * posix/getlogin_r.c: Likewise.
18179         * posix/getpgid.c: Likewise.
18180         * posix/getpid.c: Likewise.
18181         * posix/getppid.c: Likewise.
18182         * posix/getresgid.c: Likewise.
18183         * posix/getresuid.c: Likewise.
18184         * posix/getsid.c: Likewise.
18185         * posix/getuid.c: Likewise.
18186         * posix/glob64.c: Likewise.
18187         * posix/nanosleep.c: Likewise.
18188         * posix/pathconf.c: Likewise.
18189         * posix/pause.c: Likewise.
18190         * posix/posix_madvise.c: Likewise.
18191         * posix/pread.c: Likewise.
18192         * posix/pread64.c: Likewise.
18193         * posix/pwrite.c: Likewise.
18194         * posix/pwrite64.c: Likewise.
18195         * posix/sched_getaffinity.c: Likewise.
18196         * posix/sched_getp.c: Likewise.
18197         * posix/sched_gets.c: Likewise.
18198         * posix/sched_primax.c: Likewise.
18199         * posix/sched_primin.c: Likewise.
18200         * posix/sched_rr_gi.c: Likewise.
18201         * posix/sched_setaffinity.c: Likewise.
18202         * posix/sched_setp.c: Likewise.
18203         * posix/sched_sets.c: Likewise.
18204         * posix/sched_yield.c: Likewise.
18205         * posix/setgid.c: Likewise.
18206         * posix/setlogin.c: Likewise.
18207         * posix/setpgid.c: Likewise.
18208         * posix/setresgid.c: Likewise.
18209         * posix/setresuid.c: Likewise.
18210         * posix/setsid.c: Likewise.
18211         * posix/setuid.c: Likewise.
18212         * posix/sleep.c: Likewise.
18213         * posix/spawni.c: Likewise.
18214         * posix/sysconf.c: Likewise.
18215         * posix/times.c: Likewise.
18216         * posix/wait.c: Likewise.
18217         * posix/wait3.c: Likewise.
18218         * posix/wait4.c: Likewise.
18219         * posix/waitpid.c: Likewise.
18220         * resolv/gai_sigqueue.c: Likewise.
18221         * resource/getpriority.c: Likewise.
18222         * resource/getrlimit.c: Likewise.
18223         * resource/getrusage.c: Likewise.
18224         * resource/nice.c: Likewise.
18225         * resource/setpriority.c: Likewise.
18226         * resource/setrlimit.c: Likewise.
18227         * resource/ulimit.c: Likewise.
18228         * rt/aio_cancel.c: Likewise.
18229         * rt/aio_fsync.c: Likewise.
18230         * rt/aio_read.c: Likewise.
18231         * rt/aio_sigqueue.c: Likewise.
18232         * rt/aio_suspend.c: Likewise.
18233         * rt/aio_write.c: Likewise.
18234         * rt/clock_getres.c: Likewise.
18235         * rt/clock_gettime.c: Likewise.
18236         * rt/clock_nanosleep.c: Likewise.
18237         * rt/clock_settime.c: Likewise.
18238         * rt/lio_listio.c: Likewise.
18239         * rt/mq_close.c: Likewise.
18240         * rt/mq_getattr.c: Likewise.
18241         * rt/mq_notify.c: Likewise.
18242         * rt/mq_open.c: Likewise.
18243         * rt/mq_receive.c: Likewise.
18244         * rt/mq_send.c: Likewise.
18245         * rt/mq_setattr.c: Likewise.
18246         * rt/mq_timedreceive.c: Likewise.
18247         * rt/mq_timedsend.c: Likewise.
18248         * rt/mq_unlink.c: Likewise.
18249         * rt/shm_open.c: Likewise.
18250         * rt/shm_unlink.c: Likewise.
18251         * rt/timer_create.c: Likewise.
18252         * rt/timer_delete.c: Likewise.
18253         * rt/timer_getoverr.c: Likewise.
18254         * rt/timer_gettime.c: Likewise.
18255         * rt/timer_settime.c: Likewise.
18256         * setjmp/__longjmp.c: Likewise.
18257         * setjmp/setjmp.c: Likewise.
18258         * signal/kill.c: Likewise.
18259         * signal/killpg.c: Likewise.
18260         * signal/raise.c: Likewise.
18261         * signal/sigaction.c: Likewise.
18262         * signal/sigaltstack.c: Likewise.
18263         * signal/sigblock.c: Likewise.
18264         * signal/sigignore.c: Likewise.
18265         * signal/sigintr.c: Likewise.
18266         * signal/signal.c: Likewise.
18267         * signal/sigpause.c: Likewise.
18268         * signal/sigpending.c: Likewise.
18269         * signal/sigqueue.c: Likewise.
18270         * signal/sigreturn.c: Likewise.
18271         * signal/sigset.c: Likewise.
18272         * signal/sigsetmask.c: Likewise.
18273         * signal/sigstack.c: Likewise.
18274         * signal/sigsuspend.c: Likewise.
18275         * signal/sigtimedwait.c: Likewise.
18276         * signal/sigvec.c: Likewise.
18277         * signal/sigwait.c: Likewise.
18278         * signal/sigwaitinfo.c: Likewise.
18279         * signal/sysv_signal.c: Likewise.
18280         * socket/accept.c: Likewise.
18281         * socket/accept4.c: Likewise.
18282         * socket/bind.c: Likewise.
18283         * socket/connect.c: Likewise.
18284         * socket/getpeername.c: Likewise.
18285         * socket/getsockname.c: Likewise.
18286         * socket/getsockopt.c: Likewise.
18287         * socket/isfdtype.c: Likewise.
18288         * socket/listen.c: Likewise.
18289         * socket/recv.c: Likewise.
18290         * socket/recvfrom.c: Likewise.
18291         * socket/recvmsg.c: Likewise.
18292         * socket/send.c: Likewise.
18293         * socket/sendmsg.c: Likewise.
18294         * socket/sendto.c: Likewise.
18295         * socket/setsockopt.c: Likewise.
18296         * socket/shutdown.c: Likewise.
18297         * socket/sockatmark.c: Likewise.
18298         * socket/socket.c: Likewise.
18299         * socket/socketpair.c: Likewise.
18300         * stdio-common/ctermid.c: Likewise.
18301         * stdio-common/cuserid.c: Likewise.
18302         * stdio-common/remove.c: Likewise.
18303         * stdio-common/rename.c: Likewise.
18304         * stdio-common/renameat.c: Likewise.
18305         * stdio-common/tempname.c: Likewise.
18306         * stdlib/getcontext.c: Likewise.
18307         * stdlib/makecontext.c: Likewise.
18308         * stdlib/setcontext.c: Likewise.
18309         * stdlib/swapcontext.c: Likewise.
18310         * stdlib/system.c: Likewise.
18311         * streams/fattach.c: Likewise.
18312         * streams/fdetach.c: Likewise.
18313         * streams/getmsg.c: Likewise.
18314         * streams/getpmsg.c: Likewise.
18315         * streams/putmsg.c: Likewise.
18316         * streams/putpmsg.c: Likewise.
18317         * sysdeps/unix/bsd/getpt.c: Likewise.
18318         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18319         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18320         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18322         Likewise.
18323         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18324         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18325         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18326         * sysvipc/msgctl.c: Likewise.
18327         * sysvipc/msgget.c: Likewise.
18328         * sysvipc/msgrcv.c: Likewise.
18329         * sysvipc/msgsnd.c: Likewise.
18330         * sysvipc/semctl.c: Likewise.
18331         * sysvipc/semget.c: Likewise.
18332         * sysvipc/semop.c: Likewise.
18333         * sysvipc/semtimedop.c: Likewise.
18334         * sysvipc/shmat.c: Likewise.
18335         * sysvipc/shmctl.c: Likewise.
18336         * sysvipc/shmdt.c: Likewise.
18337         * sysvipc/shmget.c: Likewise.
18338         * termios/tcdrain.c: Likewise.
18339         * termios/tcflow.c: Likewise.
18340         * termios/tcflush.c: Likewise.
18341         * termios/tcgetattr.c: Likewise.
18342         * termios/tcgetpgrp.c: Likewise.
18343         * termios/tcsendbrk.c: Likewise.
18344         * termios/tcsetattr.c: Likewise.
18345         * termios/tcsetpgrp.c: Likewise.
18346         * time/adjtime.c: Likewise.
18347         * time/clock.c: Likewise.
18348         * time/getitimer.c: Likewise.
18349         * time/gettimeofday.c: Likewise.
18350         * time/setitimer.c: Likewise.
18351         * time/settimeofday.c: Likewise.
18352         * time/stime.c: Likewise.
18353         * time/time.c: Likewise.
18355 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
18357         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18358         /usr/old/bin.
18360         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18361         instead of spaces.
18362         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18364 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
18366         [BZ #14796]
18367         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18368         FE_TONEAREST before applying Dekker multiplication and Knuth
18369         addition.  Clear inexact exceptions and check for exact zero
18370         results afterwards.
18371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18372         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18373         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18374         * math/libm-test.inc (fma_test): Add more tests.
18375         (fma_test_towardzero): Likewise.
18376         (fma_test_downward): Likewise.
18377         (fma_test_upward): Likewise.
18378         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18379         function.
18380         (libc_fesetround): New macro.
18381         (libc_fesetroundf): Likewise.
18382         (libc_fesetroundl): Likewise.
18383         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18384         function.
18385         (libc_fesetround_387): Likewise.
18386         (libc_fesetroundf): New macro.
18387         (libc_fesetround): Likewise.
18388         (libc_fesetroundl): Likewise.
18389         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18390         function.
18391         (libc_fesetroundf): New macro.
18392         (libc_fesetround): Likewise.
18393         (libc_fesetroundl): Likewise.
18394         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18395         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18396         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18397         libm_hidden_ver.
18398         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18399         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18400         libm_hidden_def.
18401         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18402         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18403         libm_hidden_ver.
18404         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18405         libm_hidden_def.
18407         [BZ #3439]
18408         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18409         integer constant usable in #if and use that to give value to enum
18410         constant.
18411         (FE_DIVBYZERO): Likewise.
18412         (FE_UNDERFLOW): Likewise.
18413         (FE_OVERFLOW): Likewise.
18414         (FE_INVALID): Likewise.
18415         (FE_INVALID_SNAN): Likewise.
18416         (FE_INVALID_ISI): Likewise.
18417         (FE_INVALID_IDI): Likewise.
18418         (FE_INVALID_ZDZ): Likewise.
18419         (FE_INVALID_IMZ): Likewise.
18420         (FE_INVALID_COMPARE): Likewise.
18421         (FE_INVALID_SOFTWARE): Likewise.
18422         (FE_INVALID_SQRT): Likewise.
18423         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18424         (FE_TONEAREST): Likewise.
18425         (FE_TOWARDZERO): Likewise.
18426         (FE_UPWARD): Likewise.
18427         (FE_DOWNWARD): Likewise.
18428         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18429         (FE_DIVBYZERO): Likewise.
18430         (FE_OVERFLOW): Likewise.
18431         (FE_UNDERFLOW): Likewise.
18432         (FE_INEXACT): Likewise.
18433         (FE_TONEAREST): Likewise.
18434         (FE_DOWNWARD): Likewise.
18435         (FE_UPWARD): Likewise.
18436         (FE_TOWARDZERO): Likewise.
18437         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18438         (FE_UNDERFLOW): Likewise.
18439         (FE_OVERFLOW): Likewise.
18440         (FE_DIVBYZERO): Likewise.
18441         (FE_INVALID): Likewise.
18442         (FE_TONEAREST): Likewise.
18443         (FE_TOWARDZERO): Likewise.
18444         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18445         (FE_OVERFLOW): Likewise.
18446         (FE_UNDERFLOW): Likewise.
18447         (FE_DIVBYZERO): Likewise.
18448         (FE_INEXACT): Likewise.
18449         (FE_TONEAREST): Likewise.
18450         (FE_TOWARDZERO): Likewise.
18451         (FE_UPWARD): Likewise.
18452         (FE_DOWNWARD): Likewise.
18453         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18454         (FE_DIVBYZERO): Likewise.
18455         (FE_OVERFLOW): Likewise.
18456         (FE_UNDERFLOW): Likewise.
18457         (FE_INEXACT): Likewise.
18458         (FE_TONEAREST): Likewise.
18459         (FE_DOWNWARD): Likewise.
18460         (FE_UPWARD): Likewise.
18461         (FE_TOWARDZERO): Likewise.
18463 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18465         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18467 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18469         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18470         commands.  Quote $PWD.
18471         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18472         -x" by "export".
18473         (remove_newlines): Remove.
18475 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18477         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18478         * stdlib/stdlib.h (atof): Moved to ...
18479         * include/bits/stdlib-float.h: Here.  New file.
18480         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18481         * stdlib/bits/stdlib-float.h: New file.
18482         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18483         -mno-sse -mno-mmx.
18484         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18485         <xmmintrin.h>.
18487 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18489         * conform/conformtest.pl (@headers): Add fenv.h.
18490         * conform/data/fenv.h-data: New file.
18491         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18492         include of <math/fenv.h>.
18494         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18495         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18496         && !UNIX98].  Enables tests for XOPEN2K8.
18497         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18498         POSIX2008]: Likewise.
18500         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18501         (struct rusage): Do not expect type or its members.
18503         [BZ #3439]
18504         * math/math.h (FP_NAN): Define macro to integer constant usable in
18505         #if and use that to give value to enum constant.
18506         (FP_INFINITE): Likewise.
18507         (FP_ZERO): Likewise.
18508         (FP_SUBNORMAL): Likewise.
18509         (FP_NORMAL): Likewise.
18511 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18513         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18514         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18515         arguments.
18517 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18519         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18520         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18521         autoconf-time if not.
18522         * configure.in: Remove AC_PREREQ.
18524 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18526         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18527         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18528         of the internal implementation.
18530 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18532         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18533         except include of <misc/sys/syslog.h>.
18535 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18538         function returns with a NULL context exit with zero.
18540 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18542         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18544 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18546         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18547         (run_program_cmd): This.
18548         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18549         (tst_langinfo): New variable.  Use it.
18551 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18553         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18554         floating point opcodes.
18556 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18558         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18559         variable.
18561         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18563         * sysdeps/mach/hurd/powerpc: Remove directory.
18564         * sysdeps/mach/powerpc: Likewise.
18566 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18568         * scripts/check-local-headers.sh: Ignore c++ headers.
18570 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18572         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18573         __libc_cleanup_region_start argument.
18575 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18577         [BZ #14784]
18578         [BZ #14785]
18579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18580         x * y using scaling, not as x * y + z.
18581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18583         * math/libm-test.inc (fma_test): Add more tests.
18584         (fma_test_towardzero): Likewise.
18585         (fma_test_downward): Likewise.
18586         (fma_test_upward): Likewise.
18588 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18590         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18592 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18594         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18595         New variable.
18597 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18599         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18601 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18604         Fix sort order.
18605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18606         Likewise.
18608 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18611         Fix the order of the list for glibc 2.17.
18612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18613         Likewise.
18615 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18619 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18621         [BZ #14610]
18622         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18623         for low part of x being zero before using __atanl (y).
18624         * math/libm-test.inc (atan2_test): Add another test.
18626         * manual/install.texi (Configuring and compiling): Document
18627         general use of test-wrapper and test-wrapper-env.
18628         * INSTALL: Regenerated.
18630         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18631         (__fma): Do not extract and scale down low bits on after-rounding
18632         systems when result rounded to normal precision would have normal
18633         exponent.
18634         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18635         (__fmal): Do not extract and scale down low bits on after-rounding
18636         systems when result rounded to normal precision would have normal
18637         exponent.
18638         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18639         (__fmal): Do not extract and scale down low bits on after-rounding
18640         systems when result rounded to normal precision would have normal
18641         exponent.
18642         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18643         macro.
18644         (fma_test): Add more tests.
18645         (fma_test_towardzero): Likewise.
18646         (fma_test_downward): Likewise.
18647         (fma_test_upward): Likewise.
18649 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18651         * sysdeps/i386/tininess.h: Renamed to ...
18652         * sysdeps/x86/tininess.h: This.
18653         * sysdeps/x86_64/tininess.h: Removed.
18655 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18657         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18658         input.  Use $(build-program-cmd).
18659         ($(objpfx)tst-array1-static.out): Likewise.
18660         ($(objpfx)tst-array2.out): Likewise.
18661         ($(objpfx)tst-array3.out): Likewise.
18662         ($(objpfx)tst-array4.out): Likewise.
18663         ($(objpfx)tst-array5.out): Likewise.
18664         ($(objpfx)tst-array5-static.out): Likewise.
18666 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18668         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18669         if defined.
18671         * nss/nsswitch.h (nss_interface_function): Provide new
18672         macro for use with NSS functions.
18673         * grp/initgroups.c: Use new macro.
18674         * nss/getXXbyYY.c: Likewise.
18675         * nss/getXXbyYY_r.c: Likewise.
18676         * nss/getXXent.c: Likewise.
18677         * nss/getXXent_r.c: Likewise.
18678         * sysdeps/posix/getaddrinfo.c: Likewise.
18680 2012-10-30  Andreas Jaeger  <aj@suse.de>
18682         * po/ru.po: Update Russion translation from translation project.
18684 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18686         [BZ #14152]
18687         [BZ #14783]
18688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18689         result and shift together with sticky bit instead of replicating
18690         round-to-nearest rounding.
18691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18692         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18693         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18694         missing underflow exceptions.
18695         (fma_test_towardzero): Add more tests.
18696         (fma_test_downward): Likewise.
18697         (fma_test_upward): Likewise.
18699         [BZ #14047]
18700         * sysdeps/generic/tininess.h: New file.
18701         * sysdeps/i386/tininess.h: Likewise.
18702         * sysdeps/sh/tininess.h: Likewise.
18703         * sysdeps/x86_64/tininess.h: Likewise.
18704         * stdlib/tst-strtod-underflow.c: Likewise.
18705         * stdlib/tst-tininess.c: Likewise.
18706         * stdlib/strtod_l.c: Include <tininess.h>.
18707         (round_and_return): Do not set errno for exact underflow cases.
18708         Force an underflow exception when setting errno for underflow.
18709         Determine underflow based on rounding to normal precision if
18710         TININESS_AFTER_ROUNDING.
18711         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18712         ERANGE for exact underflow cases.
18713         * stdlib/Makefile (tests): Add tst-tininess and
18714         tst-strtod-underflow.
18715         ($(objpfx)tst-tininess): Use $(link-libm).
18716         ($(objpfx)tst-strtod-underflow): Likewise.
18718 2012-10-30  Andreas Jaeger  <aj@suse.de>
18720         [BZ#14767]
18721         * elf/Makefile (tests): Remove conditional for have-initfini-array
18722         since this is now always required and the variable does not exist
18723         anymore.
18724         (tests-static): Likewise.
18725         (modules-names): Likewise.
18727         * po/eo.po: Add Esperanto translation from translation project.
18729         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18730         merged with constructor/destructor.
18731         (init_array): Likewise.
18732         * elf/tst-array2dep.c (fini_array): Likewise.
18733         (init_array): Likewise.
18735 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18737         * manual/message.texi: Delete @cartouche tags.
18739 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18741         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18742         EOPNOTSUPP.
18743         * sysdeps/mach/hurd/fsync.c: Likewise.
18745         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18746         [_POSIX_REALTIME_SIGNALS]: Change condition to
18747         [_POSIX_REALTIME_SIGNALS > 0].
18749 2012-10-27  Andreas Jaeger  <aj@suse.de>
18751         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18752         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18753         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18754         [__WORDSIZE != 64]: Likewise.
18756 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18758         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18759         *  iconvdata/tst-tables.sh: Likewise.
18761 2012-10-25  David S. Miller  <davem@davemloft.net>
18763         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18764         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18765         of strtoull.
18767         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18768         ifunc-impl-list.c
18769         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18770         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18771         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18772         file.
18774 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18776         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18777         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18778         __getdirentries.
18780 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18781             Jim Blandy  <jimb@codesourcery.com>
18783         * scripts/cross-test-ssh.sh: New file.
18784         * manual/install.texi (Configuring and compiling): Document use of
18785         cross-test-ssh.sh.
18786         * INSTALL: Regenerated.
18788 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18790         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18791         EOPNOTSUPP.
18793 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18795         * Makeconfig (run-program-prefix): Fix comment.
18797 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18798             Jim Blandy  <jimb@codesourcery.com>
18800         * Makeconfig (test-wrapper): New variable,
18801         (test-wrapper-env): Likewise.
18802         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18803         (run-built-tests): Define to yes.
18804         (run-program-prefix): Use $(test-wrapper).
18805         (built-program-cmd): Likewise.
18806         * Rules (make-test-out): Use $(test-wrapper-env) and
18807         $(host-built-program-cmd).
18808         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18809         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18810         tst-pathopt.sh.
18811         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18812         $(test-wrapper-env) to tst-rtld-load-self.sh.
18813         ($(objpfx)order2.out): Use $(test-wrapper).
18814         ($(objpfx)tst-initorder.out): Likewise.
18815         ($(objpfx)tst-initorder2.out): Likewise.
18816         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18817         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18818         (test_wrapper_env): New variable.  Use it to run ld.so.
18819         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18820         Use it to run ld.so.
18821         (test_wrapper_env): Likewise.
18822         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18823         $(test-wrapper) to run-iconv-test.sh.
18824         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18825         (ICONV): Use $test_wrapper.
18826         * posix/Makefile ($(objpfx)globtest.out): Pass
18827         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18828         globtest.sh, not $(run-program-prefix).
18829         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18830         (test_wrapper): Likewise.
18831         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18832         set together with run_via_rtld_prefix.
18833         (run_program_prefix): Define in terms of test_wrapper and
18834         run_via_rtld_prefix.
18836 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18838         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18839         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18840         Targets removed.
18842         [BZ #14743]
18843         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18844         Declare __clock_getres, __clock_gettime, __clock_settime,
18845         __clock_nanosleep, and __clock_getcpuclockid.
18846         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18847         Remove librt_hidden_def (clock_gettime).
18848         * sysdeps/unix/clock_gettime.c: Likewise.
18849         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18850         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18851         * rt/clock_getres.c: Define __clock_getres as an alias.
18852         * sysdeps/posix/clock_getres.c: Likewise.
18853         * rt/clock_settime.c: Define __clock_settime as an alias.
18854         * sysdeps/unix/clock_settime.c: Likewise.
18855         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18856         * sysdeps/unix/clock_nanosleep.c: Likewise.
18857         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18858         * rt/clock-compat.c: New file.
18859         * rt/Makefile (librt-routines): Add clock-compat and move
18860         $(clock-routines) to ...
18861         (routines): ... here, new variable.
18862         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18863         Don't add get_clockfreq here.
18864         * rt/Versions (libc: GLIBC_2.17): New version set.
18865         Add clock_* symbols here.
18866         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18867         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18868         (GLIBC_2.17): Add clock_* symbols.
18869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18871         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18873         Likewise.
18874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18875         Likewise.
18876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18880         * NEWS: Mention the move.
18882         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18883         Use __open, __read, __close rather than their public counterparts.
18884         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18885         (__get_clockfreq_via_cpuinfo): Likewise.
18886         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18887         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18889         * config.h.in (HAVE_IFUNC): New #undef.
18890         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18891         was successful.
18892         * configure: Regenerated.
18894 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18896         * configure.in: Move READELF check to start of file.
18897         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18898         libc_cv_asm_gnu_indirect_function in the process.
18899         * configure: Regenerated.
18901 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18903         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18904         send the output to /dev/null.
18905         (libc_cv_cc_with_libunwind): Likewise.
18906         (libc_cv_as_noexecstack): Likewise.
18907         * configure: Regenerate.
18909 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18911         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18913         * posix/globtest.sh (TMPDIR): Do not set.
18914         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18915         (testout): Likewise.
18917 2012-10-24  Andreas Jaeger  <aj@suse.de>
18919         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18920         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18921         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18922         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18923         posix_fadvise64, posix_fallocate64.
18925         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18926         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18927         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18928         Likewise.
18929         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18930         Likewise.
18931         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18933         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18934         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18935         <bits/fcntl-linux.h>.
18936         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18938         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18939         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18940         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18941         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18942         [__WORDSIZE != 64]: Likewise.
18944 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18946         * Makeconfig (run-built-tests): New variable.
18947         * Rules [$(cross-compiling) = yes]: Change condition to
18948         [$(run-built-tests) = no].
18949         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18950         to [$(run-built-tests) = yes].
18951         * elf/Makefile [$(cross-compiling) = no]: Likewise
18952         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18953         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18954         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18955         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18956         * io/Makefile [$(cross-compiling) = no]: Likewise.
18957         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18958         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18959         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18960         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18961         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18962         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18963         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18964         * string/Makefile [$(cross-compiling) = no]: Likewise.
18966         * posix/Makefile ($(objpfx)globtest.out): Pass
18967         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18968         $(rtld-installed-name).
18969         * posix/globtest.sh (elf_objpfx): Remove variable.
18970         (rtld_installed_name): Likewise.
18971         (library_path): Likewise.
18972         (run_program_prefix): New variable.  Use for running globtest
18973         binary.
18975 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18976             Joseph Myers  <joseph@codesourcery.com>
18978         * Makeconfig (host-built-program-cmd): New variable.
18979         * elf/Makefile (tst-stackguard1-ARGS): Use
18980         $(host-built-program-cmd).
18981         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18982         (tst-spawn-ARGS): Likewise.
18983         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18985 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18986             Jim Blandy  <jimb@codesourcery.com>
18988         * Makeconfig (run-via-rtld-prefix): New variable.
18989         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18990         (built-program-cmd): Likewise.
18992 2012-10-22  Andreas Jaeger  <aj@suse.de>
18994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18995         __O_RSYNC if it exists, otherwise to O_SYNC.
18997 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18998             Joseph Myers  <joseph@codesourcery.com>
19000         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19001         /dev/null.
19002         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19003         from /dev/null
19004         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19005         /dev/null.
19007 2012-10-22  Andreas Jaeger  <aj@suse.de>
19009         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19010         Define always.
19011         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19014         bits/fcntl-linux.h.
19016         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19017         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19019         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19020         to __O_LARGEFILE.
19021         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19022         to __O_LARGEFILE.
19024 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
19025             Joseph Myers  <joseph@codesourcery.com>
19027         * config.make.in (NM): New variable.
19029 2012-10-21  Andreas Jaeger  <aj@suse.de>
19031         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19032         definitions and declarations that are provided by
19033         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19035 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19037         [BZ #14683]
19038         * elf/Makefile (tests-static): Add tst-leaks1-static.
19039         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19040         ($(objpfx)tst-leaks1-static): New rule.
19041         ($(objpfx)tst-leaks1-static-mem): Likewise.
19042         (tst-leaks1-static-ENV): New macro.
19043         * elf/dl-open.c (dl_open_worker): Check the main application
19044         only if SHARED is defined.
19045         * elf/tst-leaks1-static.c: New file.
19047 2012-10-20  Andreas Jaeger  <aj@suse.de>
19049         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19050         generic values for Linux.
19051         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19052         and declarations that are provided by <bits/fcntl-linux.h> and
19053         include <bits/fcntl-linux.h>.
19054         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19055         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19057 2012-10-20  Roland McGrath  <roland@hack.frob.com>
19059         * io/fcntl.h: Move include of <bits/types.h> to the top and
19060         include it unconditionally.
19062 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19064         * wcsmbs/Makefile (tests-ifunc): New variable.
19065         (tests): Add $(tests-ifunc).
19066         * wcsmbs/test-wcschr-ifunc.c: New file.
19067         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19068         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19069         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19070         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19071         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19073         * string/Makefile (tests-ifunc): New variable.
19074         (tests): Add $(tests-ifunc).
19075         * string/test-memccpy.c (TEST_NAME): New macro.
19076         * string/test-memchr.c (TEST_NAME): Likewise.
19077         * string/test-memcmp.c (TEST_NAME): Likewise.
19078         * string/test-memcpy.c (TEST_NAME): Likewise.
19079         * string/test-memmem.c (TEST_NAME): Likewise.
19080         * string/test-memmove.c (TEST_NAME): Likewise.
19081         * string/test-memset.c (TEST_NAME): Likewise.
19082         * string/test-rawmemchr.c (TEST_NAME): Likewise.
19083         * string/test-stpcpy.c (TEST_NAME): Likewise.
19084         * string/test-stpncpy.c (TEST_NAME): Likewise.
19085         * string/test-strcasecmp.c (TEST_NAME): Likewise.
19086         * string/test-strcasestr.c (TEST_NAME): Likewise.
19087         * string/test-strcat.c (TEST_NAME): Likewise.
19088         * string/test-strchr.c (TEST_NAME): Likewise.
19089         * string/test-strcmp.c(TEST_NAME): Likewise.
19090         * string/test-strcpy.c (TEST_NAME): Likewise.
19091         * string/test-strcspn.c (TEST_NAME): Likewise.
19092         * string/test-strlen.c (TEST_NAME): Likewise.
19093         * string/test-strncasecmp.c (TEST_NAME): Likewise.
19094         * string/test-strncmp.c (TEST_NAME): Likewise.
19095         * string/test-strncpy.c (TEST_NAME): Likewise.
19096         * string/test-strnlen.c (TEST_NAME): Likewise.
19097         * string/test-strpbrk.c (TEST_NAME): Likewise.
19098         * string/test-strrchr.c (TEST_NAME): Likewise.
19099         * string/test-strspn.c (TEST_NAME): Likewise.
19100         * string/test-strstr.c (TEST_NAME): Likewise.
19101         * string/test-bcopy-ifunc.c: New file.
19102         * string/test-bzero-ifunc.c: Likewise.
19103         * string/test-memccpy-ifunc.c: Likewise.
19104         * string/test-memchr-ifunc.c: Likewise.
19105         * string/test-memcmp-ifunc.c: Likewise.
19106         * string/test-memcpy-ifunc.c: Likewise.
19107         * string/test-memmem-ifunc.c: Likewise.
19108         * string/test-memmove-ifunc.c: Likewise.
19109         * string/test-mempcpy-ifunc.c: Likewise.
19110         * string/test-memset-ifunc.c: Likewise.
19111         * string/test-rawmemchr-ifunc.c: Likewise.
19112         * string/test-stpcpy-ifunc.c: Likewise.
19113         * string/test-stpncpy-ifunc.c: Likewise.
19114         * string/test-strcasecmp-ifunc.c: Likewise.
19115         * string/test-strcasestr-ifunc.c: Likewise.
19116         * string/test-strcat-ifunc.c: Likewise.
19117         * string/test-strchr-ifunc.c: Likewise.
19118         * string/test-strchrnul-ifunc.c: Likewise.
19119         * string/test-strcmp-ifunc.c: Likewise.
19120         * string/test-strcpy-ifunc.c: Likewise.
19121         * string/test-strcspn-ifunc.c: Likewise.
19122         * string/test-strlen-ifunc.c: Likewise.
19123         * string/test-strncasecmp-ifunc.c: Likewise.
19124         * string/test-strncat-ifunc.c: Likewise.
19125         * string/test-strncmp-ifunc.c: Likewise.
19126         * string/test-strncpy-ifunc.c: Likewise.
19127         * string/test-strnlen-ifunc.c: Likewise.
19128         * string/test-strpbrk-ifunc.c: Likewise.
19129         * string/test-strrchr-ifunc.c: Likewise.
19130         * string/test-strspn-ifunc.c: Likewise.
19131         * string/test-strstr-ifunc.c: Likewise.
19133         * debug/Makefile (tests-ifunc): New variable.
19134         (tests): Add $(tests-ifunc).
19135         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19136         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19137         * debug/test-stpcpy_chk-ifunc.c: New file.
19138         * debug/test-strcpy_chk-ifunc.c: Likewise.
19140 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19142         [BZ #13601]
19143         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19144         header is not read in.
19146 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19148         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19149         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19150         directly.  Pass built executable to script as
19151         $(built-program-cmd).
19152         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19153         $testprogram without using LD_LIBRARY_PATH and $ldso.
19155         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19156         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19157         $(rtld-installed-name).
19158         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19159         (rtld_installed_name): Likewise.
19160         (library_path): Likewise.
19161         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19162         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19163         $(run-program-prefix) to tst-tables.sh.
19164         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19165         it to run tst-table-from and tst-table-to.
19166         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19167         Pass it to tst-table.sh.
19168         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19169         $(run-program-prefix) to tst-gettext.sh.
19170         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19171         tst-translit.sh.
19172         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19173         tst-gettext2.sh.
19174         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19175         to run tst-gettext.
19176         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19177         to run tst-gettext2.
19178         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19179         to run tst-translit.
19180         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19181         $(run-program-prefix) to tst-mtrace.sh.
19182         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19183         to run tst-mtrace.
19184         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19185         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19186         $(rtld-installed-name).
19187         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19188         (rtld_installed_name): Likewise.
19189         (run_program_prefix): New variable.  Use it to run wordexp-test.
19191         * Makeconfig (ARCH): Remove all definitions.
19192         (machine): Likewise.
19193         [ARCH]: Remove conditional code.
19194         [!objdir]: Give error.
19195         [!objdir] (objpfx): Remove.
19196         [!objdir] (common-objpfx): Likewise.
19197         [!objdir] (common-objdir): Likewise.
19198         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19199         AC_CONFIG_FILES call.
19200         * configure: Regenerated.
19202         [BZ #13888]
19203         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19204         or TMPDIR.
19205         (testout): Likewise.
19207         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19208         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19209         $(rtld-installed-name).
19210         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19211         (rtld_installed_name): Likwise.
19212         (runit): Remove function.
19213         (run_getconf): New variable,  Use it for running getconf binary.
19215 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19217         [BZ #14716]
19218         * string/test-memmem.c (check_result): New function.
19219         (do_one_test): Use it.
19220         (check1): New function.
19221         (test_main): Use it.
19223 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19225         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19227 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19229         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19230         (_G_LSEEK64): Likewise.
19231         (_G_MMAP64): Likewise.
19232         (_G_FSTAT64): Likewise.
19233         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19234         (_G_LSEEK64): Likewise.
19235         (_G_MMAP64): Likewise.
19236         (_G_FSTAT64): Likewise.
19237         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19238         unconditional.  Call __mmap64 directly.
19239         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19240         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19241         __lseek64 directly.
19242         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19243         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19244         __mmap64 directly.
19245         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19246         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19247         __lseek64 directly.
19248         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19249         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19250         __lseek64 directly.
19251         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19252         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19253         __lseek64 directly.
19254         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19255         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19256         __fxstat64 directly.
19257         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19258         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19259         unconditional.
19260         (freopen64) [!_G_OPEN64]: Remove conditional code.
19261         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19262         unconditional.
19263         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19264         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19265         unconditional.
19266         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19267         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19268         unconditional.
19269         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19270         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19271         unconditional.
19272         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19273         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19274         unconditional.
19275         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19276         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19277         unconditional.
19278         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19279         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19280         unconditional.
19281         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19283 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19285         [BZ #12140]
19286         * manual/memory.texi (Malloc Tunable Parameters): Add note
19287         about free list pointers overwriting some perturb bytes.
19288         Wording suggested by Roland McGrath.
19290 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19292         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19293         (lgamma_test): Likewise.
19294         (tgamma_test): Likewise.
19296 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19298         [BZ #14700]
19299         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19300         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19302 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19304         * NEWS: Mention BZ #14716.
19305         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19306         when removing AVAILABLE1_USES_J macro.
19308 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19310         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19311         (__bswap_64): __uint64_t for unsigned 64-bit int.
19313 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19315         * include/string.h (memmem): Declare libc hidden alias.
19316         * string/memmem.c (memmem): Define libc hidden alias.
19317         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19318         __read, __close instead of open, read, close.
19320 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19323         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19324         global and hidden.
19325         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19326         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19327         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19328         Likewise.
19329         (__rawmemchr_sse2): Likewise.
19330         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19331         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19332         (__strchr_sse2): Likewise.
19333         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19334         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19335         (__strcasecmp_sse2): Likewise.
19336         (__strncasecmp_sse2): Likewise.
19337         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19338         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19339         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19340         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19341         (__strrchr_sse2): Likewise.
19342         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19343         ifunc-impl-list.c.
19344         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19345         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19346         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19347         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19348         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19349         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19350         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19351         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19352         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19353         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19354         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19355         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19356         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19357         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19358         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19359         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19360         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19361         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19362         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19363         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19364         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19365         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19366         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19367         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19368         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19369         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19370         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19371         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19372         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19373         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19375         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19376         global and hidden.
19377         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19378         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19379         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19380         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19381         Likewise.
19382         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19383         Likewise.
19384         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19385         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19386         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19387         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19388         ifunc-impl-list.c.
19389         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19390         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19391         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19392         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19393         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19394         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19395         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19396         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19397         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19398         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19399         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19400         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19401         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19402         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19403         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19404         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19405         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19406         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19407         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19408         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19409         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19410         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19411         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19412         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19413         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19414         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19415         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19416         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19417         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19418         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19419         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19420         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19421         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19422         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19423         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19424         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19425         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19426         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19427         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19428         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19429         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19431         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19432         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19433         * include/ifunc-impl-list.h: New file.
19434         * misc/ifunc-impl-list.c: Likewise.
19435         * misc/Makefile (routines): Add ifunc-impl-list.
19436         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19437         * string/test-string.h: Include <ifunc-impl-list.h>.
19438         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19439         impl_array): New variables.
19440         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19441         are defined.
19442         (test_init): Call __libc_ifunc_impl_list to initialize
19443         func_list if TEST_IFUNC and TEST_NAME are defined.
19445         * string/Makefile (strop-tests): Add bcopy and bzero.
19446         * string/test-bcopy.c: New file.
19447         * string/test-bzero.c: Likewise.
19448         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19449         defined.
19450         * string/test-memset.c: Support bzero test if TEST_BZERO is
19451         defined.
19452         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19453         __libc_memmove.
19454         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19455         __libc_memset.
19456         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19457         of memset.
19459 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19461         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19462         * configure: Regenerated.
19464         * Makeconfig (+link-static-before-libc): Don't include
19465         $(link-static-libc).
19467         * libio/libio.h (_IO_pos_t): Remove.
19469 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19471         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19472         McGrath.
19474 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19476         * crypt/crypt-entry.c: Include fips-private.h.
19477         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19478         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19479         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19480         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19482 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19484         * crypt/crypt-private.h: Include stdbool.h.
19485         (_ufc_setup_salt_r): Return bool.
19486         * crypt/crypt-entry.c: Include errno.h.
19487         (__crypt_r): Return NULL with EINVAL for bad salt.
19488         * crypt/crypt_util.c (bad_for_salt): New.
19489         (_ufc_setup_salt_r): Check that salt is long enough and within
19490         the specified alphabet.
19491         * crypt/badsalttest.c: New file.
19492         * crypt/Makefile (tests): Add it.
19493         ($(objpfx)badsalttest): New.
19495 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19497         * NEWS: Add entry for BZ #14602.
19499 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19501         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19502         type-generic.
19503         * math/libm-test.inc: Update comment listing what functions and
19504         macros are tested.
19505         (isgreater_test): New function.
19506         (isgreaterequal_test): Likewise.
19507         (isless_test): Likewise.
19508         (islessequal_test): Likewise.
19509         (islessgreater_test): Likewise.
19510         (isunordered_test): Likewise.
19511         (main): Call the new functions.
19513 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19515         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19516         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19517         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19518         * sysdeps/i386/configure: Regenerated.
19519         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19520         * sysdeps/mach/configure: Regenerated.
19521         * sysdeps/mach/hurd/configure: Regenerated.
19522         * sysdeps/powerpc/configure: Regenerated.
19523         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19524         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19525         * sysdeps/s390/s390-32/configure: Regenerated.
19526         * sysdeps/s390/s390-64/configure: Regenerated.
19527         * sysdeps/sh/configure: Regenerated.
19528         * sysdeps/sparc/configure: Regenerated.
19529         * sysdeps/unix/sysv/linux/configure: Regenerated.
19530         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19531         * sysdeps/x86_64/configure: Regenerated.
19533         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19534         defined.  Don't check if MAP is NULL.
19536 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19538         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19539         (_G_stat64): Likewise.
19540         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19541         (_G_stat64): Likewise.
19542         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19543         instead of struct _G_stat64.
19544         * libio/fileops.c (mmap_remap_check): Likewise.
19545         (decide_maybe_mmap): Likewise.
19546         (_IO_new_file_seekoff): Likewise.
19547         (_IO_file_stat): Likewise.
19548         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19549         _G_off64_t.
19550         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19551         instead of struct _G_stat64.
19552         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19554 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19556         [BZ #14602]
19557         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19558         Replace with ...
19559         (CHECK_EOL): New macro.
19560         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19561         CHECK_EOL.
19562         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19563         Replace with CHECK_EOL.
19564         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19565         Replace with CHECK_EOL.
19567 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19569         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19570         type-generic.
19571         * math/libm-test.inc: Update comment listing what functions and
19572         macros are tested.
19573         (finite_test): New function.
19574         (isinf_test): Likewise.
19575         (isnan_test): Likewise.
19576         (fpclassify_test): Test subnormal input.
19577         (isfinite_test): Likewise.
19578         (isnormal_test): Likewise.
19579         (main): Call the new functions.
19581 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19583         [BZ #14660]
19584         * Makerules (%.dynsym): Force C locale when running
19585         $(OBJDUMP) --dynamic-syms.
19587 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19589         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19590         <stdint.h>.
19592 2012-10-06  David S. Miller  <davem@davemloft.net>
19594         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19595         upper 32-bits of the length value in %o2 since we use branch-on-register
19596         tests which consider the entire 64-bit register.
19598 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19600         * string/test-strstr.c (check2): Add a test for page boundary.
19602 2012-10-05  David S. Miller  <davem@davemloft.net>
19604         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19605         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19606         file.
19607         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19608         sysdep_routines.
19609         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19610         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19611         and bzero when HWCAP_SPARC_CRYPTO is present.
19613 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19615         [BZ #14602]
19616         * string/test-strstr.c (check2): New function.
19617         (test_main): Call check2.
19619         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19620         and bug-strchr1.
19621         * string/bug-strcasestr1.c (do_test): Moved to ...
19622         * string/test-strcasestr.c (check1): Here.  New function.
19623         (do_one_test): Break out result checking code into ...
19624         (check_result): This.  New function.
19625         (do_one_test): Call check_result.
19626         (test_main): Call check1.
19627         * string/bug-strchr1.c (do_test): Moved to ...
19628         * string/test-strchr.c (check1): Here.  New function.
19629         (do_one_test): Break out result checking code into ...
19630         (check_result): This.  New function.
19631         (do_one_test): Call check_result.
19632         (test_main): Call check1.
19633         * string/bug-strstr1.c (main): Moved to ...
19634         * string/test-strstr.c (check1): Here.  New function.
19635         (do_one_test): Break out result checking code into ...
19636         (check_result): This.  New function.
19637         (do_one_test): Call check_result.
19638         (test_main): Call check1.
19639         * string/bug-strcasestr1.c: Removed.
19640         * string/bug-strchr1.c: Likewise.
19641         * string/bug-strstr1.c: Likewise.
19643         * elf/Makefile (dl-routines): Add hwcaps.
19644         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19645         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19646         (_dl_important_hwcaps): Moved to ...
19647         * elf/dl-hwcaps.c: Here.  New file.
19648         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19650         [BZ #14557]
19651         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19652         if IS_IN_rtld isn't defined.
19654         * elf/dl-support.c (_dl_sysinfo_map): New.
19655         Include "get-dynamic-info.h" and "setup-vdso.h".
19656         (_dl_non_dynamic_init): Call setup_vdso.
19657         * elf/dynamic-link.h: Don't include <assert.h>.
19658         (elf_get_dynamic_info): Moved to ...
19659         * elf/get-dynamic-info.h: Here.  New file.
19660         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19661         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19662         * elf/setup-vdso.h: Here.  New file.
19663         * elf/rtld.c: Include "setup-vdso.h".
19664         (dl_main): Call setup_vdso.
19666 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19668         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19669         creal in comment listing functions tested.  List finite, isinf,
19670         isnan, isless, islessequal, isgreater, isgreaterequal,
19671         islessgreater, isunordered, lgamma_r and pow10 as functions and
19672         macros not tested.  Mention which functions not tested are aliases
19673         for other functions.  Fix typo.  Note that signs of NaNs are not
19674         tested.
19676         * scripts/config.guess: Update from config.git.
19677         * scripts/config.sub: Likewise.
19679 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19681         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19682         * misc/madvise.c (madvise): Renamed to __madvise.
19683         Make madvise a weak alias.
19684         * include/sys/mman.h: Declare __madvise.
19685         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19686         * sysdeps/unix/syscalls.list
19687         (madvise): Make __madvise the strong name, and madvise a weak alias.
19688         * sysdeps/unix/sysv/linux/syscalls.list
19689         (madvise, mmap): Remove redundant entries.
19690         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19691         * malloc/malloc.c (mtrim): Likewise.
19692         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19694 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19696         * sysdeps/mach/hurd/dl-cache.c: File removed.
19697         * config.h.in (USE_LDCONFIG): New #undef.
19698         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19699         * configure: Regenerated.
19700         * elf/Makefile (dl-routines): Add dl-cache only under
19701         [$(use-ldconfig) = yes].
19702         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19703         cache on [USE_LDCONFIG].
19704         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19705         [USE_LDCONFIG].
19706         * elf/rtld.c (dl_main): Likewise.
19708 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19710         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19711         _SC_LEVEL4_CACHE_LINESIZE.
19713 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19715         * sysdeps/unix/bsd/confstr.h: File removed.
19717 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19719         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19720         sys/sdt-config.h.
19722 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19724         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19725         Make 'mapoff' field ElfW(Off) rather than off_t.
19727 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19729         * nscd/Makefile: Remove nscd-cflags and all its users.
19730         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19731         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19733         [BZ #10631]
19734         * malloc.c (malloc_printerr): Clarify error message.
19736 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19738         [BZ #14648]
19739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19740         Set bit_FMA_Usable if FMA is supported.
19741         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19742         macro.
19743         (bit_FMA4_Usable): Updated.
19744         (index_FMA_Usable): New macro.
19745         (CPUID_FMA): Likewise
19746         (HAS_FMA): Defined with bit_FMA_Usable.
19748 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19750         * bits/types.h (__swblk_t): Type removed.
19751         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19752         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19754         (__SWBLK_T_TYPE): Likewise.
19755         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19756         (__SWBLK_T_TYPE): Likewise.
19757         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19758         (__SWBLK_T_TYPE): Likewise.
19759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19760         (__SWBLK_T_TYPE): Likewise.
19762 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19763             Honza Horak <hhorak@redhat.com>
19765         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19766         (xdr_mapname): Use YPMAXMAP as maxsize.
19767         (xdr_peername): Use YPMAXPEER as maxsize.
19768         (xdr_keydat): Use YPAXRECORD as maxsize.
19769         (xdr_valdat): Use YPMAXRECORD as maxsize.
19771 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19773         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19775         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19776         * csu/init-first.c: ... here.
19777         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19778         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19779         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19780         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19781         * sysdeps/i386/init-first.c: File removed.
19782         * sysdeps/sh/init-first.c: File removed.
19784 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19786         [BZ #14645]
19787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19788         if x * y might underflow to zero and z is zero.
19789         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19790         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19791         * math/libm-test.inc (min_subnorm_value): New variable.
19792         (fma_test): Add more tests.
19793         (fma_test_towardzero): Likewise.
19794         (fma_test_downward): Likewise
19795         (fma_test_upward): Likewise.
19796         (initialize): Set min_subnorm_value.
19798 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19800         [BZ #14638]
19801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19802         0 + 0.
19803         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19804         mode for addition resulting in exact zero.
19805         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19806         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19807         exact 0 + 0.
19808         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19809         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19810         * math/libm-test.inc (fma_test): Add more tests.
19811         (fma_test_towardzero): New function.
19812         (fma_test_downward): Likewise.
19813         (fma_test_upward): Likewise.
19814         (main): Call the new functions.
19816 2012-09-28  David S. Miller  <davem@davemloft.net>
19818         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19820 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19822         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19823         instead of SIGALRM.
19825         * sysdeps/gnu/_G_config.h: Moved to ...
19826         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19827         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19828         * sysdeps/generic/_G_config.h: ... here.
19830         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19832         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19834         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19835         Conditionalize target on [libnss_test1.so-version].
19837         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19839         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19840         (elfobjdir): Move out of conditionals.
19842         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19843         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19844         (__nss_lookup_function): Conditionalize label remove_from_tree on
19845         [!DO_STATIC_NSS || SHARED], matching its only use.
19847 2012-09-28  David S. Miller  <davem@davemloft.net>
19849         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19850         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19851         file.
19852         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19853         sysdep_routines.
19854         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19855         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19856         when HWCAP_SPARC_CRYPTO is present.
19858 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19860         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19862 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19864         [BZ #6530]
19865         * stdio-common/vfprintf.c (process_string_arg): Revert
19866         2000-07-22 change.
19868 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19870         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19871         for testcase.
19872         * stdio-common/tst-sprintf.c: Include <locale.h>
19873         (main): Test sprintf's handling of incomplete multibyte
19874         characters.
19876 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19878         * elf/dl-runtime.c (VERSYMIDX): Removed.
19879         * elf/dl-version.c (VERSYMIDX): Likewise.
19880         * elf/do-rel.h (VERSYMIDX): Likewise.
19881         (VALIDX): Likewise.
19882         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19883         * elf/rtld.c (VALIDX): Likewise.
19884         (ADDRIDX): Likewise.
19885         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19886         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19887         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19888         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19889         (VALIDX): Likewise.
19890         (ADDRIDX): Likewise.
19892 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19894         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19896 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19898         [BZ #11438]
19899         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19900         to global scope.
19901         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19902         addresses are in the same scope as 192.0.2/24.
19903         * posix/gai.conf: Document new scope table defaults.
19905 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19907         [BZ #5298]
19908         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19909         for ftell.  Compute offsets from write pointers instead.
19910         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19912 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19914         [BZ #14543]
19915         * libio/Makefile (tests): New test case tst-fseek.
19916         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19917         combination works in wide mode.
19918         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19919         state when the external buffer state changes.
19921 2012-09-27  David S. Miller  <davem@davemloft.net>
19923         [BZ #14376]
19924         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19925         pass reloc->r_addend in as the 'high' argument to
19926         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19930 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19932         * rt/tst-aio2.c: Include <pthread.h>.
19933         * rt/tst-aio3.c: Likewise.
19935 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19937         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19939 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19941         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19942         contents on [SHARED].
19944 2012-09-26  Marek Polacek  <polacek@redhat.com>
19946         [BZ #14530]
19947         [BZ #13741]
19948         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19949         for C++ and GCC <4.3 as well as for non GCC compilers.
19951 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19955 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19957         * Makefile.in (all, install): Declare with .PHONY.
19958         Reported by Michael Hope <michael.hope@linaro.org>.
19960 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19962         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19963         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19964         system header.
19965         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19966         Likewise.
19967         (sydep_routines): Add the new and the internal functions.
19968         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19969         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19971         (GLIBC_2.17): Add the new function.
19972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19973         (GLIBC_2.17): Likewise.
19974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19975         (GLIBC_2.17): Likewise.
19976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19977         (GLIBC_2.17): Likewise.
19978         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19980 2012-09-25  Alan Modra  <amodra@gmail.com>
19982         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19983         Add release barrier before setting once_control to say
19984         initialisation is done.  Add hints on lwarx.  Use macro in
19985         place of isync.
19986         (clear_once_control): Add release barrier.
19988 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19990         [BZ #13629]
19991         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19992         specially.
19993         * math/s_clog10.c (__clog10): Likewise.
19994         * math/s_clog10f.c (__clog10f): Likewise.
19995         * math/s_clog10l.c (__clog10l): Likewise.
19996         * math/s_clogf.c (__clogf): Likewise.
19997         * math/s_clogl.c (__clogl): Likewise.
19998         * math/Makefile (libm-calls): Add x2y2m1.
19999         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20000         (__x2y2m1): Likewise.
20001         (__x2y2m1l): Likewise.
20002         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20003         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20004         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20005         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20006         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20007         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20008         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20009         * sysdeps/i386/fpu/libm-test-ulps: Update.
20010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20012         [BZ #14621]
20013         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20014         int as type of variable DEPTH.
20015         (glob): Use size_t instead of int as type of variables NEWCOUNT
20016         and OLD_PATHC.
20018 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20020         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20021         Add s_sincosf-sse2.
20022         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20023         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20024         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20025         macros for using routine as __sincosf_ia32.
20026         Use macro for function declaration and weak_alias.
20027         * sysdeps/i386/fpu/libm-test-ulps: Update.
20029         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20032         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20033         subnormal argument.
20034         * math/s_cexpf.c (__cexpf): Likewise.
20035         * math/s_csinf.c (__csinf): Likewise.
20036         * math/s_csinhf.c (__csinhf): Likewise.
20037         * math/s_ctanf.c (__ctanf): Likewise.
20038         * math/s_ctanhf.c (__ctanhf): Likewise.
20039         * math/s_ccosh.c (__ccoshf): Likewise.
20040         * math/s_cexp.c (__cexpl): Likewise.
20041         * math/s_csin.c (__csin): Likewise.
20042         * math/s_csinh.c (__csinh): Likewise.
20043         * math/s_ctan.c (__ctan): Likewise.
20044         * math/s_ctanh.c (ctanh): Likewise.
20045         * math/s_ccoshl.c (__ccoshl): Likewise.
20046         * math/s_cexpl.c (__cexpl): Likewise.
20047         * math/s_csinl.c (__csinl): Likewise.
20048         * math/s_csinhl.c (__csinhl): Likewise.
20049         * math/s_ctanl.c (__ctanl): Likewise.
20050         * math/s_ctanhl.c (__ctanhl): Likewise.
20052 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20054         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20055         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20056         (_IO_off_t): Define to __off_t, not _G_off_t.
20057         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20058         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20059         (_IO_wint_t): Define to wint_t, not _G_wint_t.
20060         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20061         type of __dummy and __dummy2 fields.
20062         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20063         (_G_ssize_t): Likewise.
20064         (_G_off_t): Likewise.
20065         (_G_pid_t): Likewise.
20066         (_G_uid_t): Likewise.
20067         (_G_wchar_t): Likewise.
20068         (_G_wint_t): Likewise.
20069         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20070         (_G_ssize_t): Likewise.
20071         (_G_off_t): Likewise.
20072         (_G_pid_t): Likewise.
20073         (_G_uid_t): Likewise.
20074         (_G_wchar_t): Likewise.
20075         (_G_wint_t): Likewise.
20076         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20077         (_G_ssize_t): Likewise.
20078         (_G_off_t): Likewise.
20079         (_G_pid_t): Likewise.
20080         (_G_uid_t): Likewise.
20081         (_G_wchar_t): Likewise.
20082         (_G_wint_t): Likewise.
20084 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20086         * malloc/arena.c: Include malloc-sysdep.h.
20087         (shrink_heap): Use check_may_shrink_heap to decide if madvise
20088         is sufficient to shrink the heap or an unmap is needed.
20089         * sysdeps/generic/malloc-sysdep.h: New file.  Define
20090         new function check_may_shrink_heap.
20091         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
20092         new function check_may_shrink_heap.
20094 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20096         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20097         comments.
20099 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
20101         * catgets/test-gencat.sh: Add "set -e".
20102         * elf/tst-pathopt.sh: Likewise.
20103         * grp/tst_fgetgrent.sh: Likewise.
20104         * iconvdata/run-iconv-test.sh: Likewise.
20105         * intl/tst-gettext.sh: Likewise.
20106         * intl/tst-gettext2.sh: Likewise.
20107         * intl/tst-gettext4.sh: Likewise.
20108         * intl/tst-gettext6.sh: Likewise.
20109         * intl/tst-translit.sh: Likewise.
20110         * io/ftwtest-sh: Likewise.
20111         * libio/test-freopen.sh: Likewise.
20112         * malloc/tst-mtrace.sh: Likewise.
20113         * posix/globtest.sh: Likewise.
20114         * posix/tst-getconf.sh: Likewise.
20115         * posix/wordexp-tst.sh: Likewise.
20116         * stdio-common/tst-printf.sh: Likewise.
20117         * stdio-common/tst-unbputc.sh: Likewise.
20118         * stdlib/tst-fmtmsg.sh: Likewise.
20119         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20120         * catgets/Makefile: Do not specify -e option when running
20121         testsuite shell scripts.
20122         * elf/Makefile: Likewise.
20123         * grp/Makefile: Likewise.
20124         * iconvdata/Makefile: Likewise.
20125         * intl/Makefile: Likewise.
20126         * io/Makefile: Likewise.
20127         * libio/Makefile: Likewise.
20128         * malloc/Makefile: Likewise.
20129         * posix/Makefile: Likewise.
20130         * stdio-common/Makefile: Likewise.
20131         * stdlib/Makefile: Likewise.
20132         * sysdeps/x86_64/Makefile: Likewise.
20134         * io/ftwtest-sh: Add copyright header.
20135         * posix/globtest.sh: Likewise.
20136         * posix/tst-getconf.sh: Likewise.
20137         * posix/wordexp-tst.sh: Likewise.
20138         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20140 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20142         [BZ #13679]
20143         * Makeconfig (+link): Defined as $(+link-static) if
20144         $(build-shared) isn't yes.
20145         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20146         isn't yes.
20147         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20149         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20151         [BZ #14562]
20152         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20153         new chunk size with MALLOC_ALIGN_MASK.
20155 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20157         [BZ #5044]
20158         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20159         <rounding-mode.h>.
20160         (__printf_fphex): Determine rounding using get_rounding_mode and
20161         round_away.
20162         * stdio-common/tst-printf-round.c (struct hex_test): New
20163         structure.
20164         (hex_tests): New variable.
20165         (test_hex_in_one_mode): New function.
20166         (do_test): Also run tests for hex float output.
20168 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20170         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20171         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20172         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20173         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20174         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20175         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20176         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20177         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20179 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20181         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20182         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20183         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20184         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20186 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20188         [BZ #14579]
20189         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20190         mode only.
20191         * elf/tst-rtld-load-self.sh: New test.
20192         * elf/Makefile: Run it.
20194 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20196         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20197         (tst-writev-ENV): Remove.
20198         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20200 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20202         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20204 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20206         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20207         unconditional.
20208         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20209         Likewise.
20210         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20211         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20212         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20213         Likewise.
20215 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20217         [BZ #14587]
20218         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20219         * config.make.in (have-cpp-asm-debuginfo): Removed.
20220         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20221         * configure: Regenerated.
20223 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20225         [BZ #5044]
20226         * stdio-common/printf_fp.c: Include <stdbool.h> and
20227         <rounding-mode.h>.
20228         (___printf_fp): Determine rounding using get_rounding_mode and
20229         round_away.
20230         * stdio-common/tst-printf-round.c: New file.
20231         * stdio-common/Makefile (tests): Add tst-printf-round.
20232         (link-libm): New variable.
20233         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20235 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20237         [BZ #14576]
20238         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20239         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20240         Likewise.
20241         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20242         Likewise.
20244 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20246         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20247         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20248         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20249         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20251 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20253         [BZ #14518]
20254         * include/rounding-mode.h: New file.
20255         * sysdeps/generic/get-rounding-mode.h: Likewise.
20256         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20257         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20258         (MAX_VALUE): New macro.
20259         (MIN_VALUE): Likewise.
20260         (overflow_value): New function.
20261         (underflow_value): Likewise.
20262         (round_and_return): Use overflow_value and underflow_value to
20263         determine return values in overflow and underflow cases.  Use
20264         round_away to determine rounding depending on rounding mode.
20265         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20266         determine return values in overflow and underflow cases.
20267         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20268         (struct test_results): New structure.
20269         (struct test): Use struct test_results to store expected results
20270         for all rounding modes.
20271         (TEST): Include expected results for all rounding modes.
20272         (test_in_one_mode): New function.
20273         (do_test): Use test_in_one_mode to compute and check results.
20274         Check results for all rounding modes.
20275         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20276         $(link-libm).
20278 2012-12-09  Allan McRae  <allan@archlinux.org>
20280         * sysdeps/i386/fpu/libm-test-ulps: Update
20282 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20284         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20285         (_G_int32_t): Likewise.
20286         (_G_uint16_t): Likewise.
20287         (_G_uint32_t): Likewise.
20288         (_G_HAVE_BOOL): Likewise.
20289         (_G_HAVE_ATEXIT): Likewise.
20290         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20291         (_G_HAVE_IO_FILE_OPEN): Likewise.
20292         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20293         (_G_int32_t): Likewise.
20294         (_G_uint16_t): Likewise.
20295         (_G_uint32_t): Likewise.
20296         (_G_HAVE_BOOL): Likewise.
20297         (_G_HAVE_ATEXIT): Likewise.
20298         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20299         (_G_HAVE_IO_FILE_OPEN): Likewise.
20300         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20301         (_G_int32_t): Likewise.
20302         (_G_uint16_t): Likewise.
20303         (_G_uint32_t): Likewise.
20304         (_G_HAVE_BOOL): Likewise.
20305         (_G_HAVE_ATEXIT): Likewise.
20306         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20307         (_G_HAVE_IO_FILE_OPEN): Likewise.
20309 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20311         * csu/libc-tls.c: Update copyright years.
20313 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20315         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20316         [!_G_USING_THUNKS]: Remove conditional code.
20317         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20318         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20320         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20321         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20322         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20323         (_G_VTABLE_LABEL_PREFIX): Likewise.
20324         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20325         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20326         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20327         (_G_VTABLE_LABEL_PREFIX): Likewise.
20328         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20329         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20330         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20331         (_G_VTABLE_LABEL_PREFIX): Likewise.
20332         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20334 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
20336         * libio/Makefile: Include ../Makeconfig before tests.
20337         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20338         only if $(build-shared) is yes.
20340         * iconv/gconv_db.c: Update copyright years.
20342 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20344         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20345         unwind info if defined PIC. Fix special cases description.
20346         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20348         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20349         DP_HI_MASK entry.
20350         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20352 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
20354         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20356         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20357         is NULL.
20359         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20360         (LDLIBS-tst-chk4): This.
20361         (LDFLAGS-tst-chk5): Renamed to ...
20362         (LDLIBS-tst-chk5): This.
20363         (LDFLAGS-tst-chk6): Renamed to ...
20364         (LDLIBS-tst-chk6): This.
20365         (LDFLAGS-tst-lfschk4): Renamed to ...
20366         (LDLIBS-tst-lfschk4): This.
20367         (LDFLAGS-tst-lfschk5): Renamed to ...
20368         (LDLIBS-tst-lfschk5): This.
20369         (LDFLAGS-tst-lfschk6): Renamed to ...
20370         (LDLIBS-tst-lfschk6): This.
20372         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20373         on $(common-objpfx)soversions.mk.
20375 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20377         [BZ #10014]
20378         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20379         example host name.
20381 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20383         * malloc/arena.c (arena_get_retry): New function that gets
20384         another arena for the caller to try its request on.
20385         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20386         current arena cannot fulfill the request.
20387         (__libc_memalign): Likewise.
20388         (__libc_memalign): Likewise.
20389         (__libc_pvalloc): Likewise.
20390         (__libc_calloc): Likewise.
20392 2012-09-05  John Tobey  <john.tobey@gmail.com>
20394         [BZ #13542]
20395         * manual/arith.texi (Operations on Complex): Fix description
20396         of carg branch cut.
20398 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20400         [BZ #10014]
20401         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20402         host name.
20404         [BZ #10038]
20405         * manual/memory.texi (Memory): Make order of menu items match
20406         order of sections.
20408 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20410         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20411         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20412         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20414 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20416         * csu/libc-tls.c (static_dtv): Renamed to ...
20417         (_dl_static_dtv): This.  Make it global.
20418         (_dl_initial_dtv): Removed.
20419         (__libc_setup_tls): Updated.
20420         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20421         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20422         DL_INITIAL_DTV.
20424 2012-09-06  Petr Machata  <pmachata@redhat.com>
20426         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20427         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20428         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20429         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20431 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20433         [BZ #14545]
20434         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20435         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20436         freeing dtv[-1].
20438 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20440         [BZ #14544]
20441         * Makeconfig (link-static-before-libc): Replace $(+prector)
20442         with $(+prectorT).
20443         (link-static-after-libc): Replace $(+postctor) with
20444         $(+postctorT).
20445         (link-bounded): Replace $(+prector)/$(+postctor) with
20446         $(+prectorT)/$(+postctorT).
20447         (+prectorT): New macro.
20448         (+postctorT): Likewise.
20450 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20452         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20453         (round_str): Handle values above the maximum for IBM long double
20454         as inexact.
20455         * stdlib/tst-strtod-round.c (tests): Regenerated.
20457 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20459         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20460         assembler flag.
20461         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20462         zarch_nohighgprs around the zarch optimized routines.
20463         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20464         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20465         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20466         for zarch.
20468 2012-09-05  David S. Miller  <davem@davemloft.net>
20470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20472         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20473         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20474         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20475         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20476         entries.
20478 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20480         * malloc/arena.c: Fold copyright years.
20481         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20483 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20485         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20487 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20489         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20491 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20493         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20494         change internal state upon failure.
20496 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20498         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20499         * malloc/memusage.c (mmap): Likewise.
20500         (mmap64, mremap): Likewise.  Adjust name in comment.
20502 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20504         * libio/fileops.c: Fix typos in comments.
20505         * libio/oldfileops.c: Likewise.
20506         * libio/wfileops.c: Likewise.
20508 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20510         [BZ #1349]
20511         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20512         (tst-malloc-usable-ENV): Set environment for test case.
20513         * malloc/hooks.c (malloc_check_get_size): New function to get
20514         requested size.
20515         * malloc/malloc.c (musable): Use malloc_check_get_size.
20516         * malloc/tst-malloc-usable.c: New test case.
20518 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20520         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20522 2012-09-05  Allan McRae  <allan@archlinux.org>
20524         [BZ #13966]
20525         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20526         determine header location.
20527         * configure: Regenerated.
20529 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20531         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20532         float format.
20533         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20534         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20535         format.
20536         (test): Regenerate.
20538 2012-09-04  David S. Miller  <davem@davemloft.net>
20540         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20541         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20542         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20544 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20546         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20547         failures.
20549         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20551 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20553         [BZ #9914]
20554         * libio/iogetdelim.c: Include <limits.h>.
20555         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20556         + len + 1 would overflow.
20558 2012-09-03  Andreas Jaeger  <aj@suse.de>
20560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20561         * sysdeps/i386/fpu/libm-test-ulps: Update.
20563 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20565         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20566         Add s_sinf-sse2, s_conf-sse2.
20568         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20569         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20570         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20571         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20573         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20574         for using routine as __sinf_ia32.
20575         Use macro for function declaration and weak_alias.
20576         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20577         for using routine as __cosf_ia32.
20578         Use macro for function declaration and weak_alias.
20580         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20581         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20583         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20584         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20587         * math/libm-test.inc (cos_test): Add more test cases.
20588         (sin_test): Likewise.
20589         (sincos_test): Likewise.
20591 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20593         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20594         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20595         hidden.
20596         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20598 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20600         [BZ #14538]
20601         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20602         first element of the GOT.
20603         (elf_machine_load_address): Return the difference between
20604         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20606 2012-09-01  Allan McRae  <allan@archlinux.org>
20608         [BZ #13412]
20609         * configure.in (AWK): Require gawk version 3.0 or later.
20610         * configure: Regenerated.
20612 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20614         * sysdeps/unix/sysv/linux/kernel-features.h
20615         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20616         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20617         [__NR_clock_getres]: Make code unconditional.
20618         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20619         (clock_getcpuclockid): Remove code left unreachable by removal of
20620         conditionals.
20621         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20622         code unconditional.
20623         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20624         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20625         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20626         Make code unconditional.
20627         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20628         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20629         * sysdeps/unix/sysv/linux/clock_settime.c
20630         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20631         conditional code.
20632         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20633         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20635 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20637         [BZ #14476]
20638         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20639         scripts/test-installation.pl.
20641         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20642         and $ld_so_version if it is set.
20644 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20646         [BZ #14516]
20647         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20648         failure if reading from procfs failed.
20649         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20651 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20653         * sysdeps/unix/sysv/linux/kernel-features.h
20654         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20655         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20656         Remove conditional code.
20657         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20658         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20659         Remove conditional code.
20660         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20661         * sysdeps/unix/sysv/linux/i386/fxstat.c
20662         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20663         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20664         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20665         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20666         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20667         * sysdeps/unix/sysv/linux/i386/lxstat.c
20668         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20669         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20670         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20671         Remove conditional code.
20672         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20673         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20674         Remove conditional code.
20675         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20676         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20677         <kernel-features.h>.
20678         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20679         Remove.
20680         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20681         Remove conditional code.
20682         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20683         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20684         Remove conditional.
20686 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20688         [BZ #5400]
20689         * NEWS: Add fixed bug number.
20691 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20693         [BZ #14519]
20694         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20695         underflowing exponent in case of negative sign.
20696         * stdlib/tst-strtod-round-data: Add more tests.
20697         * stdlib/tst-strtod-round.c (tests): Regenerated.
20699         [BZ #3479]
20700         * stdlib/strtod_l.c (NDIG): Remove.
20701         (HEXNDIG): Likewise.
20702         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20703         smallest representable value.
20704         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20705         lie within an exact representation of 1/2 ulp of the result.
20706         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20707         unconditionally.
20708         (TENS_P9_IDX): Define unconditionally.
20709         (TENS_P9_SIZE): Likewise.
20710         (TENS_P10_IDX): Likewise.
20711         (TENS_P10_SIZE): Likewise.
20712         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20713         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20714         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20715         entries for 10^2^13 and 10^2^14.
20716         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20717         (TENS_P13_IDX): Define.
20718         (TENS_P13_SIZE): Likewise.
20719         (TENS_P14_IDX): Likewise.
20720         (TENS_P14_SIZE): Likewise.
20721         (_fpioconst_pow10): Change array size to
20722         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20723         unconditional.
20724         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20725         1024]: Add entries for 10^2^13 and 10^2^14.
20726         [LAST_POW10 > _LAST_POW10]: Remove #error.
20727         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20728         (_fpioconst_pow10): Change array size to
20729         FPIOCONST_POW10_ARRAY_SIZE.
20730         * stdlib/gen-fpioconst.c: New file.
20731         * stdlib/gen-tst-strtod-round.c: Likewise.
20732         * stdlib/tst-strtod-round-data: Likewise.
20733         * stdlib/tst-strtod-round.c: Likewise.
20734         * stdlib/Makefile (tests): Add tst-strtod-round.
20736         [BZ #14459]
20737         * stdlib/strtod_l.c: Include <stdint.h>.
20738         (NDEBUG): Do not define.
20739         (round_and_return): Change EXPONENT parameter to type intmax_t.
20740         Rearrange calculations to avoid internal overflow possibilities.
20741         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20742         Rearrange calculations to avoid internal overflow possibilities.
20743         Assert that number fits inside MPNSIZE limbs.
20744         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20745         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20746         calculations and add assertions to avoid internal overflow
20747         possibilities.  Add casts to avoid signed/unsigned operations.
20748         * stdlib/tst-strtod-overflow.c: New file.
20749         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20751 2012-08-25  Marek Polacek  <polacek@redhat.com>
20753         * time/time.h: Fix some typos in comments.
20755 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20757         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20758         * posix/tst-rfc3484-2.c: Likewise.
20759         * posix/tst-rfc3484-3.c: Likewise.
20761 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20763         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20764         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20766 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20768         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20769         #include of fxstatat64.c.
20771 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20773         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20774         * shadow/getspent_r.c: Likewise.
20775         * shadow/getspnam.c: Likewise.
20776         * shadow/getspnam_r.c: Likewise.
20777         * gshadow/getsgent.c: Likewise.
20778         * gshadow/getsgent_r.c: Likewise.
20779         * gshadow/getsgnam.c: Likewise.
20780         * gshadow/getsgnam_r.c: Likewise.
20781         * inet/getnetbyad.c: Likewise.
20782         * inet/getnetbyad_r.c: Likewise.
20783         * inet/getnetbynm.c: Likewise.
20784         * inet/getnetbynm_r.c: Likewise.
20785         * inet/getnetent.c: Likewise.
20786         * inet/getnetent_r.c: Likewise.
20787         * inet/getproto.c: Likewise.
20788         * inet/getproto_r.c: Likewise.
20789         * inet/getprtent.c: Likewise.
20790         * inet/getprtent_r.c: Likewise.
20791         * inet/getprtname.c: Likewise.
20792         * inet/getprtname_r.c: Likewise.
20793         * inet/getrpcbyname.c: Likewise.
20794         * inet/getrpcbyname_r.c: Likewise.
20795         * inet/getrpcbynumber.c: Likewise.
20796         * inet/getrpcbynumber_r.c: Likewise.
20797         * inet/getrpcent.c: Likewise.
20798         * inet/getrpcent_r.c: Likewise.
20799         * inet/getaliasent.c: Likewise.
20800         * inet/getaliasent_r.c: Likewise.
20801         * inet/getaliasname.c: Likewise.
20802         * inet/getaliasname_r.c: Likewise.
20803         * nscd/getgrgid_r.c: Likewise.
20804         * nscd/getgrnam_r.c: Likewise.
20805         * nscd/gethstbyad_r.c: Likewise.
20806         * nscd/gethstbynm3_r.c: Likewise.
20807         * nscd/getpwnam_r.c: Likewise.
20808         * nscd/getpwuid_r.c: Likewise.
20809         * nscd/getsrvbynm_r.c: Likewise.
20810         * nscd/getsrvbypt_r.c: Likewise.
20811         * nscd/gai.c: Likewise.
20813         * configure.in (build_nscd): New substituted variable, set
20814         by --disable-build-nscd and defaults to $use_nscd.
20815         * configure: Regenerated.
20816         * config.make.in (build-nscd): New substituted variable.
20817         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20818         Change conditional to require [$(build-nscd) = yes] as well.
20819         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20821         [BZ# 13696]
20822         * configure.in (use_nscd): New substituted variable, set by
20823         --disable-nscd.  If enabled, define USE_NSCD.
20824         * configure: Regenerated.
20825         * config.h.in: Add USE_NSCD.
20826         * config.make.in (use-nscd): New substituted variable.
20827         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20828         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20829         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20830         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20831         (CFLAGS-getgrnam_r.c): Likewise.
20832         (CFLAGS-initgroups.c): Likewise.
20833         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20834         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20835         Variables removed.
20836         * inet/getnetgrent_r.c
20837         (nscd_setnetgrent): New function, broken out of ...
20838         (setnetgrent): ... here.  Call it.
20839         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20840         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20841         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20842         * nscd/Makefile (routines, aux): Move definitions after include of
20843         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20844         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20845         Conditionalize on [USE_NSCD].
20846         (is_nscd, nscd_init_cb): Likewise.
20847         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20848         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20849         * nss/nss_db/db-init.c: Likewise.
20850         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20851         [USE_NSCD].
20852         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20853         (make_request): Use it.
20854         (cache_valid_p): New function.
20855         (__check_pf): Use it.
20856         * NEWS: Add item for --disable-nscd.
20858 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20860         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20861         to support sed >= 4.2.1-20-ga9bf076.
20862         * configure: Regenerated.
20864 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20866         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20867         Conditionalize whole body on [IREL].
20869 2012-08-22  Jeff Law <law@redhat.com>
20871         [BZ #14505]
20872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20873         if the family is PF_UNSPEC.
20875 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20877         * Makerules (lib-version): Rename from V.
20878         (install-lib-nosubdir): Change V to lib-version.
20880 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20882         [BZ #14252]
20883         * powerpc32/power6/wcschr.c: New file.
20884         * powerpc32/power6/wcscpy.c: New file.
20885         * powerpc32/power6/wcsrchr.c: New file.
20886         * powerpc64/power6/wcschr.c: New file.
20887         * powerpc64/power6/wcscpy.c: New file.
20888         * powerpc64/power6/wcsrchr.c: New file.
20890 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20892         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20893         (two_way_short_needle): Use it.
20894         * string/strstr.c (AVAILABLE1_USES_J): Define.
20895         * string/strcasestr.c: Likewise.
20897         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20898         array references.
20899         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20901         [BZ #11607]
20902         * NEWS: Add an entry.
20903         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20904         define their defaults.
20905         (two_way_short_needle): Detect end-of-string on-the-fly.
20906         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20907         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20908         * string/bug-strcasestr1.c: New test.
20909         * string/Makefile: Run it.
20911 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20913         [BZ #11607]
20914         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20915         the first character.
20917 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20919         * csu/elf-init.c (__libc_csu_irel): Function removed.
20920         * csu/libc-start.c (apply_irel): New function.
20921         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20923 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20925         * sysdeps/unix/sysv/linux/kernel-features.h
20926         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20927         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20928         <kernel-features.h>.
20929         [__NR_fadvise64_64]: Make code unconditional.
20930         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20931         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20932         !__NR_fadvise64_64)]: Likewise.
20933         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20934         !__NR_fadvise64_64))]: Likewise.
20935         [__NR_fadvise64]: Make code unconditional.
20936         [!__NR_fadvise64]: Remove conditional code.
20937         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20938         <kernel-features.h>.
20939         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20940         unconditional.
20941         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20942         conditional code.
20943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20944         not include <kernel-features.h>.
20945         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20946         unconditional.
20947         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20948         conditional code.
20949         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20950         include <kernel-features.h>.
20951         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20952         unconditional.
20953         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20954         conditional code.
20956 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20958         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20959         slight instruction rearrangements per scrollpipe analysis.
20960         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20962 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20964         * manual/syslog.texi (syslog; vsyslog, closelog):
20965         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20966         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20968         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20969         DSOCAPS to match condition on defining it.
20971 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20973         * sysdeps/unix/sysv/linux/kernel-features.h
20974         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20976         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20977         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20979         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20980         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20982         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20983         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20985         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20986         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20988         * sysdeps/unix/sysv/linux/kernel-features.h
20989         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20990         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20991         unconditional.
20992         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20993         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20994         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20995         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20996         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20997         Make code unconditional.
20998         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20999         (__mmap64) [!__NR_mmap2]: Likewise.
21000         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21001         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21002         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21003         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21004         [__NR_mmap2]: Make code unconditional.
21005         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21006         (__mmap64) [!__NR_mmap2]: Likewise.
21008 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21010         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21012 2012-08-18  Andreas Jaeger  <aj@suse.de>
21014         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21016 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21018         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21019         * include/unistd.h (__have_sock_cloexec): Likewise.
21020         (__have_pipe2): Likewise.
21021         (__have_dup3): Likewise.
21023 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21025         [BZ #9685]
21026         * include/unistd.h (__have_pipe2): Change define into an extern int.
21027         (__have_dup3): Likewise.
21028         * socket/have_sock_cloexec.c: Include fcntl.h.
21029         (__have_pipe2): New variable.
21030         (__have_dup3): Likewise.
21032 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
21034         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21036 2012-08-17  Marek Polacek  <polacek@redhat.com>
21038         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21039         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21041 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21043         * configure.in: Add AC_SUBST for sysheaders.
21044         * configure: Regenerated.
21045         * config.make.in (sysheaders): New substituted variable.
21047         * sysdeps/unix/mkfifo.c: Moved ...
21048         * sysdeps/posix/mkfifo.c: ... here.
21049         * sysdeps/unix/mkfifoat.c: Moved ...
21050         * sysdeps/posix/mkfifoat.c: ... here.
21052         * sysdeps/unix/utime.c: Moved ...
21053         * sysdeps/posix/utime.c: ... here.
21055         * sysdeps/unix/time.c: Moved ...
21056         * sysdeps/posix/time.c: ... here.
21057         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21058         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21060         * sysdeps/unix/nice.c: Moved ...
21061         * sysdeps/posix/nice.c: ... here.
21063         * sysdeps/unix/alarm.c: Moved ...
21064         * sysdeps/posix/alarm.c: ... here.
21066         * intl/Makefile ($(codeset_mo)): Depend on the input file.
21068 2012-08-17  Jeff Law <law@redhat.com>
21070         * intl/Makefile (codeset_mo): New variable.
21071         ($(codeset_mo)): New target.
21072         (tst-codeset.out): Depend on that.  Remove explicit rule.
21073         (tst-gettext3.out, tst-gettext5.out): Likewise.
21074         (LOCPATH-ENV, tst-codeset-ENV): New variables.
21075         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21076         * intl/tst-codeset.sh: Remove.
21077         * intl/tst-gettext3.sh: Likewise.
21078         * intl/tst-gettext5.sh: Likewise.
21080 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21082         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
21083         * sysdeps/unix/syscalls.list: ... here.
21085         * sysdeps/posix/getaddrinfo.c
21086         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21087         (gaiconf_init, gaiconf_reload): Use them.
21088         [!_STATBUF_ST_NSEC]
21089         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21090         Define using time_t rather than struct timespec.
21092         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21093         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21094         Macros removed.
21095         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21096         [!NO_THREADS].
21097         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21098         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21099         Likewise.
21101         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21102         __libc_cleanup_push argument.
21104         * bits/param.h: New file.
21105         * misc/sys/param.h: New file.
21106         * include/sys/param.h: New file.
21107         * misc/Makefile (headers): Add bits/param.h.
21108         * sysdeps/generic/sys/param.h: File removed.
21109         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21110         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21111         * sysdeps/mach/hurd/bits/param.h: New file.
21112         * sysdeps/mach/hurd/sys/param.h: File removed.
21114         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21115         last change.
21117         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21118         [_IO_MTSAFE_IO].
21119         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21120         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21121         New macros.
21123         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21124         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21125         rather than -D_IO_MTSAFE_IO conditionally.
21126         * stdio-common/Makefile (CPPFLAGS): Likewise.
21127         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21128         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21129         Use $(libio-mtsafe).
21130         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21131         of -D_IO_MTSAFE_IO.
21132         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21133         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21134         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21135         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21136         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21137         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21138         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21139         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21140         (CFLAGS-fread_u_chk.c): Likewise.
21141         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21142         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21143         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21144         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21145         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21146         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21147         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21148         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21149         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21151         * libio/Makefile: Test [$(libc-reentrant) = yes]
21152         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21154         * Makeconfig
21155         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21156         * sysdeps/pthread/configure: File removed.
21157         * sysdeps/pthread/Makeconfig: New file.
21158         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21159         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21161 2012-08-16  Gary Benson  <gbenson@redhat.com>
21163         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21164         unmapping the first object in a namespace.
21166 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21168         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21169         (__internal_setnetgrent): ... this.  Add internal_function to
21170         definition.  Add libc_hidden_def.
21171         (setnetgrent): Update caller.
21172         (internal_endnetgrent): Renamed to ...
21173         (__internal_endnetgrent): ... this.  Add internal_function to
21174         definition.  Add libc_hidden_def.
21175         (endnetgrent): Update caller.
21176         (internal_getnetgrent_r): Renamed to ...
21177         (__internal_getnetgrent_r): ... this.  Add internal_function to
21178         definition.  Add libc_hidden_def.
21179         (__getnetgrent_r): Update caller.
21180         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21182 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21184         * stdlib/longlong.h: Update from GCC.
21186 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21188         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21189         on _QL, which is set by umul_ppmm but never used.
21190         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21191         variables, which are set by GMP macros but never used.
21192         * stdio-common/_itowa.c (_itowa): Likewise.
21193         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21194         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21196 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21198         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21199         struct La_sh_regs is not constant.
21200         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21201         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21202         and struct La_sparc64_regs are not constant.
21204 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21206         * sysdeps/unix/sysv/linux/kernel-features.h
21207         (__ASSUME_POSIX_TIMERS): Remove.
21208         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21209         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21210         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21211         Make code unconditional.
21212         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21213         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21214         Make code unconditional.
21215         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21216         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21217         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21218         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21219         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21220         Make code unconditional.
21221         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21222         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21223         (__libc_missing_posix_timers): Remove.
21225 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21227         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21228         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21230         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21232         * elf/dl-sym.c: Include <stdlib.h>.
21234         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21235         constants, which avoids warnings in 32-bit builds.
21237         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21238         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21240         * misc/lseek.c: File moved to ...
21241         * io/lseek.c: ... here.
21243         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21245         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21246         shifting LEN more than 31 bits at once.
21248 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21250         [BZ #14195]
21251         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21252         segmentation fault for a case of two empty input strings.
21253         * string/test-strncasecmp.c (check1): Renamed to...
21254         (bz12205): ...this.
21255         (bz14195): Add new testcase for two empty input strings and N > 0.
21256         (test_main): Call new testcase, adapt for renamed function.
21258 2012-08-15  Andreas Jaeger  <aj@suse.de>
21260         [BZ #14090]
21261         * crypt/md5test2.c: New test, based on test supplied by Serge
21262         Belyshev <belyshev@depni.sinp.msu.ru>.
21263         * crypt/Makefile (xtests): Add md5test-giant..
21264         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21266 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21268         [BZ #14090]
21269         * crypt/md5.c (md5_process_block): Don't assume the buffer
21270         length is less than 2**32.
21271         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21272         length is less than 2**64.
21274 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21276         * string/str-two-way.h: Include <sys/param.h>.
21277         (MAX): Macro removed.
21279         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21280         Move #define and #undef of memmove to just before and after
21281         including <string.h>.
21283         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21284         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21285         and after including <string.h>.  Move declarations of
21286         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21287         to before #include "string/memmove.c".
21289         * include/dirent.h: Declare __getdirentries.
21291         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21292         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21294 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21296         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21297         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21298         * sysdeps/i386/configure: Regenerated.
21299         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21300         STABS_CURRENT_FILE, and STABS_FUN.
21301         (END): Remove call to STABS_FUN_END.
21302         (STABS_CURRENT_FILE1): Delete.
21303         (STABS_CURRENT_FILE): Likewise.
21304         (STABS_FUN): Likewise.
21305         (STABS_FUN_END): Likewise.
21306         (STABS_FUN2): Likewise.
21307         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21308         * sysdeps/x86_64/configure: Regenerated.
21310 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21312         * elf/dl-open.c: Include <atomic.h>.
21313         * elf/dl-lookup.c: Likewise.
21315 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21317         * sysdeps/unix/sysv/linux/kernel-features.h
21318         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21319         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21320         unconditionally.
21321         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21322         unconditionally.
21323         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21324         condition on __ASSUME_CLONE_THREAD_FLAGS.
21326 2012-08-14  Andreas Jaeger  <aj@suse.de>
21328         * sysdeps/i386/fpu/libm-test-ulps: Update.
21330 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21332         * include/atomic.h (atomic_exchange_and_add): Split into ...
21333         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21334         New atomic macros.
21336 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
21338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21340 2012-08-13  Jeff Law <law@redhat.com>
21342         * manual/stdio.texi (snprintf): Clarify handling of the trailing
21343         null byte in the output string.
21345 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
21347         * sysdeps/unix/sysv/linux/kernel-features.h
21348         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21349         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21350         (__ASSUME_ARG_MAX_STACK_BASED): Define.
21351         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21352         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21353         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
21354         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21356 2012-08-09  Jeff Law <law@redhat.com>
21358         [BZ #13939]
21359         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21360         When avoid_arena is set, don't retry in the that arena.  Pick the
21361         next one, whatever it might be.
21362         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21363         (arena_lock): Pass in new parameter to arena_get2.
21364         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21365         arena_get2.
21366         (__libc_malloc): Unify retrying after main arena failure with
21367         __libc_memalign version.
21368         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21370 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21372         [BZ #14166]
21373         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21374         to __redirect_strstr.
21375         (__strstr_sse42): Use typeof __redirect_strstr.
21376         (__strstr_ia32): Likewise.
21377         (__libc_strstr): New prototype.
21378         (strstr): Renamed to ...
21379         (__libc_strstr): This.
21380         (strstr): New strong alias of __libc_strstr.
21381         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21382         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21383         __redirect_time.
21384         Include <time.h>.
21385         (__libc_time): New prototype.
21386         (time_ifunc): Replace time with __libc_time.
21387         (time): New strong alias and hidden definition of __libc_time.
21388         (__GI_time): Remove strong alias.
21389         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21390         Include <stddef.h>.
21391         (memmove): Redefined to __redirect_memmove.
21392         (__memmove_sse2): Use typeof __redirect_memmove.
21393         (__memmove_ssse3): Likewise.
21394         (__memmove_ssse3_back): Likewise.
21395         (__libc_memmove): New prototype.
21396         (memmove): Renamed to ...
21397         (__libc_memmove): This.
21398         (memmove): New strong alias of __libc_memmove.
21400 2012-08-08  Mark Salter  <msalter@redhat.com>
21402         * elf/elf.h
21403         (R_MN10300_TLS_GD): Define.
21404         (R_MN10300_TLS_LD): Likewise.
21405         (R_MN10300_TLS_LDO): Likewise.
21406         (R_MN10300_TLS_GOTIE): Likewise.
21407         (R_MN10300_TLS_IE): Likewise.
21408         (R_MN10300_TLS_LE): Likewise.
21409         (R_MN10300_TLS_DTPMOD): Likewise.
21410         (R_MN10300_TLS_DTPOFF): Likewise.
21411         (R_MN10300_TLS_TPOFF): Likewise.
21412         (R_MN10300_SYM_DIFF): Likewise.
21413         (R_MN10300_ALIGN): Likewise.
21414         (R_MN10300_NUM): Update.
21416 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21419         Remove.
21421 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21423         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21425         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21426         sysdeps/unix -> sysdeps/posix move.
21427         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21429 2012-08-07      Allan McRae     <allan@archlinux.org>
21431         [BZ #14303]
21432         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21433         (SUNOS_CPP): Likewise.
21434         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21435         not found.
21436         (open_input): Call CPP using execvp.
21438 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21440         * sysdeps/unix/sysv/linux/kernel-features.h
21441         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21442         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21443         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21444         (__ASSUME_WAITID_SYSCALL): Likewise.
21445         * sysdeps/unix/sysv/linux/dl-execstack.c
21446         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21447         code unconditional.
21448         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21449         conditional code.
21450         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21451         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21452         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21453         code.
21454         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21455         unconditional.
21456         [__ASSUME_WAITID_SYSCALL]: Likewise.
21457         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21459 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21461         * sysdeps/unix/closedir.c: Renamed to ...
21462         * sysdeps/posix/closedir.c: ... here.
21463         * sysdeps/unix/dirfd.c: Renamed to ...
21464         * sysdeps/posix/dirfd.c: ... here.
21465         * sysdeps/unix/dirstream.h: Renamed to ...
21466         * sysdeps/posix/dirstream.h: ... here.
21467         * sysdeps/unix/fdopendir.c: Renamed to ...
21468         * sysdeps/posix/fdopendir.c: ... here.
21469         * sysdeps/unix/opendir.c: Renamed to ...
21470         * sysdeps/posix/opendir.c: ... here.
21471         * sysdeps/unix/readdir.c: Renamed to ...
21472         * sysdeps/posix/readdir.c: ... here.
21473         * sysdeps/unix/readdir_r.c: Renamed to ...
21474         * sysdeps/posix/readdir_r.c: ... here.
21475         * sysdeps/unix/rewinddir.c: Renamed to ...
21476         * sysdeps/posix/rewinddir.c: ... here.
21477         * sysdeps/unix/seekdir.c: Renamed to ...
21478         * sysdeps/posix/seekdir.c: ... here.
21479         * sysdeps/unix/telldir.c: Renamed to ...
21480         * sysdeps/posix/telldir.c: ... here.
21481         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21482         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21483         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21484         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21486         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21487         * bits/fcntl.h: ... here.
21489         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21490         not 0.
21491         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21492         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21493         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21494         (struct flock): Move l_start, l_len to the beginning.
21495         Use __pid_t for l_pid.
21496         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21497         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21498         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21499         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21500         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21501         [__USE_LARGEFILE64] (struct flock64): New type.
21502         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21504         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21505         * bits/dirent.h: ... here.
21507         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21508         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21510 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21512         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21513         Change from 2.6.0 to 2.6.16.
21514         * sysdeps/unix/sysv/linux/configure: Regenerated.
21515         * sysdeps/unix/sysv/linux/kernel-features.h
21516         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21517         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21518         version.
21519         (__ASSUME_UTIMES): Likewise.
21520         (__ASSUME_CLONE_STOPPED): Remove.
21521         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21522         architectures, not kernel version.
21523         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21524         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21525         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21526         (__ASSUME_WAITID_SYSCALL): Likewise.
21527         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21528         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21529         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21530         refer to older versions.
21532 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21534         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21535         Define alphasort64 as an alias.
21536         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21537         Define versionsort64 as an alias.
21538         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21539         Define scandir64 as an alias.
21540         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21541         Define scandirat64 as an alias.
21542         * dirent/alphasort64.c (alphasort64):
21543         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21544         * dirent/versionsort64.c: Likewise.
21545         * dirent/scandir64.c: Likewise.
21546         * dirent/scandirat64.c: Likewise.
21547         * sysdeps/wordsize-64/alphasort.c: File removed.
21548         * sysdeps/wordsize-64/alphasort64.c: File removed.
21549         * sysdeps/wordsize-64/scandir.c: File removed.
21550         * sysdeps/wordsize-64/scandir64.c: File removed.
21551         * sysdeps/wordsize-64/scandirat.c: File removed.
21552         * sysdeps/wordsize-64/scandirat64.c: File removed.
21553         * sysdeps/wordsize-64/versionsort.c: File removed.
21554         * sysdeps/wordsize-64/versionsort64.c: File removed.
21555         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21556         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21557         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21558         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21559         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21560         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21561         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21562         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21564         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21566         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21567         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21568         [defined __arch64__ || defined __sparcv9]
21569         (__INO_T_MATCHES_INO64_T): New macro.
21570         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21571         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21572         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21573         * sysdeps/unix/sysv/linux/bits/dirent.h
21574         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21575         (_DIRENT_MATCHES_DIRENT64): New macro.
21577         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21578         Define lockf64 as an alias.
21579         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21580         Define fseeko64 as an alias.
21581         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21582         Define ftello64 as an alias.
21583         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21584         Define _IO_fgetpos64 and fgetpos64 as aliases.
21585         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21586         Define _IO_fsetpos64 and fsetpos64 as aliases.
21587         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21588         Conditionalize body on this.
21589         * libio/fseeko64.c: Likewise.
21590         * libio/ftello64.c: Likewise.
21591         * libio/iofgetpos64.c: Likewise.
21592         * libio/iofsetpos64.c: Likewise.
21593         * sysdeps/wordsize-64/lockf.c: File removed.
21594         * sysdeps/wordsize-64/lockf64.c: File removed.
21595         * sysdeps/wordsize-64/fseeko.c: File removed.
21596         * sysdeps/wordsize-64/fseeko64.c: File removed.
21597         * sysdeps/wordsize-64/ftello.c: File removed.
21598         * sysdeps/wordsize-64/ftello64.c: File removed.
21599         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21600         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21601         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21602         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21603         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21604         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21605         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21606         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21607         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21608         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21609         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21610         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21611         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21612         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21614         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21615         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21616         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21617         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21618         [defined __arch64__ || defined __sparcv9]
21619         (__OFF_T_MATCHES_OFF64_T): New macro.
21620         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21621         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21623         (__OFF_T_MATCHES_OFF64_T): New macro.
21625 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21627         * stdlib/secure-getenv.c (__secure_getenv): Replace
21628         GLIBC_2_16 with GLIBC_2_17.
21630 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21632         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21633         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21635 2012-08-03  David S. Miller  <davem@davemloft.net>
21637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21639 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21641         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21642         Remove.
21643         (__ASSUME_CORRECT_SI_PID): Likewise.
21644         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21645         (__ASSUME_TMPFS_NAME): Likewise.
21646         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21647         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21648         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21649         (HAVE_AUX_SECURE): Make definition unconditional.
21650         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21651         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21653 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21655         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21656         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21657         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21658         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21659         __eloop_threshold instead of SYMLOOP_MAX.
21661         * sysdeps/generic/eloop-threshold.h: New file.
21662         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21663         of MAXSYMLINKS.
21664         * elf/chroot_canon.c (chroot_canon): Likewise.
21666 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21668         [BZ #13717]
21669         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21670         Change to 2.6.0 everywhere.
21671         * sysdeps/unix/sysv/linux/configure: Regenerated.
21672         * sysdeps/unix/sysv/linux/kernel-features.h
21673         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21674         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21675         kernel versions.
21676         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21677         (__ASSUME_FUTEX_REQUEUE): Remove.
21678         (__ASSUME_STATFS64): Define unconditionally.
21679         (__ASSUME_AT_SECURE): Likewise.
21680         (__ASSUME_CORRECT_SI_PID): Likewise.
21681         (__ASSUME_TGKILL): Define without depending on kernel version for
21682         i386.
21683         (__ASSUME_UTIMES): Likewise.
21684         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21685         kernel version.
21686         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21687         (__ASSUME_TMPFS_NAME): Likewise.
21688         * README: Update reference to Linux kernel versions.
21690 2012-08-02  Marek Polacek  <polacek@redhat.com>
21692         [BZ# 14150]
21693         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21694         libc_cv_asm_type_prefix with %.
21695         * configure: Regenerated.
21696         * include/libc-symbols.h: Remove comment about
21697         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21698         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21699         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21700         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21701         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21702         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21703         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21704         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21705         * elf/tst-unique2mod1.c: Likewise.
21706         * elf/tst-unique1mod2.c: Likewise.
21707         * elf/tst-unique1mod1.c: Likewise.
21708         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21709         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21710         Replace ASM_TYPE_DIRECTIVE with .type.
21711         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21712         * sysdeps/i386/sysdep.h: Likewise.
21713         * sysdeps/x86_64/sysdep.h: Likewise.
21714         * sysdeps/sh/sysdep.h: Likewise.
21715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21716         Do not define ASM_TYPE_DIRECTIVE.
21717         * sysdeps/powerpc/sysdep.h: Likewise.
21718         * sysdeps/powerpc/powerpc32/sysdep.h:
21719         Replace ASM_TYPE_DIRECTIVE with .type.
21720         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21721         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21722         * sysdeps/i386/fpu/e_powf.S: Likewise.
21723         * sysdeps/i386/fpu/e_expl.S: Likewise.
21724         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21725         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21726         * sysdeps/i386/fpu/e_pow.S: Likewise.
21727         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21728         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21729         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21730         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21731         * sysdeps/i386/fpu/e_log2.S: Likewise.
21732         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21733         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21734         * sysdeps/i386/fpu/e_powl.S: Likewise.
21735         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21736         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21737         * sysdeps/i386/fpu/e_logl.S: Likewise.
21738         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21739         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21740         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21741         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21742         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21743         * sysdeps/i386/fpu/e_log.S: Likewise.
21744         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21745         * sysdeps/i386/fpu/e_logf.S: Likewise.
21746         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21747         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21748         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21749         * sysdeps/i386/fpu/e_log10.S: Likewise.
21750         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21751         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21752         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21753         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21754         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21755         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21756         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21757         * sysdeps/i386/i686/strtok.S: Likewise.
21758         * sysdeps/i386/i386-mcount.S: Likewise.
21759         * sysdeps/i386/strtok.S: Likewise.
21760         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21761         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21762         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21763         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21764         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21765         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21766         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21767         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21768         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21769         * sysdeps/x86_64/_mcount.S: Likewise.
21770         * sysdeps/x86_64/strtok.S: Likewise.
21771         * sysdeps/sh/_mcount.S: Likewise.
21773 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21775         * libio/iofopen.c: Include <fcntl.h>.
21776         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21777         (_IO_fopen64, fopen64): Define as aliases.
21778         * libio/iofopen64.c: Include <fcntl.h>.
21779         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21780         Conditionalize body on this.
21781         * sysdeps/wordsize-64/iofopen.c: File removed.
21782         * sysdeps/wordsize-64/iofopen64.c: File removed.
21784 2012-08-01  Marek Polacek  <polacek@redhat.com>
21786         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21787         Use dlfcn directly instead of a variable.
21788         (binfmt-subdir): Do not define.
21789         (dlfcn): Likewise.
21791 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21793         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21794         Remove all definitions.
21795         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21796         <kernel-features.h>.
21797         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21798         (miss_F_GETOWN_EX): Remove all definitions.
21799         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21800         macro definition.
21801         [!__ASSUME_FCNTL64]: Remove conditional code.
21802         [__ASSUME_FCNTL64]: Make code unconditional.
21803         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21804         <kernel-features.h>.
21805         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21806         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21807         (lockf64) [__NR_fcntl64]: Make code unconditional.
21808         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21810         * sysdeps/unix/sysv/linux/kernel-features.h
21811         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21812         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21813         Make code unconditional.
21814         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21815         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21817         [__NR_vfork]: Make code unconditional.
21818         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21819         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21821         [__NR_vfork]: Make code unconditional.
21822         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21823         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21825 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21827         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21828         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21830         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21831         Define mkstemp64 as an alias.
21832         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21833         Define mkstemps64 as an alias.
21834         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21835         Define mkostemp64 as an alias.
21836         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21837         Define mkostemps64 as an alias.
21838         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21839         Conditionalize body on this.
21840         * misc/mkostemp64.c: Likewise.
21841         * misc/mkostemps64.c: Likewise.
21842         * misc/mkstemps64.c: Likewise.
21843         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21844         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21845         * sysdeps/wordsize-64/mkostemp.c: File removed.
21846         * sysdeps/wordsize-64/mkstemp.c: File removed.
21847         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21848         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21849         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21850         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21852         [BZ #14138]
21853         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21854         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21855         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21856         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21858         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21859         compat_symbol macros from <shlib-compat.h> rather than the underlying
21860         default_symbol_version and symbol_version macros, so that DEFAULT
21861         lines in shlib-versions are respected.
21862         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21864 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21866         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21867         Declare with warn_unused_result.
21868         (setgid, setregid, setegid, setresgid): Likewise.
21869         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21870         Likewise.
21871         * WUR-REPORT: Remove set*id functions.
21873 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21875         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21877 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21879         [BZ #10191]
21880         * include/sys/socket.h (__libc_accept, __libc_accept4):
21881         Add attribute_hidden.
21882         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21884         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21885         use of PTR_MANGLE.
21886         * inet/getnetgrent_r.c (setup): Likewise.
21888         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21890 2012-07-31  David S. Miller  <davem@davemloft.net>
21892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21894 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21896         [BZ #13629]
21897         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21898         value between 1.0 and 2.0 and smaller part has absolute value less
21899         than 1.0.
21900         * math/s_clog10.c (__clog10): Likewise.
21901         * math/s_clog10f.c (__clog10f): Likewise.
21902         * math/s_clog10l.c (__clog10l): Likewise.
21903         * math/s_clogf.c (__clogf): Likewise.
21904         * math/s_clogl.c (__clogl): Likewise.
21905         * math/libm-test.inc (clog_test): Add more tests.
21906         (clog10_test): Likewise.
21907         * sysdeps/i386/fpu/libm-test-ulps: Update.
21908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21910 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21912         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21913         Exit with zero in case no suitable GID is found, and write a
21914         message to standard error.
21916 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21918         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21919         rather than to 1.
21920         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21921         (MAXPATHLEN): Removed.
21922         (NOGROUP, NODEV): New macros.
21923         (setbit, clrbit, isset, isclr): New macros.
21924         (howmany, roundup, powerof2): New macros.
21925         (DEV_BSIZE): New macro.
21927         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21928         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21930         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21931         definition on [!__NO_LONG_DOUBLE_MATH].
21933         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21934         PTR_MANGLE and PTR_DEMANGLE.
21936         * socket/accept4.c (accept4): Rename to __libc_accept4.
21937         Define accept4 as a weak alias.
21939         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21940         on [_DIRENT_HAVE_D_TYPE].
21941         * io/ftw.c (ftw_dir): Likewise.
21943         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21945         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21947         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21948         Use the BSD numbers rather than the arbitrary ones we had.
21949         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21950         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21951         (SIGXCPU, SIGXFSZ): New macros.
21952         (_NSIG): Now 32.
21954         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21955         initializer on [_LIBC_REENTRANT].
21957         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21958         definitions inside [_POSIX_MAPPED_FILES].
21960         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21962         * dirent/opendir.c: Include <fcntl.h>.
21964         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21965         (__libc_getspecific): Likewise.
21966         (__libc_key_create): Likewise.
21968         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21969         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21970         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21971         (tmpfile64): Define as alias.
21972         * sysdeps/wordsize-64/tmpfile.c: File removed.
21973         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21974         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21975         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21977         * stdio-common/vfscanf.c: Include <stdbool.h>.
21978         * nss/makedb.c: Likewise.
21979         * stdio-common/_i18n_number.h: Likewise.
21980         * argp/argp-help.c: Likewise.
21981         * posix/wordexp.c: Likewise.
21982         * sysdeps/posix/spawni.c: Likewise.
21983         * nss/nss_files/files-initgroups.c: Likewise.
21984         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21985         * nss/nss_files/files-initgroups.c: Likewise.
21986         * nss/nss_db/db-netgrp.c: Likewise.
21987         * nss/nss_db/db-initgroups.c: Likewise.
21988         * io/fchmodat.c: Include <sys/stat.h>.
21990         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21991         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21993         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21994         [HAVE_MMAP].
21996         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21997         Add multiple inclusion protection.
21999 2012-07-27  David S. Miller  <davem@davemloft.net>
22001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22003 2012-07-27  Gary Benson  <gbenson@redhat.com>
22005         [BZ #14298]
22006         * elf/rtld.c: Include <stap-probe.h>.
22007         (dl_main): Added static probes "init_start" and "init_complete".
22008         * elf/dl-load.c: Include <stap-probe.h>.
22009         (lose): Take new parameter "nsid".
22010         Added static probe "map_failed".
22011         (_dl_map_object_from_fd): Pass namespace id to lose.
22012         Added static probe "map_start".
22013         (open_verify): Pass namespace id to lose.
22014         * elf/dl-open.c: Include <stap-probe.h>.
22015         (dl_open_worker) Added static probes "map_complete", "reloc_start"
22016         and "reloc_complete".
22017         * elf/dl-close.c: Include <stap-probe.h>.
22018         (_dl_close_worker): Added static probes "unmap_start" and
22019         "unmap_complete".
22020         * elf/rtld-debugger-interface.txt: New file documenting the above.
22022 2012-07-26  Roland McGrath  <roland@hack.frob.com>
22024         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22025         rather than a string variable.
22026         * sunrpc/rpc_main.c (h_output): Likewise.
22027         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22029 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
22031         * inet/check_native.c: New file.
22033 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
22035         [BZ #13629]
22036         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22037         if larger part has absolute value 1.0.
22038         * math/s_clog10.c (__clog10): Likewise.
22039         * math/s_clog10f.c (__clog10f): Likewise.
22040         * math/s_clog10l.c (__clog10l): Likewise.
22041         * math/s_clogf.c (__clogf): Likewise.
22042         * math/s_clogl.c (__clogl): Likewise.
22043         * math/libm-test.inc (clog_test): Add more tests.
22044         (clog10_test): Likewise.
22045         * sysdeps/i386/fpu/libm-test-ulps: Update.
22046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22048         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22049         (pltexit): Likewise.
22050         (La_regs): Likewise.
22051         (La_retval): Likewise.
22052         (int_retval): Likewise.
22053         Update #error for removed macros to refer only to definitions in
22054         tst-audit.h.
22055         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22056         macro.
22057         (pltexit): Likewise.
22058         (La_regs): Likewise.
22059         (La_retval): Likewise.
22060         (int_retval): Likewise.
22061         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22062         macro.
22063         (pltexit): Likewise.
22064         (La_regs): Likewise.
22065         (La_retval): Likewise.
22066         (int_retval): Likewise.
22067         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22068         macro.
22069         (pltexit): Likewise.
22070         (La_regs): Likewise.
22071         (La_retval): Likewise.
22072         (int_retval): Likewise.
22073         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22074         macro.
22075         (pltexit): Likewise.
22076         (La_regs): Likewise.
22077         (La_retval): Likewise.
22078         (int_retval): Likewise.
22079         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22080         macro.
22081         (pltexit): Likewise.
22082         (La_regs): Likewise.
22083         (La_retval): Likewise.
22084         (int_retval): Likewise.
22085         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22086         macro.
22087         (pltexit): Likewise.
22088         (La_regs): Likewise.
22089         (La_retval): Likewise.
22090         (int_retval): Likewise.
22091         * sysdeps/generic/tst-audit.h: Update comment to refer only to
22092         macro definitions in tst-audit.h.
22093         * sysdeps/i386/tst-audit.h: New file.
22094         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22095         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22096         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22097         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22098         * sysdeps/sh/tst-audit.h: Likewise.
22099         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22100         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22101         * sysdeps/x86_64/tst-audit.h: Likewise.
22103 2012-07-26  Andreas Jaeger  <aj@suse.de>
22105         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22106         ptrace.
22108         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22109         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22110         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22111         PTRACE_O_MASK.
22112         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22113         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22114         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22116         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22117         value.
22119         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22120         _sigsys.
22121         (si_call_addr, si_syscall, si_arch): Define new macro.
22122         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22123         _sigsys.
22124         (si_call_addr, si_syscall, si_arch): Define new marcro.
22125         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22126         _sigsys.
22127         (si_call_addr, si_syscall, si_arch): Define new macro.
22128         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22129         _sigsys.
22130         (si_call_addr, si_syscall, si_arch): Define new macro.
22132 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22134         [BZ #13717]
22135         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22136         Change to 2.4.21 where previously 2.4.1.
22137         * sysdeps/unix/sysv/linux/configure: Regenerated.
22138         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22139         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22140         Linux kernel version.
22141         (__ASSUME_STD_AUXV): Remove.
22142         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22143         kernel version.
22144         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22145         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22146         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22147         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22148         (__ASSUME_NETLINK_SUPPORT): Likewise.
22149         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22150         (__no_netlink_support): Remove conditional definition.
22151         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22152         Remove.
22153         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22154         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22155         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22156         (if_nameindex_ioctl): Remove.
22157         (if_nameindex_netlink): Do not handle __no_netlink_support.
22158         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22159         code.
22160         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22161         Remove conditional code.
22162         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22163         code.
22164         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22165         unconditional.
22166         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22167         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22168         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22169         Remove.
22170         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22171         [!__ASSUME_STD_AUXV]: Remove conditional code.
22172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22173         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22174         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22176         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22177         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22178         code.
22179         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22181         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22182         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22183         conditional code.
22184         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22186         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22187         code.
22188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22189         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22190         conditional code.
22191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22192         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22193         code unconditional.
22194         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22195         conditional code.
22196         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22197         unconditional.
22198         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22199         conditional code.
22200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22201         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22202         unconditional.
22203         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22204         conditional code.
22205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22206         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22207         code unconditional.
22208         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22209         conditional code.
22210         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22211         unconditional.
22212         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22213         conditional code.
22214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22215         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22216         code unconditional.
22217         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22218         conditional code.
22219         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22220         unconditional.
22221         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22222         conditional code.
22224 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22226         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22227         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22228         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22229         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22230         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22231         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22232         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22233         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22234         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22235         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22236         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22237         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22238         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22239         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22240         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22241         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22242         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22243         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22244         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22245         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22246         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22247         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22248         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22250 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22252         * Versions.def: Add GLIBC_2.17.
22253         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22254         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22255         Introduce __libc_secure_getenv.
22256         * stdlib/Versions (2.17): Add secure_getenv
22257         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22258         * stdlib/secure-getenv.c: Rename __secure_getenv to
22259         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22260         symbol __secure_getenv for GLIBC_2.0.
22261         * stdlib/tst-secure-getenv.c: New.
22262         * stdlib/Makefile (tests): Add testcase.
22263         * manual/startup.texi (Environment Access): Document
22264         secure_getenv.
22265         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22266         __libc_secure_getenv.
22267         * inet/ruserpass.c (ruserpass): Likewise.
22268         * malloc/mtrace.c (mtrace): Likewise.
22269         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22270         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22271         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22272         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22273         HAVE_SECURE_GETENV.
22274         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22275         __secure_getenv to __libc_secure_getenv.
22276         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22278         Likewise.
22279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22280         Likewise.
22281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22283         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22289 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22291         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22292         (struct La_i86_retval): Likewise.
22293         (struct La_x86_64_regs): Likewise.
22294         (struct La_x86_64_retval): Likewise.
22295         (struct La_x32_regs): Likewise.
22296         (struct La_x32_retval): Likewise.
22297         (struct La_ppc32_regs): Likewise.
22298         (struct La_ppc32_retval): Likewise.
22299         (struct La_ppc64_regs): Likewise.
22300         (struct La_ppc64_retval): Likewise.
22301         (struct La_sh_regs): Likewise.
22302         (struct La_sh_retval): Likewise.
22303         (struct La_s390_32_regs): Likewise.
22304         (struct La_s390_32_retval): Likewise.
22305         (struct La_s390_64_regs): Likewise.
22306         (struct La_s390_64_retval): Likewise.
22307         (struct La_sparc32_regs): Likewise.
22308         (struct La_sparc32_retval): Likewise.
22309         (struct La_sparc64_regs): Likewise.
22310         (struct La_sparc64_retval): Likewise.
22311         (struct audit_ifaces): Remove architecture-specific pltenter and
22312         pltexit members.
22313         * sysdeps/i386/ldsodefs.h: New file.
22314         * sysdeps/powerpc/ldsodefs.h: Likewise.
22315         * sysdeps/s390/ldsodefs.h: Likewise.
22316         * sysdeps/sh/ldsodefs.h: Likewise.
22317         * sysdeps/sparc/ldsodefs.h: Likewise.
22318         * sysdeps/x86_64/ldsodefs.h: Likewise.
22320 2012-07-25  Marek Polacek  <polacek@redhat.com>
22322         [BZ #6808]
22323         * math/libm-test.inc (yn_test): Add another test.
22324         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22325         to ERANGE when the result is +-Inf.
22326         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22327         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22328         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22329         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22331 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22333         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22334         equal to 0.
22335         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
22336         clock_t.
22337         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
22339 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
22341         * configure.in <sysdeps resolving>: Correct printing
22342         Implies_before.
22343         * configure: Regenerate.
22345 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
22347         * math/w_ilogb.c: Include <limits.h>.
22348         * math/w_ilogbl.c: Likewise.
22350 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22352         * manual/lang.texi (__va_copy): Document primarily as ISO C99
22353         va_copy.  Document allowing for unavailable va_copy only as
22354         pre-C99 compatibility.
22355         * manual/string.texi (Copying and Concatenation): Use va_copy
22356         instead of __va_copy in concat example.
22358 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
22360         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22361         (__sendto): Use create_address_port.  Initialize APORT and deallocate
22362         it if not null.
22364         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22365         with O_NOLINK passed to __file_name_lookup.
22367         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22368         with O_NOLINK passed to __file_name_lookup.
22370         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22371         negative N or less than NGIDS.
22373         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22374         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22375         enough.  Use memcpy instead of strncpy.
22377 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22379         * elf/Makefile (check-data): Remove.
22380         (localplt.data): New vpath directive.
22381         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22382         instead of $(check-data).
22383         * scripts/data/localplt-generic.data: Move to ...
22384         * sysdeps/generic/localplt.data: ... here.
22385         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22386         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22387         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22389         ... here.
22390         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22392         ... here.
22393         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22395         ... here.
22396         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22398         ... here.
22399         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22401         ... here.
22402         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22404         ... here.
22406 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22408         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22409         PPC32 and PPC64 files.
22410         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22411         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22413 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22415         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22416         __makecontext_ret to ...
22417         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22418         ... here and call exit if uc_link is NULL.  New file.
22419         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22420         __makecontext_ret.S.
22421         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22422         __makecontext_ret to ...
22423         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22424         ... here and call exit if uc_link is NULL.  New file.
22425         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22426         __makecontext_ret.S.
22428 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22430         * elf/elf.h (R_390_IRELATIVE): New definition.
22431         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22432         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22433         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22434         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22435         (elf_machine_lazy_rel): Likewise.
22436         * sysdeps/s390/dl-irel.h: New file.
22437         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22438         * sysdeps/s390/s390-64/memset.S: New asm code.
22439         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22440         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22441         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22442         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22443         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22444         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22445         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22446         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22447         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22448         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22449         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22450         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22451         * sysdeps/s390/s390-32/memset.S: New asm code.
22452         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22454 2012-07-17  Marek Polacek  <polacek@redhat.com>
22456         [BZ #14349]
22457         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22458         * sysdeps/s390/s390-64/configure.in: Likewise.
22459         * sysdeps/sparc/configure.in: Likewise.
22460         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22461         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22462         * sysdeps/i386/configure.in: Likewise.
22463         * sysdeps/x86_64/configure.in: Likewise.
22464         * sysdeps/sh/configure.in: Likewise.
22465         * sysdeps/s390/s390-32/configure: Regenerated.
22466         * sysdeps/s390/s390-64/configure: Likewise.
22467         * sysdeps/x86_64/configure: Likewise.
22468         * sysdeps/sh/configure: Likewise.
22469         * sysdeps/powerpc/powerpc64/configure: Likewise.
22470         * sysdeps/powerpc/powerpc32/configure: Likewise.
22471         * sysdeps/sparc/configure: Likwise.
22472         * sysdeps/i386/configure: Likewise.
22474         * elf/dl-open.c: Comment fixes.
22476 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22478         * Makefile [CXX] (check-data): Remove.
22479         [CXX] (c++-types.data): New vpath directive.
22480         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22481         vpath.  Do not allow for C++ type data being missing.
22482         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22483         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22484         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22485         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22486         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22487         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22488         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22490         ... here.
22491         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22493         ... here.
22494         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22496         ... here.
22497         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22499         ... here.
22500         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22502         ... here.
22503         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22505         ... here.
22506         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22508         ... here.
22509         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22512         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22513         definitions to architecture-specific files.
22514         (TLS_IE): Likewise.
22515         (TLS_LD): Likewise.
22516         (TLS_GD): Likewise.
22517         * sysdeps/i386/tls-macros.h: New file.
22518         * sysdeps/powerpc/tls-macros.h: Likewise.
22519         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22520         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22521         * sysdeps/sh/tls-macros.h: Likewise.
22522         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22523         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22524         * sysdeps/x86_64/tls-macros.h: Likewise.
22526 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22528         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22529         zero value for regular exit case.
22531         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22532         (__start_context): Preserve zero value for regular exit case.
22534 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22535             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22537         * manual/setjmp.texi (setcontext): Clarify normal process
22538         termination when uc_link is the null pointer.
22539         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22540         exit call.
22542 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22544         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22545         preprocessor.  Test for each exception mask separately.
22547 2012-07-16  Andreas Jaeger  <aj@suse.de>
22549         * po/ru.po: Update from translation team.
22551 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22553         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22554         equal to 0.
22555         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22556         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22557         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22558         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22559         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22561 2012-07-13  Andreas Jaeger  <aj@suse.de>
22563         * po/fr.po: Update from translation team.
22565 2012-07-12  Marek Polacek  <polacek@redhat.com>
22567         [BZ #14173]
22568         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22569         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22570         loop condition.
22572 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22574         [BZ #13717]
22575         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22576         Change to 2.4.1 where previously 2.4.0.
22577         * sysdeps/unix/sysv/linux/configure: Regenerated.
22578         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22579         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22580         version.
22581         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22582         (__ASSUME_AT_CLKTCK): Remove.
22583         (__ASSUME_AT_PAGESIZE): Likewise.
22584         (__ASSUME_AT_XID): Likewise.
22585         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22586         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22587         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22588         unconditionally.
22589         (HAVE_AUX_PAGESIZE): Likewise.
22590         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22591         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22592         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22594 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22596         [BZ #14307]
22597         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22598         the temporary buffer used to invoke __gethostbyname2_r,
22599         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22600         host_data / struct gaih_addrtuple.
22601         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22602         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22603         header file nss/nsswitch.h.
22604         * nss/nsswitch.h (global scope): Add definition of implementation
22605         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22606         resolv/nss_dns/dns-host.c).
22608 2012-07-11  Andreas Jaeger  <aj@suse.de>
22610         * po/fr.po: Update from translation team.
22612         * po/sv.po: Update from translation team
22613         * po/fr.po: Another update from translation team.
22615 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22617         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22618         for subnormals or multiply small sinh result by itself.
22619         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22622 2012-07-11  David S. Miller  <davem@davemloft.net>
22624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22626 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22628         [BZ #14347]
22629         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22630         (INTERNAL_MARK): Shift it here.
22632 2012-07-10  Marek Polacek  <polacek@redhat.com>
22634         [BZ #14151]
22635         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22636         libc_cv_asm_global_directive with .globl.
22637         * configure: Regenerated.
22638         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22639         with .globl.
22640         * sysdeps/i386/configure: Regenerated.
22641         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22642         with .globl.
22643         * sysdeps/x86_64/configure: Regenerated.
22644         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22645         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22646         * elf/tst-unique2mod2.c: Likewise.
22647         * elf/tst-unique2mod1.c: Likewise.
22648         * elf/tst-unique1mod2.c: Likewise.
22649         * elf/tst-unique1mod1.c: Likewise.
22650         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22651         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22652         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22653         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22654         * sysdeps/mach/sysdep.h: Likewise.
22655         * sysdeps/i386/sysdep.h: Likewise.
22656         * sysdeps/i386/i386-mcount.S: Likewise.
22657         * sysdeps/x86_64/_mcount.S: Likewise.
22658         * sysdeps/x86_64/sysdep.h: Likewise.
22659         * sysdeps/sh/_mcount.S: Likewise.
22660         * sysdeps/sh/sysdep.h: Likewise.
22661         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22662         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22663         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22664         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22665         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22666         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22667         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22668         * locale/localeinfo.h: Likewise.
22669         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22670         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22672 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22674         [BZ #14336]
22675         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22676         system".
22677         * manual/message.texi (The Uniforum approach): Likewise.
22678         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22679         (glibc iconv Implementation): Likewise.
22681 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22683         [BZ #14337]
22684         * math/s_clog.c (__clog): Avoid scaling a value down where that
22685         could result in underflow.
22686         * math/s_clog10.c (__clog10): Likewise.
22687         * math/s_clog10f.c (__clog10f): Likewise.
22688         * math/s_clog10l.c (__clog10l): Likewise.
22689         * math/s_clogf.c (__clogf): Likewise.
22690         * math/s_clogl.c (__clogl): Likewise.
22691         * math/libm-test.inc (clog_test): Add more tests.
22692         (clog10_test): Likewise.
22693         * sysdeps/i386/fpu/libm-test-ulps: Update.
22694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22696 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22698         [BZ #14283]
22699         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22700         by 7 not 8 to examine high bit of fractional part.
22702         [BZ #14042]
22703         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22704         for call to __mcount_internal.
22705         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22706         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22707         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22709 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22711         [BZ #14154]
22712         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22713         approximation for values within 0x1p-13f of an odd multiple of
22714         pi/4.
22715         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22716         exception.  Add more tests.
22717         * sysdeps/i386/fpu/libm-test-ulps: Update.
22719         [BZ #6778]
22720         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22721         inputs and return -1 for them.  Do not check for +Inf in case not
22722         reachable for +Inf.
22723         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22724         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22725         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22726         and return -1 for them.  Do not check for +Inf in case not
22727         reachable for +Inf.
22728         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22729         define.
22730         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22731         and return -1 for them.  Do not check for +Inf in case not
22732         reachable for +Inf.
22733         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22734         spurious underflow.
22735         * sysdeps/i386/fpu/libm-test-ulps: Update.
22736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22738 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22740         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22742 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22744         [BZ #14157]
22745         [BZ #14331]
22746         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22747         could result in spurious underflow.  Scale down values above
22748         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22749         * math/s_csqrtf.c (__csqrtf): Likewise.
22750         * math/s_csqrtl.c (__csqrtl): Likewise.
22751         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22752         spurious underflow.
22753         * sysdeps/i386/fpu/libm-test-ulps: Update.
22754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22756 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22758         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22759         xopen-msg.sed.
22760         * catgets/xopen-msg.awk: New file.
22761         * catgets/xopen-msg.sed: Removed.
22763         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22764         po2text.sed.
22765         * intl/po2test.awk: New file.
22766         * intl/po2test.sed: Removed.
22768 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22770         [BZ #14328]
22771         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22772         or multiply small sinh result by itself.
22773         * math/s_ctanf.c (__ctanf): Likewise.
22774         * math/s_ctanh.c (__ctanh): Likewise.
22775         * math/s_ctanhf.c (__ctanhf): Likewise.
22776         * math/s_ctanhl.c (__ctanhl): Likewise.
22777         * math/s_ctanl.c (__ctanl): Likewise.
22778         * math/libm-test.inc (ctan_test_tonearest): New function.
22779         (ctan_test_towardzero): Likewise.
22780         (ctan_test_downward): Likewise.
22781         (ctan_test_upward): Likewise.
22782         (ctanh_test_tonearest): Likewise.
22783         (ctanh_test_towardzero): Likewise.
22784         (ctanh_test_downward): Likewise.
22785         (ctanh_test_upward): Likewise.
22786         (main): Call these new functions.
22787         * sysdeps/i386/fpu/libm-test-ulps: Update.
22788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22790 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22792         * .gitignore: Delete /ports entry.
22794 2012-07-03  Andreas Jaeger  <aj@suse.de>
22796         * po/bg.po: Update from translation team.
22797         * po/cs.po: Likewise.
22798         * po/de.po: Likewise.
22799         * po/hr.po: Likewise.
22800         * po/nl.pl: Likewise.
22801         * po/pl.po: Likewise.
22802         * po/vi.po: Likewise.
22804 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22806         * Makeconfig [!+link] (+link-before-libc): New variable.
22807         [!+link] (+link-after-libc): Likewise.
22808         [!+link] (+link-tests): Likewise.
22809         [!+link] (+link): Define in terms of $(+link-before-libc) and
22810         $(+link-after-libc).
22811         [!+link-static] (+link-static-before-libc): New variable.
22812         [!+link-static] (+link-static-after-libc): Likewise.
22813         [!+link-static] (+link-static-tests): Likewise.
22814         [!+link-static] (+link-static): Define in terms of
22815         $(+link-static-before-libc) and $(+link-static-after-libc).
22816         [build-shared] (link-libc-before-gnulib): New variable.
22817         [build-shared] (link-libc-tests): Likewise.
22818         [build-shared] (link-libc): Define in terms of
22819         $(link-libc-before-gnulib).
22820         [!build-shared] (link-libc-tests): New variable.
22821         (link-libc-static-tests): New variable.
22822         [!gnulib] (gnulib-arch): New variable.
22823         [!gnulib] (gnulib-tests): Likewise.
22824         [!gnulib] (static-gnulib-arch): Likewise.
22825         [!gnulib] (static-gnulib-tests): Likewise.
22826         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22827         Define with "=" instead of ":=".
22828         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22829         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22830         * Rules (binaries-all-notests): New variable.
22831         (binaries-all-tests): Likewise.
22832         (binaries-static-notests): Likewise.
22833         (binaries-static-tests): Likewise.
22834         (binaries-all): Define using $(binaries-all-notests) and
22835         $(binaries-all-tests).
22836         (binaries-static): Define using $(binaries-static-notests) and
22837         $(binaries-static-tests).
22838         (binaries-shared-tests): New variable.
22839         (binaries-shared-notests): Likewise.
22840         (binaries-shared): Remove variable.
22841         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22842         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22843         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22844         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22845         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22846         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22847         * elf/Makefile (sln-modules): New variable.
22848         (extra-objs): Add $(sln-modules:=.o).
22849         (ldconfig-modules): Add static-stubs.
22850         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22851         * elf/static-stubs.c: New file.
22853         [BZ #14283]
22854         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22855         by 7 not 8 to examine high bit of fractional part.  Use volatile
22856         variables when splitting into final array of floats if
22857         __FLT_EVAL_METHOD__ != 0.
22858         * math/libm-test.inc (cos_test): Add another test.
22859         (sin_test): Likewise.
22860         * sysdeps/i386/fpu/libm-test-ulps: Update.
22862         [BZ #14273]
22863         * math/libm-test.inc (cosh_test): Add more tests.
22865         * version.h (RELEASE): Set to "development".
22866         (VERSION): Set to "2.16.90".
22868 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22870         * NEWS: Update copyright. Remove last-updated date.
22871         Mention math library bug fixes and timezone data changes.
22872         * README: Mention GNU/Hurd, x32, and HPPA support status.
22874 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22876         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22878 2012-06-27  Andreas Jaeger  <aj@suse.de>
22880         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22882 2012-06-25  Andreas Jaeger  <aj@suse.de>
22884         * sysdeps/s390/fpu/libm-test-ulps: Update.
22886 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22887             Thomas Schwinge  <thomas@codesourcery.com>
22889         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22890         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22891         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22892         fanotify_mark.
22894 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22896         * sysdeps/mach/start.c: Remove file.
22897         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22898         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22899         * sysdeps/sh/init-first.c: Likewise.
22901         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22902         registers for frame unwinding purposes, add CFI directives.
22903         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22904         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22905         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22906         Likewise.
22908         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22909         __fortify_fail returning.
22910         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22912         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22913         sysdeps/sh/____longjmp_chk.S.
22914         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22915         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22916         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22917         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22919         * sysdeps/sh/abort-instr.h: New file.
22920         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22921         process in case exit returns.
22923         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22924         initialize the GOT register before use.
22926         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22927         calculation of ARGC > 4.
22929         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22930         meaningful names to some local labels.
22932 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22933             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22935         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22936         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22937         (__arch_compare_and_exchange_val_16_acq): Likewise.
22938         (__arch_compare_and_exchange_val_32_acq): Likewise.
22939         (atomic_exchange_and_add): Fix gUSA sequence.
22940         (atomic_add): Likewise.
22941         (atomic_add_negative): Likewise.
22942         (atomic_add_zero): Likewise.
22943         (atomic_bit_test_set): Likewise.
22945 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22947         [BZ #13579]
22948         * include/link.h (struct link_map): Add l_free_initfini.
22949         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22950         l_initfini.
22951         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22952         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22953         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22954         set.
22956 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22958         * configure.in: Use AC_LANG_SOURCE.
22959         * configure: Regenerate.
22961 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22963         * configure.in (libc_cv_localstatedir): New substituted variable.
22964         * configure: Regenerated.
22965         * config.make.in (localstatedir): New variable, substituted from
22966         libc_cv_localstatedir.
22967         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22968         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22969         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22970         * sysdeps/gnu/configure: Regenerated.
22972 2012-06-21  Jeff Law  <law@redhat.com>
22974         [BZ #14277]
22975         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22976         free.  Simplify list management for _LIBC case.
22978 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22980         [BZ #14273]
22981         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22982         Clear sign bit of 64-bit integer value before comparing against
22983         overflow value.
22985         * sysdeps/mach/configure: Regenerated.
22987 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22989         [BZ #14278]
22990         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22992 2012-06-21  Jeff Law  <law@redhat.com>
22994         [BZ #13882]
22995         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22996         uint16_t for elements in the "seen" array to avoid char overflows.
22997         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22998         * elf/dl-open.c (dl_open_worker): Likewise.
23000 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
23002         * scripts/list-sources.sh: Scan PORTS for translations.
23003         * po/libc.pot: Regenerated.
23005 2012-06-21  Andreas Jaeger  <aj@suse.de>
23007         [BZ #12194]
23008         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23009         warning.
23010         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23011         * bits/byteswap-16.h (__bswap_16): Likewise.
23012         * bits/byteswap.h (__bswap_constant_16): Likewise.
23014 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
23016         [BZ #14117]
23017         * sysdeps/i386/fpu_control.h: Removed.
23018         * sysdeps/x86_64/fpu_control.h: Moved to ...
23019         * sysdeps/x86/fpu_control.h: Here.
23021         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23022         (_FPU_SETCW): Likewise.
23024 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
23026         [BZ #14117]
23027         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23028         * sysdeps/x86/fpu/bits/mathinline.h: This.
23029         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23031         [BZ #14050]
23032         [BZ #14117]
23033         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23034         functions if __x86_64__ is defined.
23036 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
23038         * string/endian.h: Add !__ASSEMBLER__ condition for including
23039         conversion interfaces.
23041 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
23043         [BZ #14241]
23044         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23045         of ABS(x) in calculating zero to negative powers other than odd
23046         integers.
23047         * math/libm-test.inc (pow_test): Add more tests.
23049 2012-06-15  Andreas Jaeger  <aj@suse.de>
23051         * manual/contrib.texi (Contributors): Update entry of Liubov
23052         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23053         Machado Filho.
23055 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
23057         * string/string.h: Add __wur to GNU version of strerror_r.
23059 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
23061         [BZ #14229]
23062         * string/Makefile (tests): Add tst-strtok_r.
23063         * string/tst-strtok_r.c: New file.
23064         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23065         RAX_LP/RDX_LP on SAVE_PTR.
23067 2012-06-14  Roland McGrath  <roland@hack.frob.com>
23069         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23071 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
23073         * libm_test.inc (csqrt_test): Allow more spurious underflow
23074         exceptions.
23075         (j0_test): Likewise.
23076         (j1_test): Likewise.
23077         (y0_test): Likewise.
23078         (y1_test): Likewise.
23080 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
23082         * po/Makefile (libc.pot): Use UTF-8 charset.
23084 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
23086         [BZ #14210]
23087         Suppress sign-conversion warning from FD_SET.
23088         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23089         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23090         not unsigned long int.
23091         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23093 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
23095         [BZ #14050]
23096         [BZ #14117]
23097         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23098         __extern_always_inline instead of __extern_inline.
23099         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23100         (__signbit): Likewise.
23101         (__signbitl): Support C++ namespace.
23102         (lrintf): New inline function.
23103         (lrint): Likewise.
23104         (llrintf): Likewise.
23105         (llrint): Likewise.
23106         (fmaxf): Likewise.
23107         (fmax): Likewise.
23108         (fminf): Likewise.
23109         (fmin): Likewise.
23110         (rint): Likewise.
23111         (rintf): Likewise.
23112         (ceil): Likewise.
23113         (ceilf): Likewise.
23114         (floor): Likewise.
23115         (floorf): Likewise.
23116         (nearbyint): Likewise.
23117         (nearbyintf): Likewise.
23119 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23121         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23122         non-default versions.
23124 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23126         [BZ #14218]
23127         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23129 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23131         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23132         (FE_UPWARD, FE_DOWNWARD): Don't define.
23133         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23134         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23136         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23137         reading it.
23138         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23139         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23141 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23143         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23144         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23145         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23146         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23148 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23150         [BZ #14117]
23151         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23152         * sysdeps/i386/fpu/Implies: New file.
23153         * sysdeps/x86_64/fpu/Implies: Likewise.
23154         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23155         * sysdeps/x86/fpu/bits/fenv.h: This.
23157         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23158         __SSE_MATH__.
23160 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23162         [BZ #14134]
23163         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23164         character 0xffff that matches the last element of the
23165         conversion table.
23167 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23169         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23170         fmodl commit.
23172 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23175         values higher than 25.6283.
23177 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23179         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23180         subnormal exponent extraction and add some __builtin_expect.
23181         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23182         Fix for subnormal mantissa calculation.
23184 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23186         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23187         cpu2 is -1 and errno is not ENOSYS.
23189 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23191         [BZ #14117]
23192         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23193         * sysdeps/x86/bits/string.h: This.
23194         * sysdeps/x86_64/bits/string.h: Removed.
23196         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23197         if not compiling for x86-64, but compiling for >= i486.
23199         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23200         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23202         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23203         New macro from Linux kernel 3.4.0.
23204         (FP_XSTATE_MAGIC2): Likewise.
23205         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23206         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23207         (struct _fpx_sw_bytes): New struct.
23208         (struct _xsave_hdr): Likewise.
23209         (struct _ymmh_state): Likewise.
23210         (struct _xstate): Likewise.
23212         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23213         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23214         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23215         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23216         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23217         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23219         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23220         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23221         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23222         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23223         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23224         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23226 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23228         [BZ #13743]
23229         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23230         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23231         (sysdep_headers): Include sys/platform/ppc.h.
23232         * sysdeps/powerpc/test-gettimebase.c: Test for
23233         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23234         * manual/Makefile (appendices): Include platform.texi.
23235         * manual/contrib.texi (Contributors): Update @node pointers.
23236         * manual/maint.texi (Maintenance): Likewise.
23237         (Platform): New node.
23238         * manual/platform.texi: New file.  Document the new features.
23240 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23241             Jakub Jelinek  <jakub@redhat.com>
23243         [BZ #14188]
23244         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23245         where __builtin_expect is unavailable.
23247 2012-06-03  David S. Miller  <davem@davemloft.net>
23249         * stdlib/longlong.h: Updated from GCC.
23251 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23253         [BZ #14042]
23254         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23255         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23256         __mcount_internal.
23257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23258         (GLIBC_2.16): Likewise.
23260 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23262         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23264 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23267         (default-abi): New variable.
23268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23269         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23270         variable.
23271         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23272         Likewise.
23273         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23274         Likewise.
23275         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23276         Likewise.
23278         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23279         definition.  Document in comment.
23281 2012-06-01  David S. Miller  <davem@davemloft.net>
23283         * stdlib/longlong.h: Updated from GCC.
23285 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23287         [BZ #14117]
23288         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23289         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23290         sys/debugreg.h sys/io.h here.
23291         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23292         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23293         sys/io.h.
23294         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23295         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23296         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23297         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23298         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23299         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23301         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23302         Define only if __x86_64__ is defined.
23304 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23306         [BZ #14048]
23307         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23308         Use int64_t for variable i.
23309         * math/libm-test.inc (fmod_test): Add more tests.
23311         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23312         z computation is not scheduled after fetestexcept.
23313         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23314         Use math_force_eval instead of asm to ensure calculation scheduled
23315         before exception test.
23316         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23317         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23319 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23322         computation is not scheduled after fetestexcept.
23324 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23326         [BZ #14117]
23327         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23328         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23330 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23332         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23333         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23335 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23337         [BZ #14117]
23338         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23339         <bits/wordsize.h>.
23340         (__WCHAR_MIN): Support __WORDSIZE == 64.
23341         (__WCHAR_MAX): Likewise.
23343         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23344         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23346         [BZ #14183]
23347         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23348         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23350         [BZ #14117]
23351         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23352         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23354         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23355         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23357         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23358         Defined to 1 if __x86_64__ isn't defined.
23359         (_STAT_VER_LINUX_OLD): New.
23360         (st_atime): Remove duplicate.
23361         (st_mtime): Likewise.
23362         (st_ctime): Likewise.
23364 2012-05-31  David S. Miller  <davem@davemloft.net>
23366         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23367         entries.
23369 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
23371         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23372         gen-libm-test.pl.
23374         [BZ #14132]
23375         * elf/dl-reloc.c: Include <_itoa.h>.
23376         (_dl_reloc_bad_type): Remove use of INTUSE.
23377         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23378         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23379         * stdio-common/psiginfo.c (psiginfo): Likewise.
23380         * stdio-common/psignal.c (psignal): Likewise.
23381         * string/strsignal.c (strsignal): Likewise.
23382         * include/signal.h (_sys_siglist): Declare hidden proto.
23383         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23384         INTVARDEF with libc_hidden_data_def.
23385         * stdio-common/itoa-udigits.c: Likewise.
23386         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23387         (_itoa_lower_digits_internal): Remove declaration.
23388         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23389         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23390         (_sys_sigabbrev_internal): Remove aliases.
23391         (_sys_siglist): Define hidden alias.
23393 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23395         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23396         bits/sysctl.h.
23398 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23400         [BZ #14117]
23401         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23402         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23404         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23405         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23406         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23407         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23408         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23409         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23411         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23412         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23413         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23415         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23416         with __addr.
23417         (insw): Likewise.
23418         (insl): Likewise.
23419         (outsb): Likewise.
23420         (outsw): Likewise.
23421         (outsl): Likewise.
23423         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23424         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23425         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23427         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23428         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23429         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23430         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23431         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23432         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23434         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23435         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23437         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23438         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23440         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23441         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23442         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23444         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23445         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23446         to ...
23447         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23449         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23450         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23451         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23453         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23454         for x86-64.
23455         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23457 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23459         * math/math.h (M_El): Use two more decimal places.
23460         (M_LOG2El): Likewise.
23461         (M_LOG10El): Likewise.
23462         (M_LN2l): Likewise.
23463         (M_LN10l): Likewise.
23464         (M_PIl): Likewise.
23465         (M_PI_2l): Likewise.
23466         (M_PI_4l): Likewise.
23467         (M_1_PIl): Likewise.
23468         (M_2_PIl): Likewise.
23469         (M_2_SQRTPIl): Likewise.
23470         (M_SQRT2l): Likewise.
23471         (M_SQRT1_2l): Likewise.
23473 2012-05-31  David S. Miller  <davem@davemloft.net>
23475         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23476         values between float registers.
23477         * sysdeps/sparc/sparc64/memset.S: Likewise.
23478         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23480 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23482         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23483         -D_FORTIFY_SOURCE=1.
23484         (CPPFLAGS-tst-longjmp_chk.c): Define.
23485         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23486         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23487         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23488         CFLAGS-tst-wchar-h.c.
23490 2012-05-31  Marek Polacek  <polacek@redhat.com>
23492         [BZ #14132]
23493         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23494         __endmntent_internal): Remove declaration.
23495         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23496         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23497         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23499 2012-05-30  David S. Miller  <davem@davemloft.net>
23501         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23502         (___Q_simulate_exceptions): Use real FP ops rather than writing
23503         into the %fsr.
23504         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23505         Likewise.
23507 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23509         [BZ #14117]
23510         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23511         * sysdeps/x86/bits/xtitypes.h: This.
23513         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23514         * sysdeps/x86/bits/wordsize.h: This.
23516         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23517         * sysdeps/x86/bits/huge_vall.h: This.
23519         * sysdeps/i386/bits/select.h: Removed.
23520         * sysdeps/x86_64/bits/select.h: Renamed to ...
23521         * sysdeps/x86/bits/select.h: This.
23523         * sysdeps/i386/bits/setjmp.h: Removed.
23524         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23525         * sysdeps/x86/bits/setjmp.h: This.
23527         * sysdeps/i386/bits/mathdef.h: Removed.
23528         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23529         * sysdeps/x86/bits/mathdef.h: This.
23531 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23533         [BZ #14132]
23534         * include/sys/socket.h (__connect_internal)
23535         (__libc_sa_len_internal): Remove declaration.
23536         (__connect, __libc_sa_len): Declare hidden_proto.
23537         (SA_LEN): Remove use of INTUSE.
23538         * socket/connect.c: Add libc_hidden_def.
23539         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23540         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23541         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23542         alias.
23543         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23544         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23545         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23546         of adding _internal alias.
23548 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23550         [BZ #14117]
23551         * sysdeps/i386/bits/link.h: Removed.
23552         * sysdeps/i386/bits/linkmap.h: Likewise.
23553         * sysdeps/x86_64/bits/link.h: Renamed to ...
23554         * sysdeps/x86/bits/link.h: This.
23555         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23556         * sysdeps/x86/bits/linkmap.h: This.
23558         * sysdeps/i386/bits/endian.h: Removed.
23559         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23560         * sysdeps/x86/bits/endian.h: This.
23562         * sysdeps/i386/bits/byteswap.h: Removed.
23563         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23564         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23565         * sysdeps/x86/bits/byteswap.h: This.
23566         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23567         * sysdeps/x86/bits/byteswap-16.h: This.
23568         * sysdeps/i386/Implies: Add x86.
23569         * sysdeps/x86_64/Implies: Likewise.
23571 2012-05-30  David S. Miller  <davem@davemloft.net>
23573         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23574         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23575         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23576         (FP_TRAPPING_EXCEPTIONS): Define.
23577         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23578         (FP_TRAPPING_EXCEPTIONS): Define.
23579         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23580         subnormals only when inexact has been signalled or underflow
23581         exceptions are enabled.
23582         (_FP_PACK_CANONICAL): Likewise.
23584 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23586         [BZ #14183]
23587         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23588         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23590 2012-05-30  Richard Henderson  <rth@twiddle.net>
23592         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23593         with #ifndef NOT_IN_libc.
23595         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23596         marked to avoid plt entry.
23598 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23600         [BZ #14112]
23601         * Makeconfig (default-abi): New macro.
23602         (abi-includes): Likewise.
23603         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23604         $(abi-$(default-abi)-lib-soname) for soname if defined.
23605         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23606         abi-variants.
23607         * Makefile (installed-stubs): Likewise.
23608         * include/stubs-biarch.h: Removed.
23609         * scripts/lib-names.awk: Only handle one library at a time.
23610         * scripts/soversions.awk: Remove WORDSIZE support.
23611         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23612         entries.
23613         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23614         Removed.
23615         (syscall-list-default-condition): Likewise.
23616         (syscall-list-default-condition): Likewise.
23617         (syscall-list-includes): Likewise.
23618         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23619         syscall-list-* with abi-*.  Handle undefined abi-variants.
23620         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23621         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23622         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23623         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23624         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23625         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23626         Removed.
23627         (syscall-list-32-options): Likewise.
23628         (syscall-list-32-condition): Likewise.
23629         (syscall-list-64-options): Likewise.
23630         (syscall-list-64-condition): Likewise.
23631         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23632         macro.
23633         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23634         Renamed to ...
23635         (abi-*): This.
23636         (abi-64-ld-soname): New macro.
23637         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23638         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23639         Renamed to ...
23640         (abi-*): This.
23641         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23642         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23644 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23646         * sysdeps/unix/sysv/linux/kernel-features.h
23647         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23648         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23649         include <kernel-features.h>.
23650         [!__NR_ftruncate64]: Remove conditional code.
23651         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23652         [__NR_ftruncate64]: Make code unconditional.
23653         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23654         * sysdeps/unix/sysv/linux/truncate64.c: Do not
23655         include <kernel-features.h>.
23656         [!__NR_ftruncate64]: Remove conditional code.
23657         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23658         [__NR_ftruncate64]: Make code unconditional.
23659         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23661         include <kernel-features.h>.
23662         [!__NR_ftruncate64]: Remove conditional code.
23663         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23664         [__NR_ftruncate64]: Make code unconditional.
23665         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23667         include <kernel-features.h>.
23668         [!__NR_ftruncate64]: Remove conditional code.
23669         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23670         [__NR_ftruncate64]: Make code unconditional.
23671         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23673         * configure.in (libc_cv_fpie): Weaken to a compile test using
23674         LIBC_TRY_CC_OPTION.
23675         * configure: Regenerated.
23677 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23683         Refreshed.
23684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23690         Refreshed.
23692 2012-05-27  David S. Miller  <davem@davemloft.net>
23694         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23695         (___Q_zero): New.
23696         (__Q_simulate_exceptions): Return void.  Change to simulate
23697         exceptions by writing into the %fsr.
23698         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23699         (__Qp_handle_exceptions): Likewise.
23700         (numbers): Delete.
23701         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23702         __Qp_handle_exceptions.
23703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23704         __Qp_handle_exceptions.
23705         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23706         as unused and give dummy FP_RND_NEAREST initializer.
23707         (FP_INHIBIT_RESULTS): Define.
23708         (___Q_simulate_exceptions): Update declaration.
23709         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23710         formatting.
23711         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23712         as unused and give dummy FP_RND_NEAREST initializer.
23713         (__Qp_handle_exceptions): Update declaration.
23714         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23715         formatting.
23717 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23719         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23720         the temporary FPU control word.
23721         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23722         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23723         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23724         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23725         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23726         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23727         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23728         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23729         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23730         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23731         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23733 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23735         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23736         fields.
23738 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23740         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23741         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23742         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23743         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23744         Likewise.
23745         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23746         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23747         Likewise.
23749 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23751         * po/h.po: Update from translation team.
23753 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23755         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23757         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23758         handling of denormals.
23759         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23760         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23761         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23762         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23763         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23764         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23766         Likewise.
23768 2012-05-26  Marek Polacek  <polacek@redhat.com>
23770         [BZ #14152]
23771         * math/libm-test.inc (fma_test): Don't always expect underflow
23772         exception.
23774 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23776         [BZ #12416]
23777         * elf/tst-execstack.c: Include stackinfo.h.
23778         (do_test): Adjust test case to ensure that pthread_getattr_np
23779         behaviour remains the same after marking stack executable.
23781 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23783         * sysdeps/unix/sysv/linux/kernel-features.h
23784         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23785         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23786         kernel-features.h.
23787         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23788         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23789         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23790         kernel-features.h.
23791         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23792         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23794 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23796         * configure.in: Define the default includes to being none.
23797         * configure: Regenerated.
23799 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23801         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23802         * sysdeps/x86_64/setjmp.S: Likewise.
23803         * sysdeps/i386/bsd-setjmp.S: Likewise.
23804         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23805         * sysdeps/i386/setjmp.S: Likewise.
23806         * sysdeps/i386/__longjmp.S: Likewise.
23807         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23808         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23810         * include/stap-probe.h: New file.
23811         * configure.in: Handle --enable-systemtap.
23812         * configure: Regenerated.
23813         * config.h.in (USE_STAP_PROBE): New #undef.
23814         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23815         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23816         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23818 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23820         [BZ #13717]
23821         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23822         to 2.4.0 where earlier.
23823         * sysdeps/unix/sysv/linux/configure: Regenerated.
23824         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23825         <kernel-features.h>.
23826         [__ASSUME_32BITUIDS]: Make code unconditional.
23827         [!__ASSUME_32BITUIDS]: Remove conditional code.
23828         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23829         <kernel-features.h>.
23830         [__ASSUME_32BITUIDS]: Make code unconditional.
23831         [!__ASSUME_32BITUIDS]: Remove conditional code.
23832         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23833         [__ASSUME_32BITUIDS]: Make code unconditional.
23834         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23835         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23836         <kernel-features.h>.
23837         [__ASSUME_32BITUIDS]: Make code unconditional.
23838         [!__ASSUME_32BITUIDS]: Remove conditional code.
23839         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23840         <kernel-features.h>.
23841         [__ASSUME_32BITUIDS]: Make code unconditional.
23842         [!__ASSUME_32BITUIDS]: Remove conditional code.
23843         * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
23876         <kernel-features.h>.
23877         [__NR_setresgid] (__setresgid): Do not declare.
23878         [__ASSUME_32BITUIDS]: Make code unconditional.
23879         [!__ASSUME_32BITUIDS]: Remove conditional code.
23880         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23881         <kernel-features.h>.
23882         [__NR_setresuid] (__setresuid): Do not declare.
23883         [__ASSUME_32BITUIDS]: Make code unconditional.
23884         [!__ASSUME_32BITUIDS]: Remove conditional code.
23885         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23886         <kernel-features.h>.
23887         [__ASSUME_32BITUIDS]: Make code unconditional.
23888         [!__ASSUME_32BITUIDS]: Remove conditional code.
23889         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23890         <kernel-features.h>.
23891         [__ASSUME_32BITUIDS]: Make code unconditional.
23892         [!__ASSUME_32BITUIDS]: Remove conditional code.
23893         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23894         <kernel-features.h>.
23895         [__ASSUME_32BITUIDS]: Make code unconditional.
23896         [!__ASSUME_32BITUIDS]: Remove conditional code.
23897         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23898         <kernel-features.h>.
23899         [__ASSUME_32BITUIDS]: Make code unconditional.
23900         [!__ASSUME_32BITUIDS]: Remove conditional code.
23901         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23902         <kernel-features.h>.
23903         [__ASSUME_32BITUIDS]: Make code unconditional.
23904         [!__ASSUME_32BITUIDS]: Remove conditional code.
23905         * sysdeps/unix/sysv/linux/i386/setresgid.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/i386/setresuid.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/i386/setreuid.c: Do not include
23914         <kernel-features.h>.
23915         [__ASSUME_32BITUIDS]: Make code unconditional.
23916         [!__ASSUME_32BITUIDS]: Remove conditional code.
23917         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23918         <kernel-features.h>.
23919         [__ASSUME_32BITUIDS]: Make code unconditional.
23920         [!__ASSUME_32BITUIDS]: Remove conditional code.
23921         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23922         <kernel-features.h>.
23923         [__ASSUME_32BITUIDS]: Make code unconditional.
23924         [!__ASSUME_32BITUIDS]: Remove conditional code.
23925         * sysdeps/unix/sysv/linux/kernel-features.h
23926         (__ASSUME_SETRESUID_SYSCALL): Remove.
23927         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23928         (__ASSUME_32BITUIDS): Likewise.
23929         (__ASSUME_LDT_WORKS): Likewise.
23930         (__ASSUME_O_DIRECTORY): Likewise.
23931         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23932         architecture but not kernel version.
23933         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23934         (__ASSUME_MMAP2_SYSCALL): Likewise.
23935         (__ASSUME_STAT64_SYSCALL): Likewise.
23936         (__ASSUME_IPC64): Likewise.
23937         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23938         <kernel-features.h>.
23939         [__ASSUME_32BITUIDS]: Make code unconditional.
23940         [!__ASSUME_32BITUIDS]: Remove conditional code.
23941         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23942         <kernel-features.h>.
23943         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23944         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23945         132096]: Remove conditional code.
23946         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23947         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23948         <kernel-features.h>.
23949         [__ASSUME_32BITUIDS]: Make code unconditional.
23950         [!__ASSUME_32BITUIDS]: Remove conditional code.
23951         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23952         <kernel-features.h>.
23953         [__ASSUME_32BITUIDS]: Make code unconditional.
23954         [!__ASSUME_32BITUIDS]: Remove conditional code.
23955         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23956         <kernel-features.h>.
23957         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23958         unconditional.
23959         (__setresgid): Do not declare.
23960         [__ASSUME_32BITUIDS]: Make code unconditional.
23961         [!__ASSUME_32BITUIDS]: Remove conditional code.
23962         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23963         <kernel-features.h>.
23964         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23965         unconditional.
23966         (__setresuid): Do not declare.
23967         [__ASSUME_32BITUIDS]: Make code unconditional.
23968         [!__ASSUME_32BITUIDS]: Remove conditional code.
23969         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23970         <kernel-features.h>.
23971         [__ASSUME_32BITUIDS]: Make code unconditional.
23972         [!__ASSUME_32BITUIDS]: Remove conditional code.
23973         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23974         <kernel-features.h>.
23975         [__ASSUME_32BITUIDS]: Make code unconditional.
23976         [!__ASSUME_32BITUIDS]: Remove conditional code.
23978 2012-05-25  Richard Henderson  <rth@twiddle.net>
23980         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23981         dl_hwcap to ifunc resolver.
23982         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23983         elf_ifunc_invoke.
23984         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23985         dl_hwcap to ifunc resolver.
23986         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23988 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23990         [BZ #14153]
23991         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23992         for |x| <= 2**-26, not 2**-57.
23993         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23994         exception.
23996 2012-05-24  Jeff Law  <law@redhat.com>
23998         * stdio-common/Makefile (tests): Add bug25.
23999         * stdio-common/bug25.c: New test.
24001 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24003         [BZ #13576]
24004         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24005         multiple of MALLOC_ALIGNMENT in size.
24006         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24008 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24010         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24011         Require >= 256.
24012         (FILENAME_MAX): Use macro-int-constant.
24013         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
24014         (_IOFBF): Use macro-int-constant.
24015         (_IOLBF): Likewise.
24016         (_IONBF): Likewise.
24017         (SEEK_CUR): Likewise.
24018         (SEEK_END): Likewise.
24019         (SEEK_SET): Likewise.
24020         (TMP_MAX): Likewise.
24021         (EOF): Use macro-int-constant.  Require < 0.
24022         (NULL): Use macro-constant.  Require == 0.
24023         (stdin): Require type to be FILE *.
24024         (stdout): Likewise.
24025         (stderr): Likewise.
24026         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24027         macro-int-constant.
24028         (EXIT_SUCCESS): Likewise.
24029         (NULL): Use macro-constant.  Require == 0.
24030         (RAND_MAX): Use macro-int-constant.
24031         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24032         [C99-based standards] (strtof): Require function.
24033         [C99-based standards] (strtold): Likewise.
24034         [C99-based standards] (strtoll): Likewise.
24035         [C99-based standards] (strtoull): Likewise.
24036         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24037         [ISO || ISO99 || ISO11] (limits.h): Likewise.
24038         [ISO || ISO99 || ISO11] (math.h): Likewise.
24039         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24040         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24041         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24043 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
24045         [BZ #14132]
24046         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24047         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24048         * intl/dgettext.c (DCGETTEXT): Likewise.
24049         * intl/gettext.c (DCGETTEXT): Likewise.
24050         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24051         * posix/regex_internal.h (gettext): Likewise.
24052         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24053         Remove declaration.
24054         * include/argz.h (__argz_count_internal)
24055         (__argz_stringify_internal): Remove declaration.
24056         (__argz_count, __argz_stringify): Declare hidden proto.
24057         * intl/dcgettext.c: Remove use of INTDEF.
24058         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24059         * string/argz-stringify.c: Likewise.
24060         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24061         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24062         Declare hidden proto.
24063         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24064         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24065         Declare hidden proto.
24066         * include/stdio.h (__asprintf_internal): Don't declare.
24067         (__asprintf): Don't define as macro.  Declare hidden proto.
24068         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24069         (__fsetlocking): Declare hidden proto.
24070         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24071         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24072         hidden proto.
24073         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24074         (_IO_setlinebuf): Remove use of INTUSE.
24075         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24076         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24077         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24078         Remove declaration.
24079         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24080         (_IO_do_flush): Remove use of INTUSE.
24081         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24082         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24083         (_IO_adjust_column, _IO_least_wmarker)
24084         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24085         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24086         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24087         (_IO_default_doallocate, _IO_wdefault_doallocate)
24088         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24089         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24090         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24091         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24092         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24093         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24094         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24095         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24096         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24097         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24098         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24099         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24100         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24101         proto.
24102         (_IO_flush_all_internal, _IO_adjust_column_internal)
24103         (_IO_default_uflow_internal, _IO_default_finish_internal)
24104         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24105         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24106         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24107         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24108         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24109         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24110         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24111         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24112         (_IO_file_close_internal, _IO_file_close_it_internal)
24113         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24114         (_IO_file_init_internal, _IO_file_attach_internal)
24115         (_IO_file_fopen_internal, _IO_file_read_internal)
24116         (_IO_file_sync_internal, _IO_file_seek_internal)
24117         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24118         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24119         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24120         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24121         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24122         (_IO_list_all_internal, _IO_link_in_internal)
24123         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24124         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24125         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24126         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24127         (_IO_do_write_internal, _IO_padn_internal)
24128         (_IO_getline_info_internal, _IO_getline_internal)
24129         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24130         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24131         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24132         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24133         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24134         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24135         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24136         with libc_hidden_ver, remove use of INTUSE.
24137         * libio/genops.c: Likewise.
24138         * libio/freopen.c: Likewise.
24139         * libio/freopen64.c: Likewise.
24140         * libio/iofclose.c: Likewise.
24141         * libio/iofdopen.c: Likewise.
24142         * libio/iofflush.c: Likewise.
24143         * libio/iofflush_u.c: Likewise.
24144         * libio/iofgets.c: Likewise.
24145         * libio/iofgets_u.c: Likewise.
24146         * libio/iofopen.c: Likewise.
24147         * libio/iofopncook.c: Likewise.
24148         * libio/iofread.c: Likewise.
24149         * libio/iofread_u.c: Likewise.
24150         * libio/ioftell.c: Likewise.
24151         * libio/iofwrite.c: Likewise.
24152         * libio/iogetline.c: Likewise.
24153         * libio/iogets.c: Likewise.
24154         * libio/iogetwline.c: Likewise.
24155         * libio/iopadn.c: Likewise.
24156         * libio/iopopen.c: Likewise.
24157         * libio/ioseekoff.c: Likewise.
24158         * libio/ioseekpos.c: Likewise.
24159         * libio/iosetbuffer.c: Likewise.
24160         * libio/iosetvbuf.c: Likewise.
24161         * libio/ioungetc.c: Likewise.
24162         * libio/ioungetwc.c: Likewise.
24163         * libio/iovdprintf.c: Likewise.
24164         * libio/iovsprintf.c: Likewise.
24165         * libio/iovsscanf.c: Likewise.
24166         * libio/memstream.c: Likewise.
24167         * libio/obprintf.c: Likewise.
24168         * libio/oldfileops.c: Likewise.
24169         * libio/oldiofclose.c: Likewise.
24170         * libio/oldiofdopen.c: Likewise.
24171         * libio/oldiofopen.c: Likewise.
24172         * libio/oldiopopen.c: Likewise.
24173         * libio/oldstdfiles.c: Likewise.
24174         * libio/putc.c: Likewise.
24175         * libio/setbuf.c: Likewise.
24176         * libio/setlinebuf.c: Likewise.
24177         * libio/stdfiles.c: Likewise.
24178         * libio/strops.c: Likewise.
24179         * libio/vasprintf.c: Likewise.
24180         * libio/vscanf.c: Likewise.
24181         * libio/vsnprintf.c: Likewise.
24182         * libio/vswprintf.c: Likewise.
24183         * libio/wfiledoalloc.c: Likewise.
24184         * libio/wfileops.c: Likewise.
24185         * libio/wgenops.c: Likewise.
24186         * libio/wmemstream.c: Likewise.
24187         * libio/wstrops.c: Likewise.
24188         * libio/__fpurge.c: Likewise.
24189         * libio/__fsetlocking.c: Likewise.
24190         * assert/assert.c: Likewise.
24191         * debug/fgets_chk.c: Likewise.
24192         * debug/fgets_u_chk.c: Likewise.
24193         * debug/fread_chk.c: Likewise.
24194         * debug/fread_u_chk.c: Likewise.
24195         * debug/gets_chk.c: Likewise.
24196         * debug/obprintf_chk.c: Likewise.
24197         * debug/vasprintf_chk.c: Likewise.
24198         * debug/vdprintf_chk.c: Likewise.
24199         * debug/vsnprintf_chk.c: Likewise.
24200         * debug/vsprintf_chk.c: Likewise.
24201         * malloc/mtrace.c: Likewise.
24202         * misc/error.c: Likewise.
24203         * misc/syslog.c: Likewise.
24204         * stdio-common/asprintf.c: Likewise.
24205         * stdio-common/fxprintf.c: Likewise.
24206         * stdio-common/getw.c: Likewise.
24207         * stdio-common/isoc99_fscanf.c: Likewise.
24208         * stdio-common/isoc99_scanf.c: Likewise.
24209         * stdio-common/isoc99_vfscanf.c: Likewise.
24210         * stdio-common/isoc99_vscanf.c: Likewise.
24211         * stdio-common/isoc99_vsscanf.c: Likewise.
24212         * stdio-common/printf-prs.c: Likewise.
24213         * stdio-common/printf_fp.c: Likewise.
24214         * stdio-common/printf_fphex.c: Likewise.
24215         * stdio-common/printf_size.c: Likewise.
24216         * stdio-common/putw.c: Likewise.
24217         * stdio-common/scanf.c: Likewise.
24218         * stdio-common/sprintf.c: Likewise.
24219         * stdio-common/tmpfile.c: Likewise.
24220         * stdio-common/vfprintf.c: Likewise.
24221         * stdio-common/vfscanf.c: Likewise.
24222         * stdlib/strfmon_l.c: Likewise.
24223         * sunrpc/openchild.c: Likewise.
24224         * sunrpc/xdr_stdio.c: Likewise.
24225         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24226         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24228 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24230         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24232         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24233         in the third column, to generate for the shared library an IFUNC
24234         that uses _dl_vdso_vsym.
24235         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24236         * Makeconfig (object-suffixes-noshared): New variable.
24238         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24239         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24240         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24241         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24243         [BZ #14132]
24244         * include/sys/time.h (__gettimeofday): Remove macro.
24245         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24246         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24247         Remove INTDEF.
24248         (__gettimeofday): Add libc_hidden_def.
24249         (gettimeofday): Add libc_hidden_weak.
24250         * sysdeps/mach/gettimeofday.c: Likewise.
24251         * sysdeps/posix/gettimeofday.c: Likewise.
24252         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24253         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24254         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24255         (__gettimeofday_internal): Remove strong_alias.
24256         (__gettimeofday): Add libc_hidden_def.
24257         (gettimeofday): Add libc_hidden_weak.
24258         * sysdeps/unix/syscalls.list (gettimeofday):
24259         Remove __gettimeofday_internal alias.
24261 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24262             H.J. Lu  <hongjiu.lu@intel.com>
24264         [BZ #12495]
24265         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24266         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24267         (largebin_index_32_big): New.
24268         (largebin_index): Use it for 16-byte alignment.
24269         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24270         correction with front_misalign.
24272 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24276         Likewise.
24277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24278         Likewise.
24279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24280         Likewise.
24281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24282         Likewise.
24283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24284         Likewise.
24285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24286         Likewise.
24287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24288         Likewise.
24289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24290         Likewise.
24291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24292         Likewise.
24293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24294         Likewise.
24295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24296         Likewise.
24297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24298         Likewise.
24300         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24301         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24303 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24305         [BZ #10846]
24306         [BZ #14036]
24307         * math/libm-test.inc (exp_test): Add test from bug 14036.
24308         (pow_test): Add test from bug 10846.
24310         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24311         and other flags.
24312         (special_function): Do not include flags in test name.
24313         (parse_args): Likewise.
24314         * sysdeps/i386/fpu/libm-test-ulps: Update.
24315         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24316         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24317         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24320         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24321         exceptions.
24322         * math/libm-test.inc ("Philosophy"): Update comment about
24323         exception testing.
24324         (UNDERFLOW_EXCEPTION): New macro.
24325         (UNDERFLOW_EXCEPTION_OK): Likewise.
24326         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24327         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24328         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24329         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24330         (INVALID_EXCEPTION_OK): Update value.
24331         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24332         (OVERFLOW_EXCEPTION_OK): Likewise.
24333         (IGNORE_ZERO_INF_SIGN): Likewise.
24334         (test_exceptions): Handle underflow exceptions.
24335         (acos_test): Update for underflow exception expectations.
24336         (cexp_test): Likewise.
24337         (clog_test): Likewise.
24338         (clog10_test): Likewise.
24339         (csqrt_test): Likewise.
24340         (ctan_test): Likewise.
24341         (ctanh_test): Likewise.
24342         (exp_test): Likewise.
24343         (exp10_test): Likewise.
24344         (exp2_test): Likewise.
24345         (expm1_test): Likewise.
24346         (fma_test): Likewise.
24347         (j0_test): Likewise.
24348         (jn_test): Likewise.
24349         (nexttoward_test): Likewise.
24350         (pow_test): Likewise.
24351         (scalbn_test): Likewise.
24352         (scalbln_test): Likewise.
24353         (tan_test): Likewise.
24354         (y1_test): Likewise.
24355         * sysdeps/i386/fpu/libm-test-ulps: Update.
24356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24358 2012-05-23  David S. Miller  <davem@davemloft.net>
24360         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24361         (__libc_sigaction): Remove unused local variables.
24363 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24365         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24367 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
24369         mktime: avoid signed integer overflow
24370         * time/mktime.c (__mktime_internal): Do not mishandle the case
24371         where diff == INT_MIN.
24373         mktime: simplify computation of average
24374         * time/mktime.c (ranged_convert): Use new time_t_avg function
24375         instead of rolling our own (probably-slower) code.
24377         mktime: do not assume signed right shift propagates sign bit
24378         * time/mktime.c (isdst_differ): New static function.
24379         (__mktime_internal): No need to normalize tm_isdst now.
24380         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24381         tm_isdst values.
24383         mktime: merge another wrapv change from gnulib
24384         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24385         from some compilers.
24387         mktime: remove incorrect attempt at unusual arithmetics
24388         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24389         The code didn't really work on such machines anyway.
24390         (TYPE_MINIMUM): Assume two's complement.
24391         (twos_complement_arithmetic): Verify that long_int and time_t
24392         are two's complement (or unsigned, in the latter case).
24394         mktime: check signed shifts on long_int and time_t, too
24395         * time/mktime.c (SHR): Check that shifts work as desired
24396         on the types long_int and time_t too, as SHR is used on
24397         such types.
24399         mktime: do not assume 'long' is wide enough
24400         * time/mktime.c (verify): Move decl up.
24401         (long_int): New type.
24402         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24403         to remove assumption in the code that 'long' is wide enough to
24404         store year values.  This assumption is not true on x32 and on
24405         some non-glibc platforms.
24407         mktime: merge wrapv change from gnulib
24408         * time/mktime.c (WRAPV): New macro.
24409         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24410         (guess_time_tm, __mktime_internal): Do not assume that signed
24411         integer overflow wraps around; modern compilers generate code
24412         where this assumption is no longer valid.
24414 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24416         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24417         Replace "jmp L(pseudo_end)" with "ret".
24418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24419         Likewise.
24421 2012-05-23  Andreas Jaeger  <aj@suse.de>
24423         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24424         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24426 2012-05-23  Andreas Jaeger  <aj@suse.de>
24427             Maximilian Attems  <max@stro.at>
24429         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24430         New macros.
24432 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24434         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24435         code so that pseudo_end is just ret and the stack pointer is
24436         correct also for static library in error case.
24438 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24440         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24441         move to syscalls.list.
24442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24447         * manual/install.texi (Running make install): Do not mention Linux
24448         kernel version for which pt_chown is not needed.
24449         (Linux): Do not mention problems with nscd with 2.0 kernels.
24450         * INSTALL: Regenerated.
24452 2012-05-23  Andreas Jaeger  <aj@suse.de>
24454         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24455         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24456         macro.
24457         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24458         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24459         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24460         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24461         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24462         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24463         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24464         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24465         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24466         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24467         * sysdeps/unix/sysv/linux/bits/in.h
24468         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24470 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24472         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24473         (PREPARE_VERSION): Just use assert instead, it will be elided
24474         under [NDEBUG] anyway.
24476 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24478         * sysdeps/unix/sysv/linux/Makefile: Include
24479         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24480         (sysdep_routines): Remove sysctl.
24481         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24482         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24483         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24484         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24485         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24487 2012-05-22  Andreas Jaeger  <aj@suse.de>
24489         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24490         that pseudo_end is just ret and the stack pointer is correct also
24491         for static library in error case.
24493 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24495         [BZ #14122]
24496         * nss/nsswitch.c (defconfig_entries): New variable.
24497         (__nss_database_lookup): Don't leak defconfig entries.
24498         (nss_parse_service_list): Don't leak on error paths.
24499         (free_database_entries): New function.
24500         (free_defconfig): New function.
24501         (free_mem): Move common code to free_database_entries.
24503 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24505         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24506         Add arch_prctl.
24507         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24509         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24510         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24512         New macro.
24513         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24514         (INTERNAL_SYSCALL_TYPES): Likewise.
24515         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24516         (LOAD_REGS_TYPES_[1-6]): Likewise.
24517         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24518         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24520 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24522         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24523         copysignl for GLIBC_2_0.
24524         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24525         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24527         logbl for GLIBC_2_0.
24528         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24529         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24531 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24533         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24534         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24536         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24537         Use "neg %eax".
24539         * time/mktime.c: Update copyright years.
24541 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24543         mktime: merge comment-quoting-style change from gnulib
24544         * time/mktime.c: Quote 'like this' in comments.
24545         The GNU coding standards suggest that we no longer quote `like this',
24546         as "`" and "'" are typically rendered asymmetrically nowadays.
24547         The typical gnulib style is to quote 'like this' when quoting
24548         code, and "like this" when quoting English.
24550         * time/mktime.c (compile-command): Add "-I.".
24552         mktime: merge mktime-internal.h change from gnulib
24553         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24555         mktime: merge time_r change from gnulib
24556         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24558         mktime: merge DEBUG change from gnulib
24559         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24560         case system <time.h> has a #define.
24562         mktime: merge <sys/types.h> change from gnulib
24563         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24564         since <time.t> is now guaranteed to define time_t.
24566         mktime: merge HAVE_CONFIG_H change from gnulib
24567         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24569 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24572         Use "neg %eax".
24574         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24575         __rlim_t cast.
24576         (struct rusage): Use anonymous union to pad each field to
24577         __syscall_slong_t.
24579 2012-05-21  David S. Miller  <davem@davemloft.net>
24581         * Makefules (o-iterator): Remove .s cases.
24582         (compile-command.s): Delete.
24583         (COMPILE.s): Delete.
24584         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24586 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24588         * configure.in (libc_cv_predef_stack_protector): Only consider
24589         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24590         * configure: Regenerated.
24592 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24595         New macro.  Use R*LP on int and pointer.
24596         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24597         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24598         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24599         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24601         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24602         [__WORDSIZE_TIME64_COMPAT32] instead of
24603         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24604         (struct utmp): Likewise.
24605         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24606         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24607         Renamed to ...
24608         (__WORDSIZE_TIME64_COMPAT32): This.
24609         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24610         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24611         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24612         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24613         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24614         (__WORDSIZE_TIME64_COMPAT32): New macro.
24616 2012-05-21  Andreas Jaeger  <aj@suse.de>
24618         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24619         only if [SHARED]. Add prototype for __wcschr_ia32.
24621 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24623         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24624         of %rbp unmolested in the jmp_buf while mangling the low bits.
24625         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24626         unmolested high bits of %rbp while demangling the low bits.
24627         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24629 2012-05-21  Andreas Jaeger  <aj@suse.de>
24631         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24632         * sunrpc/svc_simple.c: Use it for registerrpc.
24633         * sunrpc/xcrypt.c: Use it for passwd2des.
24635         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24637 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24639         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24640         Don't define if [__SYSCALL_WORDSIZE != 32].
24641         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24642         New macro.
24644 2012-05-21  Bruno Haible  <bruno@clisp.org>
24645             Andreas Jaeger  <aj@suse.de>
24647         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24648         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24649         inptr and inend for must_buffer_ch.
24650         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24651         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24652         * stdio-common/Makefile (tests): Remove bug15.
24653         (bug15-ENV): Remove macro.
24654         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24655         anymore.
24657 2012-05-19  Andreas Jaeger  <aj@suse.de>
24658             Roland McGrath  <roland@hack.frob.com>
24660         * manual/contrib.texi: Completely rewritten. It contains now an
24661         alphabetical list of contributors and their contributions.
24663 2012-05-21  Richard Henderson  <rth@twiddle.net>
24665         * misc/getauxval.c (__getauxval): Use unsigned long int.
24666         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24667         (getauxval): Use unsigned long int.
24669 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24671         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24673 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24675         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24676         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24677         __alignof__ (long double).
24679 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24683 2012-05-20  Richard Henderson  <rth@twiddle.net>
24685         * misc/getauxval.c: New file.
24686         * misc/sys/auxv.h: New file.
24687         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24688         (routines): Add getauxval.
24689         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24690         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24691         * elf/dl-sysdep.c (_dl_auxv): Remove.
24692         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24693         * elf/dl-support.c (_dl_auxv): New variable.
24694         (_dl_aux_init): Initialize it.
24695         * manual/startup.texi (Auxiliary Vector): New node.
24696         * sysdeps/generic/bits/hwcap.h: New file.
24697         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24698         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24699         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24700         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24701         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24702         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24704         Update.
24705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24708         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24714 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24718 2012-05-19  David S. Miller  <davem@davemloft.net>
24720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24722 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24724         [BZ #14123]
24725         * math/s_ccosh.c: Include <float.h>
24726         (__ccosh): Avoid internal overflow calculating sinh and cosh
24727         values before multiplying by sin and cos values.
24728         * math/s_ccoshf.c: Likewise.
24729         * math/s_ccoshl.c: Likewise.
24730         * math/s_csin.c: Likewise.
24731         * math/s_csinf.c: Likewise.
24732         * math/s_csinl.c: Likewise.
24733         * math/s_csinh.c: Likewise.
24734         * math/s_csinhf.c: Likewise.
24735         * math/s_csinhl.c: Likewise.
24736         * math/libm-test.inc (ccos_test): Add more tests.
24737         (ccosh_test): Likewise.
24738         (csin_test): Likewise.
24739         (csinh_test): Likewise.
24740         * sysdeps/i386/fpu/libm-test-ulps: Update.
24741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24745         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24746         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24748         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24750 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24752         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24753         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24754         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24755         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24756         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24757         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24758         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24759         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24760         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24761         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24762         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24763         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24764         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24765         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24766         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24767         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24768         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24769         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24770         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24771         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24772         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24773         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24774         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24775         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24776         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24777         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24778         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24779         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24780         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24781         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24782         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24784 2012-05-18  Andreas Jaeger  <aj@suse.de>
24786         * csu/.gitignore: Delete.
24788 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24790         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24791         (timex): Use __syscall_slong_t.
24793 2012-05-18  Andreas Jaeger  <aj@suse.de>
24794             Carlos O'Donell  <carlos_odonell@mentor.com>
24796         * manual/install.texi (Configuring and compiling): Update
24797         description about files modified in the source directory.
24798         * INSTALL: Regenerated.
24800 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24802         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24803         value.  Use "or" to set return value to -1.
24804         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24805         negate return value.
24807 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24809         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24810         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24811         failure if the compiler has Graphite support disabled.
24812         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24813         Likewise.
24814         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24815         CFLAGS-memmove.c): Likewise.
24816         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24817         Likewise.
24819 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24821         * sysdeps/x86_64/x32/_itoa.h: New file.
24823         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24824         getdents system call only if kernel and user dirents have the
24825         same d_ino and d_off.
24827         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24828         LLONG_MAX != LONG_MAX.
24829         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24830         (_fitoa_word): Likewise.
24832         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24833         years.
24834         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24835         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24836         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24838         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24839         include <bits/wordsize.h>.  Check __x86_64__ instead of
24840         __WORDSIZE.
24841         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24842         if __x86_64__ is defined.  Use anonymous union on fpstate.
24844         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24845         anonymous union.
24847 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24849         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24850         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24851         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24852         Refer to _rtld_local_ro instead of _rtld_global_ro.
24853         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24854         Likewise.
24855         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24856         Likewise.
24857         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24858         Likewise.
24859         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24860         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24861         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24863         * sysdeps/powerpc/powerpc32/dl-machine.c
24864         (__elf_machine_runtime_setup) [PROF]: Don't reference
24865         _dl_prof_resolve.
24867 2012-05-18  Andreas Jaeger  <aj@suse.de>
24869         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24870         function only available for GCCs before 3.4 since GCC 3.4
24871         introduced a builtin.
24872         (lrint): Likewise.
24873         (llrintf): Likewise.
24874         (llrint): Likewise.
24875         (fmaxf): Likewise.
24876         (fmax): Likewise.
24877         (fminf): Likewise.
24878         (fmin): Likewise.
24879         (rint): Likewise.
24880         (rintf): Likewise.
24881         (nearbyint): Likewise.
24882         (nearbyintf): Likewise.
24883         (ceil): Likewise.
24884         (ceilf): Likewise.
24885         (floor): Likewise.
24886         (floorf): Likewise.
24888 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24890         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24891         on both fields and cast pointer to __syscall_ulong_t.
24893         * bits/types.h (__fsword_t): New type.
24894         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24895         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24896         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24897         (__FSWORD_T_TYPE): Likewise.
24898         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24899         (__FSWORD_T_TYPE): Likewise.
24900         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24901         (__FSWORD_T_TYPE): Likewise.
24902         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24903         (__FSWORD_T_TYPE): Likewise.
24904         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24905         __SWORD_TYPE with __fsword_t.
24906         (statfs64): Likewise.
24908 2012-05-17  David S. Miller  <davem@davemloft.net>
24910         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24912 2012-05-17  Andreas Jaeger  <aj@suse.de>
24914         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24915         warning.
24917 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24919         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24921 2012-05-17  Andreas Jaeger  <aj@suse.de>
24923         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24924         when it is used.
24926 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24928         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24930 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24932         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24933         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24935 2012-05-17  Andreas Jaeger  <aj@suse.de>
24936             Carlos O'Donell  <carlos_odonell@mentor.com>
24938         [BZ #14059]
24939         * sysdeps/x86_64/multiarch/init-arch.h
24940         (bit_YMM_Usable): Rename to...
24941         (bit_AVX_Usable): ... this.
24942         (bit_FMA4_Usable): New macro.
24943         (bit_XMM_state): New macro.
24944         (bit_YMM_state): New macro.
24945         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24946         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24947         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24948         (CPUID_OSXSAVE): New macro.
24949         (CPUID_AVX): New macro.
24950         (CPUID_FMA4): New macro.
24951         (index_YMM_Usable): Rename to...
24952         (index_AVX_Usable): ... this.
24953         (HAS_AVX): Use HAS_ARCH_FEATURE.
24954         (HAS_FMA4): Likewise.
24955         (HAS_YMM_USABLE): Remove.
24956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24957         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24958         are present.
24959         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24960         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24961         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24962         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24963         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24965 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24967         * math/libm-test.c: Support platforms without multiple rounding modes.
24968         * math/bug-nextafter.c: Support platforms without FP exceptions.
24969         * math/bug-nexttoward.c: Likewise.
24970         * math/test-fenv.c: Likewise.
24971         * math/test-misc.c: Likewise.
24972         * stdlib/bug-getcontext.c: Likewise.
24974 2012-05-17  Andreas Jaeger  <aj@suse.de>
24976         * manual/examples/search.c (critter_cmp): Change signature to
24977         avoid warnings.
24978         * manual/string.texi (Collation Functions): Likewise.
24980 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24982         * bits/types.h: Fold copyright years.
24983         * bits/typesizes.h: Likewise.
24984         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24985         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24987         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24988         * time/time.h: Likewise.
24990 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24992         [BZ #208]
24993         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24994         in instead of returning them.  Return void.
24995         (__libc_mallinfo): Accumulate over all arenas.
24996         (__malloc_stats): Adjust for change in int_mallinfo interface.
24998 2012-05-16  Roland McGrath  <roland@hack.frob.com>
25000         [BZ #10375]
25001         * configure.in (NM): Add AC_CHECK_TOOL for it.
25002         (libc_extra_cflags): New substituted variable.
25003         Check for -fstack-protector being used implicitly.
25004         * configure: Regenerated.
25005         * config.make.in (config-extra-cflags): New variable,
25006         gets @libc_extra_cflags@.
25007         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25009         [BZ #10375]
25010         * configure.in: Check for _FORTIFY_SOURCE being predefined.
25011         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25012         * configure: Regenerated.
25013         * config.make.in (CPPUNDEFS): New substituted variable.
25014         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25015         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25016         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25018 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25020         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25021         (mq_attr): Use __syscall_slong_t.
25023 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25025         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25026         Check __x86_64__ instead of __WORDSIZE.
25027         (_STAT_VER_LINUX): Likewise.
25028         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
25029         __syscall_ulong_t and __syscall_slong_t.
25030         (stat64): Likewise.
25032 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25034         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25036 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25038         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25040 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25042         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25043         __syscall_ulong_t.
25045         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25046         include <bits/wordsize.h>.  Check __x86_64__ instead of
25047         __WORDSIZE.
25048         (greg_t): Use "__extension__ long long int" if __x86_64__ is
25049         defined.
25050         (mcontext_t): Replace "unsigned long" with "unsigned long long".
25052         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25053         include <bits/wordsize.h>.  Check __x86_64__ instead of
25054         __WORDSIZE.
25055         (user_regs_struct): Use "__extension__ unsigned long long"
25056         instead of "unsigned long" if __x86_64__ is defined.
25057         (user): Likewise.  Pad after pointer field if __ILP32__ is
25058         defined.
25060 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
25062         * configure.in (makeinfo): Require version 4.5 or later.  Allow
25063         versions 5 to 9.
25064         * configure: Regenerated.
25065         * manual/install.texi (texinfo): Increase version requirement to
25066         4.5 or later.
25067         * INSTALL: Regenerated.
25069         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25071 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25073         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25075         * sysdeps/x86_64/x32/ffs.c: New file.
25077         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25078         __syscall_ulong_t.
25079         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25080         defined.  Use __syscall_ulong_t.
25081         (shminfo): Use __syscall_ulong_t.
25082         (shm_info): Likewise.
25084         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25085         __syscall_ulong_t.
25087         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25088         <bits/wordsize.h>.
25089         (msgqnum_t): Use __syscall_ulong_t.
25090         (msglen_t): Likewise.
25091         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
25092         __syscall_ulong_t.
25094         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25095         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25097         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25099         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25100         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25102         * sysvipc/sys/msg.h (msgbuf): Replace long int with
25103         __syscall_slong_t.
25105         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25106         include <bits/wordsize.h>.  Check __x86_64__ instead of
25107         __WORDSIZE.
25109         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25110         "unsigned long long int" if __x86_64__ is defined.
25111         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25113         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25114         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25115         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25117         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25118         <stdint.h>.
25119         (GET_PC): Cast to uintptr_t first.
25120         (GET_FRAME): Likewise.
25121         (GET_STACK): Likewise.
25123         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25124         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25125         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25126         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25127         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25128         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25129         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25130         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25131         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25132         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25133         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25134         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25135         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25136         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25137         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25138         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25139         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25140         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25141         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25142         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25143         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25144         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25145         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25146         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25147         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25148         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25149         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25150         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25151         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25153 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25155         * Makerules (+depfiles): Also collect depfiles from .oS in
25156         $(extra-objs).
25157         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25158         .oS, $(libnldbl-routines)).
25160         * Makerules (native-compile-mkdep-flags): Define.
25161         * sunrpc/Makefile (extra-objs): Add $(addprefix
25162         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25163         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25164         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25165         calling $(make-target-directory).
25167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25169         * bits/types.h (__snseconds_t): Removed.
25170         * time/time.h (struct timespec): Replace __snseconds_t with
25171         __syscall_slong_t.
25172         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25173         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25174         Likewise.
25175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25176         (__SNSECONDS_T_TYPE): Likewise.
25177         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25178         (__SNSECONDS_T_TYPE): Likewise.
25179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25180         (__SNSECONDS_T_TYPE): Likewise.
25182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25184         * sysdeps/mach/hurd/bits/typesizes.h
25185         (__SYSCALL_SLONG_TYPE): New macro.
25186         (__SYSCALL_ULONG_TYPE): Likewise.
25188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25190         * bits/types.h (__syscall_slong_t): New type.
25191         (__syscall_ulong_t): Likewise.
25193         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25194         (__SYSCALL_ULONG_TYPE): Likewise.
25195         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25196         (__SYSCALL_SLONG_TYPE): Likewise.
25197         (__SYSCALL_ULONG_TYPE): Likewise.
25198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25199         (__SYSCALL_SLONG_TYPE): Likewise.
25200         (__SYSCALL_ULONG_TYPE): Likewise.
25201         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25202         (__SYSCALL_SLONG_TYPE): Likewise.
25203         (__SYSCALL_ULONG_TYPE): Likewise.
25205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25207         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25208         Add sigaltstack-offsets.sym.
25209         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25210         <sigaltstack-offsets.h>.
25211         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25212         longjmp_msg pointer.
25213         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25214         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25215         signal stack.
25216         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25218 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25220         * elf/stackguard-macros.h: Remove file.
25221         * sysdeps/generic/stackguard-macros.h: New file.
25222         * sysdeps/i386/stackguard-macros.h: Likewise.
25223         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25224         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25225         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25226         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25227         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25228         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25229         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25230         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25231         <elf/stackguard-macros.h>.
25233         [BZ #14109]
25234         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25235         __aligned__ in attribute.
25236         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25237         (gregset_t): Likewise.
25239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25241         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25242         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25243         * sysdeps/x86_64/x32/Implies-after: New file.
25245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25247         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25248         and access return value for _dl_profile_fixup.  Use R10_LP to
25249         load frame size.
25251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25253         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25257         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25258         * sysdeps/x86_64/x32/sysdep.h: New file.
25260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25262         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25263         * sysdeps/x86_64/setjmp.S: Likewise.
25265 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25267         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25268         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25269         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25270         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25271         remove unused global constant.
25273 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25275         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25276         include of <not-cancel.h>.
25278 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25280         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25282 2012-05-15  Jeff Law  <law@redhat.com>
25283             Andreas Jaeger  <aj@suse.de>
25285         [BZ #13594]
25286         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25287         out from...
25288         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25289         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25290         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25291         code changing __hst_map_handle.map.
25293 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25295         * configure.in (sysnames): Look for Implies-before and Implies-after
25296         files.
25297         * configure: Regenerated.
25299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25301         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25302         8-byte data alignment with LP_SIZE alignment.
25304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25306         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25307         into R10_LP.
25309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25311         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25313 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25315         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25316         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25317         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25318         Likewise.
25319         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25323         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25324         (stackinfo_sub_sp): Likewise.
25326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25328         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25329         RAX_LP.
25331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25333         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25334         into R*_LP.
25336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25338         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25339         sizes into R*_LP.
25341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25343         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25347         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25348         into R11_LP and load __x86_64_shared_cache_size_half into
25349         R8_LP.
25351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25353         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25354         R8_LP.
25356 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25358         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25359         logb for POWER7.
25360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25361         logbf for POWER7.
25362         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25363         logbl for POWER7.
25364         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25365         powerpc32/power7/fpu/s_logb.c via #include.
25366         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25367         powerpc32/power7/fpu/s_logbf.c via #include.
25368         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25369         powerpc32/power7/fpu/s_logbl.c via #include.
25371 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25373         * README.libm: Remove file.
25375 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25377         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25378         count for x32.  Use R*_LP and omit operand-size suffix.
25380 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25382         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25383         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25384         * sysdeps/x86_64/x32/shlib-versions: New file.
25386 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25388         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25389         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25390         Use _dl_fatal_printf instead.
25392 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25394         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25395         set if not set by the user.  Do not allow for being unset.
25396         * sysdeps/unix/sysv/linux/configure: Regenerated.
25398 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25400         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25401         the `q' suffix from lea and replace .quad with ASM_ADDR.
25403 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25406         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25407         instead of $17.
25408         (PTR_DEMANGLE): Likewise.
25410 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25412         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25413         (LP_OP): Likewise.
25414         (ASM_ADDR): Likewise.
25415         (RAX_LP): Likewise.
25416         (RBP_LP): Likewise.
25417         (RBX_LP): Likewise.
25418         (RCX_LP): Likewise.
25419         (RDI_LP): Likewise.
25420         (RSI_LP): Likewise.
25421         (RSP_LP): Likewise.
25422         (R8_LP): Likewise.
25423         (R9_LP): Likewise.
25424         (R10_LP): Likewise.
25425         (R10_LP): Likewise.
25426         (R11_LP): Likewise.
25427         (R12_LP): Likewise.
25428         (R13_LP): Likewise.
25429         (R14_LP): Likewise.
25430         (R15_LP): Likewise.
25432 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25434         * sysdeps/x86_64/x32/dl-machine.h: New file.
25436 2012-05-14  Andreas Jaeger  <aj@suse.de>
25438         * manual/Makefile (subdir): Remove export of subdir.
25439         (all): Remove target.
25440         (.PHONY): Remove all from list.
25441         (mkinstalldirs): Remove.
25442         (.PHONY): Remove installdirs from list.
25443         ($(inst_infodir)/libc.info): Use make-target-directory.
25444         (installdirs): Remove.
25445         (subdir_%): Remove.
25446         (glibc-targets): Remove.
25447         (lib): Remove.
25448         (stubs): Remove.
25449         ($(objpfx)stubs ../po/manual.pot): Remove.
25450         ($(objpfx)stamp%): Remove.
25451         (make-target-directory): Remove.
25452         (subdir_install): Remove.
25453         (routines): Remove.
25454         (aux): Remove.
25455         (sources): Remove.
25456         (objects): Remove.
25457         (headers): Remove.
25459         [BZ #13750]
25460         * manual/.gitignore: Remove, it's not needed anymore.
25461         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25462         all files in it.
25463         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25464         directory.
25465         (texis): Renamed to $(objpfx)texis.
25466         (texis-path): New, contains path to generated files.
25467         (chapters.%): Use texis-path for complete path, add extra argument
25468         libc-texinfo.sh.
25469         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25470         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25471         (summary,texi, stamp-summary): Use complete path of
25472         files. Generate files in build dir.
25473         (dir-add.texi): Build in build dir.
25474         (libm-err.texi,stamp-libm-err): Likewise.
25475         (version.texi, stamp-version): Likewise.
25476         (.%c.texi): Likewise.
25477         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25478         (mostlyclean): Remove target.
25479         (realclean): Remove target.
25480         (generated): Add new variable with contents from mostlyclean and
25481         realclean, remove entries duplicated in common-mostlyclean, add
25482         stamp-libm-err and stamp-version.
25483         (generated-dirs): Add libc directory.
25484         ($(inst_infodir)/libc.info): Install files from build dir.
25486         * manual/install.texi (Configuring and compiling): Adjust since
25487         the info files are not part of the tar ball anymore.
25489 2012-05-14  Andreas Jaeger  <aj@suse.de>
25491         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25492         variable.
25494 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25496         [BZ #13717]
25497         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25498         to 2.2.0 where earlier.
25499         * sysdeps/unix/sysv/linux/configure: Regenerated.
25500         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25501         Remove conditional code.
25502         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25503         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25504         Remove conditional code.
25505         [!__NR_lchown]: Likewise.
25506         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25507         [__NR_lchown]: Likewise.
25508         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25509         comment referencing __ASSUME_LCHOWN_SYSCALL.
25510         * sysdeps/unix/sysv/linux/i386/sigaction.c
25511         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25512         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25513         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25514         Remove conditional code.
25515         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25516         (__protocol_available): Remove #if 0 code.
25517         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25518         conditional code.
25519         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25520         * sysdeps/unix/sysv/linux/kernel-features.h
25521         (__ASSUME_GETCWD_SYSCALL): Don't define.
25522         (__ASSUME_REALTIME_SIGNALS): Likewise.
25523         (__ASSUME_PREAD_SYSCALL): Likewise.
25524         (__ASSUME_PWRITE_SYSCALL): Likewise.
25525         (__ASSUME_POLL_SYSCALL): Likewise.
25526         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25527         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25528         non-SPARC.
25529         (__ASSUME_SIOCGIFNAME): Don't define.
25530         (__ASSUME_MSG_NOSIGNAL): Likewise.
25531         (__ASSUME_SENDFILE): Define unconditionally.
25532         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25533         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25534         conditional code.
25535         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25536         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25537         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25538         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25539         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25540         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25541         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25543         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25544         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25546         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25547         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25549         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25550         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25552         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25553         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25555         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25556         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25558         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25559         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25561         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25562         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25564         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25565         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25566         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25567         Remove conditional code.
25568         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25569         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25570         Remove conditional code.
25571         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25572         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25573         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25574         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25575         Remove conditional code.
25576         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25577         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25578         Remove conditional code.
25579         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25580         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25581         Remove conditional code.
25582         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25583         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25584         Remove conditional code.
25585         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25586         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25587         Remove conditional code.
25588         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25589         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25590         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25591         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25592         * sysdeps/unix/sysv/linux/sigaction.c
25593         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25594         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25595         * sysdeps/unix/sysv/linux/sigpending.c
25596         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25597         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25598         * sysdeps/unix/sysv/linux/sigprocmask.c
25599         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25600         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25601         * sysdeps/unix/sysv/linux/sigsuspend.c
25602         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25603         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25604         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25605         (__libc_missing_rt_sigs): Remove.
25606         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25607         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25608         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25609         Remove conditional code.
25610         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25611         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25612         return 1.
25613         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25614         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25615         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25616         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25618 2012-05-14  Andreas Jaeger  <aj@suse.de>
25620         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25621         it's not used in glibc.
25622         (__coshm1): Likewise.
25623         (__acosh1p): Likewise.
25624         (__sgn): Likewise.
25626         * manual/string.texi (Copying and Concatenation): Add missing
25627         variable in concat example.
25628         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25630 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25632         [BZ #14103]
25633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25634         __builtin_clzl with __builtin_clzll.
25636 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25638         [BZ #14104]
25639         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25640         libc_freeres_ptr.
25642 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25644         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25645         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25646         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25647         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25649 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25651         * NEWS: Update ia64 info.
25653 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25655         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25656         used as bcopy.
25658 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25660         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25661         * sysdeps/unix/syscalls.list (dup3): Likewise.
25662         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25663         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25665 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25667         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25668         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25670 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25672         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25673         thread pointer.
25674         (TLS_IE): Use mov/add instead of movq/addq to load thread
25675         pointer.
25676         (TLS_GD_PREFIX): New.
25677         (TLS_GD): Use it.
25679 2012-05-11  David S. Miller  <davem@davemloft.net>
25681         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25682         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25683         (_FPU_SETCW): Likewise.
25685 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25687         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25688         is 32-byte aligned.
25690 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25692         [BZ #11837]
25693         * iconvdata/gb18030.c: Update tables.
25694         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25695         characters specially.
25696         (BODY for TO_LOOP): Add encoding of missing ranges.
25698 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25700         [BZ #13673]
25701         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25702         * sysdeps/mach/hurd/dup3.c: Likewise.
25703         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25704         * sysdeps/powerpc/memmove.c:: Likewise.
25706 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25708         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25709         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25711 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25713         * elf/elf.h (R_X86_64_RELATIVE64): New.
25714         (R_X86_64_NUM): Updated.
25715         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25716         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25717         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25718         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25719         tst-quad1pie tst-quad2pie
25720         (modules-names): Add tst-quadmod1 tst-quadmod2.
25721         ($(objpfx)tst-quad1): New dependency.
25722         ($(objpfx)tst-quad2): Likewise.
25723         ($(objpfx)tst-quad1pie): Likewise.
25724         ($(objpfx)tst-quad2pie): Likewise.
25725         * sysdeps/x86_64/tst-quad1.c: New file.
25726         * sysdeps/x86_64/tst-quad1pie.c: New file.
25727         * sysdeps/x86_64/tst-quad2.c: Likewise.
25728         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25729         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25730         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25731         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25732         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25736         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25737         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25738         * streams/stropts.h (t_scalar_t): Define type.
25740         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25741         (_PATH_PRESERVE): Set to "/var/lib".
25742         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25744         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25745         instead of int.
25747         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25748         if __dir_mkfile succeeded.
25750         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25751         checking for _hurd_dtablesize.  Unlock it right after having
25752         finished _hurd_dtable allocation.
25754 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25756         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25757         * sysdeps/mach/hurd/configure: Regenerated.
25758         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25759         special-casing to...
25760         * sysdeps/gnu/configure.in: ... this new file.
25761         * sysdeps/unix/sysv/linux/configure: Regenerated.
25762         * sysdeps/gnu/configure: New generated file.
25764         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25765         for Linux: use nsec instead of usec, as well as:
25766         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25767         members of type struct timespec.
25768         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25769         New macros.
25770         (struct stat64): Likewise.
25771         (_STATBUF_ST_NSEC): New macro.
25772         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25774         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25775         __strtoul_internal rather than strtoul.
25777 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25779         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25780         and reject them.
25782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25784         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25785         which preserves existing values.
25786         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25788 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25790         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25791         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25792         greater than FD_SETSIZE.
25794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25796         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25797         allocated, call __vm_protect to finish enabling the existing space, and
25798         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25799         allocate the remainder.
25801 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25803         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25804         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25808         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25809         sysdeps/mach/hurd/readlink.c.
25811         * posix/tst-sysconf.c (posix_options): Only use
25812         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25813         _POSIX_SYNCHRONIZED_IO when they are defined
25814         * sysdeps/mach/hurd/bits/posix_opt.h:
25815         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25816         (_XOPEN_REALTIME): Undefine macro.
25817         (_XOPEN_REALTIME_THREADS): Undefine macro.
25818         (_XOPEN_SHM): Undefine macro.
25819         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25820         macro to -1.
25821         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25822         macro to -1.
25823         (_POSIX_ASYNC_IO): Undefine macro.
25824         (_POSIX_PRIORITIZED_IO): Undefine macro.
25825         (_POSIX_SPIN_LOCKS): Define macro to -1.
25827         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25828         SA_NODEFER, SA_RESETHAND.
25829         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25830         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25831         F_DUPFD_CLOEXEC.
25833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25835         * elf/Makefile (pldd-modules): Define unconditionally.
25837 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25839         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25841 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25843         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25844         Return ENOENT when name is empty.
25845         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25847 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25849         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25851         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25855         Fix mlock in all cases except non-readable pages.
25856         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25857         instead of VM_PROT_ALL as parameter to __vm_wire function.
25859         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25860         (__mkdir): When path is `/', just fail with EEXIST.
25861         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25863 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25865         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25866         <sys/uio.h> (for writev).
25867         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25868         and <sys/param.h> (for MIN).
25870 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25872         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25873         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25874         if interrupted.
25876 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25878         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25879         Depend on against $(link-rpcuserlibs).
25881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25883         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25884         (__libc_stack_end): Do not use attribute_relro.
25885         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25886         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25887         to libthread-provided value.
25888         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25889         attribute_relro.
25891 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25893         [BZ #3748]
25894         * bits/libc-lock.h (__libc_once_get): New macro.
25895         * sysdeps/mach/bits/libc-lock.h: Likewise.
25896         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25897         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25898         instead of using implementation details.
25900         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25901         * libio/freopen.c: Likewise.
25902         * libio/freopen64.c: Likewise.
25903         * misc/syslog.c: Likewise.
25904         * nscd/connections.c: Likewise.
25905         * nscd/netgroupcache.c: Likewise.
25906         * sysdeps/posix/getcwd.c: Likewise.
25908 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25910         * math/w_ilogbf.c: Add #include <limits.h>.
25912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25914         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25915         path instead of returning without unlocking.
25917         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25918         immediate-write ioctls.
25919         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25921 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25923         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25924         __builtin_frame_address instead of making assumptions about the
25925         location of the return address relative to DATA.  Force early load of
25926         the return address.
25927         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25928         __builtin_frame_address.
25930         dup3 for GNU Hurd.
25931         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25932         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25933         implement dup3 and do some further code clean-ups.
25934         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25935         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25939         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25941         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25942         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25943         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25944         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25945         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25946         d->port.lock.
25948         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25949         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25950         when handler == SIG_ERR, not when handler != SIG_ERR.
25952 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25954         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25955         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25956         definitions.
25958         accept4 for GNU Hurd.
25959         * include/sys/socket.h (__libc_accept4): New prototype.
25960         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25961         to implement __libc_accept4.
25962         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25963         __libc_accept4.
25964         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25966         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25967         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25968         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25969         signal-defines.sym.
25971 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25973         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25975 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25977         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25978         assertion on O_CLOEXEC flag.
25979         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25980         * hurd/intern-fd.c: Likewise.
25981         * hurd/port2fd.c: Likewise.
25983 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25985         [BZ #3906]
25986         * bits/in.h (IPV6_PKTINFO): Define new macro.
25987         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25989 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25991         [BZ #13954]
25992         [BZ #13955]
25993         [BZ #13956]
25994         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25995         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25996         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25997         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25999         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26000         * math/libm-test.inc (logb_test) : Additional logb tests.
26002 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
26003             Andreas Jaeger  <aj@suse.de>
26005         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26006         * configure: Regenerated.
26007         * config.h.in (LINK_OBSOLETE_RPC): New macro.
26008         * config.make.in (link-obsolete-rpc): New substituted variable.
26009         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26010         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26011         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26012         (shared-only-routines): Don't set it under [link-obsolete-rpc],
26013         so that libc.a contains the symbols.
26014         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26015         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26016         * sunrpc/auth_none.c: Likewise.
26017         * sunrpc/auth_unix.c: Likewise.
26018         * sunrpc/authdes_prot.c: Likewise.
26019         * sunrpc/authuxprot.c: Likewise.
26020         * sunrpc/clnt_gen.c: Likewise.
26021         * sunrpc/clnt_perr.c: Likewise.
26022         * sunrpc/clnt_raw.c: Likewise.
26023         * sunrpc/clnt_simp.c: Likewise.
26024         * sunrpc/clnt_tcp.c: Likewise.
26025         * sunrpc/clnt_udp.c: Likewise.
26026         * sunrpc/clnt_unix.c: Likewise.
26027         * sunrpc/des_crypt.c: Likewise.
26028         * sunrpc/des_soft.c: Likewise.
26029         * sunrpc/get_myaddr.c: Likewise.
26030         * sunrpc/key_call.c: Likewise.
26031         * sunrpc/key_prot.c: Likewise.
26032         * sunrpc/netname.c: Likewise.
26033         * sunrpc/pm_getmaps.c: Likewise.
26034         * sunrpc/pm_getport.c: Likewise.
26035         * sunrpc/pmap_clnt.c: Likewise.
26036         * sunrpc/pmap_prot.c: Likewise.
26037         * sunrpc/pmap_prot2.c: Likewise.
26038         * sunrpc/pmap_rmt.c: Likewise.
26039         * sunrpc/publickey.c: Likewise.
26040         * sunrpc/rpc_cmsg.c: Likewise.
26041         * sunrpc/rpc_common.c: Likewise.
26042         * sunrpc/rpc_dtable.c: Likewise.
26043         * sunrpc/rpc_prot.c: Likewise.
26044         * sunrpc/rpc_thread.c: Likewise.
26045         * sunrpc/rtime.c: Likewise.
26046         * sunrpc/svc.c: Likewise.
26047         * sunrpc/svc_auth.c: Likewise.
26048         * sunrpc/svc_raw.c: Likewise.
26049         * sunrpc/svc_run.c: Likewise.
26050         * sunrpc/svc_tcp.c: Likewise.
26051         * sunrpc/svc_udp.c: Likewise.
26052         * sunrpc/svc_unix.c: Likewise.
26053         * sunrpc/svcauth_des.c: Likewise.
26054         * sunrpc/xcrypt.c: Likewise.
26055         * sunrpc/xdr.c: Likewise.
26056         * sunrpc/xdr_array.c: Likewise.
26057         * sunrpc/xdr_float.c: Likewise.
26058         * sunrpc/xdr_intXX_t.c: Likewise.
26059         * sunrpc/xdr_mem.c: Likewise.
26060         * sunrpc/xdr_rec.c: Likewise.
26061         * sunrpc/xdr_ref.c: Likewise.
26062         * sunrpc/xdr_sizeof.c: Likewise.
26063         * sunrpc/xdr_stdio.c: Likewise.
26065 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26067         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26068         change.  Update copyright years.
26070 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26072         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26074 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
26075             Joseph Myers  <joseph@codesourcery.com>
26076             Paul Pluzhnikov  <ppluzhnikov@google.com>
26078         [BZ #14012]
26079         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26080         requiring rpcgen.
26081         [cross-compiling] (extra-libs): Likewise.
26082         [cross-compiling] (extra-libs-others): Likewise.
26083         [cross-compiling] (librpcsvc-routines): Likewise.
26084         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26085         [cross-compiling] (omit-deps): Likewise.
26086         (sunrpc-CPPFLAGS): New variable.
26087         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26088         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26089         (cross-rpcgen-objs): New variable.
26090         (extra-objs): Append $(cross-rpcgen-objs).
26091         ($(cross-rpcgen-objs)): New rule.
26092         ($(objpfx)cross-rpcgen): Likewise.
26093         (rpcgen-cmd): Define to use $(built-program-file).  Expand
26094         comment.
26095         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26096         ($(objpfx)x%.stmp): Likewise.
26097         * sunrpc/proto.h [IS_IN_build] (_): Define.
26098         [IS_IN_build] (_libc_intl_domainname): Likewise.
26100 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26102         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26103         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26104         and R_X86_64_TPOFF64.
26106 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26108         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26109         sysdeps/unix/sysv/syscalls.list.
26110         (stime): Likewise.
26111         (utime): Likewise.
26112         * sysdeps/unix/sysv/syscalls.list: Remove file.
26114 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26116         [BZ #3440]
26117         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26118         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26119         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26120         (__LC_IDENTIFICATION): Make these macros useful in #if
26121         expressions, as required by C99.
26123 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26125         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26126         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26127         after this.
26129 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26131         * stdlib/longlong.h: Updated from GCC.
26133 2012-05-09  Andreas Jaeger  <aj@suse.de>
26135         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26136         default is first entry.
26137         (run_mode): Set type.
26138         (main): Remove informal message about syslog.
26139         (options): Fix typo.
26141         [BZ #14053]
26142         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26143         to asm.
26144         (lrint): Likewise.
26145         (llrintf): Likewise.
26146         (llrint): Likewise.
26147         (rint): Likewise.
26148         (rintf): Likewise.
26149         (nearbyint): Likewise.
26150         (nearbyintf): Likewise.
26152 2012-05-09  Andreas Jaeger  <aj@suse.de>
26153             Pedro Alves  <palves@redhat.com>
26155         * nscd/nscd.c (run_mode): Use enum.
26156         (main): Cleanup coding style issue.
26158 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26159             Andreas Jaeger  <aj@suse.de>
26161         * nscd/nscd.c (go_background): Replaced with...
26162         (run_mode): ... this.
26163         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26164         (options): Add -F --foreground.
26165         (main): Implement it.
26166         (parse_opt): Parse it.
26168 2012-05-09  Andreas Jaeger  <aj@suse.de>
26170         [BZ #14083]
26171         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26172         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26173         -Wconversion warning.
26174         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26175         Likewise.
26177 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26179         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26180         == 0.
26181         (LC_ALL): Use macro-int-constant.
26182         (LC_COLLATE): Likewise.
26183         (LC_CTYPE): Likewise.
26184         (LC_MESSAGES): Likewise.
26185         (LC_MONETARY): Likewise.
26186         (LC_NUMERIC): Likewise.
26187         (LC_TIME): Likewise.
26188         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26189         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26190         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26191         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26192         Specify type.
26193         [C99-based standards] (float_t): Expect type.
26194         [C99-based standards] (double_t): Expect type.
26195         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26196         type.
26197         [C99-based standards] (HUGE_VALL): Likewise.
26198         [C99-based standards] (INFINITY): Likewise.
26199         [C99-based standards] (NAN): Likewise.
26200         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26201         [C99-based standards] (FP_NAN): Likewise.
26202         [C99-based standards] (FP_NORMAL): Likewise.
26203         [C99-based standards] (FP_SUBNORMAL): Likewise.
26204         [C99-based standards] (FP_ZERO): Likewise.
26205         [C99-based standards] (FP_FAST_FMA): Use
26206         optional-macro-int-constant.  Specify type.  Require == 1.
26207         [C99-based standards] (FP_FAST_FMAF): Likewise.
26208         [C99-based standards] (FP_FAST_FMAL): Likewise.
26209         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26210         [C99-based standards] (FP_ILOGBNAN): Likewise.
26211         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26212         Specify type.
26213         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26214         [C99-based standards] (math_errhandling): Specify type.
26215         [ISO99 || ISO11] (signgam): Do not allow.
26216         [non-C99-based standards] (copysignf): Do not allow.
26217         [non-C99-based standards] (exp2f): Likewise.
26218         [non-C99-based standards] (log2f): Likewise.
26219         [non-C99-based standards] (modff): Allow.
26220         [non-C99-based standards] (erff): Do not allow.
26221         [non-C99-based standards] (erfcf): Likewise.
26222         [non-C99-based standards] (gammaf): Likewise.
26223         [non-C99-based standards] (hypotf): Likewise.
26224         [non-C99-based standards] (j0f): Likewise.
26225         [non-C99-based standards] (j1f): Likewise.
26226         [non-C99-based standards] (jnf): Likewise.
26227         [non-C99-based standards] (lgammaf): Likewise.
26228         [non-C99-based standards] (tgammaf): Likewise.
26229         [non-C99-based standards] (y0f): Likewise.
26230         [non-C99-based standards] (y1f): Likewise.
26231         [non-C99-based standards] (ynf): Likewise.
26232         [non-C99-based standards] (isnanf): Likewise.
26233         [non-C99-based standards] (acoshf): Likewise.
26234         [non-C99-based standards] (asinhf): Likewise.
26235         [non-C99-based standards] (atanhf): Likewise.
26236         [non-C99-based standards] (cbrtf): Likewise.
26237         [non-C99-based standards] (expm1f): Likewise.
26238         [non-C99-based standards] (ilogbf): Likewise.
26239         [non-C99-based standards] (log1pf): Likewise.
26240         [non-C99-based standards] (logbf): Likewise.
26241         [non-C99-based standards] (nextafterf): Likewise.
26242         [non-C99-based standards] (remainderf): Likewise.
26243         [non-C99-based standards] (rintf): Likewise.
26244         [non-C99-based standards] (scalbf): Likewise.
26245         [non-C99-based standards] (copysignl): Likewise.
26246         [non-C99-based standards] (exp2l): Likewise.
26247         [non-C99-based standards] (log2l): Likewise.
26248         [non-C99-based standards] (modfl): Allow.
26249         [non-C99-based standards] (erfl): Do not allow.
26250         [non-C99-based standards] (erfcl): Likewise.
26251         [non-C99-based standards] (gammal): Likewise.
26252         [non-C99-based standards] (hypotl): Likewise.
26253         [non-C99-based standards] (j0l): Likewise.
26254         [non-C99-based standards] (j1l): Likewise.
26255         [non-C99-based standards] (jnl): Likewise.
26256         [non-C99-based standards] (lgammal): Likewise.
26257         [non-C99-based standards] (tgammal): Likewise.
26258         [non-C99-based standards] (y0l): Likewise.
26259         [non-C99-based standards] (y1l): Likewise.
26260         [non-C99-based standards] (ynl): Likewise.
26261         [non-C99-based standards] (isnanl): Likewise.
26262         [non-C99-based standards] (acoshl): Likewise.
26263         [non-C99-based standards] (asinhl): Likewise.
26264         [non-C99-based standards] (atanhl): Likewise.
26265         [non-C99-based standards] (cbrtl): Likewise.
26266         [non-C99-based standards] (expm1l): Likewise.
26267         [non-C99-based standards] (ilogbl): Likewise.
26268         [non-C99-based standards] (log1pl): Likewise.
26269         [non-C99-based standards] (logbl): Likewise.
26270         [non-C99-based standards] (nextafterl): Likewise.
26271         [non-C99-based standards] (remainderl): Likewise.
26272         [non-C99-based standards] (rintl): Likewise.
26273         [non-C99-based standards] (scalbl): Likewise.
26274         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26275         [non-C99-based standards] (FP_*): Do not allow.
26276         [C99-based standards] (FP_*): Change to
26277         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26278         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26279         allow.
26280         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26281         (SIG_ERR): Likewise.
26282         [X/Open-based standards] (SIG_HOLD): Likewise.
26283         (SIG_IGN): Likewise.
26284         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26285         positive value.
26286         (SIGFPE): Likewise.
26287         (SIGILL): Likewise.
26288         (SIGINT): Likewise.
26289         (SIGSEGV): Likewise.
26290         (SIGTER): Likewise.
26291         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26292         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26293         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26294         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26295         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26296         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26297         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26298         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26299         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26300         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26301         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26302         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26303         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26304         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26305         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26306         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26307         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26308         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26309         [X/Open-based standards] (SIGTRAP): Likewise.
26310         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26311         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26312         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26313         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26314         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26315         allow.
26317 2012-05-08  Ian Wienand  <ianw@vmware.com>
26319         [BZ #14080]
26320         * time/tzset.c (__tzset_parse_tz): Update default rules for
26321         daylight time changes in the Energy Policy Act of 2005.
26323 2012-05-09  Andreas Jaeger  <aj@suse.de>
26325         [BZ #13983]
26326         * elf/ldconfig.c (parse_conf): Change string to make clear that
26327         ldconfig only issued a warning if ld.so.conf does not exist.
26329 2012-05-08  David S. Miller  <davem@davemloft.net>
26331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26332         movxtod instead of popping the value on the stack.
26334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26336 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
26338         * config.h.in: Add HAVE_ARM_PCS_VFP.
26340 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
26342         [BZ #13979]
26343         * include/features.h: Warn if user requests __FORTIFY_SOURCE
26344         checking but the checks are disabled for any reason.
26346 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
26348         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26349         and ELF64_R_TYPE with ELFW(R_TYPE).
26351 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
26353         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26354         (ulimit): Likewise.
26356         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26357         (settimeofday): Likewise.
26359 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
26361         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
26362         a struct th_u2 inside the union, and move tu_block/tu_code into
26363         a new th_u3 union of tu_block/tu_code inside of that.  Move
26364         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
26365         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
26366         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26367         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26368         (th_stuff): Change to th_u1.tu_stuff.
26369         (th_data): Define.
26370         (th_msg): Change to th_u1.th_u2.tu_data.
26372 2012-05-07  David S. Miller  <davem@davemloft.net>
26374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26376         [BZ #14074]
26377         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26378         (SETUP_PIC_REG): Use it.
26379         (SETUP_PIC_REG_LEAF): Use it.
26381 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26383         [BZ #13885]
26384         [BZ #13923]
26385         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26386         USE_AS_EXPM1L.
26387         (EXPL_FINITE): Likewise.
26388         (FLDLOG): Likewise.
26389         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26390         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26391         e_expl.S.
26392         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26393         USE_AS_EXPM1L.
26394         (EXPL_FINITE): Likewise.
26395         (FLDLOG): Likewise.
26396         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26397         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26398         e_expl.S.
26399         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26400         test of -max_value argument for long double.
26401         * sysdeps/i386/fpu/libm-test-ulps: Update.
26402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26404 2012-05-06  David S. Miller  <davem@davemloft.net>
26406         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26407         quad soft-float symbols whose references which are compiler
26408         generated.
26409         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26411 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26413         [BZ #13884]
26414         [BZ #13914]
26415         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26416         USE_AS_EXP10L.
26417         (EXPL_FINITE): Likewise.
26418         (FLDLOG): Likewise.
26419         (c0): Likewise.
26420         (c1): Likewise.
26421         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26422         Adjust comments for base varying.
26423         (__expl_finite): Change alias to EXPL_FINITE.
26424         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26425         e_expl.S.
26426         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26427         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26428         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26429         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26430         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26431         USE_AS_EXP10L.
26432         (EXPL_FINITE): Likewise.
26433         (FLDLOG): Likewise.
26434         (c0): Likewise.
26435         (c1): Likewise.
26436         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26437         Adjust comments for base varying.
26438         (__expl_finite): Change alias to EXPL_FINITE.
26439         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26440         tests for bugs.
26441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26443         [BZ #14064]
26444         * math/libm-test.inc (check_float_internal): Correct ulp
26445         calculation for subnormal expected results.
26447 2012-05-06  Andreas Jaeger  <aj@suse.de>
26449         * Makeconfig (+math-flags): New, set to -frounding-math.
26450         (+cflags): Add +math-flags so that all of glibc gets compiled with
26451         it.
26453         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26455 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26457         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26458         Disable one test.
26460         [BZ #13787]
26461         [BZ #13922]
26462         [BZ #14036]
26463         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26464         (__ieee754_expl): Allow for and saturate large arguments.
26465         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26466         (u_threshold): Likewise.
26467         (__exp): Call __ieee754_exp before checking for overflow and
26468         underflow.
26469         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26470         (u_threshold): Likewise.
26471         (__expf): Call __ieee754_expf before checking for overflow and
26472         underflow.
26473         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26474         (u_threshold): Likewise.
26475         (__expl): Call __ieee754_expl before checking for overflow and
26476         underflow.
26477         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26478         (__ieee754_expl): Allow for and saturate large arguments.
26479         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26480         missing overflow exception on overflow.
26481         (expm1_test): Do not allow missing overflow exception on overflow.
26483         * sysdeps/i386/fpu/e_expl.c: Move to ...
26484         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26485         rather than using inline asm.
26486         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26487         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26488         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26490         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26491         (nice): Likewise.
26492         (poll): Likewise.
26493         (signal): Likewise.
26494         (time): Likewise.
26495         (times): Likewise.
26497 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26499         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26500         sysdeps/unix/common/syscalls.list.
26501         (fchmod): Likewise.
26502         (fchown): Likewise.
26503         (ftruncate): Likewise.
26504         (getrusage): Likewise.
26505         (gettimeofday): Likewise.
26506         (setpgid): Likewise.
26507         (setregid): Likewise.
26508         (setreuid): Likewise.
26509         (sigaction): Likewise.
26510         (truncate): Likewise.
26511         (vhangup): Likewise.
26512         * sysdeps/unix/common/syscalls.list: Remove file.
26513         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26514         * sysdeps/unix/sysv/linux/Implies: Likewise.
26516 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26518         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26520         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26521         Moved to ...
26522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26523         Here.
26524         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26525         to ...
26526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26527         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26528         to ...
26529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26530         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26531         to ...
26532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26533         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26534         to ...
26535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26536         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26537         to ...
26538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26539         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26540         to ...
26541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26542         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26543         to ...
26544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26545         Here.
26546         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26547         to ...
26548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26549         Here.
26550         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26551         to ...
26552         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26553         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26554         Moved to ...
26555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26556         Here.
26557         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26558         to ...
26559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26561 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26563         * sysdeps/unix/common/bits/dirent.h: Remove file.
26564         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26566         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26567         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26568         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26569         * sysdeps/unix/bsd/isatty.c: Likewise.
26570         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26571         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26572         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26574 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26576         [BZ #13563]
26577         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26578         long double comparison inaccuracies.
26579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26582 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26584         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26585         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26587 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26589         [BZ #14049]
26590         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26591         nonzero digits before rounding a hex value.
26592         * stdlib/tst-strtod.c (tests): Add another test.
26594 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26596         * sysdeps/s390/fpu/libm-test-ulps: Update.
26598 2012-05-03  Andreas Jaeger  <aj@suse.de>
26600         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26601         does not get optimized out.
26602         (malloc_opt_barrier): New.
26604 2012-05-03  Andreas Jaeger  <aj@suse.de>
26605             Roland McGrath  <roland@hack.frob.com>
26607         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26608         intermediate file deletion.
26609         (generated): Add .symlist files.
26611 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26613         [BZ #13775]
26614         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26615         Redirect under this condition.
26616         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26617         [__USE_GNU] (__dprintf_chk): Not under this condition.
26618         [__USE_GNU] (__vdprintf_chk): Likewise.
26619         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26620         under this condition.
26621         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26622         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26623         [__USE_XOPEN2K8] (vdprintf): Likewise.
26624         [__USE_GNU] (__dprintf_chk): Not under this condition.
26625         [__USE_GNU] (__vdprintf_chk): Likewise.
26626         [__USE_GNU] (dprintf): Likewise.
26627         [__USE_GNU] (vdprintf): Likewise.
26629 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26631         * elf/Makefile (common-generated): Set this instead of generated for
26632         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26633         $(all-built-dso)-derived lists.
26635 2012-05-03  Andreas Jaeger  <aj@suse.de>
26637         * sysdeps/i386/fpu/libm-test-ulps: Update.
26639         * FAQ: Removed.
26640         * FAQ.in: Likewise.
26641         * scripts/gen-FAQ.pl: Likewise.
26642         * manual/install.texi (Installation): Point to online location of
26643         FAQ.
26644         * Makefile (files-for-dist): Remove FAQ.
26645         (FAQ): Remove.
26647 2012-05-02  Allan McRae  <allan@archlinux.org>
26649         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26650         (LDFLAGS-reldepmod5.so): Likewise.
26651         (LDFLAGS-reldep6mod1.so): Likewise.
26652         (LDFLAGS-reldep6mod4.so): Likewise.
26653         (LDFLAGS-reldep8mod3.so): Likewise.
26654         (LDFLAGS-unload4mod1.so): Likewise.
26655         (LDFLAGS-unload4mod2.so): Likewise.
26656         (LDFLAGS-tst-initorder): Likewise.
26657         (LDFLAGS-tst-initordera2.so): Likewise.
26658         (LDFLAGS-tst-initordera3.so): Likewise.
26659         (LDFLAGS-tst-initordera4.so): Likewise.
26660         (LDFLAGS-tst-initorderb2.so): Likewise.
26661         (LDFLAGS-noload): Likewise.
26662         (LDFLAGS-next): Likewise.
26663         (LDFLAGS-order2mod1.so): Likewise.
26664         (LDFLAGS-order2mod2.so): Likewise.
26665         (LDFLAGS-tst-initorder2): Likewise.
26666         (LDFLAGS-tst-initorder2a.so): Likewise.
26667         (LDFLAGS-tst-initorder2b.so): Likewise.
26668         (LDFLAGS-tst-initorder2c.so): Likewise.
26669         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26671 2012-05-02  David S. Miller  <davem@davemloft.net>
26673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26675 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26677         [BZ #14055]
26678         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26680 2012-05-02  Andreas Jaeger  <aj@suse.de>
26682         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26683         since we manipulate rounding mode.
26684         (CPPFLAGS-test-idouble.c): Likewise.
26685         (CPPFLAGS-test-ifloat.c): Likewise.
26686         (CFLAGS-test-ldouble.c): Likewise.
26687         (CFLAGS-test-double.c): Likewise.
26688         (CFLAGS-test-float.c): Likewise.
26689         (CFLAGS-test-misc.c): Likewise.
26690         (CFLAGS-test-test-fenv.c): Likewise.
26692 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26694         [BZ #2550]
26695         [BZ #2570]
26696         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26697         comparisons to determine direction to adjust input.
26699 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26701         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26702         output to the target.
26704         * scripts/localplt.awk: New file.
26705         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26706         (check-localplt-CFLAGS): Variable removed.
26707         ($(all-built-dso:=.jmprel)): New static pattern rule.
26708         (generated): Add those targets.
26709         (localplt-built-dso): New variable.
26710         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26712         * elf/check-localplt.c: File removed.
26714         * scripts/check-execstack.awk: New file.
26715         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26716         (check-execstack-CFLAGS): Variable removed.
26717         ($(objpfx)check-execstack.h): Target removed.
26718         ($(objpfx)execstack-default): New target.
26719         (generated): Add that instead of check-execstack.h.
26720         ($(all-built-dso:=.phdr)): New static pattern rule.
26721         (generated): Add those targets.
26722         * elf/check-execstack.c: File removed.
26724         * scripts/check-textrel.awk: New file.
26725         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26726         (check-textrel-CFLAGS): Variable removed.
26727         (all-built-dso): Use := to define.o
26728         ($(all-built-dso:=.dyn)): New static pattern rule.
26729         (generated): Add those targets.
26730         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26731         * config.make.in (READELF): New substituted variable.
26732         * elf/check-textrel.c: File removed.
26734 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26736         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26737         allow.
26738         * conform/data/ctype.h-data [C99-based standards] (isblank):
26739         Expect function.
26740         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26741         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26742         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26743         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26744         Specify type.  Require positive value.
26745         (EILSEQ): Likewise.
26746         (ERANGE): Likewise.
26747         [ISO || POSIX] (EILSEQ): Do not expect.
26748         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26749         Specify type.  Require positive value.
26750         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26751         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26752         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26753         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26754         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26755         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26756         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26757         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26758         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26759         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26760         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26761         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26762         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26763         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26764         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26765         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26766         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26767         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26768         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26769         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26770         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26771         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26772         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26773         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26774         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26775         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26776         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26777         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26778         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26779         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26780         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26781         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26782         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26783         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26784         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26785         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26786         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26787         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26788         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26789         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26790         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26791         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26792         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26793         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26794         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26795         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26796         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26797         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26798         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26799         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26800         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26801         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26802         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26803         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26804         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26805         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26806         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26807         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26808         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26809         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26810         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26811         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26812         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26813         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26814         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26815         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26816         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26817         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26818         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26819         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26820         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26821         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26822         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26823         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26824         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26825         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26826         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26827         Require >= 2.
26828         (FLT_ROUNDS): Expect as macro, not constant.
26829         (FLT_MANT_DIG): Use macro-int-constant.
26830         (DBL_MANT_DIG): Likewise.
26831         (LDBL_MANT_DIG): Likewise.
26832         (FLT_DIG): Likewise.
26833         (DBL_DIG): Likewise.
26834         (LDBL_DIG): Likewise.
26835         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26836         (DBL_MIN_EXP): Likewise.
26837         (LDBL_MIN_EXP): Likewise.
26838         (FLT_MAX_EXP): Use macro-int-constant.
26839         (DBL_MAX_EXP): Likewise.
26840         (LDBL_MAX_EXP): Likewise.
26841         (FLT_MAX_10_EXP): Likewise.
26842         (DBL_MAX_10_EXP): Likewise.
26843         (LDBL_MAX_10_EXP): Likewise.
26844         (FLT_MAX): Use macro-constant.
26845         (DBL_MAX): Likewise.
26846         (LDBL_MAX): Likewise.
26847         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26848         (DBL_EPSILON): Likewise.
26849         (LDBL_EPSILON): Likewise.
26850         (FLT_MIN): Likewise.
26851         (DBL_MIN): Likewise.
26852         (LDBL_MIN): Likewise.
26853         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26854         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26855         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26856         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26857         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26858         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26859         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26860         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26861         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26862         [ISO11] (FLT_TRUE_MIN): Likewise.
26863         [ISO11] (LDBL_TRUE_MIN): Likewise.
26864         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26865         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26866         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26867         (SCHAR_MAX): Likewise.
26868         (UCHAR_MAX): Likewise.
26869         (CHAR_MIN): Likewise.
26870         (CHAR_MAX): Likewise.
26871         (MB_LEN_MAX): Use macro-int-constant.
26872         (SHRT_MIN): Use macro-int-constant.  Specify type.
26873         (SHRT_MAX): Likewise.
26874         (USHRT_MAX): Likewise.
26875         (INT_MAX): Likewise.
26876         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26877         bound negative.
26878         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26879         bound with "U".
26880         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26881         bound with "L".
26882         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26883         bound negative.  Suffix upper bound with "L".
26884         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26885         bound with "UL".
26886         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26887         Specify type.
26888         [C99-based standards] (LLONG_MAX): Likewise.
26889         [C99-based standards] (ULLONG_MAX): Likewise.
26890         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26891         == 0.
26892         [ISO11] (max_align_t): Require type.
26893         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26895         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26896         from $CFLAGS, without defining away __attribute__ calls.
26897         (checknamespace): Use $CFLAGS_namespace.
26899         * conform/conformtest.pl (@keywords): Only include C99 keywords
26900         for standards based on C99 or C11.
26902         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26903         Disable tests.
26904         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26905         UNIX98]: Likewise.
26907         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26908         usability of symbols in #if.
26910         * conform/conformtest.pl: If macro or constant types start
26911         "promoted:", expect the symbol to be of the following type
26912         promoted by the integer promotions.
26914         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26915         in one place.  Also handle "macro-constant".
26917         * conform/conformtest.pl: Only accept expected macro values with
26918         "==".  Parse all "macro" lines in one place.
26919         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26921         * conform/conformtest.pl: Handle braced types on "constant" lines
26922         instead of handling "typed-constant".
26923         * conform/data/signal.h-data: Use "constant" instead of
26924         "typed-constant".
26926         * conform/conformtest.pl: Handle "optional-" at start of lines in
26927         one place rather than duplicating several cases.  Handle each
26928         format of "macro" line with initial "optional-".
26930         * conform/conformtest.pl: Only accept expected constant or
26931         optional-constant values with "==".  Parse all "constant" lines in
26932         one place.  Parse all "optional-constant" lines in one place.
26933         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26934         * conform/data/fmtmsg.h-data: Likewise.
26935         * conform/data/netinet/in.h-data: Likewise.
26936         * conform/data/tar.h-data: Likewise.
26937         * conform/data/limits.h-data: Use "==" form on "constant" and
26938         "optional-constant" lines.
26940         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26941         Use -std=c99 for XOPEN2K.
26942         (@knownproblems): Remove.
26943         (newtoken): Don't check %isknown.
26945         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26946         Do not expect macro.
26947         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26948         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26949         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26950         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26951         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26952         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26953         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26954         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26955         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26956         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26957         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26958         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26959         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26960         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26961         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26962         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26963         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26964         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26965         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26966         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26967         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26968         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26969         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26970         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26971         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26972         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26973         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26974         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26975         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26976         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26977         [XPG3] (acosh): Likewise.
26978         [XPG3] (asinh): Likewise.
26979         [XPG3] (atanh): Likewise.
26980         [XPG3] (cbrt): Likewise.
26981         [XPG3] (expm1): Likewise.
26982         [XPG3] (ilogb): Likewise.
26983         [XPG3] (log1p): Likewise.
26984         [XPG3] (logb): Likewise.
26985         [XPG3] (nextafter): Likewise.
26986         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26987         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26988         [XPG3] (remainder): Likewise.
26989         [XPG3] (rint): Likewise.
26990         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26991         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26992         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26993         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26994         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26995         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26996         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26997         [UNIX98 || XOPEN2K] (scalb): Expect.
26998         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26999         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27000         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27001         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27002         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27003         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27004         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27005         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27006         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27007         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27008         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27009         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27010         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27011         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27012         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27013         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27014         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27015         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27016         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27017         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27018         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27019         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27020         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27021         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27022         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27023         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27024         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27025         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27026         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27027         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27028         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27029         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27030         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27031         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27032         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27033         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27034         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27035         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27036         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27037         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27038         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27039         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27040         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27041         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27042         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27043         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27044         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27045         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27046         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27047         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27048         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27049         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27050         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27051         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27052         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27053         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27054         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27055         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27056         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27057         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27058         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27059         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27060         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27061         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27062         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27063         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27064         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27065         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27066         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27067         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27068         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27069         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27070         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27071         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27072         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27073         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27074         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27075         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27076         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27077         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27078         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27079         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27080         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27081         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27082         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27083         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27084         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27085         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27086         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27087         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27088         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27089         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27090         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27091         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27092         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27093         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27094         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27095         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27096         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27097         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27098         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27099         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27100         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27101         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27102         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27103         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27104         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27105         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27106         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27107         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27108         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27109         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27110         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27111         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27112         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27113         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27114         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27115         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27116         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27117         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27118         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27119         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27120         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27121         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27122         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27123         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27124         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27125         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27126         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27127         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27128         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27129         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27130         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27131         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27132         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27133         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27134         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27136         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27137         _XOPEN_SOURCE_EXTENDED for XPG4.
27139         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27141         * Makeconfig (localtime): Remove variable.
27142         (inst_localtime-file): Likewise.
27144 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27147         Update.
27148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27149         Update.
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27151         Update.
27152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27153         Update.
27154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27155         Update.
27156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27157         Update.
27158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27159         Update.
27160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27161         Update.
27162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27163         Update.
27165 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27167         [BZ #2550]
27168         [BZ #2570]
27169         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27170         comparisons to determine direction to adjust input.
27171         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27172         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27173         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27174         Likewise.
27175         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27176         Likewise.
27177         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27178         Likewise.
27179         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27180         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27181         Likewise.
27182         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27183         Likewise.
27184         * math/libm-test.inc (nexttoward_test): Add more tests.
27186 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27188         [BZ #14040]
27189         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27190         in version GLIBC_2.1, not GLIBC_2.0.
27191         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27192         Likewise.
27194 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27196         [BZ #13942]
27197         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27198         (1 - x) * (1 + x).
27199         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27200         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27201         * math/libm-test.inc (acos_test): Add more tests.
27202         (asin_test): Likewise.
27203         * sysdeps/i386/fpu/libm-test-ulps: Update.
27204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27206         [BZ #14034]
27207         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27208         of square root.
27209         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27210         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27211         * math/libm-test.inc (acos_test_tonearest): New function.
27212         (acos_test_towardzero): Likewise.
27213         (acos_test_downward): Likewise.
27214         (acos_test_upward): Likewise.
27215         (asin_test_tonearest): Likewise.
27216         (asin_test_towardzero): Likewise.
27217         (asin_test_downward): Likewise.
27218         (asin_test_upward): Likewise.
27219         (main): Call the new functions.
27220         * sysdeps/i386/fpu/libm-test-ulps: Update.
27221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27223         [BZ #13884]
27224         [BZ #13924]
27225         * math/e_exp10.c: Include <float.h>.
27226         (__ieee754_exp10): Handle underflow here rather than multiplying
27227         large negative argument by M_LN10.
27228         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27229         of __ieee754_expf.
27230         * math/e_exp10l.c: Include <float.h>.
27231         (__ieee754_exp10l): Handle underflow here rather than multiplying
27232         large negative argument by M_LN10l.
27233         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27234         spurious overflow exception on underflow.
27236 2012-04-29  Marek Polacek  <polacek@redhat.com>
27238         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27239         (__fortify_function): New macro.
27240         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27241         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27242         __extern_always_inline.
27243         * libio/bits/stdio2.h: Likewise.
27244         * libio/bits/stdio.h: Likewise.
27245         * string/string.h: Likewise.
27246         * string/bits/string3.h: Likewise.
27247         * include/stdio.h: Likewise.
27248         * stdlib/bits/stdlib.h: Likewise.
27249         * stdlib/stdlib.h: Likewise.
27250         * rt/bits/mqueue2.h: Likewise.
27251         * rt/mqueue.h: Likewise.
27252         * posix/bits/unistd.h: Likewise.
27253         * posix/unistd.h: Likewise.
27254         * io/bits/poll2.h: Likewise.
27255         * io/bits/fcntl2.h: Likewise.
27256         * io/fcntl.h: Likewise.
27257         * io/sys/poll.h: Likewise.
27258         * misc/bits/syslog.h: Likewise.
27259         * misc/bits/syslog-ldbl.h: Likewise.
27260         * misc/sys/syslog.h: Likewise.
27261         * socket/bits/socket2.h: Likewise.
27262         * socket/sys/socket.h: Likewise.
27263         * debug/tst-chk1.c: Likewise.
27264         * wcsmbs/bits/wchar2.h: Likewise.
27265         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27266         * wcsmbs/wchar.h: Likewise.
27268 2012-04-29  Andreas Jaeger  <aj@suse.de>
27270         * Makerules (tests): Remove enable-check-abi protection.
27271         (check-abi-warn): Remove.
27272         (check-abi-%): Remove check-abi-warn usage.
27274         * configure.in: Remove check-abi configure option.
27275         * configure: Regenerated.
27276         * config.make.in (enable-check-abi): Remove.
27278 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27280         [BZ #14033]
27281         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27282         double functions to double *_finite functions.
27284         [BZ #13941]
27285         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27286         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27287         LDBL_MIN_EXP.
27288         * stdio-common/Makefile (tests): Add tst-sprintf3.
27289         * stdio-common/tst-sprintf3.c: New file.
27291         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27292         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27294 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27296         * conform/conformtest.pl: Remove duplicate typed-constant
27297         handling.
27299 2012-04-28  David S. Miller  <davem@davemloft.net>
27301         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27302         (check-abi-%): Remove AWK script prerequisite and explicit
27303         abilist directory.
27304         (check-abi): Rewrite to just diff the symlist with the abilist.
27305         (config-tls, config-abi-config): Delete, no longer used.
27306         (update-abi-%): Remove AWK script and explicit abilist directory.
27307         (update-abi): Rewrite to simply compare and conditionally copy the
27308         symlist and the sysdep abilist file.  Remove update-abi-config
27309         checks.
27310         * abilist/ld.abilist: Remove.
27311         * abilist/libBrokenLocale.abilist: Remove.
27312         * abilist/libanl.abilist: Remove.
27313         * abilist/libcrypt.abilist: Remove.
27314         * abilist/libdl.abilist: Remove.
27315         * abilist/librt.abilist: Remove.
27316         * abilist/libthread_db.abilist: Remove.
27317         * abilist/libutil.abilist: Remove.
27318         * scripts/extract-abilist.awk: Remove.
27319         * scripts/merge-abilist.awk: Remove.
27320         * sysdeps/generic/libcidn.abilist: New file.
27321         * sysdeps/generic/libnss_compat.abilist: New file.
27322         * sysdeps/generic/libnss_db.abilist: New file.
27323         * sysdeps/generic/libnss_dns.abilist: New file.
27324         * sysdeps/generic/libnss_files.abilist: New file.
27325         * sysdeps/generic/libnss_hesiod.abilist: New file.
27326         * sysdeps/generic/libnss_nis.abilist: New file.
27327         * sysdeps/generic/libnss_nisplus.abilist: New file.
27328         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27329         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27330         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27331         file.
27332         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27333         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27334         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27335         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27336         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27337         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27338         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27339         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27340         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27341         file.
27342         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27343         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27344         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27345         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27346         file.
27347         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27348         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27349         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27350         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27351         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27352         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27353         file.
27354         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27355         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27356         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27357         file.
27358         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27360         New file.
27361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27362         New file.
27363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27364         New file.
27365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27366         New file.
27367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27368         New file.
27369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27370         New file.
27371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27372         New file.
27373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27374         New file.
27375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27376         New file.
27377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27378         New file.
27379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27380         New file.
27381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27382         New file.
27383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27384         New file.
27385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27386         file.
27387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27388         New file.
27389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27390         New file.
27391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27392         file.
27393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27394         New file.
27395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27396         New file.
27397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27398         file.
27399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27400         New file.
27401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27402         New file.
27403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27404         New file.
27405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27406         New file.
27407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27408         New file.
27409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27410         New file.
27411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27413         file.
27414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27415         New file.
27416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27417         file.
27418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27419         file.
27420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27421         file.
27422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27423         file.
27424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27425         file.
27426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27427         New file.
27428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27429         file.
27430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27431         file.
27432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27433         New file.
27434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27435         file.
27436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27438         file.
27439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27440         New file.
27441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27442         file.
27443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27444         file.
27445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27446         file.
27447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27448         file.
27449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27450         file.
27451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27452         New file.
27453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27454         file.
27455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27456         file.
27457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27458         New file.
27459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27460         file.
27461         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27462         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27463         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27464         file.
27465         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27466         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27467         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27468         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27469         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27470         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27471         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27472         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27473         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27474         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27477         file.
27478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27479         New file.
27480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27481         file.
27482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27483         file.
27484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27485         file.
27486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27487         file.
27488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27489         file.
27490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27491         New file.
27492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27493         New file.
27494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27495         file.
27496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27497         New file.
27498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27499         file.
27500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27502         file.
27503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27504         New file.
27505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27506         file.
27507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27508         file.
27509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27510         file.
27511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27512         file.
27513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27514         file.
27515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27516         New file.
27517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27518         New file.
27519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27520         file.
27521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27522         New file.
27523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27524         file.
27526 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27528         * conform/conformtest.pl: Fix typo in handling typed-constant from
27529         allow-header.
27531 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27533         * README: Cut down references to pre-2.6 Linux kernels and
27534         Linuxthreads.  Update lists of configurations in libc and ports
27535         and sort alphabetically.  Say "or newer" with Linux kernel version
27536         requirements.
27538         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27540 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27542         [BZ #887]
27543         * math/libm-test.inc (logb_test_downward): New test to expose
27544         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27545         rounding mode.
27547 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27549         [BZ #14027]
27550         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27551         to be done.
27552         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27553         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27555 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27557         * sysdeps/unix/i386/brk.S: Remove file.
27558         * sysdeps/unix/i386/dl-brk.S: Likewise.
27559         * sysdeps/unix/i386/pipe.S: Likewise.
27560         * sysdeps/unix/i386/sigreturn.S: Likewise.
27561         * sysdeps/unix/i386/syscall.S: Likewise.
27562         * sysdeps/unix/i386/vfork.S: Likewise.
27563         * sysdeps/unix/i386/wait.S: Likewise.
27565         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27566         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27568         * configure.in (arm*-none*): Do not allow without
27569         --enable-hacker-mode.
27570         (netbsd*): Remove case setting base_os.
27571         (386bsd*): Likewise.
27572         (freebsd*): Likewise.
27573         (bsdi*): Likewise.
27574         (osf*): Likewise.
27575         (sunos*): Likewise.
27576         (ultrix*): Likewise.
27577         (newsos*): Likewise.
27578         (dynix*): Likewise.
27579         (*bsd*): Likewise.
27580         (sysv*): Likewise.
27581         (isc*): Likewise.
27582         (esix*): Likewise.
27583         (sco*): Likewise.
27584         (minix*): Likewise.
27585         (irix4*): Likewise.
27586         (irix6*): Likewise.
27587         (solaris[2-9]*): Likewise.
27588         (none): Likewise.
27589         * configure: Regenerated.
27591 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27593         [BZ #11521]
27594         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27595         overflow or cancellation in calculating denominator.
27596         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27597         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27598         down expression to avoid unexpected rounding in newer GCCs.
27599         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27601 2012-04-26  David S. Miller  <davem@davemloft.net>
27603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27604         long-double compat symbols.
27605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27619 2012-04-25  David S. Miller  <davem@davemloft.net>
27621         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27622         HWCAP_* values only after the memory barriers have been defined.
27623         (atomic_full_barrier): Define.
27624         (atomic_read_barrier): Define.
27625         (atomic_write_barrier): Define.
27627 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27629         * shlib-versions: Add libgcc_s version information.
27630         * sysdeps/generic/libgcc_s.h: Remove.
27631         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27632         libgcc_s.h.
27633         * sysdeps/gnu/unwind-resume.c: Likewise.
27634         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27636 2012-04-25  David S. Miller  <davem@davemloft.net>
27638         * sysdeps/unix/sparc/brk.S: Delete.
27639         * sysdeps/unix/sparc/dl-brk.S: Delete.
27640         * sysdeps/unix/sparc/pipe.S: Delete.
27641         * sysdeps/unix/sparc/sysdep.S: Delete.
27642         * sysdeps/unix/sparc/sysdep.h: Delete.
27643         * sysdeps/unix/sparc/vfork.S: Delete.
27644         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27645         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27646         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27647         ret_ERRVAL, r0, r1, MOVE): Define.
27648         (JUMPTARGET): Remove.
27649         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27650         sysdeps/unix/sparc/sysdep.h
27651         (ENTRY, END): Remove.
27652         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27654 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27656         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27657         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27658         -DIS_IN_build.
27660         * timezone/README: Update upstream location and email address for
27661         tzcode and tzdata.
27662         * timezone/zdump.c: Update from tzcode 2012b.
27663         * timezone/zic.c: Likewise.
27665         * configure.in (libc_cv_as_needed): Remove test.
27666         * configure: Regenerated.
27667         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27668         conditional definition.
27669         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27670         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27671         * config.make.in (have-as-needed): Remove variable.
27673 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27674             Paul Pluzhnikov  <ppluzhnikov@google.com>
27676         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27677         strings correctly.
27679 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27681         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27682         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27683         * sysdeps/sh/strlen.S: Likewise.
27685 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27687         * sysdeps/unix/fork.S: Remove file.
27688         * sysdeps/unix/i386/fork.S: Likewise.
27689         * sysdeps/unix/sparc/fork.S: Likewise.
27691         * sysdeps/unix/system.c: Remove file.
27692         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27694         * sysdeps/unix/getegid.S: Remove file.
27695         * sysdeps/unix/geteuid.S: Likewise.
27697 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27699         * scripts/check-localplt.awk: New file.
27700         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27701         of diff.
27702         * scripts/data/localplt-generic.data: Add a comment.
27704         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27705         NODE when __dir_mkfile failed.
27706         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27707         Reported by Ludovic Courtès <ludo@gnu.org>.
27709 2012-04-24  Andreas Jaeger  <aj@suse.de>
27711         * Makerules (common-clean): Also remove gen-as-const-headers
27712         files.
27714 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27716         * Makerules (native-compile): Do not change working directory for
27717         build.  Use $(OUTPUT_OPTION) in command.
27718         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27720 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27722         [BZ #13886]
27723         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27724         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27725         * math/libm-test.inc (floor_test): Add more tests.
27726         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27728 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27730         * sysdeps/unix/getdents.c: Remove file.
27731         * sysdeps/unix/sysv/getdents.c: Likewise.
27732         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27734         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27735         sysdeps/unix/mman/syscalls.list.
27736         (mmap): Likewise.
27737         (mprotect): Likewise.
27738         (msync): Likewise.
27739         (munmap): Likewise.
27740         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27741         * sysdeps/unix/mman/syscalls.list: Remove.
27742         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27744         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27745         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27746         * configure: Regenerated.
27747         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27748         $(libgcc_s_suffix).
27749         * config.make.in (libgcc_s_suffix): Remove variable.
27751 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27753         * sysdeps/unix/sysv/gethostname.c: Move to ...
27754         * sysdeps/posix/gethostname.c: ... here.
27756         * sysdeps/unix/execve.S: Remove file.
27758         * sysdeps/unix/_exit.S: Remove file.
27760 2012-04-23  Andreas Jaeger  <aj@suse.de>
27762         [BZ #13739]
27763         * manual/Makefile: Remove make dist support, there's no
27764         need for a stand-alone documentation tar ball.
27765         (TEXI2DVI): Define always, it's not in Makeconfig.
27766         (dist): Removed.
27767         (tar-it): Removed.
27768         (edition): Removed.
27769         (glibc-doc-$(edition).tar): Removed
27770         (%.Z): Removed.
27771         (%.gz): Removed.
27772         (%.uu): Removed.
27773         (ETAGS): Remove, it's in Makeconfig.
27774         (move-if-change): Remove, it's in Makeconfig.
27776 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27778         [BZ #13970]
27779         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27780         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27781         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27782         (strtod_l, strtof_l, strtold_l): Remove __wur.
27783         It is not necessarily an error to ignore strtol's return value.
27784         One can reliably look at the stored endptr to decide whether
27785         the number had valid syntax.
27787 2012-04-21  Andreas Jaeger  <aj@suse.de>
27789         [BZ #13739]
27790         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27792 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27794         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27795         * sysdeps/unix/sysv/Versions: Remove file.
27797 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27799         [BZ #13927]
27800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27802 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27804         [BZ #7064]
27805         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27806         version from __vm86.
27808 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27810         * sysdeps/unix/common/lxstat.c: Remove file.
27811         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27813         * sysdeps/unix/sysv/Makefile: Remove file.
27815         * sysdeps/unix/sysv/direct.h: Remove file.
27817         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27818         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27819         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27820         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27821         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27822         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27823         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27825         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27827         * sysdeps/unix/xmknod.c: Remove file.
27828         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27830         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27832         * sysdeps/unix/sysv/i386/time.S: Remove file.
27834         * sysdeps/unix/fxstat.c: Remove file.
27835         * sysdeps/unix/xstat.c: Likewise.
27836         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27838         * sysdeps/unix/sysv/sigaction.c: Remove file.
27840         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27841         (sysdep_headers): Remove variable.
27842         [termio.h not in sysdep_headers] (generated): Likewise.
27843         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27844         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27845         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27846         * sysdeps/unix/sysv/tcflow.c: Likewise.
27847         * sysdeps/unix/sysv/tcflush.c: Likewise.
27848         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27849         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27850         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27851         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27852         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27854         * sysdeps/unix/siglist.c: Remove file.
27856         * sysdeps/unix/getppid.S: Remove file.
27858         * sysdeps/unix/mkdir.c: Remove file.
27859         * sysdeps/unix/rmdir.c: Likewise.
27861 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27863         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27864         ERR_MAX value.
27865         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27866         errlist-compat value.
27868 2012-04-18  David S. Miller  <davem@davemloft.net>
27870         * sysdeps/generic/memcopy.h (reg_char): Delete.
27871         * debug/strcat_chk.c: Use char, not reg_char.
27872         * debug/strcpy_chk.c: Likewise.
27873         * debug/strncat_chk.c: Likewise.
27874         * debug/strncpy_chk.c: Likewise.
27875         * string/memchr.c: Likewise.
27876         * string/memrchr.c: Likewise.
27877         * string/rawmemchr.c: Likewise.
27878         * string/strcat.c: Likewise.
27879         * string/strchr.c: Likewise.
27880         * string/strchrnul.c: Likewise.
27881         * string/strcmp.c: Likewise.
27882         * string/strcpy.c: Likewise.
27883         * string/strncat.c: Likewise.
27884         * string/strncmp.c: Likewise.
27885         * string/strncpy.c: Likewise.
27887 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27889         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27890         __builtin_memcopy is called when src and dest ranges are known to not
27891         overlap.
27893 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27895         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27896         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27897         fwd_align_merge macro call.
27898         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27899         bwd_align_merge macro call.
27900         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27902 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27904         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27905         bwd_align_merge macros.
27906         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27907         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27908         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27910 2012-04-18  David S. Miller  <davem@davemloft.net>
27912         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27914 2012-04-18  Andreas Jaeger  <aj@suse.de>
27916         [BZ# 6794]
27917         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27918         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27919         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27921         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27922         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27923         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27925         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27926         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27927         Adjust for changed ldbl-128 files.
27929         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27930         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27931         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27933 2012-04-17  David S. Miller  <davem@davemloft.net>
27935         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27937 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27939         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27940         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27941         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27942         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27943         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27944         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27946 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27948         [BZ #6794]
27949         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27950         * math/libm-test.inc: Add ilogb errno and exception tests.
27951         * math/w_ilogb.c: New file: ilogb wrapper.
27952         * math/w_ilogbf.c: New file: ilogbf wrapper.
27953         * math/w_ilogbl.c: New file: ilogbl wrapper.
27954         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27955         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27956         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27957         exception being thrown with 0.0 as argument.
27958         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27959         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27960         exception being thrown with 0.0 as argument.
27961         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27962         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27963         exception being thrown with 0.0 as argument.
27964         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27965         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27966         exception being thrown with 0.0 as argument.
27967         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27968         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27969         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27970         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27971         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27972         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27973         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27974         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27975         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27977 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27979         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27980         with altivec.
27982 2012-04-16  Marek Polacek  <polacek@redhat.com>
27984         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27986 2012-04-16  Marek Polacek  <polacek@redhat.com>
27988         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27989         operands of fdivp instruction.
27991 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27993         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27994         * elf/tst-auditmod3b.c: Likewise.
27995         * elf/tst-auditmod4b.c: Likewise.
27996         * elf/tst-auditmod5b.c: Likewise.
27997         * elf/tst-auditmod6b.c: Likewise.
27998         * elf/tst-auditmod6c.c: Likewise.
27999         * elf/tst-auditmod7b.c: Likewise.
28000         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28001         * sysdeps/x86_64/preconfigure.in: Likewise.
28002         * sysdeps/x86_64/preconfigure: Regenerated.
28004 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
28006         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28007         __ILP32__.
28009 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
28011         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28012         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28014 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
28016         [BZ #13973]
28017         * locale/iso-639.def: Fix gl language name. Spotted by
28018         Yaron Shahrabani.
28020 2012-04-12  Roland McGrath  <roland@hack.frob.com>
28022         [BZ #2074]
28023         * libio/libio.h (__io_write_fn): Update comment.
28025 2012-04-12  Petr Baudis  <pasky@ucw.cz>
28027         [BZ #2074]
28028         * stdio.texi (Hook Functions): The user provided writer function
28029         is not allowed to return -1.
28031 2012-04-11  David S. Miller  <davem@davemloft.net>
28033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28035 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
28037         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28038         Add a leading slash to rtkaio.
28040 2012-04-11  Jim Meyering  <meyering@redhat.com>
28042         [BZ #11959]
28043         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28044         It is not necessarily an error to ignore fwrite's return
28045         value.  One can reliably use ferror to test for errors after
28046         the fact.
28048 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28050         * bits/types.h (__snseconds_t): New type.
28051         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28053         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28054         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28055         (__SNSECONDS_T_TYPE): Likewise.
28056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28057         (__SNSECONDS_T_TYPE): Likewise.
28058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28059         (__SNSECONDS_T_TYPE): Likewise.
28061 2012-04-10  Andreas Jaeger  <aj@suse.de>
28063         [BZ #2636]
28064         * manual/time.texi (Processor Time): Return type of times is
28065         elapsed real time since an arbitrary point in the past.
28066         (CPU Time): Move CLK_TCK from here...
28067         (Processor Time): ...to here.  Correct description.
28068         * manual/conf.texi (Constants for Sysconf): Correct description of
28069         _SC_CLK_TCK.
28071 2012-04-10  David S. Miller  <davem@davemloft.net>
28073         [BZ #13967]
28074         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28075         where the is a gap between DT_REL(A) and DT_JMPREL.
28077 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28079         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28080         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28081         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28083 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28085         * elf/dl-support.c (_dl_inhibit_cache): New variable.
28086         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28087         (dl_main): Handle --inhibit-cache.
28088         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28089         _dl_inhibit_cache.
28090         * elf/dl-load.c (_dl_map_object): Use it.
28091         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28093 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28095         [BZ #13872]
28096         * sysdeps/i386/fpu/e_powl.S (p78): New object.
28097         (__ieee754_powl): Saturate large exponents rather than testing for
28098         overflow of y*log2(x).
28099         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28100         * math/libm-test.inc (pow_test): Do not permit spurious overflow
28101         exceptions.
28103         [BZ #11521]
28104         * math/s_ctan.c: Include <float.h>.
28105         (__ctan): Avoid internal overflow or cancellation in calculating
28106         denominator.
28107         * math/s_ctanf.c: Likewise.
28108         * math/s_ctanl.c: Likewise.
28109         * math/s_ctanh.c: Likewise.
28110         * math/s_ctanhf.c: Likewise.
28111         * math/s_ctanhl.c: Likewise.
28112         * math/libm-test.inc (ctan_test): Add more tests.
28113         (ctanh_test): Likewise.
28114         * sysdeps/i386/fpu/libm-test-ulps: Update.
28115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28117 2012-04-09  Andreas Jaeger  <aj@suse.de>
28119         [BZ #6894]
28120         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28121         is an optional BSD extension.
28123         [BZ #10254]
28124         * manual/stdio.texi (Opening Streams): Document additional fopen
28125         parameters.
28127 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28129         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28130         %eax without telling the compiler.
28132 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28134         [BZ # 13963]
28135         * manual/install.texi: Use sourceware.org.
28137 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28139         [BZ #13873]
28140         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28141         (__ieee754_pow): Generate overflow and underflow using huge*huge
28142         and tiny*tiny rather than just returning constant infinity or zero
28143         for large exponents.
28144         * math/libm-test.inc (pow_test): Require overflow exceptions for
28145         applicable cases of large exponents.
28147         [BZ #706]
28148         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28149         (__ieee754_pow): Use iterative multiplication algorithm only for
28150         integer exponents with absolute value below 1024.  Check for odd
28151         integer exponents when using algorithm for real exponents.
28152         * math/libm-test.inc (pow_test): Add more tests.
28153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28155 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28157         [BZ #13705]
28158         * math/libm-test.inc (exp_test): Do not allow overflow exception
28159         on underflow test.
28161 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28163         [BZ #13705]
28164         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28165         instead of __kernel_standard_f.
28167 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28169         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28170         * sysdeps/x86_64/memset_chk.S: Likewise.
28172 2012-04-08  Andreas Jaeger  <aj@suse.de>
28174         [BZ #10153]
28175         * manual/startup.texi (Environment Access): Describe return value
28176         for putenv and setenv.
28178         [BZ #6895]
28179         * manual/filesys.texi (Directory Entries): Add description for
28180         DT_LNK.
28182         [BZ #6890]
28183         * manual/filesys.texi (Directory Entries): Clarify that it's file
28184         system not operating system in the description of DT_UNKNOWN.
28186         [BZ #6578]
28187         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28189 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28191         [BZ #6649]
28192         * manual/llio.texi (Opening and Closing Files): Add cross
28193         reference to explain mode argument.
28195 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28197         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28198         * sysdeps/x86_64/memset_chk.S: Likewise.
28200 2012-04-07  David S. Miller  <davem@davemloft.net>
28202         * elf/elf.h (R_SPARC_WDISP10): Define.
28203         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28204         R_SPARC_SIZE32.
28205         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28206         R_SPARC_SIZE64 and R_SPARC_H34.
28208 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28210         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28211         conditions and remove no longer applicable assertion.
28213 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28215         * bits/byteswap.h: Include <features.h>.
28216         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28217         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28219 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28221         * bits/byteswap.h (__bswap_16): Removed.
28222         Include <bits/byteswap-16.h> to get __bswap_16.
28223         * sysdeps/i386/bits/byteswap.h: Likewise.
28224         * sysdeps/s390/bits/byteswap.h: Likewise.
28225         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28226         * bits/byteswap-16.h: New file.
28227         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28228         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28229         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28230         * string/Makefile (headers): Add bits/byteswap-16.h.
28232 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28234         [BZ #13895]
28235         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28236         extra indirection.
28237         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28238         * nss/tst-nss-static.c: New.
28240 2012-04-06  Robert Millan  <rmh@gnu.org>
28242         [BZ #6486]
28243         * manual/llio.texi (File Position Primitive): lseek
28244         refers to WHENCE when it really means OFFSET.
28246 2012-04-06  Andreas Jaeger  <aj@suse.de>
28248         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28249         strncmp declarations.
28251         * abilist/libc.abilist: Add __poll and __ppoll.
28253 2012-04-05  David S. Miller  <davem@davemloft.net>
28255         * scripts/check-local-headers.sh: Accept a host triplet in the
28256         path matched by the exclude regexp.
28258         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28259         definition.
28260         * sysdeps/powerpc/powerpc32/dl-machine.h
28261         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28262         * sysdeps/s390/s390-32/dl-machine.h
28263         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28264         * sysdeps/sparc/sparc32/dl-machine.h
28265         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28266         * sysdeps/sparc/sparc64/dl-machine.h
28267         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28269         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28270         lazy binding.
28271         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28272         undefined symbol errors.
28274         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28275         DT_NEEDED entries.
28277 2012-04-05  Michael Matz  <matz@suse.de>
28279         [BZ #13592]
28280         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28282 2012-04-05  Andreas Jaeger  <aj@suse.de>
28284         [BZ #13908]
28285         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28286         comment.
28288 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28290         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28291         which ROUND is no valid rounding mode.
28293 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28295         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28296         read again.
28297         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28299 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28301         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28302         an exception using FPU order intentionally.
28304 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28306         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28307         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28308         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28309         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28311 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28313         [BZ #12340]
28314         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28315         EINVAL when BUFLEN is too smal.
28317 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28319         [BZ #13553]
28320         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28321         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28323 2012-04-03  Andreas Jaeger  <aj@suse.de>
28325         [BZ #13938]
28326         * manual/setjmp.texi (System V contexts): Fix sentence.
28328         [BZ #13926]
28329         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28330         New macro for this case.
28331         [!__GNUC__] (__bswap_64): New inline function for this case.
28332         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28333         * bits/byteswap.h: Likewise.
28334         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28335         ull, guard with __GLIBC_HAVE_LONG_LONG.
28337         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28338         __GLIBC_HAVE_LONG_LONG.
28340         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28341         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28343 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28345         [BZ #13691]
28346         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28347         inptr and inend, rather than using last_ch.
28349 2012-04-02  David S. Miller  <davem@davemloft.net>
28351         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28352         * stdio-common/printf-parse.h (read_int): Change return type to
28353         'int', return -1 on INT_MAX overflow.
28354         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28355         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
28356         overflows INT_MAX.  Check for overflow of in-format-string precision
28357         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
28358         SIZE_MAX not INT_MAX for integer overflow test.
28359         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28360         skip the construct in the format string but do not record anything.
28361         * stdio-common/bug22.c: Adjust to test both width/prevision
28362         INT_MAX overflow as well as total length INT_MAX overflow.  Check
28363         explicitly for proper errno values.
28365 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28367         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28368         CHAR_MAX.
28369         * string/test-strcmp.c [! WIDE]: Likewise.
28370         * time/tst-mktime2.c: Likewise for INT_MAX.
28371         * string/test-string.h: #include <sys/param.h> for MIN.
28373         * csu/init-first.c (__libc_init_first): Call __ctype_init.
28374         * sysdeps/i386/init-first.c (init): Likewise.
28375         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28376         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28377         * sysdeps/sh/init-first.c (init): Likewise.
28379 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28381         * po/ru.po: Update from translation team.
28382         * po/vi.po: Likewise.
28384 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28386         * resolv/nss_dns/dns-host.c: Merge copyright years.
28388 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28390         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28391         Optimize memcpy with prefetch if
28392         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28393         src, dst pointers have unequal 16 byte alignments.
28395 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28397         [BZ #13928]
28398         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28399         from a CNAME entry and return the minimum ttl for the query.
28400         (gaih_getanswer_slice): Likewise.
28402 2012-03-30  Jeff Law  <law@redhat.com>
28404         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28405         due to long keys.
28406         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28407         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28409         * resolv/nss_dns/dns-host.c: Update copyright year.
28411 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28413         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28414         requests to save a system call.  Fix check that all bytes are sent.
28416         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28417         comments for sendmmsg.
28419 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28421         [BZ #13691]
28422         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28423         with only 1 character between 0x0041 and 0x01b0.
28424         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28425         * wcsmbs/tst-mbsnrtowcs.c: New file.
28427 2012-03-29  David S. Miller  <davem@davemloft.net>
28429         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28430         small copies by hand.
28432 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28434         [BZ #13761]
28435         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28436         _nss_compat_initgroups_dyn): Fall back to malloc/free
28437         for large group memberships.
28439 2012-03-28  David S. Miller  <davem@davemloft.net>
28441         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28442         that branches into memcpy.
28443         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28445         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28446         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28448         bits.
28449         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28450         implementation too.
28451         * sysdeps/sparc/mempcpy.S: New file.
28453         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28454         the IFUNC routine in the libc case.
28455         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28457         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28458         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28459         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28460         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28461         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28462         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28463         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28464         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28466         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28467         loop to 256 bytes instead of 64 bytes and fix test signedness.
28469         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28470         * sysdeps/sparc/sparc32/Makefile: rather than here...
28471         * sysdeps/sparc/sparc64/Makefile: and here.
28473 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28475         * malloc/mallocbug.c: Avoid warnings about unused variables.
28477 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28479         [BZ #13760]
28480         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28481         in the right place. Discard and retry query if response is
28482         larger than input buffer size.
28484 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28486         [BZ #369]
28487         [BZ #2678]
28488         [BZ #3866]
28489         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28490         x for large integer exponent.
28491         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28492         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28493         sign of result as needed afterwards.
28494         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28495         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28496         result for underflowing pow the same as for overflow.
28497         (__kernel_standard_l): Handle powl overflow and underflow here
28498         rather than calling __kernel_standard.
28499         * math/libm-test.inc (pow_test): Add more tests.
28501         [BZ #3868]
28502         [BZ #13879]
28503         [BZ #13910]
28504         [BZ #13911]
28505         [BZ #13912]
28506         [BZ #13913]
28507         [BZ #13915]
28508         [BZ #13916]
28509         [BZ #13917]
28510         [BZ #13918]
28511         [BZ #13919]
28512         [BZ #13920]
28513         [BZ #13921]
28514         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28515         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28516         (__kernel_standard_l): New function.
28517         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28518         __kernel_standard.
28519         * math/w_acosl.c (__acosl): Likewise.
28520         * math/w_asinl.c (__asinl): Likewise.
28521         * math/w_atan2l.c (__atan2l): Likewise.
28522         * math/w_atanhl.c (__atanhl): Likewise.
28523         * math/w_coshl.c (__coshl): Likewise.
28524         * math/w_exp10l.c (__exp10l): Likewise.
28525         * math/w_exp2l.c (__exp2l): Likewise.
28526         * math/w_fmodl.c (__fmodl): Likewise.
28527         * math/w_hypotl.c (__hypotl): Likewise.
28528         * math/w_j0l.c (__j0l, __y0l): Likewise.
28529         * math/w_j1l.c (__j1l, __y1l): Likewise.
28530         * math/w_jnl.c (__jnl, __ynl): Likewise.
28531         * math/w_lgammal.c (__lgammal): Likewise.
28532         * math/w_log10l.c (__log10l): Likewise.
28533         * math/w_log2l.c (__log2l): Likewise.
28534         * math/w_logl.c (__logl): Likewise.
28535         * math/w_powl.c (__powl): Likewise.
28536         * math/w_remainderl.c (__remainderl): Likewise.
28537         * math/w_scalbl.c (sysv_scalbl): Likewise.
28538         * math/w_sinhl.c (__sinhl): Likewise.
28539         * math/w_sqrtl.c (__sqrtl): Likewise.
28540         * math/w_tgammal.c (__tgammal): Likewise.
28541         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28542         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28543         * math/libm-test.inc (acos_test): Add more tests.
28544         (acosh_test): Likewise.
28545         (asin_test): Likewise.
28546         (atanh_test): Likewise.
28547         (exp_test): Likewise.
28548         (exp10_test): Likewise.
28549         (exp2_test): Likewise.
28550         (expm1_test): Likewise.
28551         (lgamma_test): Likewise.
28552         (log_test): Likewise.
28553         (log10_test): Likewise.
28554         (log1p_test): Likewise.
28555         (log2_test): Likewise.
28556         (pow_test): Do not allow some spurious overflow exceptions.
28557         (sqrt_test): Add more tests.
28558         (tgamma_test): Likewise.
28559         (y0_test): Likewise.
28560         (y1_test): Likewise.
28561         (yn_test): Likewise.
28563 2012-03-27  Anton Blanchard  <anton@samba.org>
28565         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28566         MAP_HUGETLB.
28567         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28568         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28569         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28571 2012-03-27  David S. Miller  <davem@davemloft.net>
28573         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28575         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28576         have-as-vis3 check.
28578 2012-03-27  Andreas Jaeger  <aj@suse.de>
28580         * sysdeps/x86_64/elf/configure.in: Moved to ...
28581         * sysdeps/x86_64/configure.in: ... here.
28582         * sysdeps/x86_64/elf/start.S: Moved to ...
28583         * sysdeps/x86_64/start.S: ... here.
28584         * sysdeps/x86_64/elf/configure: Delete.
28586         * sysdeps/x86_64/configure.in: Merge contents from
28587         sysdeps/i386/configure.in (without i686 check).
28589         * sysdeps/i386/elf/Versions: Merge into ...
28590         * sysdeps/i386/Versions: ... this.
28591         * sysdeps/i386/elf/Versions: Delete file.
28592         * sysdeps/i386/elf/start.S: Moved to ...
28593         * sysdeps/i386/start.S: ...here.
28594         * sysdeps/i386/elf/configure.in: Merge into...
28595         * sysdeps/i386/configure.in: ...here.
28596         * sysdeps/i386/elf/configure.in: Delete file.
28597         * sysdeps/i386/elf/configure: Delete file.
28599         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28600         * debug/backtracesyms.c: ... here.
28601         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28602         * debug/backtracesymsfd.c: ... here.
28603         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28604         * sysdeps/generic/ifunc-sel.h: ... here.
28606         * sysdeps/unix/i386/start.c: Delete file.
28607         * sysdeps/unix/sparc/start.c: Delete file.
28608         * sysdeps/unix/start.c: Delete file.
28610         * sysdeps/sh/elf/configure.in: Moved to ...
28611         * sysdeps/sh/configure.in: ... here.
28612         * sysdeps/sh/elf/start.S: Moved to ...
28613         * sysdeps/sh/start.S: ... here.
28614         * sysdeps/sh/elf/configure: Delete file.
28616         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28617         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28618         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28619         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28620         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28621         * sysdeps/powerpc/powerpc64/start.S: here.
28622         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28623         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28624         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28625         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28626         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28628         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28629         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28630         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28631         * sysdeps/powerpc/powerpc32/start.S: ... here.
28632         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28633         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28634         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28636         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28637         * sysdeps/powerpc/ifunc-sel.h: ... here.
28638         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28639         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28641         * sysdeps/sparc/elf/configure.in: Moved to ...
28642         * sysdeps/sparc/configure.in: ... here.
28643         * sysdeps/sparc/elf/configure: Delete file.
28644         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28645         * sysdeps/sparc/sparc32/start.S: ... here.
28646         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28647         * sysdeps/sparc/sparc64/start.S: ... here.
28648         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28649         * sysdeps/sparc/sparc32/Makefile: ... this.
28650         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28651         * sysdeps/sparc/sparc64/Makefile: ... this.
28653         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28654         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28655         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28656         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28657         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28658         * sysdeps/s390/s390-32/setjmp.S: ... here.
28659         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28660         * sysdeps/s390/s390-32/configure.in: ... here.
28661         * sysdeps/s390/s390-32/elf/configure: Delete file.
28662         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28663         * sysdeps/s390/s390-32/start.S: ... here.
28665         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28666         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28667         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28668         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28669         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28670         * sysdeps/s390/s390-64/setjmp.S: ... here.
28671         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28672         * sysdeps/s390/s390-64/configure.in: ... here
28673         * sysdeps/s390/s390-64/elf/configure: Delete file.
28674         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28675         * sysdeps/s390/s390-64/start.S: ... here.
28676         * sysdeps/s390/s390-64/elf/configure: Delete.
28678         * configure.in: Remove support for elf directories in sysdeps.
28680         * configure: Regenerated.
28681         * sysdeps/i386/configure: Regenerated.
28682         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28683         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28684         * sysdeps/s390/s390-32/configure: Regenerated.
28685         * sysdeps/s390/s390-64/configure: Regenerated.
28686         * sysdeps/sh/configure: Regenerated.
28687         * sysdeps/sparc/configure: Regenerated.
28688         * sysdeps/x86_64/configure: Regenerated.
28690 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28694         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28695         denormal result into account.
28697 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28699         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28700         Reported by Allan McRae <allan@archlinux.org>.
28702 2012-03-23  Jeff Law  <law@redhat.com>
28704         * nss/getnssent.c (__nss_getent): Fix typo.
28706 2012-03-23  David S. Miller  <davem@davemloft.net>
28708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28710 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28712         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28713         to pad to uint64_t for each field.
28714         (dl_tls_index): Replace unsigned long with uint64_t.
28716 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28717         Paul Pluzhnikov  <ppluzhnikov@google.com>
28719         [BZ #6528]
28720         * grp/Makefile (otherlibs): Don't set it.
28721         * inet/Makefile (otherlibs): Likewise.
28722         * login/Makefile (otherlibs): Likewise.
28723         * nscd/Makefile (otherlibs): Likewise.
28724         * posix/Makefile (otherlibs): Likewise.
28725         * pwd/Makefile (otherlibs): Likewise.
28726         * rt/Makefile (otherlibs): Likewise.
28727         * sunrpc/Makefile (otherlibs): Likewise.
28728         * nss/Makefile (otherlibs): Likewise.
28729         Add libnss_files to routines and static-only-routines.
28730         ($(objpfx)getent): Remove rule.
28731         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28732         static-only-routines.
28734 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28736         [BZ #13892]
28737         * math/s_cexp.c: Include <float.h>.
28738         (__cexp): Handle exp result overflowing not necessarily
28739         overflowing both real and imaginary parts of result.
28740         * math/s_cexpf.c: Likewise.
28741         * math/s_cexpl.c: Likewise.
28742         * math/libm-test.inc (cexp_test): Add more tests.
28743         * sysdeps/i386/fpu/libm-test-ulps: Update.
28744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28746 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28748         * include/link.h (ELFW): New macro.
28749         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28750         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28752 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28754         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28755         with uint64_t.
28757 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28759         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28760         declaration.
28761         (struct La_x32_retval): Likewise.
28763 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28765         * sysdeps/x86_64/preconfigure.in: New file.
28766         * sysdeps/x86_64/preconfigure: New generated file.
28768 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28770         [BZ #13824]
28771         * math/e_exp2l.c: Include <float.h>.
28772         (__ieee754_exp2l): Handle overflow and underflow cases
28773         separately.  Only pass fractional part of argument to
28774         __ieee754_expl.
28775         * math/libm-test.inc (exp2_test): Add more tests.
28777         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28778         negating x to take absolute value.
28779         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28780         Likewise.
28781         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28782         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28783         Likewise.
28784         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28785         computing low part if x was negated.
28786         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28788 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28790         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28791         la_x32_gnu_pltexit.
28792         (pltexit): Cast int_retval to ptrdiff_t.
28793         * elf/tst-auditmod3b.c: Likewise.
28794         * elf/tst-auditmod4b.c: Likewise.
28795         * elf/tst-auditmod5b.c: Likewise.
28796         * elf/tst-auditmod6b.c: Likewise.
28797         * elf/tst-auditmod6c.c: Likewise.
28798         * elf/tst-auditmod7b.c: Likewise.
28800         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28801         and x32_gnu_pltexit.
28803         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28804         __ELF_NATIVE_CLASS.
28805         (La_x32_regs): New macro.
28806         (La_x32_retval): Likewise.
28807         (la_x32_gnu_pltenter): New function prototype.
28808         (la_x32_gnu_pltexit): Likewise.
28810 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28812         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28813         exponent.
28815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28817         * configure.in (libc_cv_cc_nofma): Check for option to disable
28818         generation of FMA instructions.
28819         * configure: Regenerate.
28820         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28821         * sysdeps/ieee754/dbl-64/Makefile: New file.
28822         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28823         Remove brandred-fma4.
28824         (CFLAGS-brandred-fma4.c): Remove.
28825         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28826         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28827         define.
28828         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28829         define.
28831 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28833         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28834         LLONG_MAX != LONG_MAX.
28835         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28836         (_fitoa_word): Likewise.
28837         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28838         LLONG_MAX != LONG_MAX.
28839         * stdio-common/_itowa.h: Include <_itoa.h>.
28840         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28841         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28842         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28843         only if not defined.
28844         (_ITOA_WORD_TYPE): Likewise.
28845         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28846         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28848 2012-03-21  David S. Miller  <davem@davemloft.net>
28850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28852 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28854         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28855         of x86_64 when setting libc_cv_slibdir, libdir and
28856         libc_cv_localedir.
28857         * sysdeps/unix/sysv/linux/configure: Regenerated.
28859 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28861         * manual/lang.texi (Old Varargs): Remove section.
28862         (How Variadic): Update menu.
28863         (va_start): Do not mention varargs.h.
28865 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28866             Joseph Myers  <joseph@codesourcery.com>
28868         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28869         link test.
28870         * configure: Regenerated.
28872 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28874         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28875         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28876         conformtest.pl
28878 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28880         * NOTES: Remove.
28881         * Makefile (files-for-dist): Remove NOTES.
28882         (NOTES): Remove rule.
28883         * README: Don't refer to NOTES.
28884         * manual/creature.texi: Don't include macros.texi.
28885         * manual/intro.texi (creature.texi): Remove comment referring to
28886         NOTES.
28888         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28889         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28890         * configure: Regenerated.
28891         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28892         LIBC_TRY_CC_OPTION.
28893         (libc_cv_as_i686): Likewise.
28894         (libc_cv_cc_avx): Likewise.
28895         (libc_cv_cc_sse2avx): Likewise.
28896         (libc_cv_cc_fma4): Likewise.
28897         (libc_cv_cc_novzeroupper): Likewise.
28898         * sysdeps/i386/configure: Regenerated.
28900         [BZ #13883]
28901         * sysdeps/i386/fpu/s_cexp.S: Remove.
28902         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28903         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28904         * math/libm-test.inc (cexp_test): Add more tests.
28905         * sysdeps/i386/fpu/libm-test-ulps: Update.
28906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28908 2012-03-21  Allan McRae  <allan@archlinux.org>
28910         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28912 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28914         [BZ #13871]
28915         * math/w_exp2.c: Do not include <float.h>.
28916         (o_threshold, u_threshold): Remove.
28917         (__exp2): Calculate result before checking finiteness and calling
28918         __kernel_standard.
28919         * math/w_exp2f.c: Likewise.
28920         * math/w_exp2l.c: Likewise.
28921         * math/libm-test.inc (exp2_test): Require overflow exception for
28922         1e6 input.
28924         [BZ #3866]
28925         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28926         range of signed 64-bit integers before using fistpll.  Remove
28927         checks for whether integers fit in mantissa bits.
28928         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28929         the range of signed 32-bit integers before using fistpl.  Remove
28930         checks for whether integers fit in mantissa bits.
28931         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28932         (__ieee754_powl): Test for y outside the range of signed 64-bit
28933         integers before using fistpll.  Reduce 64-bit values to 63-bit
28934         ones as needed.
28935         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28936         divide-by-zero is raised for zero to large negative powers.
28937         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28938         (__ieee754_powl): Test for y outside the range of signed 64-bit
28939         integers before using fistpll.  Reduce 64-bit values to 63-bit
28940         ones as needed.
28941         * math/libm-test.inc (pow_test): Add more tests.
28943 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28945         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28946         <stdio-common/_itoa.h>.
28947         * debug/segfault.c: Likewise.
28948         * elf/dl-cache.c: Likewise.
28949         * elf/dl-minimal.c: Likewise.
28950         * elf/dl-misc.c: Likewise.
28951         * elf/dl-sysdep.c: Likewise.
28952         * elf/dl-version.c: Likewise.
28953         * elf/rtld.c: Likewise.
28954         * hurd/hurdsock.c: Likewise.
28955         * hurd/lookup-retry.c: Likewise.
28956         * malloc/malloc.c: Likewise.
28957         * malloc/mtrace.c: Likewise.
28958         * nscd/nscd_getgr_r.c: Likewise.
28959         * nscd/nscd_getpw_r.c: Likewise.
28960         * nscd/nscd_getserv_r.c: Likewise.
28961         * posix/getopt_init.c: Likewise.
28962         * posix/wordexp.c: Likewise.
28963         * stdio-common/_itoa.c: Likewise.
28964         * stdio-common/printf_fphex.c: Likewise.
28965         * stdio-common/vfprintf.c: Likewise.
28966         * string/_strerror.c: Likewise.
28967         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28968         * sysdeps/i386/i686/hp-timing.h: Likewise.
28969         * sysdeps/mach/_strerror.c: Likewise.
28970         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28971         * sysdeps/mach/hurd/sethostid.c: Likewise.
28972         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28973         * sysdeps/mach/xpg-strerror.c: Likewise.
28974         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28975         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28976         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28977         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28978         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28979         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28980         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28981         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28982         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28983         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28984         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28985         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28986         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28987         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28988         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28989         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28990         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28991         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28992         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28993         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28994         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28996         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28998         * stdio-common/_itoa.h: Moved to ...
28999         * sysdeps/generic/_itoa.h: Here.
29001         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29003         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29004         instead of "_itoa.h" and "_itowa.h".
29005         * stdio-common/vfprintf.: Likewise.
29007 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29009         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29010         <bits/wordsize.h>.
29011         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29012         (__signbit): Likwise.
29013         (llrintf): Likwise.
29014         (llrint): Likwise.
29016 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29018         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29019         __WORDSIZE != 64.
29021 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
29023         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29024         OVERFLOW_EXCEPTION_OK.
29025         * math/libm-test.inc ("Philosophy"): Update comment about
29026         exception testing.
29027         (OVERFLOW_EXCEPTION): Define.
29028         (OVERFLOW_EXCEPTION_OK): Likewise.
29029         (INVALID_EXCEPTION_OK): Renumber.
29030         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29031         (IGNORE_ZERO_INF_SIGN): Likewise.
29032         (test_exceptions): Handle FE_OVERFLOW.
29033         (exp10_test): Expect overflow exceptions.
29034         (exp2_test): Likewise.
29035         (expm1_test): Likewise.
29036         (nextafter_test): Likewise.
29037         (pow_test): Likewise.
29038         (scalbn_test): Likewise.
29039         (scalbln_test): Likewise.
29041 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29043         * sysdeps/x86_64/bits/atomic.h
29044         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29045         64bit integer.
29046         (atomic_exchange_acq): Likewise.
29047         (__arch_exchange_and_add_body): Likewise.
29048         (__arch_add_body): Likewise.
29049         (atomic_add_negative): Likewise.
29050         (atomic_add_zero): Likewise.
29052 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29054         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29055         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29057 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29059         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29060         Check __x86_64__ instead of __WORDSIZE.
29062 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29064         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29066 2012-03-19  David S. Miller  <davem@davemloft.net>
29068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29070         * sysdeps/sparc/fpu/fenv_private.h: New file.
29071         * sysdeps/sparc/fpu/math_private.h: Use it.
29072         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29073         Remove.
29074         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29075         (libc_feholdexcept_setroundl): Remove.
29076         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29077         Remove.
29078         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29079         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29081 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29083         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29084         int64_t instead of long int.
29085         (INSERT_WORDS64): Likwise.
29087 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29089         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29090         _Unwind_GetCFA return to _Unwind_Ptr first.
29092 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
29094         [BZ #13629]
29095         * math/s_clog.c: Include <float.h>.
29096         (__clog): Scale large or subnormal inputs.
29097         * math/s_clogf.c: Likewise.
29098         * math/s_clogl.c: Likewise.
29099         * math/s_clog10.c: Include <float.h>.
29100         (M_LOG10_2): Define.
29101         (__clog10): Scale large or subnormal inputs.
29102         * math/s_clog10f.c: Likewise.
29103         * math/s_clog10l.c: Likewise.
29104         * math/libm-test.inc (clog_test): Add more tests.
29105         (clog10_test): Likewise.
29106         * sysdeps/i386/fpu/libm-test-ulps: Update.
29107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29109         [BZ #11451]
29110         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29111         x and y.
29112         * math/libm-test.inc (atan2_test): Add another test.
29114         * Makerules (common-objdir-compile): Remove.
29115         * sysdeps/unix/Makefile (config-generated): Do not add
29116         $(unix-generated) to variable.
29117         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29118         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29119         Remove rule.
29120         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29121         Likewise.
29122         [generic bits/local_lim.h] (before-compile): Do not append to
29123         variable.
29124         [generic bits/local_lim.h] (common-generated): Likewise.
29125         [generic sys/param.h] (before-compile): Do not append to variable.
29126         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29127         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29128         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29129         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29130         include.
29131         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29132         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29133         [generic sys/param.h] ($(addprefix
29134         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29135         [generic sys/param.h] (common-generated): Do not append to
29136         variable.
29137         [generic sys/param.h] (sysdep_headers): Likewise.
29138         [generic bits/errno.h] (before-compile): Do not append to
29139         variable.
29140         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29141         rule.
29142         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29143         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29144         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29145         [generic bits/errno.h] (common-generated): Do not append to
29146         variable.
29147         [generic bits/ioctls.h] (before-compile): Do not append to
29148         variable.
29149         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29150         rule.
29151         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29152         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29153         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29154         rule.
29155         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29156         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29157         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29158         [generic bits/ioctls.h] (common-generated): Do not append to
29159         variable.
29160         [generic sys/syscall.h] (syscall.h): Remove variable.
29161         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29162         rule.
29163         [generic sys/syscall.h] (before-compile): Do not append to
29164         variable.
29165         [generic sys/syscall.h] (common-generated): Likewise.
29166         * sysdeps/unix/errnos-tmpl.c: Remove file.
29167         * sysdeps/unix/errnos.awk: Likewise.
29168         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29169         * sysdeps/unix/ioctls.awk: Likewise.
29170         * sysdeps/unix/mk-local_lim.c: Likewise.
29171         * sysdeps/unix/snarf-ioctls: Likewise.
29173 2012-03-19  Richard Henderson  <rth@twiddle.net>
29175         * sysdeps/i386/fpu/fenv_private.h: New file.
29176         * sysdeps/i386/fpu/math_private.h: Use it.
29177         (math_opt_barrier, math_force_eval): Remove.
29178         (libc_feholdexcept_setround_53bit): Remove.
29179         (libc_feupdateenv_53bit): Remove.
29180         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29181         (math_opt_barrier, math_force_eval): Remove.
29182         (libc_feholdexcept): Remove.
29183         (libc_feholdexcept_setround): Remove.
29184         (libc_fetestexcept, libc_fesetenv): Remove.
29185         (libc_feupdateenv_test): Remove.
29186         (libc_feupdateenv, libc_feholdsetround): Remove.
29187         (libc_feresetround): Remove.
29189         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29190         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29192         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29193         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29194         (libc_feupdateenv_testl): New.
29195         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29196         (libc_feupdateenv_testf): New.
29197         (libc_feupdateenv): Use libc_feupdateenv_test.
29198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29199         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29201         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29202         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29203         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29204         (libc_feresetround_noex): New.
29205         (libc_feresetround_noexf): New.
29206         (libc_feresetround_noexl): New.
29207         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29208         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29209         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29210         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29211         SET_RESTORE_ROUND.
29212         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29213         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29214         (__cos): Likewise.
29215         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29216         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29217         SET_RESTORE_ROUND_NOEX.
29218         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29219         SET_RESTORE_ROUND_NOEXF.
29220         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29221         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29222         (libc_feholdsetroundf): New.
29223         (libc_feresetround, libc_feresetroundf): New.
29225         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29226         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29227         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29229         * sysdeps/generic/math_private.h: Include <fenv.h>.
29230         (default_libc_feholdexcept): New.
29231         (default_libc_feholdexcept_setround): New.
29232         (default_libc_fesetenv, default_libc_feupdateenv): New.
29233         (libc_feholdexcept): Only define if undefined.
29234         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29235         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29236         (libc_feholdexcept_setroundl): Likewise.
29237         (libc_feholdexcept_setround_53bit): Likewise.
29238         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29239         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29240         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29241         (libc_feupdateenv_53bit): Likewise.
29242         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29243         (libc_feholdexcept): Convert from macro to inline function.
29244         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29245         (libc_fesetenv, libc_feupdateenv): Likewise.
29247         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29248         not previously defined.
29249         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29250         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29251         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29252         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29253         * sysdeps/ieee754/flt-32/math_private.h: New file.
29254         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29255         math_private.h below SET_FLOAT_WORD.
29256         (__isnan, __isinf_ns, __finite): Remove.
29257         (__isnanf, __isinf_nsf, __finitef): Remove.
29259 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29263 2012-03-17  David S. Miller  <davem@davemloft.net>
29265         [BZ #6471]
29266         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29267         for 2.16.
29269 2012-03-16  David S. Miller  <davem@davemloft.net>
29271         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29272         warnings.
29274         [BZ #6471]
29275         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29276         properly.
29277         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29278         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29279         sysdep_routines when subdir is sysvipc.
29280         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29281         __getshmlba helper.
29283         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29285 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29287         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29288         [__LP64__].
29290 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29292         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29293         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29294         (__lround): Renamed to ...
29295         (__llround): This.  Replace long int with long long int.
29296         Define lround functions as aliases of llround functions.
29297         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29299 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29301         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29302         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29303         adresses to uintptr_t.  Replace "long int" and "unsigned long
29304         int" with "greg_t" on va_arg.
29306 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29308         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29309         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29311         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29312         Move e_machine check before EI_CLASS check.  Handle x32
29313         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29314         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29315         SKIP_EM_IA_64 and include
29316         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29318         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29319         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29320         (add_system_dir): New macro.
29322         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29323         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29325 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29327         [BZ #2551]
29328         [BZ #2552]
29329         [BZ #2553]
29330         [BZ #2554]
29331         [BZ #2562]
29332         [BZ #2563]
29333         [BZ #2565]
29334         [BZ #2566]
29335         [BZ #2576]
29336         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29337         (y0): Likewise.
29338         * math/w_j0f.c (j0f): Likewise.
29339         (y0f): Likewise.
29340         * math/w_j0l.c (__j0l): Likewise.
29341         (__y0l): Likewise.
29342         * math/w_j1.c (j1): Likewise.
29343         (y1): Likewise.
29344         * math/w_j1f.c (j1f): Likewise.
29345         (y1f): Likewise.
29346         * math/w_j1l.c (__j1l): Likewise.
29347         (__y1l): Likewise.
29348         * math/w_jn.c (jn): Likewise.
29349         (yn): Likewise.
29350         * math/w_jnf.c (jnf): Likewise.
29351         (ynf): Likewise.
29352         * math/w_jnl.c (__jnl): Likewise.
29353         (__ynl): Likewise.
29354         * math/libm-test.inc (j0_test): Add more tests.
29355         (j1_test): Likewise.
29356         (jn_test): Likewise.  Add trailing semicolon to existing test.
29357         (y0_test): Likewise.
29358         (y1_test): Likewise.
29359         * sysdeps/i386/fpu/libm-test-ulps: Update.
29360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29362         [BZ #13851]
29363         [BZ #13854]
29364         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29365         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29366         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29367         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29368         (__tanl): Set errno for infinite argument.
29369         * sysdeps/i386/fpu/mptan.c: Remove.
29370         * sysdeps/i386/fpu/s_tan.S: Likewise.
29371         * sysdeps/i386/fpu/s_tanl.S: Likewise.
29372         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29373         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29374         * math/libm-test.inc (tan_test): Add more tests and enable more
29375         tests for double and long double.
29376         * sysdeps/i386/fpu/libm-test-ulps: Update.
29377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29379 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29381         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29382         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29384 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29386         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29387         * configure.in: Use it for both main tree and add-ons.
29388         * configure: Regenerated.
29390 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29392         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29394 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29396         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29397         in comment.
29399         [BZ #13851]
29400         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29401         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29402         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29403         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29404         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29405         infinite argument.
29406         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29407         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29408         != 0 for prec == 2.
29409         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29410         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29411         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29412         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29413         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29414         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29415         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29416         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29417         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29418         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29419         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29420         * math/libm-test.inc (cos_test): Add more tests and enable more
29421         tests for long double.
29422         (sin_test): Likewise.
29423         (sincos_test): Likewise.
29424         * sysdeps/i386/fpu/libm-test-ulps: Update.
29425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29427 2012-03-16  David S. Miller  <davem@davemloft.net>
29429         * sysdeps/sparc/fpu/math_private.h: New file.
29431 2012-03-15  David S. Miller  <davem@davemloft.net>
29433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29434         file.
29435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29437         file.
29438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29443         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29444         sysdep routines.
29445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29447         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29448         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29450         * sysdeps/sparc/sparc-ifunc.h: New file.
29451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29452         sparc-ifunc.h
29453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29455         Likewise.
29456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29457         Likewise.
29458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29462         Likewise.
29463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29468         Likewise.
29469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29470         Likewise.
29471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29477         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29478         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29489         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29490         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29491         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29492         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29493         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29494         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29496 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29498         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29499         scaling.
29500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29502 2012-03-15  Andreas Jaeger  <aj@suse.de>
29504         [BZ #13852]
29505         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29506         ieee754/flt-32 implementation for sin, cos and sincos.
29507         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29508         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29509         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29510         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29511         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29512         ieee754/flt-32 implementation for tan.
29514         * math/libm-test.inc (cos_test): Enable some large input tests for
29515         float as well
29516         (sin_test): Likewise.
29517         (sincos_test): Likewise.
29518         (tan_test): Add tests for large input.
29520         * sysdeps/i386/fpu/libm-test-ulps: Update.
29522 2012-03-15  Andreas Jaeger  <aj@suse.de>
29524         [BZ #13658]
29525         * math/libm-test.inc (cos_test): Add more test cases.
29526         (sin_test): Likewise.
29527         (sincos_test): Likewise.
29529 2012-03-15  Andreas Jaeger  <aj@suse.de>
29531         [BZ #13837]
29532         * math/libm-test.inc (cos_test): Add a test case for large input
29533         value.
29534         (sin_test): Likewise.
29535         (sincos_test): Likewise.
29537 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29538         Joseph Myers  <joseph@codesourcery.com>
29540         [BZ #13658]
29541         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29542         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29543         * sysdeps/i386/fpu/branred.c: Likewise.
29544         * sysdeps/i386/fpu/dosincos.c: Likewise.
29545         * sysdeps/i386/fpu/mpa.c: Likewise.
29546         * sysdeps/i386/fpu/s_cos.S: Likewise.
29547         * sysdeps/i386/fpu/s_sin.S: Likewise.
29548         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29549         * sysdeps/i386/fpu/sincos32.c: Likewise.
29551         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29552         Define.
29553         (libc_feupdateenv_53bit): Define.
29554         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29555         Define.
29556         (libc_feupdateenv_53bit): Define.
29558         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29559         53 bit (without extend i386 double precision).
29561         * math/libm-test.inc (sincos_test): Add tests for large input.
29562         (sin): Likewise.
29563         (cos): Likewise.
29565         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29567 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29571 2012-03-15  David S. Miller  <davem@davemloft.net>
29573         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29574         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29575         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29576         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29581         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29582         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29583         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29589         file.
29590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29592         file.
29593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29595         file.
29596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29598         file.
29599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29601         fmin/fmax sysdep routines.
29602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29604 2012-03-14  David S. Miller  <davem@davemloft.net>
29606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29607         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29610         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29611         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29612         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29613         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29615         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29626         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29627         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29628         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29629         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29630         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29631         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29632         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29633         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29634         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29635         routines.
29636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29637         file.
29638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29640         file.
29641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29643         file.
29644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29646         file.
29647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29649         file.
29650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29652         file.
29653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29654         file.
29655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29656         file.
29657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29658         file.
29659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29660         New file.
29661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29662         file.
29663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29664         file.
29665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29667         file.
29668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29670         file.
29671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29673         file.
29674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29676         VIS3 routines.
29678         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29679         New file.
29681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29683         * sysdeps/sparc/configure.in: New file.
29684         * sysdeps/sparc/configure: Generate.
29685         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29686         * configure: Regenerate.
29687         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29688         * config.make.in (have-as-vis3): New.
29689         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29690         available use -Av9d instead of -Av9a.
29691         * sysdeps/sparc/sparc64/Makefile: Likewise.
29692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29694         New file.
29695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29696         file.
29697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29698         New file.
29699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29700         file.
29701         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29702         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29703         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29704         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29707         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29708         fzeros/fnegs to load 0x80000000 into a float register instead of
29709         using the stack.
29710         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29712 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29715         bits/syscall.h.
29716         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29717         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29718         ($(inst_includedir)/bits/syscall.h): Remove rule.
29719         ($(objpfx)bits/syscall.d): Include instead of
29720         $(objpfx)syscall-list.d.
29721         (generated): Change syscall-list.h and syscall-list.d to
29722         bits/syscall.h and bits/syscall.d.
29724 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29726         [BZ #13846]
29727         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29729 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29731         [BZ #13841]
29732         * math/s_csqrt.c: Include <float.h>.
29733         (__csqrt): Scale large or subnormal inputs.
29734         * math/s_csqrtf.c: Likewise.
29735         * math/s_csqrtl.c: Likewise.
29736         * math/libm-test.inc (csqrt_test): Add more tests.
29737         * sysdeps/i386/fpu/libm-test-ulps: Update.
29738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29740         [BZ #13840]
29741         * math/libm-test.inc (hypot_test): Add more tests.
29743 2012-03-13  David S. Miller  <davem@davemloft.net>
29745         [BZ #13840]
29746         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29747         double-precision for the calculation instead of scaling.
29749 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29751         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29752         manipulate bits before adding and subtracting TWO52[sx].
29753         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29754         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29755         Likewise.
29756         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29758 2012-03-13  David S. Miller  <davem@davemloft.net>
29760         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29761         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29763         rtld-global-offsets.h
29764         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29766         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29767         large parameters.
29769         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29771         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29772         'err' in the ifdef scope in which it is actually used.
29774         * nss/nss_db/db-init.c: Include string.h
29776 2012-03-12  David S. Miller  <davem@davemloft.net>
29778         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29779         masking out of the most significant byte of random value used.
29780         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29781         Fix coding style in previous change.
29783         * sysdeps/unix/sysv/linux/kernel-features.h
29784         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29785         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29786         expression.
29787         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29788         later.
29790 2012-03-11  David S. Miller  <davem@davemloft.net>
29792         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29793         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29794         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29795         for 'resultvar' otherwise things get truncated on 64-bit.
29797         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29798         Fix masking out of the most significant byte of random value used.
29800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29802 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29806 2012-03-09  David S. Miller  <davem@davemloft.net>
29808         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29809         variables with appropriate CPP guards.
29810         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29811         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29812         on resulting framesize and the management of the outregs buffer for pltexit.
29813         Preserve floating point return values across _dl_call_pltexit call.
29814         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29815         framesize and the management of the outregs buffer for pltexit.
29816         Preserve floating point return values across _dl_call_pltexit
29817         call.
29818         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29819         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29820         (print_exit): Fix format string for return register value.
29822 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29824         * sunrpc/Makefile (others): Add rpcgen.
29825         ($(objpfx)rpcgen): Remove special build rule and dependency on
29826         libc.
29827         * sunrpc/rpcgen.c: New file.
29829 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29831         [BZ #13673]
29832         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29833         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29834         * sysdeps/i386/crti.S: Likewise.
29835         * sysdeps/i386/crtn.S: Likewise.
29836         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29837         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29838         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29839         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29840         * sysdeps/sh/crti.S: Likewise.
29841         * sysdeps/sh/crtn.S: Likewise.
29842         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29844         [BZ #13673]
29845         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29846         with URL.
29847         * locale/programs/locfile-kw.gperf: Likewise.
29848         * locale/programs/charmap-kw.h: Regenerated.
29849         * locale/programs/locfile-kw.h: Likewise.
29851         [BZ #13673]
29852         * intl/plural.y: Replace FSF snail mail address with URL.
29853         * intl/plural.c: Regenerated.
29855 2012-03-09  Richard Henderson  <rth@twiddle.net>
29857         * include/math_private.h: Remove file.
29858         * math/math_private.h: Move file ...
29859         * sysdeps/generic/math_private.h: ... here.
29861         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29862         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29863         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29865         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29866         and <math_private.h>.
29867         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29868         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29869         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29870         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29871         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29872         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29873         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29875         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29876         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29877         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29879         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29885         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29905         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29907         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29910         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29911         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29913         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29914         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29915         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29916         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29917         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29918         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29919         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29920         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29921         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29922         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29923         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29924         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29925         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29926         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29927         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29928         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29929         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29930         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29931         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29932         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29933         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29934         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29935         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29936         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29937         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29938         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29939         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29940         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29941         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29942         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29943         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29945         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29946         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29947         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29948         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29949         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29950         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29951         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29952         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29954         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29955         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29956         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29957         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29958         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29959         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29960         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29961         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29962         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29963         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29964         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29965         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29966         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29967         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29968         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29969         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29970         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29971         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29972         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29973         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29974         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29975         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29976         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29977         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29978         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29979         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29980         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29981         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29982         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29983         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29984         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29985         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29986         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29987         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29988         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29989         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29990         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29991         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29992         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29993         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29994         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29995         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29996         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29997         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29998         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29999         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30000         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30001         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30002         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30003         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30004         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30005         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30006         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30007         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30008         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30009         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30010         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30011         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30012         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30013         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30014         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30015         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30016         * sysdeps/ieee754/k_standard.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30020         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30021         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30022         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30025         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30026         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30027         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30029         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30030         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30031         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30032         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30033         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30034         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30036         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30037         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30038         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30039         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30040         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30041         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30042         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30043         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30044         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30046         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30048         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30050         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30051         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30052         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30053         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30054         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30055         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30056         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30057         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30058         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30059         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30060         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30061         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30062         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30063         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30064         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30065         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30066         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30067         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30068         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30069         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30071         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30072         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30073         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30074         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30075         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30076         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30078         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30079         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30080         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30081         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30082         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30083         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30084         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30085         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30086         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30087         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30088         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30089         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30090         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30091         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30093         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30094         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30098         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30099         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30100         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30101         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30102         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30103         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30105         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30106         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30107         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30108         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30109         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30110         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30111         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30112         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30113         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30114         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30115         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30116         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30117         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30118         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30119         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30120         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30121         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30122         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30123         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30124         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30125         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30126         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30127         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30128         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30129         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30130         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30131         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30132         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30133         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30134         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30135         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30136         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30137         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30138         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30139         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30140         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30141         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30142         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30143         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30144         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30145         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30146         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30147         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30148         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30149         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30150         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30151         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30152         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30153         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30154         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30155         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30156         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30157         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30158         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30159         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30160         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30161         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30162         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30163         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30164         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30165         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30166         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30167         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30168         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30169         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30170         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30171         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30172         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30173         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30174         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30175         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30176         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30177         * sysdeps/ieee754/s_lib_version.c: Likewise.
30178         * sysdeps/ieee754/s_matherr.c: Likewise.
30179         * sysdeps/ieee754/s_signgam.c: Likewise.
30180         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30181         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30182         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30183         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30184         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30185         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30186         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30187         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30188         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30189         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30190         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30191         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30192         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30193         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30194         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30195         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30196         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30197         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30198         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30199         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30200         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30202 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30204         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30205         * sunrpc/rpc_main.c: Likewise.
30206         * sunrpc/rpc_svcout.c: Likewise.
30208 2012-03-09  David S. Miller  <davem@davemloft.net>
30210         * include/math_private.h: New file.
30212 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30214         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30215         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30216         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30217         from <bits/socket_type.h>.
30218         (enum __socket_type): Don't define here.
30219         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30221         bits/socket_type.h.
30223         [BZ #13566]
30224         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30225         checking __USE_GNU.
30227         * Makerules ($(inst_includedir)/%.h): New rule.
30228         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30229         (install-others): Remove variable setting.
30230         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30232 2012-03-08  Richard Henderson  <rth@twiddle.net>
30234         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30235         from macro to inline function; merge with the
30236         !__LIBC_INTERNAL_MATH_INLINES version.
30237         (__ieee754_sqrtf): Likewise.
30239         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30240         to inline function.
30241         (__rintf, __floor, __floorf): Likewise.
30243         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30244         macro to inline function.
30245         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30247         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30248         not <math/math_private.h>.
30250 2012-03-08  David S. Miller  <davem@davemloft.net>
30252         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30253         copyright year.
30254         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30256 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30258         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30259         normalization.
30260         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30261         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30263 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30265         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30266         be defined individually, they must be defined as a block.  Define
30267         S for printing a string instead of hidint the different by using a
30268         macro for adding the 'l'.
30269         * stdio-common/tst-fphex-wide.c: Adjust.
30271 2012-03-07  Marek Polacek  <polacek@redhat.com>
30273         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30275 2012-03-08  Marek Polacek  <polacek@redhat.com>
30277         [BZ #13806]
30278         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30279         * stdio-common/tst-fphex.c: Define a few macros to make the
30280         test reusable.  Use them.
30281         * stdio-common/tst-fphex-wide.c: New file.
30283 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30285         [BZ #6911]
30286         * manual/macros.texi (gnusystems): New macro.
30287         (nongnusystems): Likewise.
30288         (gnulinuxhurdsystems): Likewise.
30289         (gnuhurdsystems): Likewise..
30290         (gnulinuxsystems): Likewise.
30291         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30292         variants of the GNU system, not "GNU system".
30293         * manual/conf.texi: Likewise.
30294         * manual/errno.texi: Likewise.  Update example of errno macro
30295         expansion.
30296         * manual/filesys.texi: Likewise.
30297         (getumask): Document as specific to GNU/Hurd.
30298         * manual/install.texi: Likewise.  Reword some references to
30299         GNU/Linux.
30300         * manual/intro.texi: Likewise.
30301         * manual/io.texi: Likewise.
30302         (File Name Portability): Detail which constraints are inapplicable
30303         to all GNU systems and which are only inapplicable to GNU/Hurd.
30304         * manual/job.texi: Likewise.
30305         * manual/llio.texi: Likewise.
30306         (O_NOCTTY): Document as present on GNU/Linux.
30307         * manual/maint.texi: Likewise.
30308         * manual/memory.texi: Likewise.
30309         * manual/pattern.texi: Likewise.
30310         * manual/pipe.texi: Likewise.
30311         * manual/process.texi: Likewise.
30312         * manual/resource.texi: Likewise.
30313         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30314         child on GNU/Hurd.
30315         * manual/setjmp.texi: Likewise.
30316         * manual/signal.texi: Likewise.
30317         * manual/startup.texi: Likewise.
30318         * manual/stdio.texi: Likewise.
30319         * manual/terminal.texi: Likewise.
30320         (ONLCR): Document as POSIX.
30321         (OXTABS): Document availability on GNU/Linux as XTABS.
30322         (ONOEOT): Document availability separately from other bits.
30323         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30324         * manual/time.texi: Likewise.
30325         * manual/users.texi: Likewise.
30326         * INSTALL: Regenerated.
30327         * sysdeps/gnu/errlist.c: Regenerated.
30329         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30330         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30331         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30332         puts.
30333         * configure: Regenerated.
30335 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
30337         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30338         default includes instead of AC_HEADER_CHECK.
30339         * sysdeps/i386/configure: Regenerated.
30341         [BZ #10716]
30342         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30343         * math/s_cacoshf.c (__cacoshf): Likewise.
30344         * math/s_cacoshl.c (__cacoshl): Likewise.
30345         * math/s_casinh.c (__casinh): Set signs of result from argument.
30346         * math/s_casinhf.c (__casinhf): Likewise.
30347         * math/s_casinhl.c (__casinhl): Likewise.
30348         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30349         (casinh_test): Add more tests.
30350         * sysdeps/i386/fpu/libm-test-ulps: Update.
30351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30353 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
30355         * po/zh_TW.po: Update from translation team.
30357         * login/Makefile (distribute): Remove variable.
30358         * catgets/Makefile: Likewise.
30359         * mach/Makefile: Likewise.
30360         * malloc/Makefile: Likewise.
30361         * misc/Makefile: Likewise.
30362         * iconv/Makefile: Likewise.
30363         * nscd/Makefile: Likewise.
30364         * hurd/Makefile: Likewise.
30365         * manual/Makefile: Likewise.
30366         * locale/Makefile: Likewise.
30367         * intl/Makefile: Likewise.
30368         * conform/Makefile: Likewise.
30369         * nss/Makefile: Likewise.
30370         * time/Makefile: Likewise.
30371         * soft-fp/Makefile: Likewise.
30372         * dirent/Makefile: Likewise.
30373         * gmon/Makefile: Likewise.
30374         * po/Makefile: Likewise.
30375         * rt/Makefile: Likewise.
30376         * socket/Makefile: Likewise.
30377         * math/Makefile: Likewise.
30378         * signal/Makefile: Likewise.
30379         * debug/Makefile: Likewise.
30380         * elf/Makefile: Likewise.
30381         * timezone/Makefile: Likewise.
30382         * stdlib/Makefile: Likewise.
30383         * iconvdata/Makefile: Likewise.
30384         * sunrpc/Makefile: Likewise.
30385         * io/Makefile: Likewise.
30386         * argp/Makefile: Likewise.
30387         * inet/Makefile: Likewise.
30388         * hesiod/Makefile: Likewise.
30389         * grp/Makefile: Likewise.
30390         * csu/Makefile: Likewise.
30391         * wctype/Makefile: Likewise.
30392         * crypt/Makefile: Likewise.
30393         * libio/Makefile: Likewise.
30394         * string/Makefile: Likewise.
30395         * nis/Makefile: Likewise.
30396         * resolv/Makefile: Likewise.
30397         * stdio-common/Makefile: Likewise.
30398         * wcsmbs/Makefile: Likewise.
30399         * dlfcn/Makefile: Likewise.
30400         * posix/Makefile: Likewise.
30402         [BZ #6959]
30403         * timezone/Makefile: Don't install timezone files, just the programs
30404         and scripts.
30406 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30408         * nss/databases.def: Add missing gshadow entry.
30410         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30412 2012-03-06  Marek Polacek  <polacek@redhat.com>
30414         [BZ #13726]
30415         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30416         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30417         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30418         * stdio-common/tst-long-dbl-fphex.c: New file.
30420 2012-03-06  David S. Miller  <davem@davemloft.net>
30422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30423         (set_obp_int): New function.
30424         (get_obp_int): New function.
30425         (__get_clockfreq_via_dev_openprom): Likewise.
30426         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30427         Avoid unused variable warnings on 'val' and use builtin_expect.
30428         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30429         __builtin_expect.
30430         (INLINE_CLONE_SYSCALL): Likewise.
30432 2012-03-05  David S. Miller  <davem@davemloft.net>
30434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30436 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30440         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30441         only for |x| >= 40.
30442         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30444 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30446         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30447         Replace gettimeofday with __vdso_gettimeofday.
30449         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30450         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30451         __vdso_clock_gettime and __vdso_getcpu.
30453         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30454         time with __vdso_time.
30456 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30458         * manual/lang.texi (size_t): Note types to which size_t may be
30459         equivalent with the GNU C Library, but do not describe when
30460         differences between them are significant.
30462 2012-03-05  Andreas Jaeger  <aj@suse.de>
30464         * sysdeps/i386/fpu/libm-test-ulps: Update.
30466 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30468         [BZ #3976]
30469         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30470         (__ieee754_pow): Save and restore rounding mode and use
30471         round-to-nearest for main computations.
30472         * math/libm-test.inc (pow_test_tonearest): New function.
30473         (pow_test_towardzero): Likewise.
30474         (pow_test_downward): Likewise.
30475         (pow_test_upward): Likewise.
30476         (main): Call the new functions.
30477         * sysdeps/i386/fpu/libm-test-ulps: Update.
30478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30480         [BZ #3976]
30481         * math/libm-test.inc (cosh_test_tonearest): New function.
30482         (cosh_test_towardzero): Likewise.
30483         (cosh_test_downward): Likewise.
30484         (cosh_test_upward): Likewise.
30485         (sinh_test_tonearest): Likewise.
30486         (sinh_test_towardzero): Likewise.
30487         (sinh_test_downward): Likewise.
30488         (sinh_test_upward): Likewise.
30489         (main): Call the new functions.
30490         * sysdeps/i386/fpu/libm-test-ulps: Update.
30491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30493 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30495         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30496         default stack guard is set in last bytes.
30497         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30499 2012-03-05  Kees Cook  <keescook@chromium.org>
30501         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30503         [BZ #13656]
30504         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30505         possibly allocate from heap instead of stack.
30506         * stdio-common/bug-vfprintf-nargs.c: New file.
30507         * stdio-common/Makefile (tests): Add nargs overflow test.
30509 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30513 2012-03-03  Marek Polacek  <polacek@redhat.com>
30515         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30516         * math/math_private.h: Likewise.
30517         * stdlib/tst-strtod.c: Likewise.
30518         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30519         * sysdeps/x86_64/bits/atomic.h: Likewise.
30521 2012-03-02  David S. Miller  <davem@davemloft.net>
30523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30527         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30528         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30529         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30530         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30532 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30534         [BZ #13792]
30535         * manual/examples/README: New file, says the example source files
30536         can be used under GPL>=2.
30537         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30538         line containing just "*/".
30539         * manual/examples/add.c: Add copyright header (GPL>=2).
30540         * manual/examples/argp-ex1.c: Likewise.
30541         * manual/examples/argp-ex2.c: Likewise.
30542         * manual/examples/argp-ex3.c: Likewise.
30543         * manual/examples/argp-ex4.c: Likewise.
30544         * manual/examples/atexit.c: Likewise.
30545         * manual/examples/db.c: Likewise.
30546         * manual/examples/dir.c: Likewise.
30547         * manual/examples/dir2.c: Likewise.
30548         * manual/examples/execinfo.c: Likewise.
30549         * manual/examples/filecli.c: Likewise.
30550         * manual/examples/filesrv.c: Likewise.
30551         * manual/examples/fmtmsgexpl.c: Likewise.
30552         * manual/examples/genpass.c: Likewise.
30553         * manual/examples/inetcli.c: Likewise.
30554         * manual/examples/inetsrv.c: Likewise.
30555         * manual/examples/isockad.c: Likewise.
30556         * manual/examples/longopt.c: Likewise.
30557         * manual/examples/memopen.c: Likewise.
30558         * manual/examples/memstrm.c: Likewise.
30559         * manual/examples/mkfsock.c: Likewise.
30560         * manual/examples/mkisock.c: Likewise.
30561         * manual/examples/mygetpass.c: Likewise.
30562         * manual/examples/pipe.c: Likewise.
30563         * manual/examples/popen.c: Likewise.
30564         * manual/examples/rprintf.c: Likewise.
30565         * manual/examples/search.c: Likewise.
30566         * manual/examples/select.c: Likewise.
30567         * manual/examples/setjmp.c: Likewise.
30568         * manual/examples/sigh1.c: Likewise.
30569         * manual/examples/sigusr.c: Likewise.
30570         * manual/examples/stpcpy.c: Likewise.
30571         * manual/examples/strdupa.c: Likewise.
30572         * manual/examples/strftim.c: Likewise.
30573         * manual/examples/strncat.c: Likewise.
30574         * manual/examples/subopt.c: Likewise.
30575         * manual/examples/swapcontext.c: Likewise.
30576         * manual/examples/termios.c: Likewise.
30577         * manual/examples/testopt.c: Likewise.
30578         * manual/examples/testpass.c: Likewise.
30579         * manual/examples/timeval_subtract.c: Likewise.
30581         [BZ #13792]
30582         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30583         function to ...
30584         * manual/timeval_subtract.c.texi: ... here, new file.
30586 2012-03-02  David S. Miller  <davem@davemloft.net>
30588         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30590 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30592         [BZ #3976]
30593         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30594         (__sin): Save and restore rounding mode and use round-to-nearest
30595         for all computations.
30596         (__cos): Save and restore rounding mode and use round-to-nearest
30597         for all computations.
30598         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30599         <fenv.h>.
30600         (tan): Save and restore rounding mode and use round-to-nearest for
30601         all computations.
30602         * math/libm-test.inc (cos_test_tonearest): New function.
30603         (cos_test_towardzero): Likewise.
30604         (cos_test_downward): Likewise.
30605         (cos_test_upward): Likewise.
30606         (sin_test_tonearest): Likewise.
30607         (sin_test_towardzero): Likewise.
30608         (sin_test_downward): Likewise.
30609         (sin_test_upward): Likewise.
30610         (tan_test_tonearest): Likewise.
30611         (tan_test_towardzero): Likewise.
30612         (tan_test_downward): Likewise.
30613         (tan_test_upward): Likewise.
30614         (main): Call the new functions.
30615         * sysdeps/i386/fpu/libm-test-ulps: Update.
30616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30618         [BZ #10135]
30619         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30620         small n, then large n, before computing and testing k+n.
30621         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30623         Likewise.
30624         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30625         Likewise.
30626         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30627         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30628         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30629         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30630         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30631         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30632         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30633         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30634         * math/libm-test.inc (scalbn_test): Add more tests.
30635         (scalbln_test): Likewise.
30637         * manual/filesys.texi (mode_t): Describe constraints on size and
30638         signedness, not exact equivalence to a particular type.
30639         (ino_t): Likewise.
30640         (ino64_t): Likewise.
30641         (dev_t): Likewise.
30642         (nlink_t): Likewise.
30643         (blkcnt_t): Likewise.
30644         (blkcnt64_t): Likewise.
30645         * manual/llio.texi (off_t): Likewise.
30647         [BZ #3976]
30648         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30649         (__ieee754_exp): Save and restore rounding mode and use
30650         round-to-nearest for all computations.
30651         * math/libm-test.inc (exp_test_tonearest): New function.
30652         (exp_test_towardzero): Likewise.
30653         (exp_test_downward): Likewise.
30654         (exp_test_upward): Likewise.
30655         (main): Call the new functions.
30656         * sysdeps/i386/fpu/libm-test-ulps: Update.
30657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30659 2012-03-01  Chris Demetriou  <cgd@google.com>
30661         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30662         have predictable order.
30664 2012-03-01  David S. Miller  <davem@davemloft.net>
30666         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30668         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30669         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30670         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30671         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30673         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30674         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30675         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30677         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30678         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30679         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30680         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30681         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30685         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30686         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30687         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30689         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30690         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30691         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30692         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30693         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30694         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30695         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30696         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30697         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30698         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30699         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30700         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30701         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30702         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30703         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30704         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30705         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30706         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30707         * sysdeps/sparc/elf/configure: Regenerated.
30709 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30711         * configure.in (AS, LD): Require binutils 2.20 or later.
30712         * configure: Regenerated.
30713         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30714         as required minimum version.
30715         * INSTALL: Regenerated.
30717         [BZ #2541]
30718         [BZ #4108]
30719         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30720         before squaring exponent.
30721         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30722         bottom long double and 27 bits of top long double before squaring
30723         exponent.
30724         * math/libm-test.inc (erfc_test): Add more tests.
30725         * sysdeps/i386/fpu/libm-test-ulps: Update.
30726         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30729 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30731         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30732         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30733         containing bit-fields.
30734         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30735         * soft-fp/single.h (_FP_UNION_S): Likewise.
30736         * soft-fp/double.h (_FP_UNION_D): Likewise.
30738 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30740         [BZ #13786]
30741         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30742         not include ../strcmp.S.
30743         [USE_AS_STRNCASECMP_L]: Likewise.
30744         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30745         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30746         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30747         (__strncasecmp_l_ia32): Define as alias to
30748         __strncasecmp_l_nonascii.
30750         [BZ #5794]
30751         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30752         * sysdeps/i386/fpu/libm-test-ulps: Update.
30753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30755         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30758 2012-02-29  Jeff Law  <law@redhat.com>
30760         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30761         out of bounds read.
30763 2012-02-29  Marek Polacek  <polacek@redhat.com>
30765         [BZ #13706]
30766         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30767         * elf/Makefile: Add rules to run tst-unused-dep.out.
30769 2012-02-28  David S. Miller  <davem@davemloft.net>
30771         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30772         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30773         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30774         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30775         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30776         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30778 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30780         * math/libm-test.inc (llround_test): Move one test from
30781         lround_test.  Use TEST_f_L in moved test.
30782         (lround_test): Move misplaced test to llround_test.  Add testcase
30783         from bug 2561.
30785 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30787         * sysdeps/x86_64/fpu/e_expf.S: New file.
30788         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30790 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30792         [BZ #13637]
30793         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30794         of remain_len that may cause incomplete multi-byte character and
30795         false match.
30796         * posix/bug-regex33.c: New file.
30797         * posix/Makefile (tests): Add bug-regex33.
30799 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30801         * manual/macros.texi: New file.
30802         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30803         * manual/libc.texinfo: Include macros.texi.
30804         * manual/creatute.texi: Likewise.
30805         * manual/install.texi: Likewise.
30806         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30807         @glibcadj{} in references to the GNU C Library.
30808         * manual/charset.texi: Likewise.
30809         * manual/conf.texi: Likewise.
30810         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30811         when not using those macros.
30812         * manual/creature.texi: Likewise.
30813         * manual/crypt.texi: Likewise.
30814         * manual/errno.texi: Likewise.
30815         * manual/filesys.texi: Likewise.
30816         * manual/header.texi: Likewise.
30817         * manual/install.texi: Likewise.
30818         * manual/intro.texi: Likewise.
30819         * manual/io.texi: Likewise.
30820         * manual/job.texi: Likewise.
30821         * manual/lang.texi: Likewise.
30822         * manual/libc.texiinfo: Likewise.
30823         * manual/llio.texi: Likewise.
30824         * manual/locale.texi: Likewise.
30825         * manual/maint.texi: Likewise.
30826         * manual/math.texi: Likewise.
30827         * manual/memory.texi: Likewise.
30828         * manual/message.texi: Likewise.
30829         * manual/nss.texi: Likewise.
30830         * manual/pattern.texi: Likewise.
30831         * manual/process.texi: Likewise.
30832         * manual/resource.texi: Likewise.
30833         * manual/search.texi: Likewise.
30834         * manual/setjmp.texi: Likewise.
30835         * manual/signal.texi: Likewise.
30836         * manual/socket.texi: Likewise.
30837         * manual/startup.texi: Likewise.
30838         * manual/stdio.texi: Likewise.
30839         * manual/string.texi: Likewise.
30840         * manual/sysinfo.texi: Likewise.
30841         * manual/syslog.texi: Likewise.
30842         * manual/terminal.texi: Likewise.
30843         * manual/time.texi: Likewise.
30844         * manual/users.texi: Likewise.
30845         * INSTALL: Regenerated.
30846         * NOTES: Regenerated.
30847         * sysdeps/gnu/errlist.c: Regenerated.
30849 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30851         * include/dirent.h: Include <dirstream.h> before
30852         <dirent/dirent.h>.
30854 2012-02-28  David S. Miller  <davem@davemloft.net>
30856         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30857         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30858         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30859         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30861 2012-02-27  David S. Miller  <davem@davemloft.net>
30863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30865         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30866         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30869         frame pointer instead of stack pointer relative arg slot.
30870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30871         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30872         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30874 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30876         [BZ #3992]
30877         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30879 2012-02-27  David S. Miller  <davem@davemloft.net>
30881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30885         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30886         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30887         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30888         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30890 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30892         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30893         later.  Allow versions 5-9.
30894         * configure: Regenerated.
30895         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30896         required minimum version and 4.6 as recommended version.  Do not
30897         mention bugs in GCC 2.7 and 2.8.
30898         * INSTALL: Regenerated.
30900 2012-02-27  David S. Miller  <davem@davemloft.net>
30902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30906         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30907         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30908         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30909         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30911         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30912         manipulate bits before adding and subtracting TWO112[sx].
30913         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30915 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30917         [BZ #13775]
30918         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30919         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30920         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30921         being in POSIX, because they are in 1003.1-2008.
30923         * rt/tst-aio.c: Include <fcntl.h>.
30924         * rt/tst-aio7.c: Likewise.
30925         * rt/tst-aio64.c: Likewise.
30927         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30929 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30931         * manual/install.texi (--with-headers): Describe headers as
30932         interface headers, not private headers.
30933         (Specific advice for GNU/Linux systems): Describe use of headers
30934         from "make headers_install", not private headers from older
30935         kernels.
30936         * INSTALL: Regenerated.
30937         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30938         Change to 2.6.19.
30939         * sysdeps/unix/sysv/linux/configure: Regenerated.
30941         * manual/llio.texi (fclean): Remove documentation.
30943         * manual/Makefile (libc-texi-generated): New variable.  Include
30944         version.texi.
30945         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30946         $(libc-texi-generated), not duplicated list of files.
30947         (version.texi, stamp-version): New rules.
30948         (realclean): Remove $(libc-texi-generated), not individual files
30949         from that list.  Do not remove dir-add.texinfo.
30950         * manual/libc.texinfo: Comment out uses of edition numbers and
30951         references to printed manual.  Remove last-updated dates.
30952         (EDITION): Comment out.
30953         (ISBN): Likewise.
30954         (VERSION, UPDATED): Remove.
30955         (version.texi): Include.
30957 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30959         * sysdeps/posix/spawni.c: Include <signal.h>.
30960         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30961         * sysdeps/pthread/aio_fsync.c: Likewise.
30963 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30965         * conform/Makefile (tests): Run only when not cross-compiling and
30966         when fast-check is not defined.
30968         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30969         * conform/data/limits.h-data: Fixes for POSIX2008.
30970         * conform/run-conformtest.sh: Run all tests.
30971         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30972         headers.
30973         * include/bits/dlfcn.h: Likewise.
30974         * include/langinfo.h: Likewise.
30975         * include/monetary.h: Likewise.
30976         * include/sys/poll.h: Likewise.
30978         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30979         for __USE_GNU.
30980         * posix/spawn.h: Define __need_sigset_t.
30981         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30982         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30983         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30984         to get sigevent_t only.
30985         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30986         only for __USE_GNU.
30987         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30988         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30989         process_vm_writev only for __USE_GNU.
30990         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30992         * conform/Makefile: For now ignore errors from run-conformtest.
30993         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30994         POSIX to avoid namespace pollution.  Don't prepend headers.
30995         * conform/data/aio.h-data: Fixes for POSIX testing.
30996         * conform/data/fcntl.h-data: Likewise.
30997         * conform/data/glob.h-data: Likewise.
30998         * conform/data/grp.h-data: Likewise.
30999         * conform/data/pthread.h-data: Likewise.
31000         * conform/data/pwd.h-data: Likewise.
31001         * conform/data/signal.h-data: Likewise.
31002         * conform/data/spawn.h-data: Likewise.
31003         * conform/data/stdio.h-data: Likewise.
31004         * conform/data/stdlib.h-data: Likewise.
31005         * conform/data/stropts.h-data: Likewise.
31006         * conform/data/sys/mman.h-data: Likewise.
31007         * conform/data/sys/stat.h-data: Likewise.
31008         * conform/data/sys/types.h-data: Likewise.
31009         * conform/data/sys/wait.h-data: Likewise.
31010         * conform/data/time.h-data: Likewise.
31011         * conform/data/unistd.h-data: Likewise.
31012         * conform/data/utime.h-data: Likewise.
31014         * io/sys/stat.h: fchmod was always in POSIX.
31015         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31016         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31017         * rt/aio.h: Define __need_timespec before including <time.h>.
31018         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31019         struct.  Add forward declaration of pthread_attr_t and use it in
31020         sigevent.
31021         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31023         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31024         always remove CLK_TCK definition.
31026 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
31028         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31030 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
31032         * conform/run-conformtest.sh: New file.
31033         * conform/Makefile: Run run-conformtest for tests.
31034         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
31035         support.
31037         * conform/data/uchar.h-data: New file.
31038         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31039         * conform/data/arpa/inet.h-data: Likewise.
31040         * conform/data/assert.h-data: Likewise.
31041         * conform/data/complex.h-data: Likewise.
31042         * conform/data/cpio.h-data: Likewise.
31043         * conform/data/ctype.h-data: Likewise.
31044         * conform/data/dirent.h-data: Likewise.
31045         * conform/data/dlfcn.h-data: Likewise.
31046         * conform/data/errno.h-data: Likewise.
31047         * conform/data/fcntl.h-data: Likewise.
31048         * conform/data/float.h-data: Likewise.
31049         * conform/data/fmtmsg.h-data: Likewise.
31050         * conform/data/fnmatch.h-data: Likewise.
31051         * conform/data/ftw.h-data: Likewise.
31052         * conform/data/glob.h-data: Likewise.
31053         * conform/data/grp.h-data: Likewise.
31054         * conform/data/iconv.h-data: Likewise.
31055         * conform/data/inttypes.h-data: Likewise.
31056         * conform/data/langinfo.h-data: Likewise.
31057         * conform/data/libgen.h-data: Likewise.
31058         * conform/data/limits.h-data: Likewise.
31059         * conform/data/locale.h-data: Likewise.
31060         * conform/data/math.h-data: Likewise.
31061         * conform/data/monetary.h-data: Likewise.
31062         * conform/data/mqueue.h-data: Likewise.
31063         * conform/data/ndbm.h-data: Likewise.
31064         * conform/data/net/if.h-data: Likewise.
31065         * conform/data/netdb.h-data: Likewise.
31066         * conform/data/netinet/in.h-data: Likewise.
31067         * conform/data/nl_types.h-data: Likewise.
31068         * conform/data/poll.h-data: Likewise.
31069         * conform/data/pthread.h-data: Likewise.
31070         * conform/data/pwd.h-data: Likewise.
31071         * conform/data/regex.h-data: Likewise.
31072         * conform/data/sched.h-data: Likewise.
31073         * conform/data/search.h-data: Likewise.
31074         * conform/data/semaphore.h-data: Likewise.
31075         * conform/data/setjmp.h-data: Likewise.
31076         * conform/data/signal.h-data: Likewise.
31077         * conform/data/spawn.h-data: Likewise.
31078         * conform/data/stdarg.h-data: Likewise.
31079         * conform/data/stdio.h-data: Likewise.
31080         * conform/data/stdlib.h-data: Likewise.
31081         * conform/data/string.h-data: Likewise.
31082         * conform/data/strings.h-data: Likewise.
31083         * conform/data/stropts.h-data: Likewise.
31084         * conform/data/sys/ipc.h-data: Likewise.
31085         * conform/data/sys/mman.h-data: Likewise.
31086         * conform/data/sys/msg.h-data: Likewise.
31087         * conform/data/sys/resource.h-data: Likewise.
31088         * conform/data/sys/select.h-data: Likewise.
31089         * conform/data/sys/sem.h-data: Likewise.
31090         * conform/data/sys/shm.h-data: Likewise.
31091         * conform/data/sys/socket.h-data: Likewise.
31092         * conform/data/sys/stat.h-data: Likewise.
31093         * conform/data/sys/statvfs.h-data: Likewise.
31094         * conform/data/sys/time.h-data: Likewise.
31095         * conform/data/sys/timeb.h-data: Likewise.
31096         * conform/data/sys/times.h-data: Likewise.
31097         * conform/data/sys/types.h-data: Likewise.
31098         * conform/data/sys/uio.h-data: Likewise.
31099         * conform/data/sys/un.h-data: Likewise.
31100         * conform/data/sys/utsname.h-data: Likewise.
31101         * conform/data/sys/wait.h-data: Likewise.
31102         * conform/data/syslog.h-data: Likewise.
31103         * conform/data/tar.h-data: Likewise.
31104         * conform/data/termios.h-data: Likewise.
31105         * conform/data/utime.h-data: Likewise.
31106         * conform/data/utmpx.h-data: Likewise.
31107         * conform/data/varargs.h-data: Likewise.
31108         * conform/data/wchar.h-data: Likewise.
31109         * conform/data/wctype.h-data: Likewise.
31110         * conform/data/wordexp.h-data: Likewise.
31112         * include/stropts.h: New file.
31113         * include/uchar.h: New file.
31114         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31115         * include/assert.h: Likewise.
31116         * include/ctype.h: Likewise.
31117         * include/dirent.h: Likewise.
31118         * include/dlfcn.h: Likewise.
31119         * include/fcntl.h: Likewise.
31120         * include/fnmatch.h: Likewise.
31121         * include/glob.h: Likewise.
31122         * include/grp.h: Likewise.
31123         * include/libio.h: Likewise.
31124         * include/locale.h: Likewise.
31125         * include/math.h: Likewise.
31126         * include/net/if.h: Likewise.
31127         * include/netdb.h: Likewise.
31128         * include/netinet/in.h: Likewise.
31129         * include/pthread.h: Likewise.
31130         * include/pwd.h: Likewise.
31131         * include/regex.h: Likewise.
31132         * include/sched.h: Likewise.
31133         * include/search.h: Likewise.
31134         * include/setjmp.h: Likewise.
31135         * include/signal.h: Likewise.
31136         * include/stdio.h: Likewise.
31137         * include/stdlib.h: Likewise.
31138         * include/string.h: Likewise.
31139         * include/sys/cdefs.h: Likewise.
31140         * include/sys/mman.h: Likewise.
31141         * include/sys/msg.h: Likewise.
31142         * include/sys/resource.h: Likewise.
31143         * include/sys/select.h: Likewise.
31144         * include/sys/socket.h: Likewise.
31145         * include/sys/stat.h: Likewise.
31146         * include/sys/statvfs.h: Likewise.
31147         * include/sys/time.h: Likewise.
31148         * include/sys/times.h: Likewise.
31149         * include/sys/uio.h: Likewise.
31150         * include/sys/utsname.h: Likewise.
31151         * include/sys/wait.h: Likewise.
31152         * include/termios.h: Likewise.
31153         * include/time.h: Likewise.
31154         * include/ulimit.h: Likewise.
31155         * include/unistd.h: Likewise.
31156         * include/utime.h: Likewise.
31157         * include/wchar.h: Likewise.
31158         * include/wctype.h: Likewise.
31159         * include/wordexp.h: Likewise.
31161         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31163         * time/time.h: TIME_UTC must be a macro.
31164         Make timespec_get available for ISO C11 only as well.
31166 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31168         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31169         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31171 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31173         * configure.in: Use -o not -a in test for unsupported multi-arch.
31175 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31177         * manual/texinfo.tex: Update to version 2012-01-19.16.
31179 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31181         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31183 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31185         [BZ #13738]
31186         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31187         * manual/fdl-1.3.texi: New file.
31188         * manual/fdl-1.1.texi: File removed.
31190         [BZ #13738]
31191         * manual/libc.texinfo (FDL_VERSION): New @set.
31192         Use it for mention of FDL in cover text.
31193         (Documentation License): Use it in @include file name.
31195 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31196             Roland McGrath  <roland@hack.frob.com>
31198         [BZ #5461]
31199         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31200         not LONG_LONG_MAX and LONG_LONG_MIN.
31201         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31202         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31203         name.
31204         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31206 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31208         [BZ #2547]
31209         [BZ #11365]
31210         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31211         manipulate bits before adding and subtracting TWO23[sx].
31212         * math/libm-test.inc (nearbyint_test): Add more tests.
31214 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31216         [BZ #2548]
31217         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31218         bits before adding and subtracting TWO23[sx].
31219         * math/libm-test.inc (rint_test): Add more tests.
31220         (rint_test_tonearest): Likewise.
31221         (rint_test_towardzero): Likewise.
31222         (rint_test_downward): Likewise.
31223         (rint_test_upward: Likewise.
31225 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31227         [BZ #10110]
31228         * include/stdc-predef.h: New file.  Extracted from features.h.
31229         * include/features.h: Include stdc-predef.h.
31230         * Makefile (headers): Add stdc-predef.h.
31231         * CONFORMANCE (Compiler limitations): Update.
31233 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31235         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31237 2012-02-21  David S. Miller  <davem@davemloft.net>
31239         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31240         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31242 2012-02-20  David S. Miller  <davem@davemloft.net>
31244         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31245         using a normal save/restore sequence, rather than allocating a
31246         dummy stack frame just to store a frame pointer and restore.
31247         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31249 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31251         * manual/install.texi: Fix stray word in line-wrapped comment.
31253 2012-02-20  David S. Miller  <davem@davemloft.net>
31255         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31256         both binutils and gcc support GOTDATA.
31258         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31259         "rd %pc" in the PIC register setup sequences.
31261         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31262         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31263         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31264         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31265         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31267         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31268         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31269         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31270         (SYSCALL_ERROR_HANDLER): Likewise.
31271         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31272         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31274         (SYSCALL_ERROR_HANDLER): Likewise.
31276         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31277         (HAVE_GCC_GOTDATA): New.
31278         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31279         relocation support in both binutils and gcc.
31280         * sysdeps/sparc/elf/configure: Regenerate.
31282         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31283         * sysdeps/sparc/sparc32/elf/configure: Delete.
31284         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31285         * sysdeps/sparc/sparc64/elf/configure: Delete.
31286         * sysdeps/sparc/elf/configure.in: New file.
31287         * sysdeps/sparc/elf/configure: Generate.
31289         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31290         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31291         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31292         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31293         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31295 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31297         * manual/install.texi: Do not mention specific glibc version
31298         numbers.
31299         * manual/libc.texinfo (VERSION, UPDATED): Update.
31300         (@copying): Use @copyright{} and range of years.
31302 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31304         [BZ #13695]
31305         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31306         [crti.S not in sysdirs] (generated): Do not append.
31307         [crti.S not in sysdirs] (omit-deps): Likewise.
31308         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31309         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31310         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31311         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31312         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31313         Likewise.
31314         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31315         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31316         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31317         * csu/defs.awk: Remove file.
31318         * sysdeps/generic/initfini.c: Likewise.
31319         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31320         variable.
31321         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31322         Likewise.
31324 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31326         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31327         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31328         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31329         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31330         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31331         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31332         <bits/epoll.h>.
31333         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31334         (__EPOLL_PACKED): Define to empty if not defined by
31335         <bits/epoll.h>.
31336         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31338         bits/epoll.h.
31340 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31342         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31343         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31344         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31345         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31346         <bits/timerfd.h>.
31347         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31349         bits/timerfd.h.
31351 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31353         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31354         in C locale.
31355         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31356         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31357         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31360 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
31362         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31363         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31365 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
31367         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31368         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31369         defined.
31370         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31371         Likewise.
31372         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31373         entry for 2.16.
31375 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31377         * math/w_acos.c: Use non-signaling floating-point comparisons.
31378         * math/w_acosf.c: Likewise.
31379         * math/w_acosh.c: Likewise.
31380         * math/w_acoshf.c: Likewise.
31381         * math/w_acoshl.c: Likewise.
31382         * math/w_acosl.c: Likewise.
31383         * math/w_asin.c: Likewise.
31384         * math/w_asinf.c: Likewise.
31385         * math/w_asinl.c: Likewise.
31386         * math/w_atanh.c: Likewise.
31387         * math/w_atanhf.c: Likewise.
31388         * math/w_atanhl.c: Likewise.
31389         * math/w_exp2.c: Likewise.
31390         * math/w_exp2f.c: Likewise.
31391         * math/w_exp2l.c: Likewise.
31392         * math/w_j0.c: Likewise.
31393         * math/w_j0f.c: Likewise.
31394         * math/w_j0l.c: Likewise.
31395         * math/w_j1.c: Likewise.
31396         * math/w_j1f.c: Likewise.
31397         * math/w_j1l.c: Likewise.
31398         * math/w_jn.c: Likewise.
31399         * math/w_jnf.c: Likewise.
31400         * math/w_log.c: Likewise.
31401         * math/w_log10.c: Likewise.
31402         * math/w_log10f.c: Likewise.
31403         * math/w_log10l.c: Likewise.
31404         * math/w_log2.c: Likewise.
31405         * math/w_log2f.c: Likewise.
31406         * math/w_log2l.c: Likewise.
31407         * math/w_logf.c: Likewise.
31408         * math/w_logl.c: Likewise.
31409         * math/w_sqrt.c: Likewise.
31410         * math/w_sqrtf.c: Likewise.
31411         * math/w_sqrtl.c: Likewise.
31412         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31413         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31414         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31415         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31416         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31418 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31420         [BZ #9739]
31421         * manual/string.texi (strnlen): Use correct parameter name in
31422         equivalent expression.
31424 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31426         [BZ #11174]
31427         * manual/users.texi (seteuid): Consistently use neweuid for
31428         argument name.
31430 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31432         [BZ #13704]
31433         * manual/nss.texi (Services in the NSS configuration): Correct
31434         list of services in example configuration file.
31436 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31438         [BZ #11322]
31439         * manual/arith.texi: Remove statements about negative zero
31440         behaving identically to zero.
31442 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31444         [BZ #5993]
31445         * manual/install.texi: Do not document upgrading from libc5.
31447 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31449         [BZ #4596]
31450         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31452 2012-02-18  David S. Miller  <davem@davemloft.net>
31454         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31455         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31456         %o7 across the call.
31457         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31458         instead.
31459         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31460         SETUP_PIC_REG_LEAF.
31461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31462         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31463         * sysdeps/sparc/crtn.S: Likewise.
31465 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31467         * aout/Makefile: Remove.
31469 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31471         [BZ #13058]
31472         * manual/examples/argp-ex1.c (main): Format definition in GNU
31473         style.
31474         * manual/examples/argp-ex2.c (main): Likewise.
31475         * manual/examples/argp-ex3.c (main): Likewise.
31476         * manual/examples/argp-ex4.c (main): Likewise.
31477         * manual/examples/longopt.c (main): Use new-style prototype
31478         definition.
31479         * manual/examples/strncat.c (main): Specify return type and use
31480         (void) for arguments.
31481         * manual/examples/subopt.c (main): Use char **argv argument.
31483 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31485         [BZ #5077]
31486         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31487         rounding modes.
31489 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31491         [BZ #6907]
31492         * manual/string.texi (strchr): Change when strchrnul is
31493         recommended.
31495 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31497         [BZ #174]
31498         * manual/locale.texi (setlocale): Document LOCPATH.
31500 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31502         [BZ #10210]
31503         * manual/process.texi (execle): Move @dots{} before last argument.
31505 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31507         [BZ #12047]
31508         * manual/charset.texi (Generic Charset Conversion): Fix typo
31509         (LC_TYPE -> LC_CTYPE).
31511 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31513         [BZ #5805]
31514         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31515         (scalbnf): Likewise.
31516         (scalbnl): Likewise.
31517         (scalbln): Likewise.
31518         (scalblnf): Likewise.
31519         (scalblnl): Likewise.
31520         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31521         (vwarnx): Likewise.
31522         (verr): Likewise.
31523         (verrx): Likewise.
31524         * manual/filesys.texi (telldir): Use braces around return type.
31525         * manual/llio.texi (mmap): Add space after comma.
31526         (mmap64): Likewise.
31527         * manual/math.texi (jn): Use @var{} on parameter names.
31528         (jnf): Likewise.
31529         (jnl): Likewise.
31530         (yn): Likewise.
31531         (ynf): Likewise.
31532         (ynl): Likewise.
31533         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31534         line.
31535         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31536         "...".
31537         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31538         (sched_get_priority_max): Likewise.
31539         * manual/signal.texi (sigvec): Add space after comma.
31540         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31541         names.
31542         (if_indextoname): Likewise.
31543         (if_freenameindex): Likewise.
31544         (sendto): Use ',' instead of '.' in prototype.
31545         * manual/startup.texi (syscall): Use @dots{} instead of literal
31546         "...".
31547         * manual/stdio.texi (__fpending): Separate initial words of
31548         paragraph from @deftypefun line.
31549         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31550         "...".
31551         (vsyslog): Use @var{} on parameter names.
31552         * manual/terminal.texi (stty): Use @var{} on parameter names.
31553         * manual/users.texi (getutmp): Use @var{} on parameter names.
31554         (getutmpx): Likewise.
31556 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31558         [BZ #6884]
31559         * manual/stdio.texi (fopen): Fix typos in description of
31560         ",ccs=STRING".
31562 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31564         [BZ #4026]
31565         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31566         get clock_id definition.
31568 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31570         [BZ #4822]
31571         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31572         (madvise): Cast every argument to void on its own.
31574 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31576         [BZ #9902]
31577         * manual/startup.texi (Exit Status): Fix typo.
31579 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31581         [BZ #10140]
31582         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31583         * manual/examples/argp-ex2.c: Likewise.
31584         * manual/examples/argp-ex3.c: Likewise.
31586 2012-02-16  Richard Henderson  <rth@redhat.com>
31588         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31589         * sysdeps/s390/s390-32/initfini.c: Remove.
31590         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31591         * sysdeps/s390/s390-64/initfini.c: Remove.
31593 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31595         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31596         compiler output for sysdeps/generic/initfini.c.
31597         * sysdeps/sh/elf/initfini.c: Remove file.
31599 2012-02-16  David S. Miller  <davem@davemloft.net>
31601         [BZ #11494]
31602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31604         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31605         * sysdeps/sparc/crti.S: New file.
31606         * sysdeps/sparc/crtn.S: New file.
31607         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31608         * sysdeps/sparc/sparc64/Makefile: Likewise.
31610 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31612         [BZ #3335]
31613         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31615 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31617         [BZ #4822]
31618         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31620         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31621         (write, read, close): Likewise.
31622         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31624 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31626         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31627         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31628         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31629         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31630         <bits/signalfd.h>.
31631         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31632         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31633         bits/signalfd.h.
31635 2012-02-14  Marek Polacek  <polacek@redhat.com>
31637         * sysdeps/x86_64/crti.S: New file.
31638         * sysdeps/x86_64/crtn.S: New file.
31639         * sysdeps/x86_64/elf/initfini.c: Remove file.
31641 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31643         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31644         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31645         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31646         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31647         <bits/inotify.h>.
31648         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31650         bits/inotify.h.
31652 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31654         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31655         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31656         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31657         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31658         <bits/eventfd.h>.
31659         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31660         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31661         bits/eventfd.h.
31663 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31665         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31666         __feraiseexcept instead of feraiseexcept.
31668         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31669         nanosleep invocations.
31670         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31671         strings, and add error checking for a nanosleep invocations.
31673 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31675         Replace FSF snail mail address with URLs, as per GNU coding standards.
31676         Most of the snail mail addresses were wrong anyway, and omitting
31677         them makes the source code easier to maintain.  Almost all of the
31678         changes are to license notices and to locale LC_IDENTIFICATION
31679         addresses, except for this one:
31680         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31681         not its snail mail address.
31683 2012-02-09  Richard Henderson  <rth@twiddle.net>
31685         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31686         of kernel-features.h.
31688         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31690 2012-02-08  Marek Polacek  <polacek@redhat.com>
31692         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31693         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31694         * sysdeps/gnu/_G_config.h: Likewise.
31695         * sysdeps/generic/_G_config.h: Likewise.
31697 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31699         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31700         tests.
31701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31703         * sysdeps/powerpc/powerpc32/crti.S: New file.
31704         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31705         * sysdeps/powerpc/powerpc64/crti.S: New file.
31706         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31708         * Makeconfig (have-initfini): Don't set.
31709         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31710         * configure.in (nopic_initfini): Don't substitute.
31711         * config.h.in (HAVE_INITFINI): Don't #undef.
31712         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31713         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31715 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31717         Support crti.S and crtn.S provided directly by architectures.
31718         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31719         [crti.S in sysdirs] (omit-deps): Likewise.
31720         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31721         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31722         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31723         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31724         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31725         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31726         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31727         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31728         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31729         compiler output for sysdeps/generic/initfini.c.
31730         * sysdeps/i386/elf/Makefile: Remove file.
31731         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31733 2012-02-07  Marek Polacek  <polacek@redhat.com>
31735         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31736         * sysdeps/gnu/_G_config.h: Likewise.
31737         * sysdeps/mach/hurd/_G_config.h: Likewise.
31739 2012-02-07  Marek Polacek  <polacek@redhat.com>
31741         * math/Makefile (tests): Add tst-CMPLX2.
31742         * math/tst-CMPLX2.c: New file.
31744 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31746         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31748         * math/libm-test.inc (jn_test): Add missing L suffix.
31750 2012-02-06  Marek Polacek  <polacek@redhat.com>
31752         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31753         * sysdeps/i386/fpu/e_powf.S: Likewise.
31754         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31755         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31756         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31757         * sysdeps/i386/fpu/e_pow.S: Likewise.
31758         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31759         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31760         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31761         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31762         * sysdeps/i386/fpu/e_log2.S: Likewise.
31763         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31764         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31765         * sysdeps/i386/fpu/e_powl.S: Likewise.
31766         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31767         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31768         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31769         * sysdeps/i386/fpu/e_logl.S: Likewise.
31770         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31771         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31772         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31773         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31774         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31775         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31776         * sysdeps/i386/fpu/e_log.S: Likewise.
31777         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31778         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31779         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31780         * sysdeps/i386/fpu/e_logf.S: Likewise.
31781         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31782         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31783         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31784         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31785         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31786         * sysdeps/i386/fpu/e_log10.S: Likewise.
31787         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31788         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31789         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31790         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31791         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31792         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31793         * sysdeps/i386/asm-syntax.h: Likewise.
31794         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31795         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31796         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31797         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31798         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31799         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31800         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31801         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31802         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31803         * sysdeps/powerpc/sysdep.h: Likewise.
31804         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31805         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31807 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31809         [BZ #411]
31810         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31812 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31814         * sysdeps/i386/sysdep.h: Include <features.h>.
31815         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31816         version.
31818 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31820         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31821         Define.
31822         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31823         LOAD_PIC_REG_STR.
31825 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31827         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31828         (SETUP_PIC_REG): Use GET_PC_THUNK.
31829         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31830         macro.
31832 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31834         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31835         for non-PIC compilation.
31836         (SETUP_PIC_REG): Add .p2align directive.
31837         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31838         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31839         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31840         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31841         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31842         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31843         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31844         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31845         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31846         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31847         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31848         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31849         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31850         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31851         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31852         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31853         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31854         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31855         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31856         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31857         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31858         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31859         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31860         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31861         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31862         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31863         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31864         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31865         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31866         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31867         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31868         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31869         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31870         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31871         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31872         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31873         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31874         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31875         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31876         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31877         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31879 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31881         * math/tst-CMPLX.c: Include <stdio.h>.
31883 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31885         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31886         float.
31887         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31888         * sysdeps/sparc/bits/mathdef.h: Likewise.
31890 2012-01-31  Marek Polacek  <polacek@redhat.com>
31892         * libio/libio.h: Don't define _PARAMS.
31893         * locale/programs/config.h: Don't define PARAMS.
31894         * stdlib/strtol_l.c: Likewise.
31895         (__strtol_l): Remove PARAMS from the prototype.
31897 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31899         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31900         names.  Just use the correct names.  Remove unnecessary wrapper
31901         functions.
31902         * malloc/arena.c: Likewise.
31903         * malloc/hooks.c: Likewise.
31905         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31906         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31907         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31909 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31911         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31912         into tail calls.
31913         (update_get_addr): New function.
31914         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31915         GET_ADDR_MODULE parameter.
31917 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31919         * crypt/cert.c: Remove __STDC__ conditionals.
31920         * crypt/crypt-entry.c: Likewise.
31921         * crypt/crypt_util.c: Likewise.
31922         * libio/filedoalloc.c: Likewise.
31923         * libio/fileops.c: Likewise.
31924         * libio/genops.c: Likewise.
31925         * libio/iofclose.c: Likewise.
31926         * libio/iofdopen.c: Likewise.
31927         * libio/iofopen.c: Likewise.
31928         * libio/iofopen64.c: Likewise.
31929         * libio/iogetdelim.c: Likewise.
31930         * libio/iopopen.c: Likewise.
31931         * libio/obprintf.c: Likewise.
31932         * libio/oldfileops.c: Likewise.
31933         * libio/oldiofclose.c: Likewise.
31934         * libio/oldiofdopen.c: Likewise.
31935         * libio/oldiofopen.c: Likewise.
31936         * libio/oldiopopen.c: Likewise.
31937         * libio/wfiledoalloc.c: Likewise.
31938         * libio/wgenops.c: Likewise.
31939         * locale/programs/xmalloc.c: Likewise.
31940         * misc/syslog.c: Likewise.
31941         * stdio-common/xbug.c: Likewise.
31942         * string/memchr.c: Likewise.
31943         * string/memcmp.c: Likewise.
31944         * string/memrchr.c: Likewise.
31945         * string/rawmemchr.c: Likewise.
31946         * sysdeps/posix/getcwd.c: Likewise.
31947         * time/strftime_l.c: Likewise.
31949 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31951         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31952         * config.make.in (config-cflags-sse2avx): Define.
31953         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31954         Fix typo.
31956 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31958         * scripts/config.guess: Update from upstream config git repository.
31959         * scripts/config.sub: Likewise.
31961 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31963         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31964         (EM_NUM): Update.
31965         (R_TILEPRO_*, R_TILEGX_*): New macros.
31967         * scripts/firstversions.awk: Fix bug in version range handling.
31969         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31971         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31973         * include/sys/epoll.h: New file.
31974         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31975         libc_hidden_def.
31977 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31979         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31980         Avoid unnecessary __WORDSIZE == 64 test.
31981         (fmaxf): Use VEX format if possible.
31982         (fmax): Likewise.
31983         (fminf): Likewise.
31984         (fmin): Likewise.
31986         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31987         * math/math_private.h: Remove libc_fegetround* and
31988         libc_fesetround*.
31989         * sysdeps/i386/configure.in: Check for -msse2avx.
31990         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31991         also if SSE2AVX is defined.
31992         Remove libc_fegetround* and libc_fesetround*.
31993         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31994         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31995         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31996         of HAS_YMM_USABLE.
31997         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31998         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31999         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32000         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32001         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32003         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32005 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32007         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32008         size is not set.
32009         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32011 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
32013         [BZ #13618]
32014         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32015         relocation.
32016         * Makeconfig (libm): Define.
32017         * elf/Makefile: Add rules to build and run tst-relsort1.
32018         * elf/tst-relsort1.c: New file.
32019         * elf/tst-relsort1mod1.c: New file.
32020         * elf/tst-relsort1mod2.c: New file.
32022 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
32024         * math/s_ldexp.c: Remove __STDC__ conditionals.
32025         * math/s_ldexpf.c: Likewise.
32026         * math/s_ldexpl.c: Likewise.
32027         * math/s_nextafter.c: Likewise.
32028         * math/s_nexttowardf.c: Likewise.
32029         * math/s_significand.c: Likewise.
32030         * math/s_significandf.c: Likewise.
32031         * math/s_significandl.c: Likewise.
32032         * math/w_jnl.c: Likewise.
32033         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32034         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32035         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32036         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32037         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32038         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32039         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32040         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32041         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32042         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32043         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32044         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32045         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32046         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32047         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32048         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32049         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32050         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32051         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32052         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32053         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32054         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32055         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32056         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32057         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32058         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32059         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32060         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32061         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32062         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32063         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32064         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32065         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32066         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32067         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32068         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32069         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32070         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32071         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32072         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32073         * sysdeps/ieee754/k_standard.c: Likewise.
32074         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32075         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32076         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32077         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32078         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32079         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32080         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32081         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32082         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32083         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32084         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32085         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32086         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32087         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32088         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32089         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32090         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32091         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32092         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32093         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32094         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32095         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32096         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32097         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32098         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32099         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32100         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32101         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32102         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32103         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32104         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32105         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32106         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32107         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32108         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32109         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32110         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32111         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32112         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32113         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32114         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32115         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32116         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32117         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32118         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32119         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32120         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32121         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32122         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32123         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32124         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32125         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32126         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32127         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32128         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32129         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32130         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32131         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32132         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32133         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32134         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32135         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32136         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32137         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32138         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32139         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32140         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32141         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32142         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32143         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32144         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32145         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32146         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32147         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32148         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32149         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32150         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32151         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32152         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32153         * sysdeps/ieee754/s_matherr.c: Likewise.
32154         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32155         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32159 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32161         * crypt/md5.h: Remove __STDC__ conditionals.
32162         * libio/libioP.h: Likewise.
32163         * locale/programs/config.h: Likewise.
32164         * sysdeps/generic/sysdep.h: Likewise.
32165         * sysdeps/i386/asm-syntax.h: Likewise.
32166         * sysdeps/s390/asm-syntax.h: Likewise.
32167         * sysdeps/unix/sysdep.h: Likewise.
32168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32171 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32173         * libio/libio.h: Remove __STDC__ conditionals.
32174         * malloc/obstack.h: Likewise.
32175         * math/complex.h: Likewise.
32176         * math/math.h: Likewise.
32177         * sysdeps/generic/_G_config.h: Likewise.
32178         * sysdeps/gnu/_G_config.h: Likewise.
32179         * sysdeps/mach/hurd/_G_config.h: Likewise.
32180         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32181         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32182         * sysdeps/sparc/bits/mathdef.h: Likewise.
32184 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32186         [BZ #13583]
32187         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32188         Clean up HAS_* macros.
32189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32190         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32191         possible.
32192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32193         HAS_AVX.
32194         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32195         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32196         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32197         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32198         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32200 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32202         * elf/tst-unique3.cc (gets): Remove declaration.
32203         * elf/tst-unique3lib.cc (gets): Likewise.
32204         * elf/tst-unique3lib2.cc (gets): Likewise.
32205         * elf/tst-unique4.cc (gets): Likewise.
32207 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32209         * include/stdio.h: Add C++ protection.  Add gets declarations and
32210         definitions.
32211         * debug/tst-chk1.c: Don't declare gets here.
32212         * stdio-common/tst-gets.c: Likewise.
32214 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32216         * posix/glob: Remove directory.
32218 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32220         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32222 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32224         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32225         of the non-standard EPFNOSUPPORT.
32227 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32229         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32230         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32231         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32233 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32235         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32237 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32239         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32240         transient errors.
32241         * nscd/grpcache.c (cache_addgr): Likewise.
32242         * nscd/hstcache.c (cache_addhst): Likewise.
32243         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32244         * nscd/pwdcache.c (cache_addpw): Likewise.
32245         * nscd/servicescache.c (cache_addserv): Likewise.
32247 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32249         * malloc/malloc.c: Various cleanups.
32250         * malloc/hooks.c: Likewise.
32252         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32253         * stdlib/bug-fmtmsg1.c: New file.
32255         * stdlib/fmtmsg.c (init): Add missing unlock.
32256         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32258 2012-01-12  Marek Polacek  <polacek@redhat.com>
32260         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32261         and _GNU_SOURCE.
32263 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32265         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32266         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32267         macro to ensure uniqueness of label name.
32268         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32269         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32271 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32273         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32275         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32276         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32277         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32278         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32280 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32282         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32284         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32285         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32286         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32288         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32290         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32291         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32292         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32293         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32295         * math/bits/math-finite.h: Add ldexp support.
32297 2012-01-10  Marek Polacek  <polacek@redhat.com>
32299         * locale/programs/localedef.h (show_archive_content): Add noreturn
32300         attribute.
32302 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32304         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32306 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32308         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32310         * io/Makefile (headers): Add bits/poll2.h.
32312 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32315         typo #include statement.
32317 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32319         * include/sys/cdefs.h: Define __attribute_alloc_size.
32320         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32321         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32322         * elf/pldd.c: Likewise.
32323         * iconv/iconv_charmap.c: Likewise.
32324         * iconv/iconvconfig.c: Likewise.
32325         * iconv/strtab.c: Likewise.
32326         * locale/programs/locale.c: Likewise.
32327         * locale/programs/localedef.h: Likewise.
32328         * locale/programs/simple-hash.c: Likewise.
32329         * nscd/nscd.h: Likewise.
32330         * nss/makedb.c: Likewise.
32331         * sysdeps/generic/ldconfig.h: Likewise.
32332         * locale/programs/localedef.c: Remove xmalloc prototype.
32333         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32335 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32337         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32338         appropriate.
32340 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32342         * math/Makefile (tests): Add tst-CMPLX.
32343         * math/tst-CMPLX.c: New file.
32345         * math/complex.h (CMPLXL): Fix typo.
32347         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32348         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32349         GLIBC_2.16.
32350         * debug/tst-chk1.c: Add poll and ppoll tests.
32351         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32352         * include/sys/poll.h: Add hidden proto for ppoll.
32353         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32354         * sysdeps/mach/hurd/ppoll.c: Likewise.
32355         * io/ppoll.c: Likewise.
32356         * debug/poll_chk.c: New file.
32357         * debug/ppoll_chk.c: New file.
32358         * include/bits/poll2.h: New file.
32359         * io/bits/poll2.h: New file.
32361         [BZ #1350]
32362         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32364         * configure.in: static is always set to yes.  Remove.
32365         * config.make.in: Don't set build-static.
32366         * Makeconfig: Remove use of build-static.
32367         * dlfcn/Makefile: Likewise.
32368         * elf/Makefile: Likewise.
32369         * math/Makefile: Likewise.
32370         * misc/Makefile: Likewise.
32371         * nptl/Makefile: Likewise.
32372         * sysdeps/mach/hurd/Makefile: Likewise.
32374         * configure.in: PWD_P is not used anymore.
32375         * config.make.in: Remove PWD_P entry.
32377         * configure.in: Remove last remnants of RANLIB.
32378         No need to check for signed size_t anymore.
32379         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32380         and IA-64.
32381         Remove __builtin_expect test because we require at least gcc 3.4.
32382         * aclocal.m4: Likewise.
32384         * wcsmbs/mbrtoc16.c: Implement using towc function.
32385         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32386         * wcsmbs/wcsmbsload.c: Likewise.
32387         * iconv/gconv_simple.c: Likewise.
32388         * iconv/gconv_int.h: Likewise.
32389         * iconv/gconv_builtin.h: Likewise.
32390         * iconv/iconv_prog.c: Remove CHAR16 handling.
32392         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32394         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32396         * configure.in: Remove --with-elf and --enable-bounded options.
32397         Dont set base_machine for ia64.  More non-ELF conditions removed.
32398         Remove testing and setting of leading underscore information.
32399         * config.make.in (build-bounded): Set to no.
32400         * config.h.in: Remove NO_UNDERSCORES entry.
32401         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32402         them.
32403         * csu/start.c: Remove !NO_UNDERSCORE code.
32404         * locale/localeinfo.h: Likewise.
32405         * sysdeps/generic/machine-gmon.h: Likewise.
32406         * sysdeps/generic/sysdep.h: Likewise.
32407         * sysdeps/i386/sysdep.h: Likewise.
32408         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32409         * sysdeps/mach/sysdep.h: Likewise.
32410         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32411         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32412         * sysdeps/sh/sysdep.h: Likewise.
32413         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32414         * sysdeps/unix/i386/sysdep.S: Likewise.
32415         * sysdeps/unix/sparc/start.c: Likewise.
32416         * sysdeps/unix/sparc/sysdep.S: Likewise.
32417         * sysdeps/unix/sparc/sysdep.h: Likewise.
32418         * sysdeps/unix/start.c: Likewise.
32419         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32420         * sysdeps/x86_64/sysdep.h: Likewise.
32422 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32424         [BZ #13553]
32425         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32426         for non-gcc.
32427         * argp/argp-fmtstream.h: Use const instead __const.
32428         * argp/argp.h: Likewise.
32429         * assert/assert.h: Likewise.
32430         * bits/fenv.h: Likewise.
32431         * bits/sched.h: Likewise.
32432         * bits/sigset.h: Likewise.
32433         * bits/sigthread.h: Likewise.
32434         * catgets/nl_types.h: Likewise.
32435         * conform/data/pthread.h-data: Likewise.
32436         * crypt/crypt-private.h: Likewise.
32437         * crypt/crypt.h: Likewise.
32438         * crypt/crypt_util.c: Likewise.
32439         * ctype/ctype.h: Likewise.
32440         * debug/execinfo.h: Likewise.
32441         * debug/mbsnrtowcs_chk.c: Likewise.
32442         * debug/mbsrtowcs_chk.c: Likewise.
32443         * debug/wcsnrtombs_chk.c: Likewise.
32444         * debug/wcsrtombs_chk.c: Likewise.
32445         * debug/wcstombs_chk.c: Likewise.
32446         * dirent/dirent.h: Likewise.
32447         * dlfcn/dlfcn.h: Likewise.
32448         * elf/neededtest4.c: Likewise.
32449         * grp/grp.h: Likewise.
32450         * gshadow/gshadow.h: Likewise.
32451         * iconv/gconv.h: Likewise.
32452         * iconv/gconv_int.h: Likewise.
32453         * iconv/gconv_simple.c: Likewise.
32454         * iconv/iconv.h: Likewise.
32455         * iconv/loop.c: Likewise.
32456         * iconv/skeleton.c: Likewise.
32457         * include/aio.h: Likewise.
32458         * include/aliases.h: Likewise.
32459         * include/argz.h: Likewise.
32460         * include/arpa/inet.h: Likewise.
32461         * include/assert.h: Likewise.
32462         * include/dirent.h: Likewise.
32463         * include/dlfcn.h: Likewise.
32464         * include/execinfo.h: Likewise.
32465         * include/fcntl.h: Likewise.
32466         * include/fenv.h: Likewise.
32467         * include/glob.h: Likewise.
32468         * include/grp.h: Likewise.
32469         * include/libintl.h: Likewise.
32470         * include/mntent.h: Likewise.
32471         * include/netdb.h: Likewise.
32472         * include/pwd.h: Likewise.
32473         * include/rpc/netdb.h: Likewise.
32474         * include/sched.h: Likewise.
32475         * include/search.h: Likewise.
32476         * include/shadow.h: Likewise.
32477         * include/signal.h: Likewise.
32478         * include/stdio.h: Likewise.
32479         * include/stdlib.h: Likewise.
32480         * include/string.h: Likewise.
32481         * include/sys/socket.h: Likewise.
32482         * include/sys/stat.h: Likewise.
32483         * include/sys/statfs.h: Likewise.
32484         * include/sys/statvfs.h: Likewise.
32485         * include/sys/syslog.h: Likewise.
32486         * include/sys/time.h: Likewise.
32487         * include/sys/uio.h: Likewise.
32488         * include/time.h: Likewise.
32489         * include/unistd.h: Likewise.
32490         * include/utmp.h: Likewise.
32491         * include/wchar.h: Likewise.
32492         * include/wctype.h: Likewise.
32493         * inet/aliases.h: Likewise.
32494         * inet/arpa/inet.h: Likewise.
32495         * inet/netinet/ether.h: Likewise.
32496         * inet/netinet/in.h: Likewise.
32497         * intl/libintl.h: Likewise.
32498         * io/bits/fcntl2.h: Likewise.
32499         * io/fcntl.h: Likewise.
32500         * io/ftw.h: Likewise.
32501         * io/sys/poll.h: Likewise.
32502         * io/sys/stat.h: Likewise.
32503         * io/sys/statfs.h: Likewise.
32504         * io/sys/statvfs.h: Likewise.
32505         * io/utime.h: Likewise.
32506         * libio/bits/stdio.h: Likewise.
32507         * libio/bits/stdio2.h: Likewise.
32508         * libio/libio.h: Likewise.
32509         * libio/libioP.h: Likewise.
32510         * libio/stdio.h: Likewise.
32511         * locale/lc-ctype.c: Likewise.
32512         * locale/locale.h: Likewise.
32513         * login/utmp.h: Likewise.
32514         * malloc/arena.c: Likewise.
32515         * malloc/malloc.c: Likewise.
32516         * malloc/malloc.h: Likewise.
32517         * malloc/mcheck.c: Likewise.
32518         * malloc/mtrace.c: Likewise.
32519         * math/bits/mathcalls.h: Likewise.
32520         * math/fenv.h: Likewise.
32521         * math/math_private.h: Likewise.
32522         * misc/bits/error.h: Likewise.
32523         * misc/bits/syslog.h: Likewise.
32524         * misc/err.h: Likewise.
32525         * misc/error.h: Likewise.
32526         * misc/fstab.h: Likewise.
32527         * misc/mntent.h: Likewise.
32528         * misc/regexp.h: Likewise.
32529         * misc/search.h: Likewise.
32530         * misc/sgtty.h: Likewise.
32531         * misc/sys/mman.h: Likewise.
32532         * misc/sys/syslog.h: Likewise.
32533         * misc/sys/uio.h: Likewise.
32534         * misc/sys/xattr.h: Likewise.
32535         * misc/ttyent.h: Likewise.
32536         * nis/rpcsvc/ypclnt.h: Likewise.
32537         * nss/nss.h: Likewise.
32538         * posix/bits/unistd.h: Likewise.
32539         * posix/fnmatch.h: Likewise.
32540         * posix/glob.h: Likewise.
32541         * posix/sched.h: Likewise.
32542         * posix/spawn.h: Likewise.
32543         * posix/sys/wait.h: Likewise.
32544         * posix/unistd.h: Likewise.
32545         * posix/wordexp.h: Likewise.
32546         * pwd/pwd.h: Likewise.
32547         * resolv/netdb.h: Likewise.
32548         * resource/sys/resource.h: Likewise.
32549         * rt/aio.h: Likewise.
32550         * rt/bits/mqueue2.h: Likewise.
32551         * rt/mqueue.h: Likewise.
32552         * shadow/shadow.h: Likewise.
32553         * signal/signal.h: Likewise.
32554         * socket/send.c: Likewise.
32555         * socket/sendto.c: Likewise.
32556         * socket/sys/socket.h: Likewise.
32557         * stdio-common/printf.h: Likewise.
32558         * stdlib/bits/stdlib.h: Likewise.
32559         * stdlib/fmtmsg.h: Likewise.
32560         * stdlib/monetary.h: Likewise.
32561         * stdlib/stdlib.h: Likewise.
32562         * stdlib/ucontext.h: Likewise.
32563         * streams/stropts.h: Likewise.
32564         * string/argz.h: Likewise.
32565         * string/bits/string2.h: Likewise.
32566         * string/string.h: Likewise.
32567         * string/strings.h: Likewise.
32568         * sunrpc/rpc/auth.h: Likewise.
32569         * sunrpc/rpc/auth_des.h: Likewise.
32570         * sunrpc/rpc/clnt.h: Likewise.
32571         * sunrpc/rpc/netdb.h: Likewise.
32572         * sunrpc/rpc/pmap_clnt.h: Likewise.
32573         * sunrpc/rpc/xdr.h: Likewise.
32574         * sysdeps/generic/inttypes.h: Likewise.
32575         * sysdeps/generic/net/if.h: Likewise.
32576         * sysdeps/generic/sys/swap.h: Likewise.
32577         * sysdeps/gnu/net/if.h: Likewise.
32578         * sysdeps/gnu/utmpx.h: Likewise.
32579         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32580         * sysdeps/i386/i486/bits/string.h: Likewise.
32581         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32582         * sysdeps/s390/bits/string.h: Likewise.
32583         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32584         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32585         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32586         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32587         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32588         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32589         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32590         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32591         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32592         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32593         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32594         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32595         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32596         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32597         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32598         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32599         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32600         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32601         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32602         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32603         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32604         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32605         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32606         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32607         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32608         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32609         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32610         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32611         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32612         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32613         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32614         * sysvipc/sys/ipc.h: Likewise.
32615         * sysvipc/sys/msg.h: Likewise.
32616         * sysvipc/sys/sem.h: Likewise.
32617         * sysvipc/sys/shm.h: Likewise.
32618         * termios/termios.h: Likewise.
32619         * time/sys/time.h: Likewise.
32620         * time/time.h: Likewise.
32621         * wcsmbs/bits/wchar2.h: Likewise.
32622         * wcsmbs/uchar.h: Likewise.
32623         * wcsmbs/wchar.h: Likewise.
32624         * wctype/wctype.h: Likewise.
32626         [BZ #13551]
32627         * Makeconfig: Remove all but ELF support including AIX support.
32628         * Makerules: Likewise.
32629         * config.h.in: Likewise.
32630         * config.make.in: Likewise.
32631         * configure: Likewise.
32632         * configure.in: Likewise.
32633         * csu/Makefile: Likewise.
32634         * csu/version.c: Likewise.
32635         * debug/Makefile: Likewise.
32636         * dlfcn/Makefile: Likewise.
32637         * elf/Makefile: Likewise.
32638         * extra-lib.mk: Likewise.
32639         * iconv/Makefile: Likewise.
32640         * include/libc-symbols.h: Likewise.
32641         * include/shlib-compat.h: Likewise.
32642         * resolv/Makefile: Likewise.
32643         * resolv/res_libc.c: Likewise.
32644         * rt/Makefile: Likewise.
32645         * sysdeps/i386/asm-syntax.h: Likewise.
32646         * sysdeps/i386/sysdep.h: Likewise.
32647         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32648         * sysdeps/mach/sysdep.h: Likewise.
32649         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32650         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32651         * sysdeps/s390/asm-syntax.h: Likewise.
32652         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32653         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32654         * sysdeps/sh/sysdep.h: Likewise.
32655         * sysdeps/unix/sparc/sysdep.h: Likewise.
32656         * sysdeps/wordsize-32/divdi3.c: Likewise.
32657         * sysdeps/x86_64/sysdep.h: Likewise.
32659         * argp/Versions: Remove _argp_unlock_xxx.
32661         [BZ #13559]
32662         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32663         * abilist/libBrokenLocale.abilist: Likewise.
32664         * abilist/libanl.abilist: Likewise.
32665         * abilist/libc.abilist: Likewise.
32666         * abilist/libcrypt.abilist: Likewise.
32667         * abilist/libdl.abilist: Likewise.
32668         * abilist/libm.abilist: Likewise.
32669         * abilist/libnsl.abilist: Likewise.
32670         * abilist/libpthread.abilist: Likewise.
32671         * abilist/libresolv.abilist: Likewise.
32672         * abilist/librt.abilist: Likewise.
32673         * abilist/libthread_db.abilist: Likewise.
32674         * abilist/libutil.abilist: Likewise.
32675         * abilist/libnss_db.abilist: New file.
32677         * scripts/abilist.awk: Add support for indirect functions.
32679         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32681         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32683         * shlib-versions: Remove entries for ports architectures.
32685         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32686         files in ports.
32687         * elf/stackguard-macros.h: Remove support for IA-64.
32688         * elf/tst-auditmod1.c: Likewise.
32689         * sysdeps/generic/ldsodefs.h: Likewise.
32691         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32692         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32693         configure files.
32695         [BZ #13552]
32696         * configure.in: Remove --enable-omitfp support.
32697         * FAQ.in: Adjust.
32698         * config.make.in: Likewise.
32699         * Makeconfig: Likewise.
32700         * manual/install.texi: Likewise.
32702         In case anyone cares, the IA-64 architecture could move to ports.
32703         * sysdeps/ia64/*: Removed.
32704         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32705         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32707         [BZ #13555]
32708         * configure.in: Remove entries for unsupported architectures.
32710         [BZ #13533]
32711         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32712         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32713         routines.
32714         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32715         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32716         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32717         fall back to using wcrtomb.
32718         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32719         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32720         renaming.
32721         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32722         * wcsmbs/tst-c16c32-1.c: New file.
32724         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32725         local variable.
32727         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32729         * elf/tst-unique3.cc: Add explicit declaration of gets.
32730         * elf/tst-unique3lib.cc: Likewise.
32731         * elf/tst-unique3lib2.cc: Likewise.
32732         * elf/tst-unique4.cc: Likewise.
32734         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32736 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32738         [BZ #13566]
32739         * assert/assert.h (static_assert): Don't define for C++.
32740         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32741         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32743 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32745         * iconv/loop.c (single loop): Fix assertion in storing of
32746         remaining bytes.
32748         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32750 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32752         * posix/getconf.c: Update copyright year.
32753         * nss/getent.c: Likewise.
32754         * nss/makedb.c: Likewise.
32755         * iconv/iconvconfig.c: Likewise.
32756         * iconv/iconv_prog.c: Likewise.
32757         * elf/ldconfig.c: Likewise.
32758         * elf/pldd.c: Likewise.
32759         * elf/sotruss.ksh: Likewise.
32760         * catgets/gencat.c: Likewise.
32761         * csu/version.c: Likewise.
32762         * elf/ldd.bash.in: Likewise.
32763         * elf/sprof.c (print_version): Likewise.
32764         * locale/programs/locale.c: Likewise.
32765         * locale/programs/localedef.c: Likewise.
32766         * login/programs/pt_chown.c: Likewise.
32767         * nscd/nscd.c (print_version): Likewise.
32768         * debug/xtrace.sh: Likewise.
32769         * malloc/memusage.sh: Likewise.
32770         * malloc/mtrace.pl: Likewise.
32771         * debug/catchsegv.sh: Likewise.
32773 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32775         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32776         pure attribute.
32778 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32780         [BZ #13533]
32781         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32782         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32783         transformations.
32784         * iconv/gconv_int.h: Likewise.
32785         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32786         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32787         from libc for GLIBC_2.16.
32788         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32789         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32790         * wcsmbs/uchar.h: Really define mbstate_t.
32791         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32792         * wcsmbs/c16rtomb.c: New file.
32793         * wcsmbs/mbrtoc16.c: New file.
32794         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32795         for C/POSIX locale.
32796         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32797         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32799         * wcsmbs/wchar.h: Add missing __restrict.
32801 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32803         [BZ #13532]
32804         * time/Makefile (routines): Add timespec_get.
32805         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32806         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32807         timespec for ISO C11.
32808         * time/timespec_get.c: New file.
32809         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32810         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32812         [BZ #13531]
32813         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32814         * stdlib/stdlib.h: Declare aligned_alloc.
32815         * Versions.def: Add GLIBC_2.16 for libc.
32816         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32818         [BZ 13527]
32819         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32820         ISO C11.
32822         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32823         code.
32825         [BZ #13528]
32826         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32828         [BZ #13529]
32829         * assert/assert.h (static_assert): Define.
32831         * version.h: Update for 2.16 development version.
32833         [BZ #13526]
32834         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32835         _ISOC11_SOURCE.
32837         * version.h (RELEASE): Bump for 2.15 release.
32838         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32840         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32841         Patch by Marek Polacek <mpolacek@redhat.com>.
32843         * bits/byteswap.h: Protect long long constants with __extension__.
32844         * sysdeps/i386/bits/byteswap.h: Likewise.
32845         * sysdeps/ia64/bits/byteswap.h: Likewise.
32846         * sysdeps/s390/bits/byteswap.h: Likewise.
32847         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32849 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32851         [BZ #13540]
32852         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32853         destination buffer.
32854         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32856 2011-12-23  Marek Polacek  <polacek@redhat.com>
32858         * elf/dl-addr.c (determine_info): Add inline keyword.
32859         * elf/tst-auditmod4b.c (check_avx): Likewise.
32860         * elf/tst-auditmod6b.c (check_avx): Likewise.
32861         * elf/tst-auditmod6c.c (check_avx): Likewise.
32862         * elf/tst-auditmod7b.c (check_avx): Likewise.
32864 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32866         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32867         !__SSE_MATH__.
32869 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32871         [BZ #13540]
32872         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32873         processing for last bytes.
32875 2011-08-06  Bruno Haible  <bruno@clisp.org>
32877         [BZ #13061]
32878         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32879         U+0385, not to U+1FEE.
32881         [BZ #13062]
32882         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32883         entry for U+00A5 U+0301.
32885 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32887         [BZ #13166]
32888         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32889         buffer for the output is too small.
32891         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32892         optimization.
32894         [BZ #13185]
32895         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32896         SSE flags if possible.
32898 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32900         [BZ #13540]
32901         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32902         processing for last bytes.
32904 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32906         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32907         (syscall-list-default-options, syscall-list-default-condition)
32908         (syscall-list-includes): Define.
32909         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32910         list of ABIs and options and #if conditions for each ABI.  Do not
32911         handle common syscalls between ABIs specially.
32912         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32913         Remove.
32914         (syscall-list-variants, syscall-list-32bit-options)
32915         (syscall-list-32bit-condition, syscall-list-64bit-options)
32916         (syscall-list-64bit-condition): Define.
32917         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32918         (syscall-list-variants, syscall-list-32bit-options)
32919         (syscall-list-32bit-condition, syscall-list-64bit-options)
32920         (syscall-list-64bit-condition): Define.
32921         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32922         Remove.
32923         (syscall-list-variants, syscall-list-32bit-options)
32924         (syscall-list-32bit-condition, syscall-list-64bit-options)
32925         (syscall-list-64bit-condition): Define.
32926         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32927         Remove.
32928         (syscall-list-variants, syscall-list-32bit-options)
32929         (syscall-list-32bit-condition, syscall-list-64bit-options)
32930         (syscall-list-64bit-condition): Define.
32932 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32934         * locale/iso-639.def: Add brx entry.
32936         [BZ #13328]
32937         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32938         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32940         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32941         __feraiseexcept_renamed.
32943 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32945         [BZ #13538]
32946         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32947         EPOLLET with unsigned values.
32948         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32949         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32951         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32952         to large cancellation.
32953         * math/s_cacoshf.c: Likewise.
32954         * math/s_cacoshl.c: Likewise.
32956 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32958         [BZ #13305]
32959         [BZ #12786]
32960         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32961         * math/s_cacoshf.c: Likewise.
32962         * math/s_cacoshl.c: Likewise.
32964 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32966         [BZ #13439]
32967         * iconv/gconv.h: Define __GCONV_SWAP.
32968         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32969         * iconvdata/utf-16.c: Likewise.
32970         * iconvdata/utf-32.c: Likewise.
32972 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32974         [BZ #13524]
32975         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32976         numerator after shifting it by one limb.
32978 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32980         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32981         under [__USE_EXTERN_INLINES].
32983 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32985         [BZ #13446]
32986         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32988 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32990         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32991         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32992         optimized code.
32993         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32994         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32995         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32996         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32997         for strncasecmp/strncasecmp_l compilation.
32998         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32999         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33001 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
33003         [BZ #13484]
33004         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33005         of __asm__.
33007 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
33009         [BZ #13506]
33010         * time/tzfile.c (__tzfile_read): Check values from file header.
33012 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33014         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33015         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33016         * powerpc/powerpc32/dl-start.S: Likewise.
33017         * powerpc/powerpc32/elf/start.S: Likewise.
33018         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33019         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33020         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33021         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33022         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33023         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33024         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33025         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33026         * powerpc/powerpc32/fpu/s_round.S: Likewise.
33027         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33028         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33029         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33030         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33031         * powerpc/powerpc32/memset.S: Likewise.
33032         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33033         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33034         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33035         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33036         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33037         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33038         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33039         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33040         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33041         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33042         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33043         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33044         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33046 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33048         * math/libm-test.inc: Added more nearbyint tests.
33049         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33050         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33051         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33052         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33054 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
33056         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33057         FD_CLOEXEC.
33059 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33061         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33062         Add wcscpy-ssse3 wcscpy-c.
33063         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33064         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33065         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33066         * sysdeps/x86_64/wcschr.S: New file.
33067         * sysdeps/x86_64/wcsrchr.S: New file.
33068         * string/test-strcmp.c: Remove checking of wcscmp function for
33069         wrong alignments.
33070         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33071         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33072         wcsrchr-sse2 wcsrchr-c.
33073         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33074         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33075         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33076         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33077         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33078         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33079         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33080         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33081         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33082         * wcsmbc/wcschr.c (WCSCHR): New macro.
33084 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33086         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33087         * wcsmbs/test-wcsrchr.c: New file.
33088         * string/test-strrchr.c: Add wcsrchr support.
33089         (WIDE): New macro.
33090         * wcsmbs/test-wcscpy.c: New file.
33091         * string/test-strcpy.c: Add wcscpy support.
33092         (WIDE): New macro.
33094 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
33096         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33097         the inner loop.
33099 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
33101         [BZ #13472]
33102         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33104 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
33106         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33107         Minor optimizations.
33109         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33110         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33111         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33113 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33115         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33116         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33117         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33118         for gcc to avoid warnings.
33119         * inet/Makefile (tests): Add tst-checks.
33120         * inet/tst-checks.c: New file.
33122         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33123         warning.
33125         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33126         __wmemcmp_sse2.
33128         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33129         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33131         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33133 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33135         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33136         problem.
33138         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33140 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33142         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33143         conditional on GCC version.
33144         (__arch_compare_and_exchange_val_8_acq)
33145         (__arch_compare_and_exchange_val_16_acq)
33146         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33147         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33148         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33150 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33152         * sysdeps/sh/backtrace.c: New file.
33154 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33156         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33157         parenthesis.
33159 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33161         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33162         falling back to utime.
33164 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33166         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33167         expectations for float.
33169 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33171         * locale/weight.h (findidx): Add parameter len.
33172         * locale/weightwc.h (findidx): Likewise.
33173         * posix/fnmatch_loop.c (FCT): Adjust caller.
33174         * posix/regcomp.c (build_equiv_class): Likewise.
33175         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33176         * posix/regexec.c (check_node_accept_bytes): Likewise.
33177         * string/strcoll_l.c (STRCOLL): Likewise.
33178         * string/strxfrm_l.c (STRXFRM): Likewise.
33180 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33182         * Makefile.in: Remove CVSOPT handling.
33183         * configure.in: Remove use of AC_REVISION.
33184         * iconvdata/Makefile (distribute): No need to filter out CVS.
33185         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33186         handling.
33188 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33190         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33191         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33192         [USE_AS_STRNCASECMP_L]: Likewise.
33193         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33194         NO_TLS_DIRECT_SEG_REFS.
33195         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33196         Fix argument offsets for non-PIC.
33197         [USE_AS_STRNCASECMP_L]: Likewise.
33198         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33199         NO_TLS_DIRECT_SEG_REFS.
33201 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33203         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33204         O_CLOEXEC.
33205         * locale/loadlocale.c (_nl_load_locale): Likewise.
33207 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33209         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33210         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33211         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33212         (SYSCALL_GETTIME): Set errno on error.
33214         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33215         count references to noai6ai_cached.
33217 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33219         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33221         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33222         FD_CLOEXEC for /proc/self/maps.
33224         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33225         FD_CLOEXEC for /proc/meminfo.
33227         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33228         gai.conf.
33230         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33231         FD_CLOEXEC for given file.
33233         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33235         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33236         FD_CLOEXEC for /etc/hosts.
33237         (_gethtent): Likewise.
33239         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33241         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33242         cancellation and set FD_CLOEXEC for /etc/netgroup.
33244         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33245         reading /etc/publickey.
33247         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33248         allow cancellation when reading /etc/group.
33250         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33251         cancellation.
33252         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33254         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33255         when using data file.
33257         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33259         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33260         (write_nis_obj): Use "c" and "e" in fopen.
33262         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33264         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33266         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33268         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33270         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33271         locale.alias.
33273         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33275         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33277         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33279         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33280         file parsing and set FD_CLOEXEC.
33282 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33284         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33286 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33288         * malloc/arena.c (arena_get2): Don't call reused_arena when
33289         _int_new_arena failed.
33291 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33293         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33294         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33295         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33296         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33297         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33298         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33299         to compile strcasecmp and strncasecmp.
33300         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33301         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33303         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33305 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33307         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33308         locale-defines.sym to gen-as-const-headers.
33309         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33310         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33311         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33312         to compile strcasecmp and strncasecmp.
33313         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33314         strcasecmp_l and strncasecmp_l.
33315         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33316         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33317         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33318         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33319         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33320         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33321         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33322         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33323         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33324         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33325         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33327 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33329         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33330         result of SYSDEP_GETTIME_CPU to retval.
33331         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33332         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33334         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33335         variable.
33337         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33338         mantissa words.
33339         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33341         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33342         from unused variable.
33344         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33345         DWARF definitions.
33346         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33347         for assembling.
33349         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33350         over namespaces.
33352         * sunrpc/rpc_prot.c (rejected): Fix case value.
33354         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33355         unsigned long long int to avoid warnings in shift.
33357         * posix/regex_internal.c (re_string_reconstruct): Actually use result
33358         of use of trans.
33359         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33360         variable tmp.
33362         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33363         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33364         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33366         * nis/nis_table.c (nis_list): Use variable of correct type for
33367         result of __follow_path call.
33369 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33371         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33372         of math functions ceil, trunc, floor, round, and sqrt, when
33373         avaliable on the platform.
33374         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33375         name clash.
33376         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33377         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33378         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33380 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33382         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33383         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33385 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33387         * include/unistd.h: Fix __readlink return type.
33388         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33390 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33392         * stdlib/ucontext.h: Undo last change for makecontext.
33394 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33396         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33398         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33399         * setjmp/setjmp.h: Mark functions as non-leaf.
33400         * setjmp/bits/setjmp2.h: Likewise.
33401         * stdlib/ucontext.h: Likewise.
33403 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33405         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33406         (reused_arena): Don't check arena limit.
33407         (arena_get2): Atomically check arena limit.
33409 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33411         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33412         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33415         instructions.
33417 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33419         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33420         handler when locking.
33422         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33423         Fix size of allocated buffer.
33425 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33427         [BZ #10103]
33428         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33429         declarations for long double functions.
33430         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33432         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33434 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33436         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33437         installed.
33439         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33440         is disabled.
33442 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33444         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33446 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33448         * include/alloca.h (stackinfo_alloca_round): Define.
33449         (extend_alloca): Use it.
33450         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33451         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33452         here.
33454         * scripts/check-local-headers.sh: Ignore libaudit.h.
33456         * nscd/Makefile (extra-objs): Make recursively expanded.
33458 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33460         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33461         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33463         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33464         * posix/tst-rfc3484-2.c: Likewise.
33465         * posix/tst-rfc3484-3.c: Likewise.
33467         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33468         process_vm_writev.
33469         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33470         process_vm_writev.
33471         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33472         process_vm_writev from libc using GLIBC_2.15 version.
33474         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33476 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33478         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33479         stack usage.
33481 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33483         [BZ #13367]
33484         * nss/getent.c (initgroups_keys): Show error message in case no group
33485         names are given.
33487         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33488         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33489         __bump_nl_timestamp.
33490         * nscd/connections (nscd_init): When host database is served open
33491         netlink socket and request notification about configuration changes.
33492         (main_loop_poll): Track netlink file descriptor and bump timestamp
33493         in case data becomes available.
33494         (main_loop_epoll): Likewise.
33495         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33496         (database_pers_head): Add extra_data fileds.
33497         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33498         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33499         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33500         Adjust caller.
33501         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33502         in6ai data, call __free_in6ai.
33503         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33504         Add -DHAVE_NETLINK.
33505         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33506         interface information.  Reuse previous data if netlink timestamp
33507         is not changed.
33508         (__bump_nl_timestamp): New function.
33509         (__free_in6ai): New function.
33511 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33513         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33514         close_not_cancel_no_status here.
33515         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33517 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33519         [BZ #13276]
33520         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33521         return value.
33523         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33524         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33525         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33527 2011-07-03  Andreas Jaeger  <aj@suse.de>
33529         [BZ #10709]
33530         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33531         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33532         * math/libm-test.inc (sin_test): Add test case.
33534 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33536         [BZ #13337]
33537         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33538         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33540         * elf/chroot_canon.c (chroot_canon): Cleanups.
33542         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33544         [BZ #13335]
33545         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33546         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33548         * string/test-strchr.c: Make usable for strchrnul testing.
33549         * string/test-strchrnul.c: New file.
33550         * string/Makefile (strop-tests): Add strchrnul.
33552         * po/it.po: Update from translation team.
33553         * po/es.po: Likewise.
33555 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33557         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33558         the three constants needed as parameters.  Drop the others.
33559         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33560         __m128i_strloadu_tolower.
33561         Create and initialize variable zero and use it in all the places
33562         where _mm_setzero_si128 was used.
33564         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33565         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33566         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33567         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33568         anymore.
33569         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33570         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33571         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33572         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33573         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33574         __mpranred, __mptan.
33575         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33576         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33577         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33578         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33579         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33580         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33581         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33582         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33583         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33585 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33587         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33588         redefine if SHARED.
33589         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33592         wide char related routines to wcsmbs subdir.
33594 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33596         [BZ #13344]
33597         * misc/sys/cdefs.h (__THROWNL): Define.
33598         * posix/unistd.h: Use __THREADNL instead of __THREAD
33599         for memory synchronization functions.
33601 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33603         [BZ #13349]
33604         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33605         doesn't exist.
33606         * manual/stdio.texi (Obstack Streams): Node removed.
33608 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33610         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33611         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33612         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33614         * math/math_private.h (math_force_eval): Allow non-addressable
33615         arguments.
33616         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33618 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33620         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33621         file is not needed.
33623         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33624         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33625         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33626         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33627         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33628         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33629         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33630         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33631         Add AVX variants.
33632         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33633         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33634         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33635         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33636         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33637         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33638         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33639         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33640         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33641         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33642         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33643         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33644         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33645         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33646         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33647         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33648         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33649         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33650         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33652         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33653         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33655         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33656         place.  Use VEX encoding when compiling for AVX.
33658 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33660         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33661         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33663         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33665 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33667         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33668         useless if() expression.
33669         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33670         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33671         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33672         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33673         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33674         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33675         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33676         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33677         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33678         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33679         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33680         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33681         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33682         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33683         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33684         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33685         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33686         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33687         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33689         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33691 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33693         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33694         condition.
33695         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33697 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33699         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33700         .text section.  Avoid duplicate constants.
33701         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33702         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33703         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33704         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33705         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33706         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33707         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33708         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33709         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33710         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33711         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33712         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33713         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33714         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33715         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33716         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33717         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33718         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33719         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33721         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33722         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33723         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33724         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33725         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33726         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33727         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33728         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33729         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33730         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33731         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33732         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33733         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33734         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33735         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33736         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33737         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33738         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33739         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33740         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33741         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33742         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33743         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33744         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33745         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33747 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33749         * sysdeps/x86_64/dla.h: Move to ...
33750         * sysdeps/x86_64/fpu/dla.h: ...here.
33751         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33752         situations.  Use __builtin_fma only for gcc 4.6 and up.
33754         * config.make.in: Add have-mfma4 entry.
33755         * configure.in: Substitute libc_cv_cc_fma4.
33756         * math/Makefile (dbl-only-routines): Add sincostab.
33757         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33758         Use __sincostab not sincos.
33759         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33760         name is a macro.
33761         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33763         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33764         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33765         using __copysign.
33766         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33767         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33768         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33769         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33770         and __inv.
33771         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33772         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33773         __copysign.
33774         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33775         define aliases when function name is a macro.
33776         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33777         sysdeps/ieee754/dbl-64/sincos.tbl.
33778         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33779         fma4-enabled routines.
33780         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33781         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33782         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33783         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33784         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33785         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33786         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33787         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33788         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33789         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33790         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33791         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33792         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33793         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33794         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33795         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33796         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33797         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33798         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33799         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33800         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33801         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33802         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33803         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33804         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33805         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33806         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33807         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33808         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33809         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33811         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33812         rename.
33813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33814         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33815         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33816         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33817         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33818         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33819         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33820         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33822 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33824         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33826 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33828         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33830         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33831         prediction.
33832         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33834         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33835         Remove unused variable magic_bits.
33836         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33838         * string/strnlen.c: Define and use STRNLEN macro.
33839         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33840         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33841         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33842         * wcsmbs/wcslen.c: Define and use WCSLEN.
33843         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33844         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33845         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33846         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33847         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33848         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33849         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33851 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33854         strnlen-sse2-no-bsf.
33855         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33856         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33857         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33858         Add strnlen support.
33859         (USE_AS_STRNLEN): New macro.
33860         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33861         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33862         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33863         * sysdeps/x86_64/wcslen.S: New file.
33865 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33867         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33868         XMM-moves are used for copying on small sizes.
33870 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33872         * wcsmbs/Makefile (strop-tests): Add wcschr.
33873         * wcsmbs/test-wcschr.c: New file.
33874         * string/test-strchr.c: Update.
33875         Add wcschr support.
33876         (WIDE): New macro.
33878 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33880         * wcsmbs/Makefile (strop-tests): Add wcslen.
33881         * wcsmbs/test-wcslen.c: New file.
33882         * string/test-strlen.c: Update.
33883         Add wcslen support.
33884         (WIDE): New macro.
33886 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33888         * po/it.po: Update from translation team.
33890 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33892         * sysdeps/x86_64/wcscmp.S: Update.
33893         Fix wrong comparison semantics.
33894         wcscmp shall use signed comparison not unsigned.
33895         Don't use substraction to avoid overflow bug.
33896         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33897         * wcsmbc/wcscmp.c: Likewise.
33898         * string/test-strcmp.c: Likewise.
33899         Add new tests to check cases with negative values.
33901 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33903         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33904         * sysdeps/x86_64/dla.h: ...here.  New file.
33905         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33906         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33907         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33908         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33909         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33910         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33911         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33912         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33913         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33915 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33918         __ynl_finite aliases.
33920 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33924         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33925         define DLA_FMA.
33926         [DLA_FMA] (EMULV): Use DLA_FMA.
33927         [DLA_FMA] (MUL12): Use EMULV.
33928         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33929         that are not needed.
33930         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33931         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33932         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33933         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33934         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33935         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33936         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33938 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33940         * math/s_nan.c: Undef __nan.
33941         * math/s_nanf.c: Undef __nanf.
33942         * math/s_nanl.c: Undef __nanl.
33943         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33944         "math_private.h".
33946 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33948         * math/s_catan.c: Add branch predictions.
33949         * math/s_catanf.c: Likewise.
33950         * math/s_catanh.c: Likewise.
33951         * math/s_catanhf.c: Likewise.
33952         * math/s_catanhl.c: Likewise.
33953         * math/s_catanl.c: Likewise.
33954         * math/s_cexp.c: Likewise.
33955         * math/s_cexpf.c: Likewise.
33956         * math/s_cexpl.c: Likewise.
33957         * math/s_clog.c: Likewise.
33958         * math/s_clog10.c: Likewise.
33959         * math/s_clog10f.c: Likewise.
33960         * math/s_clog10l.c: Likewise.
33961         * math/s_clogf.c: Likewise.
33962         * math/s_clogl.c: Likewise.
33963         * math/s_csqrt.c: Likewise.
33964         * math/s_csqrtf.c: Likewise.
33965         * math/s_csqrtl.c: Likewise.
33966         * math/s_ctanf.c: Likewise.
33967         * math/s_ctanh.c: Likewise.
33968         * math/s_ctanhf.c: Likewise.
33969         * math/s_ctanhl.c: Likewise.
33970         * math/s_ctanl.c: Likewise.
33972         * math/math_private.h: Define __nan, __nanf, __nanl.
33973         * math/s_cacosh.c: Include <math_private.h>.
33974         * math/s_cacoshl.c: Likewise.
33975         * math/s_casinh.c: Likewise.
33976         * math/s_casinhf.c: Likewise.
33977         * math/s_casinhl.c: Likewise.
33978         * math/s_ccos.c: Rely entire on ccosh.
33979         * math/s_ccosf.c: Rely entire on ccoshf.
33980         * math/s_ccosl.c: Rely entirely on ccoshl.
33981         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33982         Remove tests for FE_INVALID.
33983         * math/s_ccoshf.c: Likewise.
33984         * math/s_ccoshl.c: Likewise.
33985         * math/s_csin.c: Likewise.
33986         * math/s_csinf.c: Likewise.
33987         * math/s_csinh.c Likewise.
33988         * math/s_csinhf.c: Likewise.
33989         * math/s_csinhl.c: Likewise.
33990         * math/s_csinl.c: Likewise.
33991         * math/s_ctan.c: Likewise.
33992         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33993         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33994         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33996 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33998         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33999         compilation problems.
34001         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34002         __builtin_expect.
34004 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
34006         * sysdeps/i386/configure.in: Test for -mfma4 option.
34007         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34008         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34009         COMMON_CPUID_INDEX_80000001.
34010         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34011         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34012         use it if FMA3 is not supported.
34013         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34015         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34016         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34018 2011-10-20  Andreas Schwab  <schwab@redhat.com>
34020         [BZ #12892]
34021         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34022         it would create a cycle with a link time dependency.
34024 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
34026         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34027         instruction.
34028         * string/Makefile (strop-tests): Add rawmemchr.
34029         * string/test-rawmemchr.c: New file.
34031         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34032         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
34033         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
34034         when compiling str{,n}casecmp and when AVX is available.  Hook up
34035         new optimized code in initializers.
34037 2011-10-19  Andreas Schwab  <schwab@redhat.com>
34039         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34040         __feraiseexcept instead of feraiseexcept.
34042 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
34044         * math/math_private.h: Define defaults for libc_fetestexcept and
34045         libc_feupdateenv.
34046         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34047         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34048         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34049         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34050         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34051         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34052         libc_fetestexcept and libc_feupdateenv.
34054         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34055         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34056         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34057         * sysdeps/x86_64/fpu/math_private.h: Define special version of
34058         libc_feholdexcept_setround.
34060         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34061         Add s_nearbyint-c and s_nearbyintf-c.
34062         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34063         nearbyintf inlines.
34064         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34065         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34066         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34067         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34069         * math/math_private.h: Define defaults for libc_fegetround,
34070         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34071         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34072         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34073         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34074         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34075         standard functions.
34076         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34077         Remove comments and hacks for old compiler versions.
34078         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34079         libc_fegetround, libc_fesetround, libc_feholdexcept, and
34080         libc_feholdexceptl.
34082 2011-10-18  Andreas Schwab  <schwab@redhat.com>
34084         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34085         (__feraiseexcept_renamed): Add __NTH.
34086         (feraiseexcept): Add __NTH.  Rename local variables to fix
34087         namespace violations.
34089 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
34091         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34093         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34095         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34096         recently added interfaces.
34097         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34099         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34100         about macro parameter expansion.
34102         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34103         __NO_MATH_INLINES is defined.  Cleanups.
34105         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34106         and __floorf is target has SSE4.1.
34107         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34108         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34109         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34110         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34112         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34113         name.
34114         (floorf): Likewise.
34116         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34118 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34120         * misc/sys/cdefs.h: Fix last change.
34122         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34123         database lookup.
34125 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34127         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34129         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34130         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34131         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34132         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34133         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34134         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34135         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34136         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34137         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34138         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34139         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34140         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34141         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34142         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34143         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34144         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34145         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34146         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34147         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34148         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34149         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34150         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34152         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34153         ceil, ceilf, floor, floorf.
34155         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34156         Perform IRELATIVE relocations last.
34158         * elf/do-rel.h: Add another parameter nrelative, replacing the
34159         local variable with the same name.  Change name of the function
34160         to end in Rel or Rela (uppercase).
34161         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34162         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34163         elf_dynamic_do_##reloc function.
34165 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34167         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34168         is sufficient, at least on modern CPUs.
34170         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34172         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34173         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34175         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34176         __expl_finite.
34177         * math/bits/math-finite.h: Add entries for exp.
34178         * math/e_expl.c: Add __*_finite alias.
34179         * sysdeps/i386/fpu/e_exp.S: Likewise.
34180         * sysdeps/i386/fpu/e_expf.S: Likewise.
34181         * sysdeps/i386/fpu/e_expl.c: Likewise.
34182         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34183         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34184         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34185         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34186         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34187         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34188         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34190         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34191         is sufficient, at least on modern CPUs.
34193         * ctype/ctype-info.c (__ctype_init): Define.
34194         * include/ctype.h (__ctype_init): Declare.
34195         (__ctype_b_loc): The variable is always initialized.
34196         (__ctype_toupper_loc): Likewise.
34197         (__ctype_tolower_loc): Likewise.
34198         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34199         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34201 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34203         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34205         * configure.in: Also look in $cxxmachine/include for C++ system
34206         headers.
34208 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34210         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34211         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34212         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34213         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34214         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34215         (USE_AS_WMEMCMP): New macro.
34216         Fixing indents.
34217         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34218         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34219         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34220         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34222         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34223         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34224         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34225         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34226         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34227         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34228         (USE_AS_WMEMCMP): New macro.
34229         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34230         * sysdeps/string/test-memcmp.c: Update.
34231         Fix simple_wmemcmp.
34232         Add new tests.
34233         * wcsmbs/wmemcmp.c: Update.
34234         (WMEMCMP): New macro.
34235         Fix overflow bug.
34237 2011-10-12  Andreas Jaeger  <aj@suse.de>
34239         [BZ #13268]
34240         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34242 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34244         * libio/iofwide.c (do_length): Avoid warning.
34246         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34248 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34250         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34252         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34253         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34254         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34255         * sysdeps/i386/i686/fpu/e_log.S: New file.
34256         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34257         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34259         * ctype/ctype.h: Add support for inlined isXXX functions when
34260         compiling C++ code.
34262 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34264         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34266         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34268 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34270         [BZ #13291]
34271         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34273 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34275         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34276         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34277         feraiseexcept.
34279         * sysdeps/x86_64/memrchr.S: Check for zero size.
34281         * string/stratcliff.c: Add memrchr tests.
34283 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34285         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34286         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34287         rawmemchr-sse2 rawmemchr-sse2-bsf.
34288         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34289         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34290         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34291         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34292         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34293         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34294         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34295         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34296         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34297         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34298         * string/memrchr.c (MEMRCHR): New macro.
34300 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34302         Add integration with gcc's -ffinite-math-only and optimize wrapper
34303         functions in libm.
34304         * Versions.def: Define GLIBC_2.15 version for libm.
34305         * math/Makefile (headers): Add bits/math-finite.h.
34306         * math/bits/math-finite.h: New file.
34307         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34308         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34309         * math/e_acoshl.c: Add __*_finite alias.
34310         * math/e_acosl.c: Likewise.
34311         * math/e_asinl.c: Likewise.
34312         * math/e_atan2l.c: Likewise.
34313         * math/e_atanhl.c: Likewise.
34314         * math/e_coshl.c: Likewise.
34315         * math/e_exp10.c: Likewise.
34316         * math/e_exp10f.c: Likewise.
34317         * math/e_exp10l.c: Likewise.
34318         * math/e_exp2l.c: Likewise.
34319         * math/e_fmodl.c: Likewise.
34320         * math/e_gammal_r.c: Likewise.
34321         * math/e_hypotl.c: Likewise.
34322         * math/e_j0l.c: Likewise.
34323         * math/e_j1l.c: Likewise.
34324         * math/e_jnl.c: Likewise.
34325         * math/e_lgammal_r.c: Likewise.
34326         * math/e_log10l.c: Likewise.
34327         * math/e_log2l.c: Likewise.
34328         * math/e_logl.c: Likewise.
34329         * math/e_powl.c: Likewise.
34330         * math/e_sinhl.c: Likewise.
34331         * math/e_sqrtl.c: Likewise.
34332         * math/e_scalb.c: Completely rewritten and optimized.
34333         * math/e_scalbf.c: Likewise.
34334         * math/e_scalbl.c: Likewise.
34335         * math/w_acos.c: Likewise.
34336         * math/w_acosf.c: Likewise.
34337         * math/w_acosl.c: Likewise.
34338         * math/w_acosh.c: Likewise.
34339         * math/w_acoshf.c: Likewise.
34340         * math/w_acoshl.c: Likewise.
34341         * math/w_asin.c: Likewise.
34342         * math/w_asinf.c: Likewise.
34343         * math/w_asinl.c: Likewise.
34344         * math/w_atan2.c: Likewise.
34345         * math/w_atan2f.c: Likewise.
34346         * math/w_atan2l.c: Likewise.
34347         * math/w_atanh.c: Likewise.
34348         * math/w_atanhf.c: Likewise.
34349         * math/w_atanhl.c: Likewise.
34350         * math/w_exp10.c: Likewise.
34351         * math/w_exp10f.c: Likewise.
34352         * math/w_exp10l.c: Likewise.
34353         * math/w_fmod.c: Likewise.
34354         * math/w_fmodf.c: Likewise.
34355         * math/w_fmodl.c: Likewise.
34356         * math/w_j0.c: Likewise.
34357         * math/w_j0f.c: Likewise.
34358         * math/w_j0l.c: Likewise.
34359         * math/w_j1.c: Likewise.
34360         * math/w_j1f.c: Likewise.
34361         * math/w_j1l.c: Likewise.
34362         * math/w_jn.c: Likewise.
34363         * math/w_jnf.c: Likewise.
34364         * math/w_log.c: Likewise.
34365         * math/w_logf.c: Likewise.
34366         * math/w_logl.c: Likewise.
34367         * math/w_log10.c: Likewise.
34368         * math/w_log10f.c: Likewise.
34369         * math/w_log10l.c: Likewise.
34370         * math/w_log2.c: Likewise.
34371         * math/w_log2f.c: Likewise.
34372         * math/w_log2l.c: Likewise.
34373         * math/w_pow.c: Likewise.
34374         * math/w_powf.c: Likewise.
34375         * math/w_powl.c: Likewise.
34376         * math/w_remainder.c: Likewise.
34377         * math/w_remainderf.c: Likewise.
34378         * math/w_remainderl.c: Likewise.
34379         * math/w_scalb.c: Likewise.
34380         * math/w_scalbf.c: Likewise.
34381         * math/w_scalbl.c: Likewise.
34382         * math/w_sqrt.c: Likewise.
34383         * math/w_sqrtf.c: Likewise.
34384         * math/w_sqrtl.c: Likewise.
34385         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34386         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34387         used.
34388         * math/math_private.h: Declare __kernel_standard_f.
34389         * math/w_cosh.c: Remove cruft and optimize a bit.
34390         * math/w_coshf.c: Likewise.
34391         * math/w_coshl.c: Likewise.
34392         * math/w_exp2.c: Likewise.
34393         * math/w_exp2f.c: Likewise.
34394         * math/w_exp2l.c: Likewise.
34395         * math/w_hypot.c: Likewise.
34396         * math/w_hypotf.c: Likewise.
34397         * math/w_hypotl.c: Likewise.
34398         * math/w_lgamma.c: Likewise.
34399         * math/w_lgamma_r.c: Likewise.
34400         * math/w_lgammaf.c: Likewise.
34401         * math/w_lgammaf_r.c: Likewise.
34402         * math/w_lgammal.c: Likewise.
34403         * math/w_lgammal_r.c: Likewise.
34404         * math/w_sinh.c: Likewise.
34405         * math/w_sinhf.c: Likewise.
34406         * math/w_sinhl.c: Likewise.
34407         * math/w_tgamma.c: Likewise.
34408         * math/w_tgammaf.c: Likewise.
34409         * math/w_tgammal.c: Likewise.
34410         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34411         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34412         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34413         Minor optimizations.  Pretty printing.  Remove cruft.
34414         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34415         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34416         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34417         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34418         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34419         * sysdeps/i386/fpu/e_asin.S: Likewise.
34420         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34421         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34422         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34423         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34424         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34425         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34426         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34427         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34428         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34429         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34430         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34431         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34432         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34433         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34434         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34435         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34436         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34437         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34438         * sysdeps/i386/fpu/e_log.S: Likewise.
34439         * sysdeps/i386/fpu/e_log10.S: Likewise.
34440         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34441         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34442         * sysdeps/i386/fpu/e_log2.S: Likewise.
34443         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34444         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34445         * sysdeps/i386/fpu/e_logf.S: Likewise.
34446         * sysdeps/i386/fpu/e_logl.S: Likewise.
34447         * sysdeps/i386/fpu/e_pow.S: Likewise.
34448         * sysdeps/i386/fpu/e_powf.S: Likewise.
34449         * sysdeps/i386/fpu/e_powl.S: Likewise.
34450         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34451         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34452         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34453         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34454         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34455         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34456         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34457         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34458         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34459         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34460         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34461         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34462         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34463         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34464         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34465         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34466         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34467         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34468         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34469         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34470         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34471         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34472         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34473         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34474         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34475         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34476         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34477         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34478         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34479         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34480         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34481         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34482         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34483         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34484         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34485         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34486         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34487         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34488         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34489         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34490         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34491         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34492         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34493         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34494         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34495         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34496         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34497         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34498         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34499         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34500         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34501         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34502         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34503         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34504         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34505         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34506         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34507         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34508         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34509         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34510         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34511         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34512         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34514         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34515         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34516         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34517         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34518         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34519         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34520         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34522         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34523         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34524         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34525         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34526         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34527         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34528         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34529         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34530         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34531         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34532         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34533         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34535         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34536         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34537         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34538         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34539         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34540         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34541         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34542         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34543         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34544         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34545         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34546         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34547         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34548         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34549         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34550         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34551         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34552         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34553         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34554         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34555         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34556         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34557         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34558         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34559         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34560         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34561         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34562         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34563         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34564         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34565         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34566         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34567         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34568         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34569         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34570         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34571         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34572         (__isnanf): Likewise.
34573         (__isinf_ns): Likewise.
34574         (__isinf_nsf): Likewise.
34575         (__finite): Likewise.
34576         (__finitef): Likewise.
34577         (__ieee754_sqrt): Define as macro.
34578         (__ieee754_sqrtf): Define as macro.
34579         (__ieee754_sqrtl): Define as macro.
34580         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34581         inlined copy.
34582         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34583         __FINITE_MATH_ONLY__ consistent.
34584         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34586 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34588         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34589         of rawmemchr.
34591         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34593 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34595         * po/ja.po: Update from translation team.
34597 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34599         * locale/programs/locarchive.c (prepare_address_space): New function.
34600         (create_archive, enlarge_archive, open_archive): Use it.
34602         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34603         inside [SHARED], where it is used.
34605         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34607         * nss/getent.c (netgroup_keys): Remove unused variable.
34608         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34610 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34612         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34613         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34614         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34615         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34616         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34617         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34618         * math/Makefile (libm-calls): Add s_isinf_ns.
34619         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34620         * math/multc3.c: Likewise.
34621         * math/s_casin.c: Likewise.
34622         * math/s_casinf.c: Likewise.
34623         * math/s_casinl.c: Likewise.
34624         * math/s_ccos.c: Likewise.
34625         * math/s_ccosf.c: Likewise.
34626         * math/s_ccosl.c: Likewise.
34627         * math/s_ctan.c: Likewise.
34628         * math/s_ctanf.c: Likewise.
34629         * math/s_ctanh.c: Likewise.
34630         * math/s_ctanhf.c: Likewise.
34631         * math/s_ctanhl.c: Likewise.
34632         * math/s_ctanl.c: Likewise.
34633         * math/w_fmod.c: Likewise.
34634         * math/w_fmodf.c: Likewise.
34635         * math/w_fmodl.c: Likewise.
34636         * math/w_remainder.c: Likewise.
34637         * math/w_remainderf.c: Likewise.
34638         * math/w_remainderl.c: Likewise.
34639         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34640         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34641         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34642         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34643         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34644         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34645         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34646         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34648         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34649         of the number.
34650         * stdio-common/printf_fphex.c: Likewise.
34651         * stdio-common/printf_size.c: Likewise.
34653         * math/e_exp10.c: Include math_private.h using <...> not "...".
34654         * math/e_exp10f.c: Likewise.
34655         * math/e_exp10l.c: Likewise.
34656         * math/e_exp2l.c: Likewise.
34657         * math/e_j0l.c: Likewise.
34658         * math/e_j1l.c: Likewise.
34659         * math/e_jnl.c: Likewise.
34660         * math/e_lgammal_r.c: Likewise.
34661         * math/e_rem_pio2l.c: Likewise.
34662         * math/e_scalb.c: Likewise.
34663         * math/e_scalbf.c: Likewise.
34664         * math/e_scalbl.c: Likewise.
34665         * math/k_cosl.c: Likewise.
34666         * math/k_sinl.c: Likewise.
34667         * math/k_tanl.c: Likewise.
34668         * math/s_cacoshf.c: Likewise.
34669         * math/s_catan.c: Likewise.
34670         * math/s_catanf.c: Likewise.
34671         * math/s_catanh.c: Likewise.
34672         * math/s_catanhf.c: Likewise.
34673         * math/s_catanhl.c: Likewise.
34674         * math/s_catanl.c: Likewise.
34675         * math/s_ccosh.c: Likewise.
34676         * math/s_ccoshf.c: Likewise.
34677         * math/s_ccoshl.c: Likewise.
34678         * math/s_cexp.c: Likewise.
34679         * math/s_cexpf.c: Likewise.
34680         * math/s_cexpl.c: Likewise.
34681         * math/s_clog.c: Likewise.
34682         * math/s_clog10.c: Likewise.
34683         * math/s_clog10f.c: Likewise.
34684         * math/s_clog10l.c: Likewise.
34685         * math/s_clogf.c: Likewise.
34686         * math/s_clogl.c: Likewise.
34687         * math/s_csin.c: Likewise.
34688         * math/s_csinf.c: Likewise.
34689         * math/s_csinh.c: Likewise.
34690         * math/s_csinhf.c: Likewise.
34691         * math/s_csinhl.c: Likewise.
34692         * math/s_csinl.c: Likewise.
34693         * math/s_csqrt.c: Likewise.
34694         * math/s_csqrtf.c: Likewise.
34695         * math/s_csqrtl.c: Likewise.
34696         * math/s_ctan.c: Likewise.
34697         * math/s_ctanf.c: Likewise.
34698         * math/s_ctanh.c: Likewise.
34699         * math/s_ctanhf.c: Likewise.
34700         * math/s_ctanhl.c: Likewise.
34701         * math/s_ctanl.c: Likewise.
34702         * math/s_ldexp.c: Likewise.
34703         * math/s_ldexpf.c: Likewise.
34704         * math/s_ldexpl.c: Likewise.
34705         * math/s_significand.c: Likewise.
34706         * math/s_significandf.c: Likewise.
34707         * math/s_significandl.c: Likewise.
34708         * math/w_acos.c: Likewise.
34709         * math/w_acosf.c: Likewise.
34710         * math/w_acosh.c: Likewise.
34711         * math/w_acoshf.c: Likewise.
34712         * math/w_acoshl.c: Likewise.
34713         * math/w_acosl.c: Likewise.
34714         * math/w_asin.c: Likewise.
34715         * math/w_asinf.c: Likewise.
34716         * math/w_asinl.c: Likewise.
34717         * math/w_atan2.c: Likewise.
34718         * math/w_atan2f.c: Likewise.
34719         * math/w_atan2l.c: Likewise.
34720         * math/w_atanh.c: Likewise.
34721         * math/w_atanhf.c: Likewise.
34722         * math/w_atanhl.c: Likewise.
34723         * math/w_cosh.c: Likewise.
34724         * math/w_coshf.c: Likewise.
34725         * math/w_coshl.c: Likewise.
34726         * math/w_dremf.c: Likewise.
34727         * math/w_exp10.c: Likewise.
34728         * math/w_exp10f.c: Likewise.
34729         * math/w_exp10l.c: Likewise.
34730         * math/w_exp2.c: Likewise.
34731         * math/w_exp2f.c: Likewise.
34732         * math/w_fmod.c: Likewise.
34733         * math/w_fmodf.c: Likewise.
34734         * math/w_fmodl.c: Likewise.
34735         * math/w_hypot.c: Likewise.
34736         * math/w_hypotf.c: Likewise.
34737         * math/w_hypotl.c: Likewise.
34738         * math/w_j0.c: Likewise.
34739         * math/w_j0f.c: Likewise.
34740         * math/w_j0l.c: Likewise.
34741         * math/w_j1.c: Likewise.
34742         * math/w_j1f.c: Likewise.
34743         * math/w_j1l.c: Likewise.
34744         * math/w_jn.c: Likewise.
34745         * math/w_jnf.c: Likewise.
34746         * math/w_jnl.c: Likewise.
34747         * math/w_lgamma.c: Likewise.
34748         * math/w_lgamma_r.c: Likewise.
34749         * math/w_lgammaf.c: Likewise.
34750         * math/w_lgammaf_r.c: Likewise.
34751         * math/w_lgammal.c: Likewise.
34752         * math/w_lgammal_r.c: Likewise.
34753         * math/w_log.c: Likewise.
34754         * math/w_log10.c: Likewise.
34755         * math/w_log10f.c: Likewise.
34756         * math/w_log10l.c: Likewise.
34757         * math/w_log2.c: Likewise.
34758         * math/w_log2f.c: Likewise.
34759         * math/w_log2l.c: Likewise.
34760         * math/w_logf.c: Likewise.
34761         * math/w_logl.c: Likewise.
34762         * math/w_pow.c: Likewise.
34763         * math/w_powf.c: Likewise.
34764         * math/w_powl.c: Likewise.
34765         * math/w_remainder.c: Likewise.
34766         * math/w_remainderf.c: Likewise.
34767         * math/w_remainderl.c: Likewise.
34768         * math/w_scalb.c: Likewise.
34769         * math/w_scalbf.c: Likewise.
34770         * math/w_scalbl.c: Likewise.
34771         * math/w_sinh.c: Likewise.
34772         * math/w_sinhf.c: Likewise.
34773         * math/w_sinhl.c: Likewise.
34774         * math/w_sqrt.c: Likewise.
34775         * math/w_sqrtf.c: Likewise.
34776         * math/w_sqrtl.c: Likewise.
34777         * math/w_tgamma.c: Likewise.
34778         * math/w_tgammaf.c: Likewise.
34779         * math/w_tgammal.c: Likewise.
34781         * po/ja.po: Update from translation team.
34783 2011-09-29  Andreas Jaeger  <aj@suse.de>
34785         [BZ #13179]
34786         * sunrpc/netname.c (netname2host): Fix logic.
34788         [BZ #6779]
34789         [BZ #6783]
34790         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34791         correctly.
34792         * math/w_remainder.c (__remainder): Likewise.
34793         * math/w_remainderf.c (__remainderf): Likewise.
34794         * math/libm-test.inc (remainder_test): Add test cases.
34796 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34798         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34799         sdiv_qrnnd.
34801 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34803         * string/test-memcmp.c: Avoid unncessary #defines.
34804         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34806 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34808         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34809         Use new sse2 version for core i3 - i7 as it's faster
34810         than sse42 version.
34811         (bit_Prefer_PMINUB_for_stringop): New.
34812         * sysdeps/x86_64/rawmemchr.S: Update.
34813         Replace with faster SSE2 version.
34814         * sysdeps/x86_64/memrchr.S: New file.
34815         * sysdeps/x86_64/memchr.S: Update.
34816         Replace with faster SSE2 version.
34818 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34820         * elf/dl-load.c (lose): Add cast to avoid warning.
34822 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34824         * po/ca.po: Update from translation team.
34826         * inet/getnetgrent_r.c: Hook up nscd.
34827         * nscd/Makefile (routines): Add nscd_netgroup.
34828         (nscd-modules): Add netgroupcache.
34829         (CFLAGS-netgroupcache.c): Define.
34830         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34831         (cache_search): Add const to second parameter.
34832         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34833         INNETGR.
34834         (dbs): Add netgrdb entry.
34835         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34836         (verify_persistent_db): Handle netgrdb.
34837         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34838         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34839         GETFDNETGR.
34840         (netgroup_response_header): Define.
34841         (innetgroup_response_header): Define.
34842         (datahead): Add netgroup_response_header and innetgroup_response_header
34843         elements.
34844         * nscd/nscd.conf: Add entries for netgroup cache.
34845         * nscd/nscd.h (dbtype): Add netgrdb.
34846         (_PATH_NSCD_NETGROUP_DB): Define.
34847         (netgroup_iov_disabled): Declare.
34848         (xmalloc, xcalloc, xrealloc): Move declarations here.
34849         (cache_search): Adjust prototype.
34850         Add netgroup-related prototypes.
34851         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34852         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34853         (__nscd_innetgr): Declare.
34854         * nscd/selinux.c (perms): Use access_vector_t as element type and
34855         add netgroup-related initializers.
34856         * nscd/netgroupcache.c: New file.
34857         * nscd/nscd_netgroup.c: New file.
34858         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34859         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34860         For four parameters use innetgr.
34861         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34862         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34863         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34864         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34866         * nscd/connections.c (register_traced_file): Don't register file
34867         for disabled databases.
34869 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34871         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34873         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34874         from tree and freeing node.
34876 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34878         * nss/nsswitch.c (__nss_database_lookup): Handle
34879         nss_parse_service_list out of memory case.
34881 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34883         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34884         out of memory case.
34886 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34888         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34889         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34890         pass it down.
34891         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34892         elf_machine_rela, elf_machine_lazy_rel.
34893         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34894         (ELF_DYNAMIC_DO_REL): Likewise.
34895         (ELF_DYNAMIC_DO_RELA): Likewise.
34896         (ELF_DYNAMIC_RELOCATE): Likewise.
34897         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34898         to ELF_DYNAMIC_DO_REL.
34899         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34900         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34901         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34902         elf_machine_rela.
34903         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34904         skip_ifunc, don't call ifunc function if non-zero.
34905         (elf_machine_rela): Likewise.
34906         (elf_machine_lazy_rel): Likewise.
34907         (elf_machine_lazy_rela): Likewise.
34908         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34909         (elf_machine_lazy_rel): Likewise.
34910         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34911         Likewise.
34912         (elf_machine_lazy_rel): Likewise.
34913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34914         Likewise.
34915         (elf_machine_lazy_rel): Likewise.
34916         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34917         (elf_machine_lazy_rel): Likewise.
34918         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34919         (elf_machine_lazy_rel): Likewise.
34920         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34921         (elf_machine_lazy_rel): Likewise.
34922         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34923         (elf_machine_lazy_rel): Likewise.
34924         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34925         (elf_machine_lazy_rel): Likewise.
34926         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34927         (elf_machine_lazy_rel): Likewise.
34929 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34931         * nss/nss_files/files-init.c (_nss_files_init): Use static
34932         initialization for all the *_traced_file variables.
34934 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34936         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34938 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34940         [BZ #13226]
34941         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34943 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34945         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34946         Reread the line before reparsing it.
34948 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34950         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34952 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34953             Maxim Kuvyrkov  <maxim@codesourcery.com>
34954             Joseph Myers  <joseph@codesourcery.com>
34956         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34957         if needed for __stack_chk_guard.
34959 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34961         * sysdeps/posix/spawni.c (script_execute): Always define it.
34962         It will be optimized away if unused.
34963         (maybe_script_execute): New function.
34964         (__spawni): Call it.
34966         * Makerules: Don't include tls.make.
34967         (config-tls): Always set to thread.
34968         * tls.make.c: File removed.
34970 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34972         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34973         * config.make.in (CPPFLAGS-config): New substituted variable.
34975 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34977         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34979         [BZ #13192]
34980         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34981         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34983 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34985         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34986         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34987         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34988         (CALL_FAIL): Likewise.
34989         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34990         (CALL_FAIL): Macro removed.
34991         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34993 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34995         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34996         for __FINITE_MATH_ONLY__ == 1.
34998 2011-09-15  Andreas Schwab  <schwab@redhat.com>
35000         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35001         __ieee754_sqrt instead of sqrt.
35002         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35003         __ieee754_sqrtf instead of sqrtf.
35004         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35005         __floorf instead of floorf.
35006         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35007         __floorf, __truncf instead of floorf, truncf.
35009 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
35011         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35013         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35014         __extern_always_inline.
35015         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35016         32-bit.
35018 2011-09-14  Andreas Schwab  <schwab@redhat.com>
35020         * elf/rtld.c (dl_main): Also relocate in dependency order when
35021         doing symbol dependency testing.
35023 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
35025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35026         Always define `refsym'.
35028 2011-09-13  Andreas Schwab  <schwab@redhat.com>
35030         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35031         (__FD_ELT): Renamed from __FDELT.
35032         * misc/bits/select2.h (__FD_ELT): Likewise.
35033         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35034         __FD_MASK instead of __FDELT, __FDMASK.
35035         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35036         Likewise.
35037         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35038         Likewise.
35040         * elf/Makefile (gen-ldd): Fix pattern.
35042         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35043         (init_tls): Likewise.
35045 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
35047         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35049 2011-09-12  Andreas Schwab  <schwab@redhat.com>
35051         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35052         `struct cmsghdr *' instead of `void *'.
35053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35054         Likewise.
35056 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
35058         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35059         if non-absolute.
35060         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35061         ldd_rewrite_script.
35063 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
35065         * configure.in: Remove --with-tls option.
35066         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35067         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35068         out in case it is missing.
35069         * sysdeps/ia64/elf/configure.in: Likewise.
35070         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35071         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35072         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35073         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35074         * sysdeps/sh/elf/configure.in: Likewise.
35075         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35076         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35077         * sysdeps/x86_64/elf/configure.in: Likewise.
35078         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35079         * sysdeps/mach/hurd/tls.h: Likewise.
35081         [BZ #13067]
35082         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35084         [BZ #13090]
35085         * configure.in: Fix use of AC_INIT.
35087         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35089 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
35091         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35092         __set_errno.
35093         * malloc/hooks.c: Likewise.
35095         [BZ #11929]
35096         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
35097         variables statically.
35098         (narenas): Initialize.
35099         (list_lock): Initialize.
35100         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
35101         initializtion of main_arena and list_lock.  Small cleanups.
35102         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35103         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
35104         Add initializers to main_arena and mp_.
35105         (malloc_state): Remove pagesize member.  Change all users to use
35106         GLRO(dl_pagesize).
35108         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35109         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35110         is always initialized.
35112         * malloc/malloc.c: Removed unused configurations and dead code.
35113         * malloc/arena.c: Likewise.
35114         * malloc/hooks.c: Likewise.
35115         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35117         * include/tls.h: Removed.  USE___THREAD must always be defined.
35118         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35119         * elf/dl-libc.c: Likewise.
35120         * elf/dl-tsd.c: Likewise.
35121         * include/errno.h: Likewise.
35122         * include/netdb.h: Likewise.
35123         * include/resolv.h: Likewise.
35124         * inet/herrno-loc.c: Likewise.
35125         * inet/herrno.c: Likewise.
35126         * malloc/arena.c: Likewise.
35127         * malloc/hooks.c: Likewise.
35128         * malloc/malloc.c: Likewise.
35129         * resolv/res-state.c: Likewise.
35130         * resolv/res_libc.c: Likewise.
35131         * sysdeps/i386/dl-machine.h: Likewise.
35132         * sysdeps/ia64/dl-machine.h: Likewise.
35133         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35134         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35135         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35136         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35137         * sysdeps/sh/dl-machine.h: Likewise.
35138         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35139         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35140         * sysdeps/unix/i386/sysdep.S: Likewise.
35141         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35142         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35144         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35147         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35150         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35151         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35152         * sysdeps/x86_64/dl-machine.h: Likewise.
35153         * tls.make.c: Likewise.
35155         * configure.in: Remove --with-__thread option.  Make tests for
35156         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35157         tls_model attribute fail if no support is available.  Remove
35158         USE_IN_LIBIO.
35159         * Makeconfig: Adjust for dropped configure option.  All features are
35160         now mandatory.
35161         * Makerules: Likewise.
35162         * Versions.def: Likewise.
35163         * argp/argp-fmtstream.c: Likewise.
35164         * argp/argp-fmtstream.h: Likewise.
35165         * argp/argp-help.c: Likewise.
35166         * assert/assert.c: Likewise.
35167         * config.h.in: Likewise.
35168         * config.make.in: Likewise.
35169         * configure: Likewise.
35170         * configure.in: Likewise.
35171         * csu/Versions: Likewise.
35172         * csu/init.c: Likewise.
35173         * elf/tst-audit2.c: Likewise.
35174         * elf/tst-tls10.c: Likewise.
35175         * elf/tst-tls10.h: Likewise.
35176         * elf/tst-tls11.c: Likewise.
35177         * elf/tst-tls12.c: Likewise.
35178         * elf/tst-tls14.c: Likewise.
35179         * elf/tst-tlsmod11.c: Likewise.
35180         * elf/tst-tlsmod12.c: Likewise.
35181         * elf/tst-tlsmod13.c: Likewise.
35182         * elf/tst-tlsmod13a.c: Likewise.
35183         * elf/tst-tlsmod14a.c: Likewise.
35184         * elf/tst-tlsmod15b.c: Likewise.
35185         * elf/tst-tlsmod16a.c: Likewise.
35186         * elf/tst-tlsmod16b.c: Likewise.
35187         * elf/tst-tlsmod7.c: Likewise.
35188         * elf/tst-tlsmod8.c: Likewise.
35189         * elf/tst-tlsmod9.c: Likewise.
35190         * gmon/gmon.c: Likewise.
35191         * grp/fgetgrent_r.c: Likewise.
35192         * grp/putgrent.c: Likewise.
35193         * hurd/fopenport.c: Likewise.
35194         * include/libc-symbols.h: Likewise.
35195         * include/tls.h: Likewise.
35196         * intl/gettextP.h: Likewise.
35197         * intl/loadinfo.h: Likewise.
35198         * locale/global-locale.c: Likewise.
35199         * locale/localeinfo.h: Likewise.
35200         * mach/devstream.c: Likewise.
35201         * malloc/arena.c: Likewise.
35202         * malloc/set-freeres.c: Likewise.
35203         * misc/err.c: Likewise.
35204         * misc/getttyent.c: Likewise.
35205         * misc/mntent_r.c: Likewise.
35206         * posix/getopt.c: Likewise.
35207         * posix/wordexp.c: Likewise.
35208         * pwd/fgetpwent_r.c: Likewise.
35209         * resolv/Versions: Likewise.
35210         * resolv/res_hconf.c: Likewise.
35211         * shadow/fgetspent_r.c: Likewise.
35212         * shadow/putspent.c: Likewise.
35213         * stdio-common/printf_fphex.c: Likewise.
35214         * stdio-common/tmpfile.c: Likewise.
35215         * stdlib/abort.c: Likewise.
35216         * stdlib/fmtmsg.c: Likewise.
35217         * sunrpc/auth_unix.c: Likewise.
35218         * sunrpc/clnt_perr.c: Likewise.
35219         * sunrpc/clnt_tcp.c: Likewise.
35220         * sunrpc/clnt_udp.c: Likewise.
35221         * sunrpc/clnt_unix.c: Likewise.
35222         * sunrpc/openchild.c: Likewise.
35223         * sunrpc/svc_simple.c: Likewise.
35224         * sunrpc/svc_tcp.c: Likewise.
35225         * sunrpc/svc_udp.c: Likewise.
35226         * sunrpc/svc_unix.c: Likewise.
35227         * sunrpc/xdr.c: Likewise.
35228         * sunrpc/xdr_array.c: Likewise.
35229         * sunrpc/xdr_rec.c: Likewise.
35230         * sunrpc/xdr_ref.c: Likewise.
35231         * sunrpc/xdr_stdio.c: Likewise.
35233 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35235         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35237 2011-07-03  Andreas Jaeger  <aj@suse.de>
35239         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35240         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35241         regenerate with gen-libm-tests.pl.
35243 2010-05-12  Petr Baudis  <pasky@suse.cz>
35245         [BZ #11589]
35246         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35247         around j0() zero points by switching to j1().
35248         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35249         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35250         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35251         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35253 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35255         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35256         instead of 0.
35257         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35258         instead of 0.
35259         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35260         Patch in part by Pavel Roskin <proski@gnu.org>.
35262         [BZ #13138]
35263         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35264         realloc.
35265         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35266         Free memory block if necessary.
35268         [BZ #12847]
35269         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35270         be NULL.  Don't lock in this case.
35272 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35274         * elf/elf.h (ELFOSABI_GNU): New macro.
35275         (ELFOSABI_LINUX): Define to that.
35277 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35279         * string/strncat.c (strncat): Undef the symbol in case it has been
35280         defined in bits/string.h.
35282 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35284         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35286         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35287         link map.
35289 2011-08-17  Andreas Jaeger  <aj@suse.de>
35291         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35293 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35294             Ian Lance Taylor  <iant@google.com>
35296         * math/libm-test.inc (lround_test): New testcase.
35297         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35299 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35301         * Makefile: Remove support for automatic cvs check-ins.
35302         * Makerules: Likewise.
35303         * config.make.in: Likewise.
35304         * configure.in: Likewise.
35305         * intl/Makefile: Likewise.
35306         * locale/Makefile: Likewise.
35307         * po/Makefile: Likewise.
35308         * posix/Makefile: Likewise.
35309         * sysdeps/gnu/Makefile: Likewise.
35310         * sysdeps/mach/hurd/Makefile: Likewise.
35311         * sysdeps/sparc/sparc32/Makefile: Likewise.
35313         [BZ #13118]
35314         * posix/Makefile (bug-regex32-ENV): Define.
35315         Patch by John Stanley <jpsinthemix@verizon.net>.
35317         * misc/Makefile (headers): Add bits/select2.h.
35318         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35319         * misc/bits/select2.h: New file.
35320         * include/bits/select2.h: New file.
35321         * debug/Makefile (routines): Add fdelt_chk.
35322         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35323         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35324         FD_ISSET.
35325         * debug/fdelt_chk.c: New file.
35327         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35328         * wcsmbs/test-wmemcmp.c: Likewise.
35329         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35330         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35332 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35334         * string/Makefile (strop-tests): Add memcmp.
35335         * string/test-wmemcmp.c: New file.
35336         * string/test-memcmp.c: Add wmemcmp support.
35338 2011-09-08  Roland McGrath  <roland@hack.frob.com>
35340         [BZ #13153]
35341         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35342         2011-07-19 change.
35344         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35345         garbage value in a __mach_port_mod_refs call in the cases of the
35346         task-self and thread-self ports.
35348 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35350         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35352 2011-09-08  Andreas Schwab  <schwab@redhat.com>
35354         * elf/dl-load.c (lose): Check for non-null L.
35356 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35358         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35360         * elf/dl-libc.c (dlerror_run): Pass back error code from
35361         dl_catch_error.
35363         [BZ #13123]
35364         * elf/dl-load.c (lose): Free l_origin if it is valid.
35366         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35367         names.
35368         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35369         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35370         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35371         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35372         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35373         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35375 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35377         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35378         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35379         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35380         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35381         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35382         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35383         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35384         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35385         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35386         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35388 2011-08-15  Alan Modra  <amodra@gmail.com>
35390         [BZ #13092]
35391         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35392         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35393         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35394         ppc_mcount to static-only-routines.
35395         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35396         __mcount_internal.
35397         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35398         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35400 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35402         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35403         for finite and infinity parameters.
35405 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35407         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35408         and add nop instructions for throughput optimization.
35409         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35411 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35413         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35414         aligned copy for power7 with vector-scalar instructions.
35415         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35417 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35419         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35420         AVX check.
35422 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35424         [BZ #13144]
35425         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35426         last change.
35428 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35430         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35431         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35432         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35433         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35434         clock_gettime.
35436 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35438         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35439         Forgot to demangle the pointer.
35441         * sysdeps/i386/sysdep.h: Define atom_text_section.
35442         * sysdeps/x86_64/sysdep.h: Likewise.
35443         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35444         section with atom_text_section.
35445         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35446         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35447         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35448         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35449         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35451         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35452         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35453         already be defined.  Change to take two parameters and don't assign
35454         result to variable.  Adjust all users.
35455         Define INTERNAL_GETTIME if not already defined.
35456         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35457         call.
35458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35459         HAVE_CLOCK_GETTIME_VSYSCALL.
35460         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35462         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35463         gettimeofday vsyscall, just use time.
35465 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35467         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35468         <errno.h>.
35470 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35472         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35473         syscall on x86-64.
35474         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35475         syscall.
35476         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35477         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35478         syscall if possible.
35480 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35482         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35483         e_ident.  Don't pass to find_mapsXX.
35484         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35486 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35489         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35490         * sysdeps/x86_64/multiarch/strchr.S: Update.
35491         Check bit_slow_BSF bit.
35492         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35493         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35494         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35496 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35498         [BZ #13134]
35499         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35500         before glibc 2.15.
35501         (tryshell): Define.
35502         (__spawni): Change last parameter to be flag.  Test
35503         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35504         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35505         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35506         * posix/spawni.c: Likewise.
35507         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35508         * posix/spawnp.c: Likewise.  Change normal version to use
35509         SPAWN_XFLAGS_USE_PATH.
35510         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35511         SPAWN_XFLAGS_TRY_SHELL.
35513         [BZ #13150]
35514         * posix/glob.h: Remove gcc 1.x support.
35516         [BZ #13068]
35517         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35519 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35521         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35522         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35523         strrchr-sse2-bsf
35524         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35525         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35526         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35527         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35528         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35529         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35531 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35533         * sysdeps/x86_64/wcscmp.S: New file.
35535         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35536         wcscmp-c wcscmp-sse2
35537         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35538         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35539         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35540         * wcsmbs/wcscmp.c: Allow renaming.
35542 2011-09-05  David S. Miller  <davem@davemloft.net>
35544         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35545         stack slot, rather than the struct return pointer slot.
35546         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35547         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35549         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35551 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35553         * po/ja.po: Update from translation team.
35555         [BZ #13144]
35556         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35557         kernel in 64-bit binaries.
35559 2011-09-01  David S. Miller  <davem@davemloft.net>
35561         * elf/elf.h (HWCAP_SPARC_*): Move to..
35562         * sysdeps/sparc/sysdep.h: this new file and add new values.
35563         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35564         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35565         _DL_HWCAP_COUNT to 24.
35566         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35567         entries.
35568         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35569         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35570         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35572         instead of magic constants.
35573         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35575 2011-08-31  David S. Miller  <davem@davemloft.net>
35577         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35578         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35579         Reimplement to do errno handling inline.
35580         (SYSCALL_ERROR_HANDLER): New macro.
35581         (__SYSCALL_STRING): Do not do errno handling in asm.
35582         (__CLONE_SYSCALL_STRING): Delete.
35583         (__INTERNAL_SYSCALL_STRING): Delete.
35584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35585         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35586         (PSEUDO): Reimplement to do errno handling inline.
35587         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35588         (SYSCALL_ERROR_HANDLER): New macro.
35589         (__SYSCALL_STRING): Do not do errno handling in asm.
35590         (__CLONE_SYSCALL_STRING): Delete.
35591         (__INTERNAL_SYSCALL_STRING): Delete.
35592         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35593         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35594         i386.
35595         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35596         (inline_syscall*): Add 'err' argument.
35597         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35598         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35599         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35600         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35602         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35603         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35605 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35607         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35609 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35611         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35612         directive.
35614 2011-08-24  David S. Miller  <davem@davemloft.net>
35616         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35618 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35620         * elf/Makefile: Add rules to build and run unload8 test.
35621         * elf/unload8.c: New file.
35622         * elf/unload8mod1.c: New file.
35623         * elf/unload8mod1x.c: New file.
35624         * elf/unload8mod2.c: New file.
35625         * elf/unload8mod3.c: New file.
35627         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35628         it wasn't used.
35630 2011-08-23  David S. Miller  <davem@davemloft.net>
35632         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35633         subtract stack bias.
35634         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35635         %sp not %fp in calculations.
35636         (_JMPBUF_UNWINDS_ADJ): Likewise.
35638         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35639         (aio_suspend): Call it to force an exception region around the
35640         AIO_MISC_WAIT() invocation.
35642 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35644         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35645         backslash.
35647 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35649         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35650         protection macro.
35651         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35652         and <dl-machine.h>.
35653         (Elf64_FuncDesc): Remove.
35655 2011-08-22  David S. Miller  <davem@davemloft.net>
35657         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35658         sigaltstack check, add missing cfi directives.
35659         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35660         missing cfi directives, and sigaltstack handling.
35662 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35664         [BZ #11724]
35665         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35666         object is seen twice.
35667         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35669         * elf/Makefile (distribute): Add tst-initorder2.c.
35670         (tests): Add tst-initorder2.
35671         (modules-names): Add tst-initorder2a tst-initorder2b
35672         tst-initorder2c tst-initorder2d.  Add rules to build them.
35673         ($(objpfx)tst-initorder2.out): New rule.
35674         * elf/tst-initorder2.c: New file.
35675         * elf/tst-initorder2.exp: New file.
35677 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35679         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35681         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35682         dependencies back to end of function.
35684         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35685         $(elfobjdir)/ld.so.
35687 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35689         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35690         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35691         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35692         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35693         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35694         of __vdso_gettimeofday.
35695         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35696         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35697         attribute_hidden.
35698         (_libc_vdso_platform_setup): Remove initialization of
35699         __vdso_gettimeofday and __vdso_time.
35701 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35703         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35704         and fgetc_unlocked.
35705         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35706         getc_unlocked.
35708         * elf/dl-open.c (add_to_global): Report additions to the global scope
35709         for LD_DEBUG=scopes.
35710         (dl_open_worker): Also print scope of newly loaded dependencies.
35711         (_dl_show_scope): Indicate if there is no scope.
35713         [BZ #13114]
35714         * stdio-common/Makefile (tests): Add bug24.
35715         * stdio-common/bug24.c: New file.
35717 2011-08-19  Andreas Jaeger  <aj@suse.de>
35719         [BZ #13114]
35720         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35721         non-existant file when using close-on-exec mode.
35723 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35725         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35726         the very first instruction.
35728         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35729         the CFI state in the end.
35730         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35731         inclusion of dl-trampoline.h.
35732         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35734 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35736         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35737         expectations for long double.
35739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35740         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35742 2011-08-14  David S. Miller  <davem@davemloft.net>
35744         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35745         artificual limit depends upon the system page size.
35747 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35749         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35750         * resolv/Makefile: Define CFLAGS-libresolv.
35752 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35754         * nss/makedb.c (compute_tables): Make variables used in nested
35755         function static.
35757 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35759         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35760         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35761         if buffer was too small.
35763         * elf/pldd.c (main): Attach to all threads in the process.
35764         Rewrite /proc handling to use *at functions.
35766 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35768         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35769         specifies first scope to show.
35770         (dl_open_worker): Update callers.  Move printing scope of new
35771         object to before the relocation.
35772         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35773         * sysdeps/generic/ldsodefs.h: Update declaration.
35775         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35776         string for the scope number.
35778 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35780         * nscd/servicescache.c (cache_addserv): Make sure written is always
35781         initialized.
35783 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35785         * sysdeps/i386/i486/bits/atomic.h
35786         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35787         statement expression, so as to suppress "set but not used" warning.
35788         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35790         * string/strncat.c (STRNCAT): Use prototype definition.
35792         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35793         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35794         -Iprograms here.
35795         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35796         (localedef-modules): Add localedef.
35797         (locale-modules): Add locale.
35799         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35800         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35801         to avoid a warning.
35803 2011-08-14  David S. Miller  <davem@davemloft.net>
35805         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35806         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35808 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35810         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35811         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35812         * elf/rtld.c (dl_main): Set l_name of vDSO.
35813         Call _dl_show_scope when DL_DEBUG_SCOPES.
35814         (process_dl_debug): Recognize scopes flag and also set it for all.
35815         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35816         Declare _dl_show_scope.
35818         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35819         (do_dlopen): Pass caller_dlopen to dl_open.
35820         (__libc_dlopen_mode): Initialize caller_dlopen.
35822         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35823         of libc.  Make tolower call locale-independent.  Optimize a bit by
35824         using isdigit instead of isalnum.
35825         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35827 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35829         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35830         was a dependency or dynamically loaded.
35832 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35834         * intl/l10nflist.c: Allow architecture-specific pop function.
35835         * sysdeps/x86_64/l10nflist.c: New file.
35837         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35838         classification.
35840 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35842         * include/dirent.h: Add libc_hidden_proto for scandirat and
35843         scandirat64.  Don't declare __scandirat64.
35844         * dirent/scandirat.c: Add libc_hidden_def.
35845         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35846         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35848 2011-08-10  David S. Miller  <davem@davemloft.net>
35850         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35851         enum.
35852         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35853         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35854         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35856 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35858         * Versions.def [libc]: Add GLIBC_2.15.
35859         * dirent/Makefile (routines): Add scandirat and scandirat64.
35860         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35861         GLIBC_2.15.
35862         * dirent/dirent.h: Declare scandirat and scandirat64.
35863         * dirent/scandirat.c: New file.
35864         * dirent/scandirat64.c: New file.
35865         * sysdeps/wordsize-64/scandirat.c: New file.
35866         * sysdeps/wordsize-64/scandirat64.c: New file.
35867         * dirent/opendir.c: Define opendirat.
35868         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35869         using scandirat.
35870         * dirent/scandir64.c: Adjust for scandir.c change.
35871         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35872         __scandirat64, and __scandir_cancel_handler.
35873         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35874         additional parameter and use openat instead of open (outside of ld.so).
35875         Add new __opendir as wrapper around __opendirat.
35876         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35877         here without requiring old scandirat implementation.
35879 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35881         * dirent/scandir.c (cancel_handler): Renamed to
35882         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35883         defined.  Adjust users.
35884         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35885         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35887 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35889         * string/test-string.h (IMPL): Use __STRING to expand name and then
35890         stringify it.
35892         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35893         of cleanups.
35895 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35897         * string/Makefile: Update.
35898         (strop-tests): Append strncat.
35899         * string/test-wcscmp.c: New file.
35900         New comprehensive test for wcscmp.
35901         * string/test-strcmp.c: Update.
35902         (WIDE): New define.
35904 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35906         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35907         line.
35909 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35912         encoding to ACE if AI_IDN.
35914 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35916         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35917         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35919 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35921         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35922         Fix overflow bug in strncat.
35923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35925         * string/test-strncat.c: Update.
35926         Add new tests for checking overflow bugs.
35928 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35930         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35931         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35932         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35933         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35934         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35935         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35936         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35937         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35938         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35940         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35941         (USE_AS_STRCAT): Define.
35942         Add strcat and strncat support.
35943         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35945 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35947         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35948         __n bigger than INT_MAX+1.
35949         (__strncmp_g): Likewise.
35951 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35953         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35954         * libio/stido.h: Likewise.
35956         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35957         (AF_NFC): Define.
35958         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35959         (AF_NFC): Define.
35961         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35962         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35963         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35964         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35965         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35967         [BZ #13021]
35968         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35969         installed.
35971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35972         typo.
35973         (_dl_x86_64_save_sse): Likewise.
35975 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35977         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35978         OSXSAVE.
35979         (_dl_x86_64_save_sse): Likewise.
35981         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35983         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35985 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35987         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35988         change.
35989         (_dl_x86_64_save_sse): Use correct AVX check.
35991 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35993         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35994         bug in strncpy/strncat.
35995         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35997 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35999         * string/tester.c (test_strcat): Add tests for different alignments
36000         of source and destination.
36001         (test_strncat): Likewise.
36003 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36005         [BZ #12852]
36006         * posix/glob.c (glob): Check passed in values before using them in
36007         expressions to avoid some overflows.
36008         (glob_in_dir): Likewise.
36010         [BZ #13007]
36011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36012         check for AVX enablement so that we don't crash with old kernels and
36013         new hardware.
36014         * elf/tst-audit4.c: Add same checks here.
36015         * elf/tst-audit6.c: Likewise.
36017         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36019 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
36021         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36023 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36025         * po/cs.po: Update from translation team.
36026         * po/bg.po: Likewise.
36028 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
36030         * misc/sys/cdefs.h: Add support for const attribute.
36031         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36032         to gnu_dev_{major,minor,makedev} functions.
36034 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
36036         * intl/dcigettext.c (get_output_charset): Add missing bracket.
36038 2011-07-20  Andreas Schwab  <schwab@redhat.com>
36040         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36041         strlen results.
36043 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36046         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36047         register in order to avoid conflicts with the soft frame pointer
36048         being held in r11 when necessary.
36049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36050         (INTERNAL_VSYSCALL_NCS): Likewise.
36052 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
36054         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36055         * elf/dl-fini.c (_dl_fini): Adjust caller.
36056         * elf/dl-close.c (_dl_close_worker): Likewise.
36057         * sysdeps/generic/ldsodefs.h: Adjust declaration.
36059 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36061         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36062         "aux_cache->nlibs < 0".
36064         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36065         in the reload-count case.
36067 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36070         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36071         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36072         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36073         * sysdeps/x86_64/multiarch/strcat.S: New file.
36074         * sysdeps/x86_64/multiarch/strncat.S: New file.
36075         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36076         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36077         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36078         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36079         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36080         (USE_AS_STRCAT): Define.
36081         Add strcat and strncat support.
36082         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36083         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36084         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36085         * string/strncat.c: Update.
36086         (USE_AS_STRNCAT): Define.
36087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36088         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36089         and i7.
36090         * sysdeps/x86_64/multiarch/init-arch.h
36091         (bit_Prefer_PMINUB_for_stringop): New.
36092         (index_Prefer_PMINUB_for_stringop): Likewise.
36093         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36094         bit_Prefer_PMINUB_for_stringop.
36096 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36098         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36099         buffer64.
36100         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36101         of casting of buffer.
36102         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36103         buffer32 and buffer64.
36104         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36105         writes instead of casting of buffer.
36106         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36107         buffer32.
36108         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36109         casting of buffer.
36111 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36113         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36115 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36117         * nscd/nscd.c (termination_handler): Don't do anything for a database
36118         if it has not yet been initialized.
36120 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36122         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36124 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36126         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36128 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36130         * po/nl.po: Update from translation team.
36131         * po/sv.po: Likewise.
36133 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36135         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36136         now disallowed by GCC.
36138         * configure.in (use-default-link): Default to yes if a test -shared
36139         link meets our qualifications.
36140         * configure: Regenerated.
36142         * config.make.in (output-format): New variable.
36143         * configure.in: Check for ld --print-output-format support.
36144         * configure: Regenerated.
36145         * Makerules ($(common-objpfx)format.lds)
36146         [$(output-format) != unknown]: Just use $(output-format),
36147         instead of the linker-script munging.
36149 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36151         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36152         of $(common-objpfx)shlib.lds.
36153         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36155         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36156         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36158         * configure.in (-z relro check): Adjust test code to add a large
36159         writable data section after it.
36160         * configure: Regenerated.
36162 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36164         * configure.in (-z relro check): Fix test code to make the variable
36165         truly const.
36166         * configure: Regenerated.
36168 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36170         * nscd/nscd.h (struct traced_file): Define.
36171         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36172         elements.  Add traced_files.
36173         (inotify_fd): Declare.
36174         (register_traced_file): Declare.
36175         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36176         (inotify_fd): Export.
36177         (resolv_conf_descr): Remove.
36178         (nscd_init): Move inotify descriptor creation to main.
36179         Don't register files for notification here.
36180         (register_traced_file): New function.
36181         (invalidate_cache): Don't use reset_res to determine whether to call
36182         res_init, go through the list of registered files.
36183         (main_loop_poll): The inotify descriptors are now stored in the
36184         structures for the traced files.
36185         (main_loop_epoll): Likewise
36186         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36187         to __nss_disable_nscd.
36188         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36189         for a database anymore.  Check the records for all the registered
36190         files instead.
36191         * nss/Makefile (libnss_files-routines): Add files-init.
36192         (libnss_db-routines): Add db-init.
36193         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36194         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36195         * nss/nss_db/db-init.c: New file.
36196         * nss/nss_files/files-init.c: New file.
36197         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36198         __nss_lookup_function.
36199         (__nss_lookup_function): Call nss_load_library.
36200         (nss_load_all_libraries): New function.
36201         (__nss_disable_nscd): Take parameter with callback function for files
36202         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36203         used for the cached services.
36204         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36205         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36206         options for features to all the files in nscd.
36208         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36210 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36212         * csu/elf-init.c (__libc_csu_init): Comment typo.
36214 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36216         * po/pl.po: Update from translation team.
36217         * po/ja.po: Likewise.
36218         * po/ru.po: Likewise.
36219         * po/ko.po: Likewise.
36220         * po/fr.po: Likewise.
36222 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36224         * configure.in (.ctors/.dtors header and trailer check):
36225         Use an empirical test on a built program.
36226         * configure: Regenerated.
36228         * configure.in (-z relro check): Use an empirical test on a built DSO.
36229         Detect, but do not require, on ia64.
36230         * configure: Regenerated.
36232         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36233         Update tests that use readelf to use $READELF instead.
36234         * configure: Regenerated.
36236 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36238         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36239         if the result is not used.
36241 2011-07-05  Andreas Jaeger  <aj@suse.de>
36243         [BZ#9696]
36244         * stdlib/tst-strtod.c: Add testcase.
36246 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36248         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36249         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36250         The latter has a higher limit.  Take additional parameter to pass to
36251         the new function.
36252         (__pathconf): Pass file to __statfs_link_max.
36253         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36254         __statfs_link_max.
36255         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36256         __statfs_link_max.
36258         [BZ #12868]
36259         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36260         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36261         Handle Lustre.
36262         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36263         (__statfs_filesize_max): Likewise.
36264         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36266 2011-07-05  Andreas Jaeger  <aj@suse.de>
36268         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36270 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36272         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36273         `status' variable.
36274         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36275         Likewise.
36277 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36279         * Makefile (strop-tests): Add strncat.
36280         * string/test-strncat.c: New file.
36282 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36284         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36286 2011-06-21  Andreas Jaeger  <aj@suse.de>
36288         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36289         Copy rule from iconvdata/Makefile.
36291 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36293         [BZ #12922]
36294         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36295         but no long options are defined, just return 'W'.
36297 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36299         [BZ #9696]
36300         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36302 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36304         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36305         netgroups to read.
36306         (innetgr): Likewise.
36308 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36310         * config.make.in (install_root): Default to $(DESTDIR).
36312 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36314         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36316 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36318         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36320         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36321         containing directory rather than embedding absolute directory names.
36323         * scripts/check-local-headers.sh: Rewritten using awk.
36324         Match by word, not by line.  Print error messages for matches.
36325         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36327         * Makerules [shlib-lds-flags empty]:
36328         ($(common-objpfx)libc_pic.opts): New target.
36329         ($(common-objpfx)libc_pic.os.clean): New target.
36330         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36332         * config.make.in (OBJCOPY): New variable.
36333         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36334         * configure: Regenerated.
36336         * config.make.in (use-default-link): New variable.
36337         * configure.in (use_default_link): Grok --with-default-link to set it.
36338         * configure: Regenerated.
36339         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36340         (shlib-lds, shlib-lds-flags): Define to empty.
36342         * Makerules (shlib-lds): New variable.
36343         (shlib-lds-flags): New variable.
36344         (build-shlib, build-moduile, build-module-asneeded): Use it.
36345         ($(common-objpfx)libc.so): Use $(shlib-lds).
36346         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36347         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36349         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36350         DT_FLAGS/DT_FLAGS_1 with zero flags.
36352         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36353         linker script munging.
36355 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
36357         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36358         as 128-bit value.
36359         * crypt/sha512.c (sha512_process_block): Perform total addition using
36360         128-bit if possible.
36361         (__sha512_finish_ctx): Likewise.
36362         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36363         as 64-bit value.
36364         * crypt/sha256.c (SWAP64): Define.
36365         (sha256_process_block): Perform total addition using 64-bit if
36366         possible.
36367         (__sha256_finish_ctx): Likewise.
36369 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
36371         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
36372         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36373         * nscd/hstcache.c (cache_addhst): Likewise.
36374         * nscd/grpcache.c (cache_addgr): Likewise.
36375         * nscd/aicache.c (addhstaiX): Likewise
36376         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36378 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36380         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36381         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36382         * nscd/hstcache.c (cache_addhst): Likewise.
36383         * nscd/grpcache.c (cache_addgr): Likewise.
36384         * nscd/aicache.c (addhstaiX): Likewise
36386 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36388         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36389         domain only when needed.
36391 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36394         is always restored.
36396 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36398         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36399         are re-adding the entry.
36400         * nscd/servicescache.c (cache_addserv): Likewise.
36402 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36404         * sysdeps/generic/dl-irel.h: fix protection against multiple
36405         inclusions.
36406         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36408 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36410         [BZ #12935]
36411         * malloc/memusage.sh: Fix quoting in message.
36412         * debug/xtrace.sh: Likewise.
36414         * configure.in: Remove support for --experimental-malloc option, make
36415         it the default.
36416         * config.make.in: Likewise.
36417         * malloc/Makefile: Likewise.
36419 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36421         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36422         two-byte characters.
36424 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36426         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36427         AC_CACHE_CHECK invocation.
36428         * configure: Regenerated.
36430         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36432 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36434         [BZ #12350]
36435         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36436         bit from old_res_options.
36438         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36440         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36441         value type for setfct.
36443 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36445         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36446         __gettimeofday instead of gettimeofday.
36448 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36450         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36452 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36454         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36456         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36457         info.
36459 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36462         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36463         strcpy-sse2-unaligned strncpy-sse2-unaligned
36464         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36465         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36466         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36467         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36468         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36469         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36470         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36471         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36472         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36473         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36474         (STRCPY): Support SSE2 and SSSE3 versions.
36476 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36478         [BZ #12874]
36479         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36480         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36481         kernels which artificially limit size of requests.
36483 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36485         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36486         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36487         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36488         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36489         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36490         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36491         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36492         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36493         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36494         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36495         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36496         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36497         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36498         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36499         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36501         Enable unaligned load optimization for Intel Core i3, i5 and i7
36502         processors.
36503         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36504         Define.
36505         (index_Fast_Unaligned_Load): Define.
36506         (HAS_FAST_UNALIGNED_LOAD): Define.
36508 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36510         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36512 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36514         [BZ #12907]
36515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36516         until it is clear that the information is realy needed.
36517         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36519 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36523 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36525         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36526         /sys/devices/system/cpu/online if it is usable.
36528         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36529         reading the information from the /proc filesystem to once a second.
36531 2011-06-21  Andreas Jaeger  <aj@suse.de>
36533         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36534         NULL after inclusion of kernel headers.
36536 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36538         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36539         calls to internal_setent.
36541         [BZ #12885]
36542         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36543         addresses using gethostbyname4_r ignore IPv4 addresses.
36545         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36546         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36548         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36550 2011-06-20  David S. Miller  <davem@davemloft.net>
36552         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36553         inclusions.
36554         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36556         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36557         (elf_irel): Use it.
36558         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36559         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36560         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36561         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36562         * sysdeps/x86_64/dl-irel.h: Likewise.
36564         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36565         * elf/dl-sym.c: Likewise.
36567 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36569         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36570         need to dereference resplen2.
36572 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36574         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36576 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36578         * Makeconfig: Define vardbdir and inst_vardbdir.
36579         * nss/Makefile: Add rules to install db-Makefile.
36581         * nss/nss_db/db-XXX.c: Cleanup.
36583         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36584         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36585         GLIBC_PRIVATE.
36586         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36587         * nss/makedb.c: Implement -g option to specify that value strings
36588         are generated and should not be added to table iterated over for
36589         get*ent calls.
36590         * nss/nss_db/db-initgroups.c: New file.
36592         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36593         interface.
36595         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36596         (internal_getgrouplist): Adjust to name change.
36597         Update use_initgroups_entry if this is not the first call.
36598         * nss/databases.def: Add initgroups entry.
36600         * nss/makedb.c (compute_tables): Check result of multiple hash table
36601         sizes to minimize maximum chain length.
36603 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36605         * Versions.def: Add entry for libnss_db.
36606         * shlib-versions: Likewise.
36607         * nss/Makefile: Add rules to build libnss_db.
36608         * nss/Versions: Add libnss_db information.  Organize libnss_files
36609         entries better.
36610         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36611         makedb progra.  Some minor improvements to generate smaller files.
36612         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36613         here from...
36614         * nss/makedb.c: ...here.
36615         Improve database format to be smaller and require less memory at
36616         runtime.
36617         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36618         db anymore.
36619         * nss/nss_db/db-netgrp.c: Likewise.
36620         * nss/nss_db/db-open.c: Likewise.
36621         * nss/nss_files/flies-XXX.x: Adjust comments.
36622         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36623         * nss/nss_files/files-grp.c: Likewise.
36624         * nss/nss_files/files-hosts.c: Likewise.
36625         * nss/nss_files/files-network.c: Likewise.
36626         * nss/nss_files/files-proto.c: Likewise.
36627         * nss/nss_files/files-pwd.c: Likewise.
36628         * nss/nss_files/files-rpc.c: Likewise.
36629         * nss/nss_files/files-service.c: Likewise.
36630         * nss/nss_files/files-sgrp.c: Likewise.
36631         * nss/nss_files/files-spwd.c: Likewise.
36632         * nss/nss_db/db-alias.c: Removed.
36633         * nss/nss_db/dummy-db.h: Removed.
36635 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36637         * nss/makedb.c: Rewritten to not use database library.
36638         * nss/Makefile: Update to build new makedb program.
36640 2011-06-14  Andreas Jaeger  <aj@suse.de>
36642         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36643         memset declaration.
36645 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36648         tmpbuf.
36650 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36652         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36653         * elf/Makefile ($(objpfx)ld.so): Likewise.
36655         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36656         Don't list ld.so twice in dependencies.
36658         * posix/bug-regex31.c: Include <stdlib.h>.
36660         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36662         * nis/nss_compat/compat-spwd.c
36663         (getspent_next_nss_netgr): Remove unused variable.
36664         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36666         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36667         nonmembers" output to use the right array.
36669         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36671         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36673         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36674         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36675         * catgets/gencat.c (read_input_file): Likewise.
36676         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36678         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36679         variable definition inside #if's controlling its use.
36681         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36683         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36685         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36687         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36688         unreachable code.
36690         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36692         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36693         * configure: Regenerated.
36695         * Makerules: Revert last change.
36696         * elf/Makefile: Likewise.
36698 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36700         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36701         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36702         (reloc-link): Likewise.
36704 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36706         * elf/Makefile: Add rules to build pldd.
36707         * elf/pldd.c: New file.
36708         * elf/pldd-xx.c: New file.
36710 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36712         * version.h: Update for 2.15 development version.
36714 2011-06-07  David S. Miller  <davem@davemloft.net>
36716         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36717         ifuncs.
36718         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36719         elf_machine_lazy_rel): Likewise.
36720         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36721         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36722         elf_machine_lazy_rel): Likewise.
36723         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36724         dl_hwcap via passed in argument.
36725         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36726         Likewise.
36728 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36730         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36732 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36734         [BZ #12849]
36735         * manual/fdl-1.1.texi: New file, verbatim from:
36736         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36737         * manual/lgpl-2.1.texi: New file, verbatim from:
36738         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36739         * manual/Makefile (licenses): New variable, list those new file names.
36740         (texis): Use it.
36741         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36743         * manual/fdl.texi: File removed.
36744         * manual/lesser.texi: File removed.
36745         * manual/libc.texinfo (Copying, Documentation License):
36746         Use new @include file names, put @appendix directive before @include.
36748 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36750         [BZ #12841]
36751         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36752         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36753         (mq_open): Add __NTH.
36755 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36758         Assume Intel Core i3/i5/i7 processor if AVX is available.
36760 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36762         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36763         typo.
36765 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36767         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36768         memory.  Use alloca_account.  Fix memory leak when retrying.
36770 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36772         * version.h (RELEASE): Bump for 2.14 release.
36773         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36775         * config.make.in (RANLIB): Remove entry.
36777 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36779         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36780         (libc.pot): Work around missing support for .ksh extension in xgettext.
36782         [BZ #12684]
36783         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36784         if both request failed.
36785         (send_dg): In case of server errors clear resplen or *resplen2.
36787         [BZ #12454]
36788         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36789         when there are multiple maps.
36790         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36791         (_dl_fini): Remove test here.
36793         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36795 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36797         [BZ #12350]
36798         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36799         bit from old_res_options.
36800         (gaih_inet): Likewise.
36802         [BZ #11099]
36803         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36804         as signed.
36806         * resolv/res_init.c (res_setoptions): Make the code more compact.
36808         [BZ #11558]
36809         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36810         set RES_USEVC.
36812         [BZ #11634]
36813         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36815         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36817         [BZ #11781]
36818         * malloc/malloc.h: Declare malloc hook variables as volatile.
36820         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36821         in last patch.
36823         [BZ #11799]
36824         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36825         raise in the comment.
36826         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36827         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36828         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36830 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36832         [BZ #12811]
36833         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36834         grow the buffers more if it already has to be sufficient.
36835         (build_wcs_upper_buffer): Likewise.
36836         * posix/regexec.c (check_matching): Likewise.
36837         (clean_state_log_if_needed): Likewise.
36838         (extend_buffers): Don't enlarge buffers beyond size of the input
36839         buffer.
36840         Patches mostly by Emil Wojak <emil@wojak.eu>.
36841         * posix/bug-regex32.c: New file.
36842         * posix/Makefile (tests): Add bug-regex32.
36844         * locale/findlocale.c (_nl_find_locale): Return right away if
36845         _nl_explode_name failed.
36846         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36848         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36850         * debug/xtrace.sh: Unify messages.
36851         * malloc/memusage.sh: Likewise.
36853         [BZ #12813]
36854         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36855         time symbol from vDSO.  Substitute with vsyscall if not available.
36856         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36857         __vdso_time.
36859         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36860         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36861         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36862         Add sendmmsg and internal_sendmmsg.
36863         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36864         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36865         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36867         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36868         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36869         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36871 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36873         [BZ #12813]
36874         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36875         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36876         available.
36877         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36878         __vdso_getcpu.
36880         [BZ #12814]
36881         * iconvdata/Makefile (tests): Add bug-iconv9.
36882         * iconvdata/bug-iconv9.c: New file.
36884 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36886         [BZ #12814]
36887         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36889 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36891         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36892         (struct user_regs_struct): Change intcs field back to cs.
36894 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36896         * po/ja.po: Update from translation team.
36898 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36900         [BZ #12795]
36901         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36902         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36904 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36906         * stdlib/longlong.h: Update from GCC.
36908 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36910         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36911         parameter name.
36912         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36913         Add parameter name.
36914         (__sysconf): Pass it down.
36916 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36918         [BZ #12671]
36919         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36920         some situations.
36921         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36922         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36923         add in in __libc_use_alloca calls.  Adjust callers.
36924         (glob): Use malloc in some situations.
36926         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36927         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36928         pltexit.
36930 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36932         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36933         and CLOCK_BOOTTIME_ALARM.
36935         [BZ #12782]
36936         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36937         is returned.
36939         * string/_strerror.c (__strerror_r): Print negative errors as signed
36940         numbers.
36942         [BZ #12777]
36943         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36944         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36945         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36947         * configure.in: Fix typo in redirection and correct removal of test
36948         files in two cases.
36950         [BZ #12788]
36951         * locale/setlocale.c (new_composite_name): Fix test to check for
36952         identical name of all categories.
36954         [BZ #12792]
36955         * libio/filedoalloc.c (local_isatty): New function.
36956         (_IO_file_doallocate): Use local_isatty.
36957         * stdio-common/perror.c (perror): In case a new stream is used
36958         forward the stream error.
36959         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36960         error flag.
36962 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36964         [BZ #11869]
36965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36966         alloca.
36967         * include/alloca.h (extend_alloca_account): Define.
36969         [BZ #11857]
36970         * posix/regex.h: Fix comments with documentation of user-accessible
36971         fields after compilation and describe correct free'ing of pattern
36972         after re_compile_pattern.
36973         Patch by Reuben Thomas <rrt@sc3d.org>.
36975 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36977         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36978         and -mno-altivec to prevent the compiler from using Altivec and/or
36979         VSX instructions when the corresponding registers are not available.
36981 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36983         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36985 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36987         * libio/freopen.c (freopen): Use __dup2, not dup2.
36988         * libio/freopen64.c (freopen64): Likewise.
36990 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36992         [BZ #12775]
36993         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36994         * math/Makefile (tests): Add test-powl.
36995         (CFLAGS-test-powl.c): Define.
36996         * math/test-powl.c: New file.
36998 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37000         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37002 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
37004         [BZ #11837]
37005         * iconvdata/gb18030.c: Update to GB18020-2005.
37007 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
37009         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37010         RE_SYNTAX_POSIX_AWK): Update to match recent development.
37011         Patch by Aharon Robbins <arnold@skeeve.com>.
37013         [BZ #11892]
37014         * stdlib/putenv.c (putenv): Don't always create copy of the variable
37015         on the stack.
37017         [BZ #11895]
37018         * misc/pselect.c (__pselect): Handle timeout value errors hidden
37019         through underflows.
37021         [BZ #12766]
37022         * misc/error.c (error_at_line): Ensure file_name and old_file_name
37023         point to strings before performing equality test for error_one_per_line
37024         mode.
37026         [BZ #11697]
37027         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37029         [BZ #11820]
37030         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37031         (struct user_fpregs_struct): Avoid __uint*_t types.
37033         [BZ #6420]
37034         * malloc/mtrace.c (tr_where): Add additional parameter to point to
37035         symbol info.  Use it instead of calling _dl_addr locally.
37036         (lock_and_info): New function.
37037         (tr_freehook): Call lock_and_info and pass symbol info as additional
37038         parameter to tr_where.
37039         (tr_mallochook): Likewise.
37040         (tr_reallochook): Likewise.
37041         (tr_memalignhook): Likewise.
37043         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
37044         used and couldn't be at all thread-safe.
37046 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
37048         * libio/freopen.c (freopen): Don't close old file descriptor
37049         before the new one is opened.  Instead dup the new file descriptor
37050         to the old one after the new stream is created.
37051         * libio/freopen64.c (freopen64): Likewise.
37052         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37053         * libio/fileops.c (_IO_new_file_close_it): Handle new
37054         _IO_FLAGS2_NOCLOSE flag.
37055         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37056         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37057         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37058         _IO_FLAGS2_NOCLOSE flag.
37059         * include/unistd.h: Add hidden_proto for dup3.
37060         Define __have_dup3.
37061         * io/dup3.c: Define hidden symbol.
37062         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37064         [BZ #7101]
37065         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37066         when an incomplete long option is used.
37067         * posix/tst-getopt_long1.c: New file.
37068         * posix/Makefile (tests): Add tst-getopt_long1.
37070         [BZ #10138]
37071         * scripts/config.guess: Update from autoconf-2.68.
37072         * scripts/config.sub: Likewise.
37074         [BZ #10157]
37075         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37076         tests into ...
37077         (has_cpuclock): ...this.  New function.
37078         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37079         macro here based on has_cpuclock code.
37081         [BZ #10149]
37082         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37083         First byte (not low byte) is now always NUL.
37084         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37086         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37087         Use non-cancelable interfaces.
37089         [BZ #9809]
37090         * locale/iso-639.def: Add entry for Sorani.
37092         [BZ #11901]
37093         * include/stdlib.h: Move include protection to the right place.
37094         Define abort_msg_s.  Declare __abort_msg with it.
37095         * stdlib/abort.c (__abort_msg): Adjust type.
37096         * assert/assert.c (__assert_fail_base): New function.  Majority
37097         of code from __assert_fail.  Allocate memory for __abort_msg with
37098         mmap.
37099         (__assert_fail): Now call __assert_fail_base.
37100         * assert/assert-perr.c: Remove bulk of implementation.  Use
37101         __assert_fail_base.
37102         * include/assert.hL Declare __assert_fail_base.
37103         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37104         mmap.
37105         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37107 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
37109         [BZ #11952]
37110         [BZ #12453]
37111         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37112         until all modules are registered in the DTV.
37113         * elf/Makefile: Add rules to build and run tst-tls19.
37114         * elf/tst-tls19.c: New file.
37115         * elf/tst-tls19mod1.c: New file.
37116         * elf/tst-tls19mod2.c: New file.
37117         * elf/tst-tls19mod3.c: New file.
37118         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37120         [BZ #12083]
37121         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37122         correctly.
37124         [BZ #12601]
37125         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37126         two-byte sequence errors.
37127         * iconvdata/Makefile (tests): Add bug-iconv8.
37128         * iconvdata/bug-iconv8.c: New file.
37130         [BZ #12626]
37131         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37132         buf2 definition.
37134         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37136         [BZ #12432]
37137         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37138         (dummy_getcfa): New function.
37139         (init): Get _Unwind_GetCFA address, use dummy if not found.
37140         (backtrace_helper): In recursion check, also check whether CFA changes.
37141         (__backtrace): Completely initialize arg.
37143         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37144         storing incomplete byte sequence in state object.  Avoid testing for
37145         guaranteed too small input if we know there is enough data available.
37147 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37149         * Makeconfig (+link-pie): Indent.
37150         * Rules (binaries-pie): Define if $(have-fpie) and
37151         $(build-shared).
37152         (binaries-shared): Also filter out $(binaries-pie).
37153         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37154         * nscd/Makefile (others-pie): Add nscd.
37155         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37156         ($(objpfx)nscd): Remove command override.
37157         * login/Makefile (others-pie): Add pt_chown.
37158         ($(objpfx)pt_chown): Remove command override.
37159         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37160         remove command overrides.
37162 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37164         * libio/tst_putwc.c: Fix error messages.
37166         [BZ #12724]
37167         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37168         currently writing and seek to current position when not.
37169         * libio/Makefile (tests): Add bug-fclose1.
37170         * libio/bug-fclose1.c: New file.
37172 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37174         [BZ #12511]
37175         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37176         don't set DF_1_NODELETE here.
37177         (do_lookup_x): When entering new entry test for copy relocation
37178         and if necessary set DF_1_NODELETE flag.
37179         * elf/tst-unique4.cc: New file.
37180         * elf/tst-unique4.h: New file.
37181         * elf/tst-unique4lib.cc: New file.
37182         * elf/Makefile: Add rules to build and run tst-unique4.
37183         Patch by Piotr Bury <pbury@goahead.com>.
37185 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37187         [BZ #12052]
37188         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37190         [BZ #12625]
37191         * misc/mntent_r.c (addmntent): Flush the stream after the output
37193         [BZ #12393]
37194         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37195         (is_trusted_path_normalize): Skip initial colon.  Append slash
37196         to empty buffer.  Duplicate is_trusted_path code but allow
37197         constructed patch to be prefix.
37198         (is_dst): Allow $ORIGIN followed by /.
37199         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37200         Correct testing of result of is_trusted_path_normalize
37201         (decompose_rpath): Fix warning.
37203 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37205         [BZ #11257]
37206         * grp/initgroups.c (internal_getgrouplist): When we found the service
37207         list through the initgroups entry in nsswitch.conf do not always
37208         continue on a successful lookup.  Don't always use the
37209         __nss_group_database value if it is set.
37210         * nss/nsswitch.conf (initgroups): Change action for successful db
37211         lookup to continue for compatibility.
37213 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37215         [BZ #11532]
37216         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37217         and CP774 modules.
37218         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37219         and CP774 modules.
37220         * iconvdata/tst-tables.sh: Likewise.
37221         * iconvdata/cp770.c: New file.
37222         * iconvdata/cp771.c: New file.
37223         * iconvdata/cp772.c: New file.
37224         * iconvdata/cp773.c: New file.
37225         * iconvdata/cp774.c: New file.
37226         * iconvdata/testdata/CP770: New file.
37227         * iconvdata/testdata/CP770..UTF8: New file.
37228         * iconvdata/testdata/CP771: New file.
37229         * iconvdata/testdata/CP771..UTF8: New file.
37230         * iconvdata/testdata/CP772: New file.
37231         * iconvdata/testdata/CP772..UTF8: New file.
37232         * iconvdata/testdata/CP773: New file.
37233         * iconvdata/testdata/CP773..UTF8: New file.
37234         * iconvdata/testdata/CP774: New file.
37235         * iconvdata/testdata/CP774..UTF8: New file.
37237         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37238         END CHARMAP line.
37239         * iconvdata/gen-8bit-gap.sh: Likewise.
37240         * iconvdata/gen-8bit.sh: Likewise.
37242         * locale/iso-639.def: Add ary entry.
37244         [BZ #11258]
37245         * locale/C-translit.h.in: Add U20A1 transliteration.
37247         [BZ #12178]
37248         * locale/iso-639.def: Add wae entry.
37249         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37251         [BZ #12545]
37252         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37253         for n.
37255         [BZ #12711]
37256         * locale/C-translit.h.in: Add entry for U20B9.
37257         Patch by pravin.d.s@gmail.com.
37259 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37261         [BZ #12713]
37262         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37263         ENAMETOOLONG use generic getcwd.
37264         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37265         in rtld.  Use *stat64.
37266         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37267         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37268         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37269         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37270         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37271         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37272         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37273         __fstatat64 macros.
37274         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37275         * dirent/rewinddir.c: Add libc_hidden_def.
37276         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37277         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37279         * include/dirent.h (__alloc_dir): Add flags parameter.
37280         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37281         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37282         __alloc_dir.
37283         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37284         from fdopendir if O_CLOEXEC is already set.
37286 2011-03-15  Alan Modra  <amodra@gmail.com>
37288         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37289         l_tls_firstbyte_offset non-zero.  Save padding offset in
37290         l_tls_firstbyte_offset for later use.
37291         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37292         freeing static tls block.
37294 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37296         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37297         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37298         being defined by the kernel headers.
37300 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37302         [BZ #12734]
37303         * resolv/resolv.h: Define RES_NOTLDQUERY.
37304         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37305         no-tld-query and set RES_NOTLDQUERY.
37306         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37307         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37308         modern BIND to search name as TLD unless forbidden.
37310 2011-05-07  Petr Baudis  <pasky@suse.cz>
37311             Ulrich Drepper  <drepper@gmail.com>
37313         [BZ #12393]
37314         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37315         (is_trusted_path): ...to here.
37316         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37317         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37318         using is_trusted_path_normalize() in setuid scripts.
37320 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37322         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37323         __BEGIN/__END_DECLS.
37325 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37327         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37328         NSS_STATUS_NOTFOUND if no record was found.
37330 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37332         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37333         (headers-not-in-tirpc): Remove rpc/netdb.h
37334         * resolv/netdb.h: Revert last change.
37336 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37338         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37339         circular dependency between libgcc.a and libc.a.
37341 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37343         * resolv/netdb.h: Don't include <rpc/netdb.h>.
37344         * nis/Makefile: Don't install rpcsvc/*.
37345         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37346         instead of <rpc/types.h>.
37347         (MAXHOSTNAMELEN): Define.
37349 2011-05-03  Andreas Schwab  <schwab@redhat.com>
37351         * elf/ldconfig.c (add_dir): Don't crash on empty path.
37353 2011-04-28  Maciej Babinski  <mbabinski@google.com>
37355         [BZ #12714]
37356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37357         gethostbyname4_r when IPv6 results are possible.
37359 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
37361         [BZ #12723]
37362         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37363         _PC_PIPE_BUF handling.
37365 2011-04-30  Bruno Haible  <bruno@clisp.org>
37367         [BZ #12717]
37368         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37369         * resolv/netdb.h (getnameinfo): Change type of flags parameter
37370         to 'int'.
37371         * inet/getnameinfo.c (getnameinfo): Likewise.
37373 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37375         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37376         to groups setting in database lookup.
37377         * nss/nsswitch.conf: Add initgroups entry.
37379 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37381         [BZ #12685]
37382         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37383         mode string.
37384         Patch by Eric Blake <eblake@redhat.com>.
37386 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37388         * sunrpc/Makefile (need-export-routines): Add svc_run.
37389         (routines): Remove svc_run.
37390         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37391         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37392         * sunrpc/svc_run.c (svc_run): Likewise.
37393         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37395 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37397         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37398         problem in reallocation in last patch.
37400 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37402         * sunrpc/Makefile: Move inclusion of Rules.
37404 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37406         * nss/nss_files/files-initgroups.c: New file.
37407         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37408         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37409         _nss_files_initgroups_dyn.
37411 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37413         * elf/elf.h (R_ARM_IRELATIVE): Define.
37415 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37417         * po/ru.po: Update from translation team.
37419 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37421         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37422         dependencies.
37424 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37426         [BZ #12653]
37427         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37428         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37429         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37430         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37431         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37433 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37435         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37436         differing bytes.
37437         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37438         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37439         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37441 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37443         [BZ #12420]
37444         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37445         storing it.
37446         * stdlib/bug-getcontext.c: New file.
37447         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37449 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37451         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37452         instructions into .machine "z9-109".
37453         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37454         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37456 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37458         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37459         between environment variables and auxiliary vector.
37461 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37463         * Makefile: Add rules to build linkobj/libc.so.
37464         * include/libc-symbols.h: Define libc_hidden_nolink.
37465         * include/rpc/auth.h: Mark functions which are to be hidden.
37466         * include/rpc/auth_des.h: Likewise.
37467         * include/rpc/auth_unix.h: Likewise.
37468         * include/rpc/clnt.h: Likewise.
37469         * include/rpc/des_crypt.h: Likewise.
37470         * include/rpc/key_prot.h: Likewise.
37471         * include/rpc/pmap_clnt.h: Likewise.
37472         * include/rpc/pmap_prot.h: Likewise.
37473         * include/rpc/pmap_rmt.h: Likewise.
37474         * include/rpc/rpc_msg.h: Likewise.
37475         * include/rpc/svc.h: Likewise.
37476         * include/rpc/svc_auth.h: Likewise.
37477         * include/rpc/xdr.h: Likewise.
37478         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37479         * nss/Makefile: Likewise.
37480         * sunrpc/Makefile: Don't install headers.  Build library with normal
37481         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37482         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37483         for the compat linking library.  Remove use of INTDEF/INTUSE.
37484         * sunrpc/auth_none.c: Likewise.
37485         * sunrpc/auth_unix.c: Likewise.
37486         * sunrpc/authdes_prot.c: Likewise.
37487         * sunrpc/authuxprot.c: Likewise.
37488         * sunrpc/clnt_gen.c: Likewise.
37489         * sunrpc/clnt_perr.c: Likewise.
37490         * sunrpc/clnt_raw.c: Likewise.
37491         * sunrpc/clnt_simp.c: Likewise.
37492         * sunrpc/clnt_tcp.c: Likewise.
37493         * sunrpc/clnt_udp.c: Likewise.
37494         * sunrpc/clnt_unix.c: Likewise.
37495         * sunrpc/des_crypt.c: Likewise.
37496         * sunrpc/des_soft.c: Likewise.
37497         * sunrpc/get_myaddr.c: Likewise.
37498         * sunrpc/key_call.c: Likewise.
37499         * sunrpc/key_prot.c: Likewise.
37500         * sunrpc/netname.c: Likewise.
37501         * sunrpc/pm_getmaps.c: Likewise.
37502         * sunrpc/pm_getport.c: Likewise.
37503         * sunrpc/pmap_clnt.c: Likewise.
37504         * sunrpc/pmap_prot.c: Likewise.
37505         * sunrpc/pmap_prot2.c: Likewise.
37506         * sunrpc/pmap_rmt.c: Likewise.
37507         * sunrpc/publickey.c: Likewise.
37508         * sunrpc/rpc_cmsg.c: Likewise.
37509         * sunrpc/rpc_common.c: Likewise.
37510         * sunrpc/rpc_dtable.c: Likewise.
37511         * sunrpc/rpc_prot.c: Likewise.
37512         * sunrpc/rpc_thread.c: Likewise.
37513         * sunrpc/rtime.c: Likewise.
37514         * sunrpc/svc.c: Likewise.
37515         * sunrpc/svc_auth.c: Likewise.
37516         * sunrpc/svc_authux.c: Likewise.
37517         * sunrpc/svc_raw.c: Likewise.
37518         * sunrpc/svc_run.c: Likewise.
37519         * sunrpc/svc_simple.c: Likewise.
37520         * sunrpc/svc_tcp.c: Likewise.
37521         * sunrpc/svc_udp.c: Likewise.
37522         * sunrpc/svc_unix.c: Likewise.
37523         * sunrpc/svcauth_des.c: Likewise.
37524         * sunrpc/xcrypt.c: Likewise.
37525         * sunrpc/xdr.c: Likewise.
37526         * sunrpc/xdr_array.c: Likewise.
37527         * sunrpc/xdr_float.c: Likewise.
37528         * sunrpc/xdr_intXX_t.c: Likewise.
37529         * sunrpc/xdr_mem.c: Likewise.
37530         * sunrpc/xdr_rec.c: Likewise.
37531         * sunrpc/xdr_ref.c: Likewise.
37532         * sunrpc/xdr_sizeof.c: Likewise.
37533         * sunrpc/xdr_stdio.c: Likewise.
37535 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37537         [BZ #12650]
37538         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37539         * sysdeps/ia64/dl-tls.h: Likewise.
37540         * sysdeps/powerpc/dl-tls.h: Likewise.
37541         * sysdeps/s390/dl-tls.h: Likewise.
37542         * sysdeps/sh/dl-tls.h: Likewise.
37543         * sysdeps/sparc/dl-tls.h: Likewise.
37544         * sysdeps/x86_64/dl-tls.h: Likewise.
37545         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37547 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37549         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37550         rpath element also skip the following colon.
37551         (expand_dynamic_string_token): Add is_path parameter and pass
37552         down to DL_DST_REQUIRED and _dl_dst_substitute.
37553         (decompose_rpath): Call expand_dynamic_string_token with
37554         non-zero is_path.  Ignore empty rpaths.
37555         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37556         with zero is_path.
37558 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37561         Make cancelable.
37563 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37565         [BZ #12655]
37566         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37567         Patch by Filipe David Manana <fdmanana@apache.org>.
37569 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37571         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37572         Maintain aligned stack.
37573         (CHECK_RSP): Remove unused macro.
37575 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37577         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37578         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37580 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37582         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37584         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37586 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37588         [BZ #12518]
37589         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37590         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37591         * sysdeps/x86_64/memmove.c: New file.
37592         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37593         (memcpy): Renamed to ...
37594         (__new_memcpy): This.
37595         (memcpy): Provide GLIBC_2_14 memcpy.
37596         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37597         (memcpy): Provide GLIBC_2_2_5 memcpy.
37599 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37601         [BZ #12631]
37602         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37604 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37606         * misc/syncfs.c: New file.
37607         * misc/Makefile (routines): Add syncfs.
37608         * posix/unistd.h: Declare syncfs.
37609         * sysdeps/unix/syscalls.list: Add syncfs.
37611 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37613         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37614         open_by_handle_at.
37615         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37616         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37617         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37618         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37620         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37621         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37623 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37625         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37626         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37627         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37628         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37629         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37630         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37631         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37633         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37634         sync_file_range.c with -fexceptions.
37635         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37636         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37637         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37638         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37639         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37640         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37641         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37642         sync_file_range as cancellation point
37643         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37644         now a wrapper around __call_sync_file_range with cancellation handling.
37645         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37646         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37647         function name to __call_sync_file_range.
37648         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37649         Add call_sync_file_range.
37651 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37654         bits/timex.h.
37656 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37658         * iconv/iconv.h: Fix typo in comment.
37659         * io/fcntl.h: Likewise.
37660         * libio/stdio.h: Likewise.
37661         * posix/spawn.h: Likewise.
37662         * posix/unistd.h: Likewise.
37663         * stdlib/stdlib.h: Likewise.
37664         * time/time.h: Likewise.
37665         * wcsmbs/wchar.h: Likewise.
37667         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37668         open_by_handle): Add.
37669         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37670         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37671         Augment a few comments.
37672         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37673         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37674         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37675         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37676         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37677         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37678         open_by_handle.
37680         * io/fcntl.h (AT_EMPTY_PATH): Define.
37682 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37684         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37685         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37686         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37687         to...
37688         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37689         * Versions.def: Add GLIBC_2.14.
37690         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37691         Export.
37693 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37695         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37696         round counter.
37697         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37699 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37701         [BZ #12597]
37702         * string/test-strncmp.c (do_page_test): New function.
37703         (check2): Likewise.
37704         (test_main): Call check2.
37705         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37707 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37709         [BZ #12587]
37710         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37711         Handle cache information in CPU leaf 4.
37712         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37714 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37716         [BZ #12583]
37717         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37718         character representation.
37719         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37721 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37723         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37724         END(__isnan) to END(__isnanf) to match function entry point/label
37725         EALIGN(__isnanf,...).
37727 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37729         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37731 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37733         [BZ #12510]
37734         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37735         copy from the symbol referenced in the relocation to initialize the
37736         used variable.
37737         Patch by Piotr Bury <pbury@goahead.com>.
37738         * elf/Makefile: Add rules to build and tst-unique3.
37739         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37740         * elf/tst-unique3.cc: New file.
37741         * elf/tst-unique3.h: New file.
37742         * elf/tst-unique3lib.cc: New file.
37743         * elf/tst-unique3lib2.cc: New file.
37745         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37747 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37749         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37750         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37751         to _start.
37753 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37755         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37756         to-be-loaded object along a path to loader is ld.so.
37758 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37759             Ulrich Drepper  <drepper@gmail.com>
37761         * sysdeps/x86_64/memset.S: After aligning destination, code
37762         branches to different locations depending on the value of
37763         misalignment, when multiarch is enabled. Fix this.
37765 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37767         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37768         Set _x86_64_preferred_memory_instruction for AMD processsors.
37769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37770         Set bit_Prefer_SSE_for_memop for AMD processors.
37772 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37774         * libio/fmemopen.c (fmemopen): Optimize a bit.
37776 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37778         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37780 2011-03-03  Roland McGrath  <roland@redhat.com>
37782         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37784 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37786         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37787         __bzero_ultra1 instead of __memset_ultra1.
37789 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37790             Ulrich Drepper  <drepper@gmail.com>
37792         [BZ #12509]
37793         * include/link.h (struct link_map): Add l_orig_initfini.
37794         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37795         returning unsuccessfully.
37796         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37797         close of a file loaded at startup, restore the original l_initfini
37798         list.
37799         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37800         list, store the pointer.
37801         * elf/Makefile ($(objpfx)noload-mem): New rule.
37802         (noload-ENV): Define.
37803         (tests): Add $(objpfx)noload-mem.
37804         * elf/noload.c: Include <memcheck.h>.
37805         (main): Call mtrace.  Close all opened handles.
37807 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37809         [BZ #12454]
37810         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37811         dependencies are missing.
37813 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37815         Fix __if_freereq crash: Unlike the generic version which uses free,
37816         Hurd needs munmap.
37817         * sysdeps/mach/hurd/ifreq.h: New file.
37819 2011-01-27  Petr Baudis  <pasky@suse.cz>
37820             Ulrich Drepper  <drepper@gmail.com>
37822         [BZ 12445]#
37823         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37824         to extend_alloca().
37825         * stdio-common/bug23.c: New file.
37826         * stdio-common/Makefile (tests): Add bug23.
37828 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37829             Ulrich Drepper  <drepper@gmail.com>
37831         [BZ #12489]
37832         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37833         before performing relro protection.  At old place add assertion
37834         to make sure nothing changed.
37836 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37837             Glauber de Oliveira Costa  <glommer@gmail.com>
37839         * elf/elf.h: Add new ARM TLS relocs.
37841 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37844         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37845         cast from r3.
37846         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37847         'tests' variable.
37848         * sysdeps/wordsize-64/tst-writev.c: New file.
37850 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37852         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37853         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37854         insns in _dl_start to prevent a TOC reference before relocs are
37855         resolved.
37857 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37859         [BZ #12469]
37860         * Makeconfig: Remove RANLIB definition.
37861         * Makerules: Don't use RANLIB.
37862         * aclocal.m4: Remove ranlib test.
37863         * configure.in: No need to check for ranlib.
37864         * elf/rtld-Rules: Don't use RANLIB.
37866 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37868         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37869         protection macro.
37870         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37871         inclusion protection macro.
37873         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37874         SIGRTMIN and SIGRTMAX and print information in that case only when
37875         SIGRTMIN is defined.
37877 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37879         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37880         arginfo fn returning -1.
37882         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37883         and thousands string is zero terminated.
37885 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37888         sysdeps/unix/sysv/linux/bits/socket.h.
37890 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37892         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37893         (__CPU_COUNT): Remove old macros.
37894         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37895         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37896         (__CPU_ALLOC, __CPU_FREE): Add macros.
37897         (__sched_cpualloc, __sched_cpufree): Add declarations.
37899 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37901         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37902         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37903         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37904         (readdhstai): Return value of addhstaiX call.
37905         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37906         (addgrbyX): Return value returned by cache_addgr.
37907         (readdgrbyname): Return value returned by addgrbyX.
37908         (readdgrbygid): Likewise.
37909         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37910         (addpwbyX): Return value returned by cache_addpw.
37911         (readdpwbyname): Return value returned by addhstbyX.
37912         (readdpwbyuid): Likewise.
37913         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37914         (addservbyX): Return value returned by cache_addserv.
37915         (readdservbyname): Return value returned by addservbyX:
37916         (readdservbyport): Likewise.
37917         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37918         (addhstbyX): Return value returned by cache_addhst.
37919         (readdhstbyname): Return value returned by addhstbyX.
37920         (readdhstbyaddr): Likewise.
37921         (readdhstbynamev6): Likewise.
37922         (readdhstbyaddrv6): Likewise.
37923         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37924         (readdinitgroups): Return value returned by addinitgroupsX.
37925         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37926         (prune_cache): Keep track of timeout value of re-added entries.
37927         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37928         * nscd/nscd.h: Adjust prototypes of readd* functions.
37930 2011-02-04  Roland McGrath  <roland@redhat.com>
37932         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37933         (nis_stats): Likewise.
37934         * nis/nis_modify.c (nis_modify): Likewise.
37935         * nis/nis_remove.c (nis_remove): Likewise.
37936         * nis/nis_add.c (nis_add): Likewise.
37938         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37940         * posix/fnmatch_loop.c: Add some consts.
37942         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37944 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37946         [BZ #12460]
37947         * config.make.in (config-cflags-novzeroupper): Define.
37948         * configure.in: Substitute libc_cv_cc_novzeroupper.
37949         * elf/Makefile (AVX-CFLAGS): Define.
37950         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37951         (CFLAGS-tst-auditmod4a.c): Likewise.
37952         (CFLAGS-tst-auditmod4b.c): Likewise.
37953         (CFLAGS-tst-auditmod6b.c): Likewise.
37954         (CFLAGS-tst-auditmod6c.c): Likewise.
37955         (CFLAGS-tst-auditmod7b.c): Likewise.
37956         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37958 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37960         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37961         function to the callback.
37962         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37964 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37966         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37967         of errno.
37969 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37971         [BZ #11724]
37972         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37973         of constructors.
37974         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37975         of destructors.
37976         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37978         [BZ #11724]
37979         * elf/Makefile: Add rules to build and run new test.
37980         * elf/tst-initorder.c: New file.
37981         * elf/tst-initorder.exp: New file.
37982         * elf/tst-initordera1.c: New file.
37983         * elf/tst-initordera2.c: New file.
37984         * elf/tst-initordera3.c: New file.
37985         * elf/tst-initordera4.c: New file.
37986         * elf/tst-initorderb1.c: New file.
37987         * elf/tst-initorderb2.c: New file.
37988         * elf/tst-order-a1.c: New file.
37989         * elf/tst-order-a2.c: New file.
37990         * elf/tst-order-a3.c: New file.
37991         * elf/tst-order-a4.c: New file.
37992         * elf/tst-order-b1.c: New file.
37993         * elf/tst-order-b2.c: New file.
37994         * elf/tst-order-main.c: New file.
37995         New test case by George Gensure <werkt0@gmail.com>.
37997 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38000         decoding ACE if AI_CANONIDN.
38002 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
38004         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38006 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
38008         * version.h (RELEASE): Bump for 2.13 release.
38009         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38011         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38013         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38014         MADV_NOHUGEPAGE.
38015         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38016         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38017         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38018         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38019         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38020         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38022         * posix/getconf.c: Update copyright year.
38023         * catgets/gencat.c: Likewise.
38024         * csu/version.c: Likewise.
38025         * debug/catchsegv.sh: Likewise.
38026         * debug/xtrace.sh: Likewise.
38027         * elf/ldconfig.c: Likewise.
38028         * elf/ldd.bash.in: Likewise.
38029         * elf/sprof.c (print_version): Likewise.
38030         * iconv/iconv_prog.c: Likewise.
38031         * iconv/iconvconfig.c: Likewise.
38032         * locale/programs/locale.c: Likewise.
38033         * locale/programs/localedef.c: Likewise.
38034         * malloc/memusage.sh: Likewise.
38035         * malloc/mtrace.pl: Likewise.
38036         * nscd/nscd.c (print_version): Likewise.
38037         * nss/getent.c: Likewise.
38039         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38040         PF_CAIF, and PF_ALG.
38041         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38043 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
38045         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38046         (modules-names): Use them.
38047         (ifunc-test-modules, ifunc-pie-tests): Define.
38048         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38049         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38050         (test-extras): Likewise.
38051         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38052         $(compile-command.c).
38053         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38054         (all-built-dso): Define.
38055         (check-textrel.out, check-execstack.out): Depend on it.
38057         * configure.in: Don't override --enable-multi-arch.
38059 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
38061         [BZ #6812]
38062         * nscd/hstcache.c (tryagain): Define.
38063         (cache_addhst): Return tryagain not notfound for temporary errors.
38064         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38065         failed.
38067 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
38069         [BZ #10563]
38070         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38071         to make the syscall.
38072         * sysdeps/unix/sysv/linux/setgroups.c: New file.
38074         [BZ #12378]
38075         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38076         and fall back to matching as normal character if the string ends before
38077         the matching ']' is found.  This is what POSIX requires.
38078         * posix/testfnm.c: Adjust test result.
38079         * posix/globtest.sh: Adjust test result.  Add new test.
38080         * posix/tst-fnmatch.input: Likewise.
38081         * posix/tst-fnmatch2.c: Add new test.
38083 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
38085         * elf/Makefile (check-execstack): Revert last change.  Depend on
38086         check-execstack.h.
38087         (check-execstack.h): New target.
38088         (generated): Add check-execstack.h.
38089         * elf/check-execstack.c: Include "check-execstack.h".
38090         (main): Revert last change.
38091         (handle_file): Return zero if GNU_STACK is absent and
38092         DEFAULT_STACK_PERMS doesn't include PF_X.
38094 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
38096         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38097         in child fails because the descriptor is already closed.
38098         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38099         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38100         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38102         [BZ #12397]
38103         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38104         syscall.
38106         [BZ #10484]
38107         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38108         temporary buffer used to handle multi lookups locally.
38109         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38111 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38113         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38114         loader is ld.so.
38116 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38118         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38119         alignment for SSE2.
38121 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38123         [BZ #12394]
38124         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38125         characters.  When rounding increased number of integer digits recompute
38126         number of groups.
38127         * stdio-common/tst-grouping.c: New file.
38128         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38130 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38132         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38133         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38135         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38136         void.
38137         * bits/select.h: Likewise.
38139 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38141         * po/ja.po: Update from translation team.
38143 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38145         [BZ #11155]
38146         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38147         implementation just like for lxstat, fxstatat, et al.
38149 2010-12-27  Jim Meyering  <meyering@redhat.com>
38151         [BZ #12348]
38152         * posix/regexec.c (build_trtable): Return failure indication upon
38153         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38155 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38157         [BZ #12201]
38158         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38159         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38160         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38161         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38163         [BZ #12207]
38164         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38166         [BZ #12204]
38167         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38168         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38170 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38172         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38173         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38174         script has SORT_BY_INIT_PRIORITY.
38175         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38176         NO_CTORS_DTORS_SECTIONS is defined.
38177         * elf/soinit.c: Likewise.
38178         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38179         NO_CTORS_DTORS_SECTIONS is defined.
38180         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38181         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38182         * sysdeps/sh/init-first.c: Likewise.
38183         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38185 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38187         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38188         always use the slow path.
38190 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38192         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38193         similar rule which adds the sysdep directories to the header search in
38194         order to pick up the correct platform stackinfo.h.
38195         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38196         perform test if it is, otherwise return successfully without testing.
38197         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38198         DEFAULT_STACK_PERMS define in stackinfo.h.
38199         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38200         defined in stackinfo.h.
38201         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38202         DEFAULT_STACK_PERMS defined in stackinfo.h.
38203         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38204         * sysdeps/ia64/stackinfo.h: Likewise.
38205         * sysdeps/s390/stackinfo.h: Likewise.
38206         * sysdeps/sh/stackinfo.h: Likewise.
38207         * sysdeps/sparc/stackinfo.h: Likewise.
38208         * sysdeps/x86_64/stackinfo.h: Likewise.
38209         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38210         PF_X for powerpc64.  Retain PF_X for powerpc32.
38212 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38214         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38215         accurately.
38216         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38217         GETDENTS_64BIT_ALIGNED.
38219 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38221         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38223 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38225         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38226         _GNU_SOURCE.
38228         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38229         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38230         Remove __restrict.
38231         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38232         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38234 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38236         [BZ #11655]
38237         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38238         are initialized.
38240 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38242         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38244 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38246         * po/it.po: Update from translation team.
38248 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38251         unused codes.
38253 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38255         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38257 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38259         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38260         specially.
38261         (gaih_getanswer_slice): Likewise.
38263 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38267 2010-05-31  Petr Baudis  <pasky@suse.cz>
38269         [BZ #11149]
38270         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38271         silently even in the chroot mode.
38273 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38275         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38276         last patch a bit.  Pretty printing
38278 2010-05-31  Petr Baudis <pasky@suse.cz>
38280         [BZ #10085]
38281         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38282         initialization of skip_initgroups_dyn.
38284 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38286         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38287         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38289 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38291         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38293 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38295         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38296         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38297         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38298         ($(objpfx)tst-fnmatch-mem): New rule.
38299         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38300         * posix/tst-fnmatch.c (main): Call mtrace.
38302 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38305         Support Intel processor model 6 and model 0x2c.
38307 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38309         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38310           signed comparison.
38312 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38314         [BZ #12205]
38315         * string/test-strncasecmp.c (check_result): New function.
38316         (do_one_test): Use it.
38317         (check1): New function.
38318         (test_main): Use it.
38319         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38320         Support strcasecmp and strncasecmp.
38322 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38324         [BZ #12194]
38325         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38326         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38328 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38330         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38331         IFUNC support.
38332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38333         memset-x86-64.
38334         * sysdeps/x86_64/multiarch/bzero.S: New file.
38335         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38336         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38337         * sysdeps/x86_64/multiarch/memset.S: New file.
38338         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38340         Set bit_Prefer_SSE_for_memop for Intel processors.
38341         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38342         Define.
38343         (index_Prefer_SSE_for_memop): Define.
38344         (HAS_PREFER_SSE_FOR_MEMOP): Define.
38346 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
38348         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38349         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38351 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
38353         [BZ #12191]
38354         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38355         (__x86_64_raw_data_cache_size_half): Likewise.
38356         (__x86_64_raw_shared_cache_size): Likewise.
38357         (__x86_64_raw_shared_cache_size_half): Likewise.
38359         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38360         (__x86_64_raw_data_cache_size_half): Likewise.
38361         (__x86_64_raw_shared_cache_size): Likewise.
38362         (__x86_64_raw_shared_cache_size_half): Likewise.
38363         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38364         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38365         and __x86_64_raw_shared_cache_size_half.  Round
38366         __x86_64_data_cache_size_half, __x86_64_data_cache_size
38367         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38368         to multiple of 256 bytes.
38370 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
38372         [BZ #12167]
38373         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38374         of inacessible symlinks.  Verify result of symlink before returning it.
38375         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38376         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38378 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38380         * math/math.h (isinf): Fix typo in comment.
38382 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38384         * po/da.po: Update from translation team.
38386 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38388         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38389         is added to the list.
38391 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38392             Ulrich Drepper  <drepper@gmail.com>
38394         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38395         the global list here.  Move code to...
38396         (_dl_add_to_namespace_list): ...here.  New function.
38397         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38398         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38399         * elf/dl-load.c (lose): Don't remove the element from the list.
38400         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38401         (_dl_map_object): Likewise.
38403 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38405         [BZ #12159]
38406         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38407         into all bytes of SSE register.
38408         Patch by Richard Li <richardpku@gmail.com>.
38410 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38412         [BZ #12140]
38413         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38414         perturbing.
38416 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38418         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38419         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38420         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38421         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38423         submachine.
38424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38426 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38428         * include/dlfcn.h (__RTLD_SECURE): Define.
38429         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38430         mode & __RTLD_SECURE instead.
38431         (open_path): Rename preloaded parameter to secure.
38432         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38433         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38434         * elf/dl-deps.c (openaux): Likewise.
38435         * elf/rtld.c (struct map_args): Remove is_preloaded.
38436         (map_doit): Don't use it.
38437         (dl_main): Likewise.
38438         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38439         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38441 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38443         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38444         (sysd-rules-targets): Remove duplicates.
38445         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38446         rtld-%.$o dependency.
38448 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38450         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38451         _dl_map_object do it.
38453 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38455         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38456         fast fma builtins, define the macros in the C99 standard.
38457         (FP_FAST_FMAF): Likewise.
38458         (FP_FAST_FMAL): Likewise.
38459         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38461         * bits/mathdef.h: Update copyright year.
38462         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38464 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38466         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38467         builtins, define the macros in the C99 standard.
38468         (FP_FAST_FMAF): Likewise.
38469         (FP_FAST_FMAL): Likewise.
38470         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38471         multiply/add.
38472         (FP_FAST_FMAF): Likewise.
38474 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38476         [BZ #3268]
38477         * math/libm-test.inc (fma_test): Some new testcases.
38478         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38479         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38480         y and infinite z.  Do multiplication by C already in long double.
38481         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38483         y and infinite z.  Do bitwise or of inexact bit into u.d.
38484         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38485         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38486         * sysdeps/i386/fpu/s_fma.S: Removed.
38487         * sysdeps/i386/fpu/s_fmal.S: Removed.
38489 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38491         [BZ #3268]
38492         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38493         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38494         computation is not scheduled after fetestexcept.  Fix value
38495         of minimum denormal long double.
38497 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38499         [BZ #3268]
38500         * math/libm-test.inc (fma_test): Add some more tests.
38501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38502         correctly.
38504 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38506         * scripts/data/localplt-s390-linux-gnu.data: New file.
38507         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38509 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38511         [BZ #3268]
38512         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38513         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38514         instead of dbl-64.
38515         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38516         inlines.
38517         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38518         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38519         if one of x and y is very large and the other is subnormal.
38520         * sysdeps/s390/fpu/s_fmaf.c: New file.
38521         * sysdeps/s390/fpu/s_fma.c: New file.
38522         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38523         * sysdeps/powerpc/fpu/s_fma.S: New file.
38524         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38525         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38526         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38528 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38530         [BZ #3268]
38531         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38532         fma tests.
38533         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38534         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38535         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38536         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38537         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38538         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38539         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38541 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38543         [BZ #12078]
38544         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38545         * posix/bug-regex31.input: Add test case.
38547 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38549         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38550         * posix/bug-regex31.input: New file.
38552         [BZ #12078]
38553         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38554         (parse_sub_exp): Fix last change, use postorder.
38556         * posix/bug-regex31.c: New file.
38557         * posix/Makefile: Add rules to build and run bug-regex31.
38559         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38561         [BZ #12078]
38562         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38564         [BZ #12108]
38565         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38566         to have entries in sys_siglist.
38568         [BZ #12093]
38569         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38570         be NULL.
38572 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38574         [BZ #3268]
38575         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38576         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38577         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38578         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38579         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38580         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38581         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38582         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38583         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38584         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38585         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38586         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38587         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38588         * math/ftestexcept.c (fetestexcept): Likewise.
38589         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38590         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38591         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38592         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38593         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38594         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38595         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38597 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38599         [BZ #12107]
38600         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38601         newline.
38603 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38605         * string/bug-strstr1.c: New file.
38606         * string/Makefile: Add rules to build and run bug-strstr1.
38608 2010-10-05  Eric Blake  <eblake@redhat.com>
38610         [BZ #12092]
38611         * string/str-two-way.h (two_way_long_needle): Always clear memory
38612         when skipping input due to the shift table.
38614 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38616         [BZ #12005]
38617         * malloc/mcheck.c: Handle large requests.
38619         [BZ #12077]
38620         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38621         for strncmp and strncasecmp.
38622         * string/stratcliff.c: Add tests for strcmp and strncmp.
38623         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38625 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38627         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38628         __set_fpscr.
38630 2010-09-30  Andreas Jaeger  <aj@suse.de>
38632         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38633         (CGROUP_SUPER_MAGIC): Define.
38634         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38635         Handle btrfs and cgroup file systems.
38636         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38637         Likewise.
38639 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38641         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38642         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38644 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38646         [BZ #12067]
38647         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38648         trying to locate the ELF header.
38650 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38652         [BZ #11611]
38653         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38654         Mask out sign-bit copies when constructing f_fsid.
38656 2010-09-24  Petr Baudis <pasky@suse.cz>
38658         * debug/stack_chk_fail_local.c: Add missing licence exception.
38659         * debug/warning-nop.c: Likewise.
38661 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38663         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38664         implementing getdents64 using getdents syscall, set d_type if
38665         __ASSUME_GETDENTS32_D_TYPE.
38667 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38669         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38670         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38672 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38674         [BZ #12037]
38675         * posix/unistd.h: Undo change of feature selection for ftruncate from
38676         2010-01-11.
38678 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38680         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38681         detection.
38683 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38685         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38686         fanotify_mark.
38687         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38689 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38691         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38692         variables after CHECK_SP call.
38693         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38695 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38696             Ulrich Drepper  <drepper@redhat.com>
38698         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38699         re-relocationg ld.so.
38700         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38701         _dl_init_paths call.
38702         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38703         here anymore.
38705 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38707         * resolv/res_init.c (__res_vinit): Count the default server we added.
38709 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38710             Ulrich Drepper  <drepper@redhat.com>
38712         [BZ #11968]
38713         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38714         (____longjmp_chk): Use %ebx for saving value across system call.
38715         Add unwind info.
38717 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38719         * manual/Makefile: Don't mix pattern rules with normal rules.
38721 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38723         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38724         operation.
38725         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38726         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38727         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38728         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38729         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38730         Likewise.
38732 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38734         [BZ #11979]
38735         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38736         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38738 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38740         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38741         * sysdeps/x86_64/addmul_1.S: Likewise.
38742         * sysdeps/x86_64/lshift.S: Likewise.
38743         * sysdeps/x86_64/mul_1.S: Likewise.
38744         * sysdeps/x86_64/rshift.S: Likewise.
38745         * sysdeps/x86_64/sub_n.S: Likewise.
38746         * sysdeps/x86_64/submul_1.S: Likewise.
38748 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38750         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38751         Define __sched_param instead of SCHED_* and sched_param when
38752         <bits/sched.h> is included with __need_schedparam defined.
38753         * bits/sched.h [__need_schedparam]
38754         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38755         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38756         (__defined_schedparam): Define to 1.
38757         (__sched_param): New structure, identical to sched_param.
38758         (__need_schedparam): Undefine.
38760 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38762         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38763         (epoll_create1): Declare.
38765         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38767 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38769         [BZ #7066]
38770         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38771         shifting retval into place.
38773 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38775         * nis/rpcsvc/nis.h: Update copyright notice.
38776         * nis/rpcsvc/nis.x: Likewise.
38777         * nis/rpcsvc/nis_callback.h: Likewise.
38778         * nis/rpcsvc/nis_callback.x: Likewise.
38779         * nis/rpcsvc/nis_object.x: Likewise.
38780         * nis/rpcsvc/nis_tags.h: Likewise.
38781         * nis/rpcsvc/yp.h: Likewise.
38782         * nis/rpcsvc/yp.x: Likewise.
38783         * nis/rpcsvc/ypupd.h: Likewise.
38784         * nis/yp_xdr.c: Likewise.
38785         * nis/ypupdate_xdr.c: Likewise.
38787         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38788         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38789         (pmap_getport): Use __libc_rpc_getport.
38790         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38791         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38792         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38794 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38797         fanotify_mark.
38799 2010-08-27  Roland McGrath  <roland@redhat.com>
38801         * sysdeps/i386/i686/multiarch/Makefile
38802         (CFLAGS-varshift.c): New variable.
38804 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38806         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38807         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38809         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38811         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38813 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38815         * sysdeps/x86_64/strlen.S: Unroll the loop.
38816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38817         strlen-sse2 strlen-sse2-bsf.
38818         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38819         __strlen_no_bsf if bit_Slow_BSF is set.
38820         (__strlen_sse42): Removed.
38821         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38822         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38824 2010-08-25  Roland McGrath  <roland@redhat.com>
38826         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38827         * sysdeps/x86_64/multiarch/varshift.c: New file.
38828         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38829         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38830         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38831         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38833 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38835         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38836         strlen-sse2 strlen-sse2-bsf.
38837         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38838         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38839         (__strlen_sse2): Removed.
38840         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38841         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38843         bit_Slow_BSF for Atom.
38844         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38845         (index_Slow_BSF): Define.
38846         (HAS_SLOW_BSF): Define.
38848 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38850         [BZ #10851]
38851         * resolv/res_init.c (__res_vinit): When no server address at all
38852         is given default to loopback.
38854 2010-08-24  Roland McGrath  <roland@redhat.com>
38856         * configure.in: Remove config-name.h generation.
38857         * configure: Regenerated.
38858         * config-name.in: File removed.
38859         * scripts/config-uname.sh: New file.
38860         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38861         ($(objdir)config-name.h): New target.
38863         * sunrpc/rpc_parse.h: Avoid nested comment.
38865 2010-08-24  Richard Henderson  <rth@redhat.com>
38866             Ulrich Drepper  <drepper@redhat.com>
38867             H.J. Lu  <hongjiu.lu@intel.com>
38869         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38871         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38872         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38873         _mm_alignr_epi8 with _mm_loadu_si128.
38874         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38875         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38876         (__m128i_shift_right): Removed.
38877         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38878         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38879         * sysdeps/x86_64/multiarch/varshift.h: New file.
38880         * sysdeps/x86_64/multiarch/varshift.S: New file.
38882 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38884         * configure.in: Move assembler checks to before sysdep dir checking.
38886 2010-08-20  Petr Baudis  <pasky@suse.cz>
38888         * LICENSES: Sync the sunrpc license.
38890 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38892         * sunrpc/auth_des.c: Update copyright notice once again.
38893         * sunrpc/auth_none.c: Likewise.
38894         * sunrpc/auth_unix.c: Likewise.
38895         * sunrpc/authdes_prot.c: Likewise.
38896         * sunrpc/authuxprot.c: Likewise.
38897         * sunrpc/bindrsvprt.c: Likewise.
38898         * sunrpc/clnt_gen.c: Likewise.
38899         * sunrpc/clnt_perr.c: Likewise.
38900         * sunrpc/clnt_raw.c: Likewise.
38901         * sunrpc/clnt_simp.c: Likewise.
38902         * sunrpc/clnt_tcp.c: Likewise.
38903         * sunrpc/clnt_udp.c: Likewise.
38904         * sunrpc/clnt_unix.c: Likewise.
38905         * sunrpc/des_crypt.c: Likewise.
38906         * sunrpc/des_soft.c: Likewise.
38907         * sunrpc/get_myaddr.c: Likewise.
38908         * sunrpc/getrpcport.c: Likewise.
38909         * sunrpc/key_call.c: Likewise.
38910         * sunrpc/key_prot.c: Likewise.
38911         * sunrpc/openchild.c: Likewise.
38912         * sunrpc/pm_getmaps.c: Likewise.
38913         * sunrpc/pm_getport.c: Likewise.
38914         * sunrpc/pmap_clnt.c: Likewise.
38915         * sunrpc/pmap_prot.c: Likewise.
38916         * sunrpc/pmap_prot2.c: Likewise.
38917         * sunrpc/pmap_rmt.c: Likewise.
38918         * sunrpc/rpc/auth.h: Likewise.
38919         * sunrpc/rpc/auth_unix.h: Likewise.
38920         * sunrpc/rpc/clnt.h: Likewise.
38921         * sunrpc/rpc/des_crypt.h: Likewise.
38922         * sunrpc/rpc/key_prot.h: Likewise.
38923         * sunrpc/rpc/netdb.h: Likewise.
38924         * sunrpc/rpc/pmap_clnt.h: Likewise.
38925         * sunrpc/rpc/pmap_prot.h: Likewise.
38926         * sunrpc/rpc/pmap_rmt.h: Likewise.
38927         * sunrpc/rpc/rpc.h: Likewise.
38928         * sunrpc/rpc/rpc_des.h: Likewise.
38929         * sunrpc/rpc/rpc_msg.h: Likewise.
38930         * sunrpc/rpc/svc.h: Likewise.
38931         * sunrpc/rpc/svc_auth.h: Likewise.
38932         * sunrpc/rpc/types.h: Likewise.
38933         * sunrpc/rpc/xdr.h: Likewise.
38934         * sunrpc/rpc_clntout.c: Likewise.
38935         * sunrpc/rpc_cmsg.c: Likewise.
38936         * sunrpc/rpc_common.c: Likewise.
38937         * sunrpc/rpc_cout.c: Likewise.
38938         * sunrpc/rpc_dtable.c: Likewise.
38939         * sunrpc/rpc_hout.c: Likewise.
38940         * sunrpc/rpc_main.c: Likewise.
38941         * sunrpc/rpc_parse.c: Likewise.
38942         * sunrpc/rpc_parse.h: Likewise.
38943         * sunrpc/rpc_prot.c: Likewise.
38944         * sunrpc/rpc_sample.c: Likewise.
38945         * sunrpc/rpc_scan.c: Likewise.
38946         * sunrpc/rpc_scan.h: Likewise.
38947         * sunrpc/rpc_svcout.c: Likewise.
38948         * sunrpc/rpc_tblout.c: Likewise.
38949         * sunrpc/rpc_util.c: Likewise.
38950         * sunrpc/rpc_util.h: Likewise.
38951         * sunrpc/rpcinfo.c: Likewise.
38952         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38953         * sunrpc/rpcsvc/key_prot.x: Likewise.
38954         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38955         * sunrpc/rpcsvc/mount.x: Likewise.
38956         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38957         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38958         * sunrpc/rpcsvc/rex.x: Likewise.
38959         * sunrpc/rpcsvc/rstat.x: Likewise.
38960         * sunrpc/rpcsvc/rusers.x: Likewise.
38961         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38962         * sunrpc/rpcsvc/spray.x: Likewise.
38963         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38964         * sunrpc/rtime.c: Likewise.
38965         * sunrpc/svc.c: Likewise.
38966         * sunrpc/svc_auth.c: Likewise.
38967         * sunrpc/svc_authux.c: Likewise.
38968         * sunrpc/svc_raw.c: Likewise.
38969         * sunrpc/svc_run.c: Likewise.
38970         * sunrpc/svc_simple.c: Likewise.
38971         * sunrpc/svc_tcp.c: Likewise.
38972         * sunrpc/svc_udp.c: Likewise.
38973         * sunrpc/svc_unix.c: Likewise.
38974         * sunrpc/svcauth_des.c: Likewise.
38975         * sunrpc/xcrypt.c: Likewise.
38976         * sunrpc/xdr.c: Likewise.
38977         * sunrpc/xdr_array.c: Likewise.
38978         * sunrpc/xdr_float.c: Likewise.
38979         * sunrpc/xdr_mem.c: Likewise.
38980         * sunrpc/xdr_rec.c: Likewise.
38981         * sunrpc/xdr_ref.c: Likewise.
38982         * sunrpc/xdr_sizeof.c: Likewise.
38983         * sunrpc/xdr_stdio.c: Likewise.
38985         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38986         handling.
38988 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38990         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38992 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38994         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38995         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38996         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38997         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38998         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38999         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39000         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39001         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39002         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39003         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39004         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39005         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39006         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39007         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39009 2010-07-26  Anton Blanchard  <anton@samba.org>
39011         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39012         * malloc/arena.c (heap_trim): Likewise.
39014 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
39016         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39017         here.  Not...
39018         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39019         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39021 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39023         * sysdeps/i386/elf/Makefile: New file.
39025 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39027         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39028         from fanotify_init.
39029         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39030         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39032 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
39034         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39035         of strncasecmp_l.
39036         * sysdeps/multiarch/strcmp.S: Likewise.
39038 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
39040         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39041         strncase_l-nonascii.
39042         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39043         Add strncase_l-ssse3.
39044         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39045         * sysdeps/x86_64/strcmp.S: Likewise.
39046         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39047         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39048         * sysdeps/x86_64/strncase.S: New file.
39049         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39050         * sysdeps/x86_64/strncase_l.S: New file.
39051         * string/Makefile (strop-tests): Add strncasecmp.
39052         * string/test-strncasecmp.c: New file.
39054         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39055         warning.
39057         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39058         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39060 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39062         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39064 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
39066         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39067         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39068         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39070 2010-05-01  Alan Modra  <amodra@gmail.com>
39072         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39073         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39074         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39075         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39076         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39077         tidying.  Don't tail-call __sigjmp_save for static lib.
39078         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39079         save location.
39080         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39081         (CALL_MCOUNT): Add eh info, and nop after bl.
39082         (TAIL_CALL_SYSCALL_ERROR): New macro.
39083         (PSEUDO_RET): Use it.
39084         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39085         Correct save location of integer regs and cr.
39086         (_dl_profile_resolve): Correct cr save location.  Delete nops
39087         after bl when SHARED.  Reduce cfi size a little by better
39088         placement of cfi directives.
39089         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39090         make a stack frame.  Instead use parm save area as a temp.
39091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39092         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
39093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39094         Don't make a stack frame for parent, use parm save area.
39095         Increase child stack frame to 112 bytes.  Don't save unused reg,
39096         and adjust reg usage.  Set up cfi on error recovery and
39097         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39099         (__makecontext): Add dummy nop after jump to exit.
39100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39101         Use correct parm save area and cr save, reduce stack frame.
39102         Correct cfi for possible PSEUDO_RET frame setup.
39103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39104         Branch to local label emitted by PSEUDO_RET rather than
39105         __syscall_error.
39107 2010-08-12  Andreas Schwab  <schwab@redhat.com>
39109         [BZ #11904]
39110         * locale/programs/locale.c (print_assignment): New function.
39111         (show_locale_vars): Use it.
39113 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39115         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39116         field.
39117         (struct statfs64): Likewise.
39118         (_STATFS_F_FLAGS): Define.
39119         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39120         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39121         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39122         (ST_VALID): Define locally.
39123         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39124         __statvfs_getflags, use the provided value.
39125         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39126         __ASSUME_STATFS_F_FLAGS.
39128         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39130         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39131         Add sys/fanotify.h.
39132         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39133         fanotify_mask for GLIBC_2.13.
39134         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39135         fanotify_init and fanotify_mark.
39136         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39137         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39139         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39140         Add prlimit.
39141         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39142         prlimit64 for GLIBC_2.13.
39143         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39144         prlimit64.
39145         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39146         syscall.
39147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39148         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39149         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39150         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39151         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39152         add prlimit alias.
39153         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39155         [BZ #11903]
39156         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39157         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39159         * nss/Makefile: Add rules to build and run tst-nss-test1.
39160         * shlib-versions: Add entry for libnss_test1.
39161         * nss/nss_test1.c: New file.
39162         * nss/tst-nss-test1.c: New file.
39164         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39165         (__nss_configure_lookup): Set appropriate entry in
39166         __nss_configure_lookup to true.
39167         * nss/nsswitch.h: Define enum with indeces of databases in
39168         databases and __nss_database_custom arrays.  Declare
39169         __nss_database_custom.
39170         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39171         to avoid using nscd when custom rules are installed.
39172         * nss/getXXbyYY_r.c: Likewise.
39173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39175         * nss/nss_files/files-parse.c: Whitespace fixes.
39177 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39179         [BZ #11883]
39180         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39181         * posix/fnmatch_loop.c: Likewise.
39183 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39185         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39186         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39187         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39188         * Versions.def [GLIBC_2.13]: Add.
39190 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39192         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39193         Also fail if tpwd after pwuid call is NULL.
39195 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39197         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39198         when converting to ms.
39200 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39202         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39203         EOPNOTSUPP errors with ENOTTY.
39204         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39205         EOPNOTSUPP errors with ENOTTY.
39207 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39209         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39210         Add strcasecmp_l-ssse3.
39211         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39212         strcasecmp.
39213         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39214         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39215         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39217 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39219         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39221         * string/Makefile (strop-tests): Add strcasecmp.
39222         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39223         strcasecmp_l-nonascii.
39224         (gen-as-const-headers): Add locale-defines.sym.
39225         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39226         * sysdeps/x86_64/strcasecmp.S: New file.
39227         * sysdeps/x86_64/strcasecmp_l.S: New file.
39228         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39229         * sysdeps/x86_64/locale-defines.sym: New file.
39230         * string/test-strcasecmp.c: New file.
39232         * string/test-strcasestr.c: Test both ends of the range of characters.
39233         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39235 2010-07-29  Roland McGrath  <roland@redhat.com>
39237         [BZ #11856]
39238         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39240 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39242         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39243         for ld.so.
39245 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39247         * manual/memory.texi (Malloc Tunable Parameters): Document
39248         M_PERTURB.
39250 2010-07-26  Roland McGrath  <roland@redhat.com>
39252         [BZ #11840]
39253         * configure.in (-fgnu89-inline check): Set and substitute
39254         gnu89_inline, not libc_cv_gnu89_inline.
39255         * configure: Regenerated.
39256         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39258 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39260         * string/test-strnlen.c: New file.
39261         * string/Makefile (strop-tests): Add strnlen.
39262         * string/tester.c (test_strnlen): Add a few more test cases.
39263         * string/tst-strlen.c: Better error reporting.
39265         * sysdeps/x86_64/strnlen.S: New file.
39267 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39269         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39270         lower-latency instructions.
39272 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39274         * string/test-strcasestr.c: New file.
39275         * string/test-strstr.c: New file.
39276         * string/Makefile (strop-tests): Add strstr and strcasestr.
39277         * string/str-two-way.h: Don't undefine MAX.
39278         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39280 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39283         strcasestr-nonascii.
39284         (CFLAGS-strcasestr-nonascii.c): Define.
39285         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39286         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39287         Remove unused attribute.
39289 2010-07-20  Roland McGrath  <roland@redhat.com>
39291         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39292         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39293         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39294         like LD_HWCAP_MASK can disable hwcaps.
39296 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39298         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39300 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39302         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39303         call in strcasestr.
39304         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39305         __strcasestr_sse42_nonascii.
39306         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39307         strcasestr-nonascii.c.
39308         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39310 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39312         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39313         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39314         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39315         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39317 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39319         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39320         fcntl.
39322 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39324         [BZ #11577]
39325         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39326         dl_signal_cerror.
39328 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39330         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39331         _PC_PIPE_BUF using F_GETPIPE_SZ.
39333 2010-07-05  Roland McGrath  <roland@redhat.com>
39335         * manual/arith.texi (Rounding Functions): Fix rint description
39336         implicit in round description.
39338 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
39340         * elf/Makefile: Fix linking for a few tests to make recent linker
39341         happy.
39343 2010-06-30  Andreas Schwab  <schwab@redhat.com>
39345         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39346         $(common-objpfx)libc_nonshared.a.
39348 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
39350         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39351         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39352         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39353         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39354         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39355         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39356         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39357         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39372         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39373         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39374         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39375         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39376         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39377         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39378         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39379         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39380         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39381         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39382         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39383         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39399 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39401         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39402         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39403         * string/memmove.c (memmove): Renamed to ...
39404         (MEMMOVE): ...this.  Default to memmove.
39405         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39406         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39407         (END_CHK): Define.
39408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39409         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39410         mempcpy-ssse3-back memmove-ssse3-back.
39411         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39412         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39413         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39414         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39415         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39416         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39417         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39418         * sysdeps/x86_64/multiarch/memmove.c: New file.
39419         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39420         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39421         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39422         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39423         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39424         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39425         Define.
39426         (index_Fast_Copy_Backward): Define.
39427         (HAS_ARCH_FEATURE): Define.
39428         (HAS_FAST_REP_STRING): Define.
39429         (HAS_FAST_COPY_BACKWARD): Define.
39431 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39433         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39434         Restore proper fallback handling.
39436 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39438         [BZ #11701]
39439         * posix/group_member.c (__group_member): Correct checking loop.
39441         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39442         OOM in getpwuid_r correctly.  Return error number when the caller
39443         should return, otherwise -1.
39444         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39445         call returning > 0 value.
39446         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39448 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39450         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39451         libc_nonshared.a from targets in modules-names.
39453 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39455         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39456         requires it.
39458 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39460         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39461         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39462         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39463         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39465 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39467         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39469 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39471         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39472         and F_GETPIPE_SZ.
39473         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39474         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39477         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39478         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39480 2010-06-14  Roland McGrath  <roland@redhat.com>
39482         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39484 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39486         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39487         __REDIRECT followed by __THROW.
39488         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39489         * posix/getopt.h (getopt): Likewise.
39491 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39493         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39494         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39495         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39496         in AT_FLAGS.
39497         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39498         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39500 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39502         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39504 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39506         [BZ #11640]
39507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39508         Properly check family and model.
39510 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39512         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39514 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39516         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39518 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39520         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39521         symbol reference.
39523 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39525         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39526         symbol reference.
39528 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39530         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39531         and internal_recvmmsg.
39532         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39533         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39534         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39535         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39537         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39538         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39539         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39541 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39543         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39545 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39547         POWER7 optimizations.
39548         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39549         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39551 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39553         * version.h: Update for 2.13 development version.
39555 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39557         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39558         exceptions.  Return 0.
39560 2010-05-07  Roland McGrath  <roland@redhat.com>
39562         * elf/ldconfig.c (main): Add a const.
39564 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39566         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39567         (args_options): Add no-idn option.
39568         (ahosts_keys_int): Add idn_flags to ai_flags.
39569         (parse_option): Handle 'i' option to clear idn_flags.
39571         * malloc/malloc.c (_int_free): Possible race in the most recently
39572         added check.  Only act on the data if no current modification
39573         happened.
39575 See ChangeLog.17 for earlier changes.