soft-fp: support after-rounding tininess detection.
[glibc.git] / ChangeLog
bloba7dc4124925a668675b56c055af471cc774d6afe
1 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4         unused.
5         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7         subnormal range.
8         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10         value has largest subnormal exponent.
11         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13         * sysdeps/aarch64/soft-fp/sfp-machine.h
14         (_FP_TININESS_AFTER_ROUNDING): New macro.
15         * sysdeps/alpha/soft-fp/sfp-machine.h
16         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18         Likewise.
19         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21         * sysdeps/mips/soft-fp/sfp-machine.h
22         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23         * sysdeps/powerpc/soft-fp/sfp-machine.h
24         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26         Likewise.
27         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32         Likewise.
34 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36         [BZ #16545]
37         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38         model 1.
40 2014-02-12  Richard Henderson  <rth@redhat.com>
42         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44         * sysdeps/unix/sysv/linux/alpha: Move directory from
45         ports/sysdeps/unix/sysv/linux/alpha.
46         * README: Update listing for alpha-*-linux-gnu.
48 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50         * include/features.h: Update comment documenting feature test
51         macros.
52         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
53         _DEFAULT_SOURCE.
54         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55         (_SVID_SOURCE): Likewise.
56         (_DEFAULT_SOURCE): Update description of default features.
57         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
58         with _GNU_SOURCE.
59         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
60         (S_ISVTX): Likewise.
61         * manual/math.texi (Mathematical Constants): Likewise.
62         * manual/signal.texi (Interrupted Primitives): Likewise.
63         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
64         * math/test-matherr.c (_SVID_SOURCE): Do not define.
65         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
66         Don't refer to _SVID_SOURCE in warning text.
68         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
71         already defined.
72         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
73         * sysdeps/mips/dl-lookup.c: Remove.
74         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
76 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
78         [BZ #16447]
79         * math/auto-libm-test-in: Add testcase for expl.
80         * math/auto-libm-test-out: Regenerate.
81         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
82         calculation of unsafe.
83         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
85 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
87         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
88         * sysdeps/unix/sysv/linux/aarch64: Move directory from
89         ports/sysdeps/unix/sysv/linux/aarch64.
90         * README: Update listing for aarch64*-*-linux-gnu.
92 2014-02-11  Will Newton  <will.newton@linaro.org>
94         * manual/probes.texi (Mathematical Function Probes): Use
95         "triggered" instead of "hit".
97 2014-02-11  Will Newton  <will.newton@linaro.org>
99         * manual/probes.texi (Internal Probes): Add documentation
100         of setjmp, longjmp and longjmp_target probes.
102 2014-02-11  Will Newton  <will.newton@linaro.org>
104         * include/stap-probe.h: Add comment about probe argument
105         format.
107 2014-02-11  Will Newton  <will.newton@linaro.org>
109         * malloc/mtrace.c (attribute_hidden): Remove unused macro
110         definition.  (tr_where, tr_freehook, tr_mallochook,
111         tr_reallochook, tr_memalignhook): Use ANSI protoype.
113 2014-02-11  David S. Miller  <davem@davemloft.net>
115         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
116         processing int_tests.
118 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
120         * sysdeps/mips: Move directory from ports/sysdeps/mips.
121         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
122         * sysdeps/unix/sysv/linux/mips: Move directory from
123         ports/sysdeps/unix/sysv/linux/mips.
124         * README: Update listing for mips-*-linux-gnu and
125         mips64-*-linux-gnu.
127 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
129         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
130         * sysdeps/unix/sysv/linux/m68k: Move directory from
131         ports/sysdeps/unix/sysv/linux/m68k.
132         * README: Update listing for m68k-*-linux-gnu.
134 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
136         * sysdeps/tile: Move directory from ports/sysdeps/tile.
137         * sysdeps/unix/sysv/linux/generic: Move directory from
138         ports/sysdeps/unix/sysv/linux/generic.
139         * sysdeps/unix/sysv/linux/tile: Move directory from
140         ports/sysdeps/unix/sysv/linux/tile.
141         * README: Update listing for tile*-*-linux-gnu.
143 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
145         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
146         * benchtests/bench-memmem.c (simple_memmem): Likewise.
147         * catgets/open_catalog.c (__open_catalog): Likewise.
148         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
149         * debug/confstr_chk.c: Likewise.
150         * debug/fread_chk.c (__fread_chk): Likewise.
151         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
152         * debug/getgroups_chk.c: Likewise.
153         * debug/mbsnrtowcs_chk.c: Likewise.
154         * debug/mbsrtowcs_chk.c: Likewise.
155         * debug/mbstowcs_chk.c: Likewise.
156         * debug/memcpy_chk.c: Likewise.
157         * debug/memmove_chk.c: Likewise.
158         * debug/mempcpy_chk.c: Likewise.
159         * debug/memset_chk.c: Likewise.
160         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
161         * debug/strcat_chk.c (__strcat_chk): Likewise.
162         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
163         * debug/strncat_chk.c (__strncat_chk): Likewise.
164         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
165         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
166         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
167         * debug/wcpncpy_chk.c: Likewise.
168         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
169         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
170         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
171         * debug/wcsncpy_chk.c: Likewise.
172         * debug/wcsnrtombs_chk.c: Likewise.
173         * debug/wcsrtombs_chk.c: Likewise.
174         * debug/wcstombs_chk.c: Likewise.
175         * debug/wmemcpy_chk.c: Likewise.
176         * debug/wmemmove_chk.c: Likewise.
177         * debug/wmempcpy_chk.c: Likewise.
178         * debug/wmemset_chk.c: Likewise.
179         * dirent/scandirat.c (SCANDIRAT): Likewise.
180         * dlfcn/dladdr1.c (dladdr1): Likewise.
181         * dlfcn/dladdr.c (dladdr): Likewise.
182         * dlfcn/dlclose.c (dlclose_doit): Likewise.
183         * dlfcn/dlerror.c (__dlerror): Likewise.
184         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
185         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
186         * dlfcn/dlopen.c (dlopen_doit): Likewise.
187         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
188         * dlfcn/dlsym.c (dlsym_doit): Likewise.
189         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
190         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
191         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
192         Likewise.
193         * elf/dl-conflict.c: Likewise.
194         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
195         * elf/dl-dst.h: Likewise.
196         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
197         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
198         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
199         * elf/dl-init.c (call_init, _dl_init): Likewise.
200         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
201         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
202         _dl_map_object_from_fd, open_verify, open_path,
203         _dl_map_object): Likewise.
204         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
205         Likewise.
206         * elf/dl-minimal.c (__libc_memalign): Likewise.
207         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
208         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
209         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
210         * elf/dl-sym.c (do_sym): Likewise.
211         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
212         _dl_tls_get_addr_soft): Likewise.
213         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
214         * elf/dl-writev.h (_dl_writev): Likewise.
215         * elf/ldconfig.c (search_dir): Likewise.
216         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
217         dl_main): Likewise.
218         * elf/setup-vdso.h (setup_vdso): Likewise.
219         * grp/compat-initgroups.c (compat_call): Likewise.
220         * grp/fgetgrent.c (fgetgrent): Likewise.
221         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
222         * grp/putgrent.c (putgrent): Likewise.
223         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
224         Likewise.
225         * hurd/hurdinit.c: Likewise.
226         * iconvdata/8bit-gap.c (struct): Likewise.
227         * iconvdata/ansi_x3.110.c : Likewise.
228         * iconvdata/big5.c : Likewise.
229         * iconvdata/big5hkscs.c : Likewise.
230         * iconvdata/cp1255.c: Likewise.
231         * iconvdata/cp1258.c : Likewise.
232         * iconvdata/cp932.c : Likewise.
233         * iconvdata/euc-cn.c: Likewise.
234         * iconvdata/euc-jisx0213.c : Likewise.
235         * iconvdata/euc-jp.c: Likewise.
236         * iconvdata/euc-jp-ms.c : Likewise.
237         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
238         * iconvdata/gb18030.c : Likewise.
239         * iconvdata/gbbig5.c (const): Likewise.
240         * iconvdata/gbgbk.c: Likewise.
241         * iconvdata/gbk.c : Likewise.
242         * iconvdata/ibm1364.c : Likewise.
243         * iconvdata/ibm930.c : Likewise.
244         * iconvdata/ibm932.c: Likewise.
245         * iconvdata/ibm933.c : Likewise.
246         * iconvdata/ibm935.c : Likewise.
247         * iconvdata/ibm937.c : Likewise.
248         * iconvdata/ibm939.c : Likewise.
249         * iconvdata/ibm943.c: Likewise.
250         * iconvdata/iso_11548-1.c: Likewise.
251         * iconvdata/iso-2022-cn.c : Likewise.
252         * iconvdata/iso-2022-cn-ext.c : Likewise.
253         * iconvdata/iso-2022-jp-3.c: Likewise.
254         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
255         * iconvdata/iso-2022-kr.c : Likewise.
256         * iconvdata/iso646.c (gconv_end): Likewise.
257         * iconvdata/iso_6937-2.c : Likewise.
258         * iconvdata/iso_6937.c : Likewise.
259         * iconvdata/iso8859-1.c: Likewise.
260         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
261         * iconvdata/shift_jisx0213.c : Likewise.
262         * iconvdata/sjis.c : Likewise.
263         * iconvdata/t.61.c : Likewise.
264         * iconvdata/tcvn5712-1.c : Likewise.
265         * iconvdata/tscii.c: Likewise.
266         * iconvdata/uhc.c : Likewise.
267         * iconvdata/unicode.c (gconv_end): Likewise.
268         * iconvdata/utf-16.c (gconv_end): Likewise.
269         * iconvdata/utf-32.c (gconv_end): Likewise.
270         * iconvdata/utf-7.c (base64): Likewise.
271         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
272         * iconv/gconv_close.c (__gconv_close): Likewise.
273         * iconv/gconv_open.c (__gconv_open): Likewise.
274         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
275         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
276         internal_ucs4le_loop_single, ucs4le_internal_loop,
277         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
278         * iconv/iconv.c (iconv): Likewise.
279         * iconv/iconv_close.c: Likewise.
280         * iconv/loop.c (SINGLE): Likewise.
281         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
282         * include/atomic.h: Likewise.
283         * inet/inet6_option.c (option_alloc): Likewise.
284         * intl/bindtextdom.c (set_binding_values): Likewise.
285         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
286         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
287         * intl/localealias.c (read_alias_file): Likewise.
288         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
289         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
290         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
291         * libio/fmemopen.c (fmemopen): Likewise.
292         * libio/iofgets.c (_IO_fgets): Likewise.
293         * libio/iofgets_u.c (fgets_unlocked): Likewise.
294         * libio/iofgetws.c (fgetws): Likewise.
295         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
296         * libio/iogetdelim.c (_IO_getdelim): Likewise.
297         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
298         adjust_wide_data, _IO_wfile_seekoff): Likewise.
299         * locale/findlocale.c (_nl_find_locale): Likewise.
300         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
301         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
302         Likewise.
303         * locale/setlocale.c (setlocale): Likewise.
304         * login/programs/pt_chown.c (main): Likewise.
305         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
306         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
307         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
308         mmap, mmap64, mremap, munmap): Likewise.
309         * math/e_exp2l.c: Likewise.
310         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
311         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
312         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
313         * math/s_catan.c (__catan): Likewise.
314         * math/s_catanf.c (__catanf): Likewise.
315         * math/s_catanh.c (__catanh): Likewise.
316         * math/s_catanhf.c (__catanhf): Likewise.
317         * math/s_catanhl.c (__catanhl): Likewise.
318         * math/s_catanl.c (__catanl): Likewise.
319         * math/s_ccosh.c (__ccosh): Likewise.
320         * math/s_ccoshf.c (__ccoshf): Likewise.
321         * math/s_ccoshl.c (__ccoshl): Likewise.
322         * math/s_cexp.c (__cexp): Likewise.
323         * math/s_cexpf.c (__cexpf): Likewise.
324         * math/s_cexpl.c (__cexpl): Likewise.
325         * math/s_clog10.c (__clog10): Likewise.
326         * math/s_clog10f.c (__clog10f): Likewise.
327         * math/s_clog10l.c (__clog10l): Likewise.
328         * math/s_clog.c (__clog): Likewise.
329         * math/s_clogf.c (__clogf): Likewise.
330         * math/s_clogl.c (__clogl): Likewise.
331         * math/s_csin.c (__csin): Likewise.
332         * math/s_csinf.c (__csinf): Likewise.
333         * math/s_csinh.c (__csinh): Likewise.
334         * math/s_csinhf.c (__csinhf): Likewise.
335         * math/s_csinhl.c (__csinhl): Likewise.
336         * math/s_csinl.c (__csinl): Likewise.
337         * math/s_csqrt.c (__csqrt): Likewise.
338         * math/s_csqrtf.c (__csqrtf): Likewise.
339         * math/s_csqrtl.c (__csqrtl): Likewise.
340         * math/s_ctan.c (__ctan): Likewise.
341         * math/s_ctanf.c (__ctanf): Likewise.
342         * math/s_ctanh.c (__ctanh): Likewise.
343         * math/s_ctanhf.c (__ctanhf): Likewise.
344         * math/s_ctanhl.c (__ctanhl): Likewise.
345         * math/s_ctanl.c (__ctanl): Likewise.
346         * math/w_pow.c: Likewise.
347         * math/w_powf.c: Likewise.
348         * math/w_powl.c: Likewise.
349         * math/w_scalb.c (sysv_scalb): Likewise.
350         * math/w_scalbf.c (sysv_scalbf): Likewise.
351         * math/w_scalbl.c (sysv_scalbl): Likewise.
352         * misc/error.c (error_tail): Likewise.
353         * misc/pselect.c (__pselect): Likewise.
354         * nis/nis_callback.c (__nis_create_callback): Likewise.
355         * nis/nis_call.c (__nisfind_server): Likewise.
356         * nis/nis_creategroup.c (nis_creategroup): Likewise.
357         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
358         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
359         * nis/nis_getservlist.c (nis_getservlist): Likewise.
360         * nis/nis_lookup.c (nis_lookup): Likewise.
361         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
362         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
363         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
364         * nis/nis_xdr.c (xdr_endpoint): Likewise.
365         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
366         internal_getgrgid_r): Likewise.
367         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
368         Likewise.
369         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
370         internal_getpwuid_r): Likewise.
371         * nis/nss_compat/compat-spwd.c (getspent_next_file,
372         internal_getspnam_r): Likewise.
373         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
374         _nss_nis_getaliasbyname_r): Likewise.
375         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
376         _nss_nis_getntohost_r): Likewise.
377         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
378         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
379         Likewise.
380         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
381         internal_nis_gethostent_r, internal_gethostbyname2_r,
382         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
383         _nss_nis_gethostbyname4_r): Likewise.
384         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
385         initgroups_netid): Likewise.
386         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
387         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
388         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
389         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
390         _nss_nis_getprotobynumber_r): Likewise.
391         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
392         _nss_nis_getsecretkey): Likewise.
393         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
394         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
395         Likewise.
396         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
397         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
398         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
399         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
400         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
401         _nss_nis_getspnam_r): Likewise.
402         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
403         Likewise.
404         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
405         _nss_nisplus_getntohost_r): Likewise.
406         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
407         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
408         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
409         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
410         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
411         Likewise.
412         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
413         _nss_nisplus_getnetbyaddr_r): Likewise.
414         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
415         _nss_nisplus_getprotobynumber_r): Likewise.
416         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
417         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
418         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
419         Likewise.
420         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
421         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
422         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
423         _nss_nisplus_getspnam_r): Likewise.
424         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
425         * nscd/aicache.c (addhstaiX): Likewise.
426         * nscd/cache.c (cache_search, prune_cache): Likewise.
427         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
428         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
429         * nscd/grpcache.c (addgrbyX): Likewise.
430         * nscd/hstcache.c (addhstbyX): Likewise.
431         * nscd/initgrcache.c (addinitgroupsX): Likewise.
432         * nscd/mem.c (gc, mempool_alloc): Likewise.
433         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
434         Likewise.
435         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
436         Likewise.
437         * nscd/nscd_getai.c (__nscd_getai): Likewise.
438         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
439         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
440         Likewise.
441         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
442         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
443         * nscd/nscd_helper.c (__readvall, open_socket,
444         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
445         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
446         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
447         * nscd/pwdcache.c (addpwbyX): Likewise.
448         * nscd/selinux.c (preserve_capabilities): Likewise.
449         * nscd/servicescache.c (addservbyX): Likewise.
450         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
451         * posix/fnmatch.c (fnmatch): Likewise.
452         * posix/getopt.c (_getopt_internal_r): Likewise.
453         * posix/glob.c (glob, glob_in_dir): Likewise.
454         * posix/wordexp.c (exec_comm_child): Likewise.
455         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
456         gaih_getanswer_slice): Likewise.
457         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
458         * resolv/res_init.c: Likewise.
459         * resolv/res_mkquery.c (res_nmkquery): Likewise.
460         * resolv/res_query.c (__libc_res_nquery): Likewise.
461         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
462         Likewise.
463         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
464         * stdio-common/perror.c (perror): Likewise.
465         * stdio-common/printf_fp.c (___printf_fp): Likewise.
466         * stdio-common/tmpnam.c (tmpnam): Likewise.
467         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
468         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
469         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
470         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
471         * stdlib/putenv.c (putenv): Likewise.
472         * stdlib/setenv.c (__add_to_environ): Likewise.
473         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
474         * stdlib/strtol_l.c (INTERNAL): Likewise.
475         * string/memmem.c (memmem): Likewise.
476         * string/strerror.c (strerror): Likewise.
477         * string/strnlen.c (__strnlen): Likewise.
478         * string/test-memmem.c (simple_memmem): Likewise.
479         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
480         * sunrpc/pm_getport.c (__get_socket): Likewise.
481         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
482         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
483         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
484         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
485         Likewise.
486         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
487         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
488         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
489         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
490         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
491         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
492         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
493         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
494         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
495         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
496         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
497         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
499         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
500         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
501         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
502         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
503         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
504         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
505         Likewise.
506         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
507         Likewise.
508         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
509         Likewise.
510         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
511         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
512         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
513         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
514         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
515         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
516         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
517         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
518         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
519         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
520         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
521         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
522         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
523         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
525         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
526         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
527         Likewise.
528         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
529         Likewise.
530         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
531         Likewise.
532         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
534         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
535         Likewise.
536         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
537         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
538         * sysdeps/posix/opendir.c (__opendirat): Likewise.
539         * sysdeps/posix/sleep.c: Likewise.
540         * sysdeps/posix/tempname.c: Likewise.
541         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
542         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
543         Likewise.
544         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
545         elf_machine_rela): Likewise.
546         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
547         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
548         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
549         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
550         Likewise.
551         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
552         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
553         elf_machine_rela, elf_machine_lazy_rel): Likewise.
554         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
555         elf_machine_rela, elf_machine_lazy_rel): Likewise.
556         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
557         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
558         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
559         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
560         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
561         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
562         elf_machine_lazy_rel): Likewise.
563         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
564         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
565         elf_machine_lazy_rel): Likewise.
566         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
567         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
568         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
569         * sysdeps/unix/grantpt.c (grantpt): Likewise.
570         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
571         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
572         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
573         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
574         Likewise.
575         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
576         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
577         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
578         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
579         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
580         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
581         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
582         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
583         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
584         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
585         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
586         Likewise.
587         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
588         (__posix_fallocate64_l64): Likewise.
589         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
590         (posix_fallocate): Likewise.
591         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
592         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
593         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
594         getifaddrs_internal): Likewise.
595         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
596         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
597         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
598         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
599         * sysdeps/unix/sysv/linux/posix_fallocate64.c
600         (__posix_fallocate64_l64): Likewise.
601         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
602         Likewise.
603         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
604         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
605         Likewise.
606         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
607         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
608         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
611         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
612         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
613         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
614         Likewise.
615         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
616         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
617         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
618         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
619         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
620         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
621         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
622         Likewise.
623         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
624         (posix_fallocate): Likewise.
625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
626         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
627         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
628         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
629         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
630         Likewise.
631         * time/asctime.c (asctime_internal): Likewise.
632         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
633         * time/tzset.c (__tzset_parse_tz): Likewise.
634         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
635         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
636         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
637         * wcsmbs/wcsmbsload.h: Likewise.
639 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
641         [BZ #15894]
642         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
644 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
646         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
647         arena_get2): Remove THREAD_STATS conditionals.
648         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
649         __malloc_stats, int): Likewise.
651 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
653         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
654         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
656 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
658         * manual/setjmp.texi: Fix typos/grammar errors.
660 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
662         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
663         Only return early when n is <= 0.  Delete unused return statement.
665 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
667         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
668         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
669         * debug/tst-longjmp_chk3.c: New file.
671 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
673         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
674         (test_main): Replace code with set_fortify_handler call.
675         * debug/test-strcpy_chk.c: Likewise.
676         * debug/tst-chk1.c: Likewise.
677         * debug/tst-longjmp_chk.c: Likewise.
678         * test-skeleton.c: Include fcntl.h & paths.h
679         (set_fortify_handler): Define.
681 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
683         * debug/tst-longjmp_chk.c: Add header comment and include
684         ../test-skeleton.c.
685         (do_test): Mark static.
686         (TEST_FUNCTION): Define.
688 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
690         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
691         (IP_PMTUDISC_INTERFACE): Likewise.
692         (IP_MULTICAST_IF): Likewise.
693         (IP_MULTICAST_TTL): Likewise.
694         (IP_MULTICAST_LOOP): Likewise.
695         (IP_ADD_MEMBERSHIP): Likewise.
696         (IP_DROP_MEMBERSHIP): Likewise.
697         (IP_UNBLOCK_SOURCE): Likewise.
698         (IP_BLOCK_SOURCE): Likewise.
699         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
700         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
701         (IP_MSFILTER): Likewise.
702         (MCAST_JOIN_GROUP): Likewise.
703         (MCAST_BLOCK_SOURCE): Likewise.
704         (MCAST_UNBLOCK_SOURCE): Likewise.
705         (MCAST_LEAVE_GROUP): Likewise.
706         (MCAST_JOIN_SOURCE_GROUP): Likewise.
707         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
708         (MCAST_MSFILTER): Likewise.
709         (IP_MULTICAST_ALL): Likewise.
710         (IP_UNICAST_IF): Likewise.
712 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
714         * timezone/Makefile: Delete $(have-ksh) check.
715         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
716         * timezone/tzselect.ksh: Add +x mode bits.
718 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
720         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
721         (ANON_INODE_FS_MAGIC): Likewise.
722         (BDEVFS_MAGIC): Likewise.
723         (BINFMTFS_MAGIC): Likewise.
724         (BTRFS_TEST_MAGIC): Likewise.
725         (CRAMFS_MAGIC_WEND): Likewise.
726         (DEBUGFS_MAGIC): Likewise.
727         (ECRYPTFS_SUPER_MAGIC): Likewise.
728         (EXT3_SUPER_MAGIC): Likewise.
729         (EXT4_SUPER_MAGIC): Likewise.
730         (FUTEXFS_SUPER_MAGIC): Likewise.
731         (HOSTFS_SUPER_MAGIC): Likewise.
732         (HUGETLBFS_MAGIC): Likewise.
733         (MINIX3_SUPER_MAGIC): Likewise.
734         (MTD_INODE_FS_MAGIC): Likewise.
735         (NILFS_SUPER_MAGIC): Likewise.
736         (OPENPROM_SUPER_MAGIC): Likewise.
737         (PIPEFS_MAGIC): Likewise.
738         (PSTOREFS_MAGIC): Likewise.
739         (QNX6_SUPER_MAGIC): Likewise.
740         (RAMFS_MAGIC): Likewise.
741         (REISERFS_SUPER_MAGIC_STRING): Likewise.
742         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
743         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
744         (SECURITYFS_MAGIC): Likewise.
745         (SELINUX_MAGIC): Likewise.
746         (SMACK_MAGIC): Likewise.
747         (SOCKFS_MAGIC): Likewise.
748         (SQUASHFS_MAGIC): Likewise.
749         (STACK_END_MAGIC): Likewise.
750         (TMPFS_MAGIC): Likewise.
751         (USBDEVICE_SUPER_MAGIC): Likewise.
752         (V9FS_MAGIC): Likewise.
753         (XENFS_SUPER_MAGIC): Likewise.
754         (CRAMFS_MAGIC): Fix typo in comment.
755         (EXT2_SUPER_MAGIC): Update comment.
756         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
758 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
760         * sysdeps/arm: Move directory from ports/sysdeps/arm.
761         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
762         * sysdeps/unix/sysv/linux/arm: Move directory from
763         ports/sysdeps/unix/sysv/linux/arm.
764         * README: Update listing for arm-*-linux-gnueabi.
766         * README: Remove mention of am33.
768 2014-02-07  Roland McGrath  <roland@hack.frob.com>
770         * bits/sigset.h (__sigemptyset): Use a statement expression rather
771         than the comma operator, to avoid "rhs of comma has no effect"
772         compiler warnings.
773         (__sigfillset, __sigandset, __sigorset): Likewise.
774         * include/signal.h (__sigemptyset): Likewise.
775         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
777 2014-02-07  Allan McRae  <allan@archlinux.org>
779         * version.h (RELEASE): Set to "development".
780         (VERSION): Set to "2.19.90"
781         * NEWS: Add 2.20 section.
783 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
785         [BZ #16529]
786         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
788 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
790         * manual/contrib.texi: Update entry for Carlos O'Donell,
791         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
793 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
795         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
797         * sysdeps/unix/sysv/linux/kernel-features.h
798         [__LINUX_KERNEL_VERSION >= 0x020621]
799         (__ASSUME_PROC_PID_TASK_COMM): Define.
801 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
803         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
804         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
805         Leonard and Allan McRae.
807 2014-02-04  David S. Miller  <davem@davemloft.net>
809         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
810         32-bit.
812 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
815         file
816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
817         New file
818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
819         file.
820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
821         file.
822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
823         New file.
824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
825         file.
826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
827         file.
828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
829         New file.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
831         New file.
832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
833         New file.
834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
835         New file.
836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
837         New file.
838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
839         New file.
841 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
843         * nptl/shlib-versions: Change powerpc*le start to 2.17.
844         * shlib-versions: Likewise.
846 2014-02-04  Roland McGrath  <roland@hack.frob.com>
847             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
849         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
850         (abilist-pattern): New variable, set to %-le.abilist.
852         * Makerules (abilist-pattern): New variable.
853         (vpath): Use $(abilist-pattern) in place of %.abilist.
854         (check-abi-% pattern rule): Likewise.
855         (check-abi, update-abi): Likewise.
857 2014-02-04  Eric Wong  <normalperson@yhbt.net>
859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
861 2014-02-04  Eric Wong  <normalperson@yhbt.net>
863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
865 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
867         * manual/startup.texi: Add next, previous, and top entries for
868         the `Program Arguments' and `Environment Variables' nodes.
870 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
872         * manual/macros.texi: Add comments before MTASC-safety macros.
874         * manual/users.texi: Document MTASC-safety properties.
876         * manual/threads.texi (pthread_key_create, pthread_key_delete,
877         pthread_getspecific, pthread_setspecific): Format with
878         @deftypefun, and add @safety note.
879         * manual/signal.texi: Move comments that analyze the above
880         functions to their home place.
882 2014-02-03  Allan McRae  <allan@archlinux.org>
884         * po/sl.po: Update Slovenian translation from translation project.
886 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
888         * manual/time.texi (timegm): Add missing blank after @c.
889         Reported by Joseph Myers <joseph@codesourcery.com>.
891 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
893         * manual/check-safety.sh: New.
894         * manual/Makefile ($(objpfx)stamp-summary): Run it.
896         * manual/terminal.texi: Document MTASC-safety properties.
898         * manual/filesys.texi: Document MTASC-safety properties.
900         * manual/errno.texi: Document MTASC-safety properties.
902         * manual/intro.texi: Document safety identifiers and
903         conditionals.
905         * manual/string.texi (wcstok): Fix prototype.
906         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
908         * manual/time.texi: Document MTASC-safety properties.
910         * manual/string.texi: Document MTASC-safety properties.
912         * manual/threads.texi: Document MTASC-safety properties.
914         * manual/stdio.texi: Document MTASC-safety properties.
916         * manual/syslog.texi: Document MTASC-safety properties.
918         * manual/sysinfo.texi: Document MTASC-safety properties.
920         * manual/startup.texi: Document MTASC-safety properties.
922         * manual/socket.texi: Document MTASC-safety properties.
924         * manual/signal.texi: Document MTASC-safety properties.
926 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
928         * manual/setjmp.texi: Document MTASC-safety properties.
930         * manual/search.texi: Document MTASC-safety properties.
932         * manual/resource.texi: Document MTASC-safety properties.
934         * manual/process.texi: Document MTASC-safety properties.
936         * manual/platform.texi: Document MTASC-safety properties.
938         * manual/pipe.texi: Document MTASC-safety properties.
940         * manual/pattern.texi: Document MTASC-safety properties.
942         * manual/message.texi: Document MTASC-safety properties.
944         [BZ #12751]
945         * manual/memory.texi: Document MTASC-safety properties.
947         * manual/math.texi: Document MTASC-safety properties.
949         * manual/locale.texi: Document MTASC-safety properties.
951         * manual/llio.texi: Document MTASC-safety properties.
953         * manual/libdl.texi: New.
955         * manual/lang.texi: Document MTASC-safety properties.
957         * manual/job.texi: Document MTASC-safety properties.
959         * manual/getopt.texi: Document MTASC-safety properties.
961         * manual/ctype.texi: Document MTASC-safety properties.
963 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
965         [BZ #16046]
966         * csu/libc-tls.c (static_map): Remove variable.
967         (__libc_setup_tls): Use main executable's link map for TLS data.
968         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
969         casing for LM_ID_BASE and GL(dl_nns).
970         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
971         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
972         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
973         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
974         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
975         member.
976         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
977         l_phnum members.
979 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
981         * manual/debug.texi: Document MTASC-safety properties.
983 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
985         [BZ #16510]
986         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
987         of __x86_64__ when disabling x87 inline functions.
989 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
991         * manual/charset.texi: Document MTASC-safety properties.
993         * manual/crypt.texi: Document MTASC-safety properties.
995         * manual/conf.texi: Document MTASC-safety properties.
997         * manual/arith.texi: Document MTASC-safety properties.
999         * manual/argp.texi: Document MTASC-safety properties.
1001         * manual/macros.texi: Introduce macros to document multi
1002         thread, asynchronous signal and asynchronous cancellation
1003         safety properties.
1004         * manual/intro.texi: Introduce the properties themselves.
1006 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1008         * sysdeps/sh/sh4/Makefile: New file.
1010 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
1012         * math/gen-libm-test.pl ($srcdir): New variable.
1013         ($auto_input): Use it.
1015 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1017         [BZ #16506]
1018         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1019         access beyond array bounds when parsing netgroups file.
1021         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1022         the old buffer before realloc.
1024 2014-01-27  Allan McRae  <allan@archlinux.org>
1026         * po/fr.po: Update French translation from translation project.
1028 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1030         * sysdeps/sh/libm-test-ulps: Regenerate.
1032 2014-01-24  David S. Miller  <davem@davemloft.net>
1034         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1036 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1038         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1039         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1041 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1043         [BZ #16474]
1044         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1045         string pointers after reallocation.
1047 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1049         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1050         __SH4A__ instead of __SH_FPU_ANY__.
1052 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1054         * sysdeps/sh/fpu_control.h: New file.
1055         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1056         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1057         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1058         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1059         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1060         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1061         * sysdeps/sh/sys/ucontext.h: Remove.
1062         * sysdeps/sh/sys: Remove directory.
1064 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1066         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1067         s390/sys/ucontext.h.
1068         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1069         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1071 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
1073         [BZ #15605]
1074         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1076 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1078         [BZ#16431]
1079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1080         Adjust the vDSO correctly for internal calls.
1081         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1083 2014-01-20  Allan McRae  <allan@archlinux.org>
1085         * po/ca.po: Update Catalan translation from translation project.
1087 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
1089         * sysdeps/s390/sotruss-lib.c: New file.
1091 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1093         [BZ#16430]
1094         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1095         (__GI___gettimeofday): Alias for a different internal symbol to avoid
1096         local calls issues by not having a PLT stub required for IFUNC calls.
1097         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1099 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
1101         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1102         * math/test-fpucw-static.c: Likewise.
1104 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1106         [BZ #16453]
1107         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1109 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1111         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1112         implementation for powerpc.
1114 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
1116         [BZ #14782]
1117         * sysdeps/posix/system.c (__libc_system): Do not enable
1118         asynchronous cancellation.
1120 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1122         [BZ #16427]
1123         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1124         handling only for numbers special also in the IEEE case.
1126 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1128         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1130 2014-01-11  Allan McRae  <allan@archlinux.org>
1132         * po/bg.po: Update Bulgarian translation from translation project.
1134         * po/de.po: Update German translation from translation project.
1136 2014-01-10  Roland McGrath  <roland@hack.frob.com>
1138         * sysdeps/generic/gcc-compat.h: New file.
1140 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1142         * benchtests/asin-inputs: Correct slow inputs.
1143         * benchtests/acos-inputs: Likewise.
1145 2014-01-10  Allan McRae  <allan@archlinux.org>
1147         * po:sv.po: Update Swedish translation from translation project.
1149         * po/vi.po: Update Vietnamese translation from translation project.
1151         * po/eo.po: Update Esperanto translation from translation project.
1153         * po/cs.po: Update Czech translation from translation project.
1155         * po/nl.po: Update Dutch translation from translation project.
1157         * po/pl.po: Update Polish translation from translation project.
1159         * po/ru.po: Update Russian translation from translation project.
1161         * po/uk.po: Update Ukrainian translation from translation project.
1163 2014-01-08  Brooks Moses  <bmoses@google.com>
1165         * elf/dl-load.c: Fix comment typo.
1167 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
1169         * po/header.pot: Rename to...
1170         * po/pot.header: ... this.
1171         * po/Makefile: Use pot.header.
1173 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
1174             Maxim Kuvyrkov  <maxim@kugelworks.com>
1176         [BZ #16394]
1177         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1178         SRC and DEST against LEN.
1180 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1182         [BZ #16414]
1183         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1184         implementation.
1185         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1187 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1191 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
1193         [BZ #16408]
1194         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1195         for large positive arguments.
1197 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
1199         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1201         * math/auto-libm-test-in: Mark various tests with
1202         xfail-rounding:ldbl-128ibm.
1203         * math/auto-libm-test-out: Regenerated.
1205         [BZ #16407]
1206         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1207         Increase overflow threshold.
1209 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
1211         [BZ #14286]
1212         * stdio-common/vfprintf.c: Check for integer overflow.
1214 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1216         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1217         the first argument and return value of __tls_get_addr_internal.
1219 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1221         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1222         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1224 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1226         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1227         * sysdeps/s390/rtld-global-offsets.sym: New file.
1228         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1229         GLIBC_2.19 symbol.
1230         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1231         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1232         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1233         ... this.
1234         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1235         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1236         ... this.
1237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1238         Regenerate.
1239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1240         Regenerate.
1241         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1242         halfs of GPRs for high_gprs contexts.
1243         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1244         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
1245         field.
1246         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1247         uc_flags field.
1248         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1249         64 bit versions:
1250         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1251         for high GPRs (uc_high_gprs) and for future extensions
1252         (__reserved).
1253         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1254         for future extensions (__reserved).
1255         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1256         64 bit versions:
1257         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1258         SC_HIGHGPRS offset definition.
1259         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1260         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1262 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1264         * Versions.def: Add GLIBC_2.19 for libpthread.
1265         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1266         siglongjmp for libpthread with GLIBC_2.19 symver.
1267         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1268         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1269         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1270         * sysdeps/s390/__longjmp.c: New file.
1271         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1272         * sysdeps/s390/longjmp.c: New file.
1273         * sysdeps/s390/setjmp.S: New file.
1274         * sysdeps/s390/sigjmp.S: New file.
1275         * sysdeps/s390/v1-longjmp.c: New file.
1276         * sysdeps/s390/v1-setjmp.h: New file.
1277         * sysdeps/s390/v1-sigjmp.c: New file.
1278         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1279         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1280         GLIBC_2.19 version.
1281         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1282         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1283         versioned symbols for ____longjmp_chk.
1284         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1285         Likewise.
1286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1287         Regenerate.
1288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1289         Regenerate.
1290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1291         Regenerate.
1292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1293         Regenerate.
1294         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1295         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1296         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1297         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1298         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1299         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1300         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1301         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1302         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1303         * sysdeps/s390/rtld-__longjmp.c: New file.
1304         * sysdeps/s390/rtld-setjmp.S: New file.
1306 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
1308         [BZ #16400]
1309         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1310         Return -__logl (x) for small positive arguments without evaluating
1311         a polynomial.
1313 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
1315         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1316         Rename to ...
1317         (__ptrace_peeksiginfo_args): ... this.
1318         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1319         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1320         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1322 2014-01-06  Allan McRae  <allan@archlinux.org>
1324         * inet/netinet/in.h: Fix typo in comment.
1326 2014-01-05  Andreas Jaeger  <aj@suse.de>
1328         * sysdeps/i386/fpu/libm-test-ulps: Update.
1330 2014-01-05  Allan McRae  <allan@archlinux.org>
1332         * po/libc.pot: Regenerated.
1334         * malloc/memusagestat.c: Fix gettext call formatting.
1336 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
1338         * nscd/nscd.c: Improve usage() output.
1340 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
1342         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1343         * sysdeps/unix/sysv/linux/configure: Regenerated.
1344         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1345         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1347 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1349         [BZ #16390]
1350         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1351         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1353 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1355         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1356         extra tokens at end of #undef directive.
1357         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1358         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1359         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1361 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
1363         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1365         * math/auto-libm-test-in: Mark various tests with
1366         xfail-rounding:ldbl-128ibm.
1367         * math/auto-libm-test-out: Regenerated.
1369 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1371         [BZ #16386]
1372         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1373         numbers with subnormal high part when calculating exponent.
1375         [BZ #16385]
1376         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1377         fabs.
1379         [BZ #16384]
1380         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1381         M_LN2l.
1382         (__ieee754_acoshl): Use __log1pl not __log1p.
1384 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1386         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1387         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1388         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1389         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1390         Convert to GNU style.
1391         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1392         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1393         memalign_check, __malloc_set_state): Likewise.
1394         * malloc/mallocbug.c (main): Likewise.
1395         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1396         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1397         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1398         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1399         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1400         * malloc/malloc.h: Likewise.
1401         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1402         memalignhook, reallochook, mabort): Likewise.
1403         * malloc/mcheck.h: Likewise.
1404         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1405         mmap64, mremap, munmap, dest): Likewise.
1406         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1407         * malloc/morecore.c (__default_morecore): Likewise.
1408         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1409         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1410         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1411         print_and_abort): Likewise.
1412         * malloc/obstack.h: Likewise.
1413         * malloc/set-freeres.c (__libc_freeres): Likewise.
1414         * malloc/tst-mallocstate.c (main): Likewise.
1415         * malloc/tst-mtrace.c (main): Likewise.
1416         * malloc/tst-realloc.c (do_test): Likewise.
1418 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1420         [BZ #16366]
1421         * nscd/netgroupcache.c (do_notfound): New function.
1422         (addgetnetgrentX): Use it.
1424         [BZ # 16365]
1425         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1426         NSS_STATUS_NOTFOUND.
1428 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1430         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1433 2014-01-01  Allan McRae  <allan@archlinux.org>
1435         * scripts/update-copyrights: Update configure input file suffix.
1437         * NEWS: Update copyright year.
1438         * catgets/gencat.c: Likewise.
1439         * csu/version.c: Likewise.
1440         * debug/catchsegv.sh: Likewise.
1441         * debug/pcprofiledump.c: Likewise.
1442         * debug/xtrace.sh: Likewise.
1443         * elf/ldconfig.c: Likewise.
1444         * elf/ldd.bash.in: Likewise.
1445         * elf/pldd.c: Likewise.
1446         * elf/sotruss.ksh: Likewise.
1447         * elf/sprof.c: Likewise.
1448         * iconv/iconv_prog.c: Likewise.
1449         * iconv/iconvconfig.c: Likewise.
1450         * locale/programs/locale.c: Likewise.
1451         * locale/programs/localedef.c: Likewise.
1452         * login/programs/pt_chown.c: Likewise.
1453         * malloc/memusage.sh: Likewise.
1454         * malloc/memusagestat.c: Likewise.
1455         * malloc/mtrace.pl: Likewise.
1456         * manual/libc.texinfo: Likewise.
1457         * nscd/nscd.c: Likewise.
1458         * nss/getent.c: Likewise.
1459         * nss/makedb.c: Likewise.
1460         * posix/getconf.c: Likewise.
1461         * scripts/test-installation.pl: Likewise.
1463         * All files with FSF copyright notices: Update copyright dates
1464         using scripts/update-copyrights.
1465         * intl/plural.c: Regenerated.
1466         * locale/programs/charmap-kw.h: Likewise.
1467         * locale/programs/locfile-kw.h: Likewise.
1469 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1471         * sysdeps/unix/sysv/linux/configure: Regenerated.
1472         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1473         the linux/fanotify.h header.
1474         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1475         HAVE_LINUX_FANOTIFY_H is defined.
1477 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1479         * benchtests/cos-inputs: New inputs.
1480         * benchtests/sin-inputs: Likewise.
1482         * benchtests/atan-inputs: New inputs. Fix name of multiple
1483         precision fallback inputs.
1485         * benchtests/atanh-inputs: New inputs.
1486         * benchtests/tanh-inputs: Likewise.
1488         * benchtests/acosh-inputs: New inputs.
1489         * benchtests/asinh-inputs: Likewise.
1491         * benchtests/cosh-inputs: New inputs.
1492         * benchtests/sinh-inputs: Likewise.
1494         * benchtests/acos-inputs: Add more inputs.
1495         * benchtests/asin-inputs: Likewise.
1497 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1499         [BZ #16375]
1500         * manual/arith.texi: Fix spelling.
1501         * manual/charset.texi: Likewise.
1502         * manual/errno.texi: Likewise.
1503         * manual/filesys.texi: Likewise.
1504         * manual/lang.texi: Likewise.
1505         * manual/llio.texi: Likewise.
1506         * manual/locale.texi: Likewise.
1507         * manual/message.texi: Likewise.
1508         * manual/resource.texi: Likewise.
1509         * manual/search.texi: Likewise.
1510         * manual/setjmp.texi: Likewise.
1511         * manual/stdio.texi: Likewise.
1512         * manual/string.texi: Likewise.
1513         * manual/sysinfo.texi: Likewise.
1514         * manual/time.texi: Likewise.
1516 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1518         * po/sl.po: New file.
1520 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1522         * .gitignore: Add core/.gdbinit/.gdb_history.
1524 2013-12-27  Allan McRae  <allan@archlinux.org>
1526         [BZ #16369]
1527         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1528         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1530 2013-12-24  Brooks Moses  <bmoses@google.com>
1532         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1533         all compilers that claim C++98 compliance, not just GCC.
1534         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1535         Likewise.
1537 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1539         * NEWS: Restore accidentally deleted bug-fix entries.
1541 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1542             Ondřej Bílka  <neleai@seznam.cz>
1544         [BZ #15073]
1545         * malloc/malloc.c (_int_free): Perform sanity check only if we
1546         have_lock.
1548 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1550         [BZ #12986]
1551         * manual/stdio.texi (String Input Conversions): Clarify that character
1552         classes are not supported.
1554 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1558 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1560         [BZ #16337]
1561         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1562         Calculate results for small negative arguments directly rather
1563         than using reflection formula with special underflow handling.
1565         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1566         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1567         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1568         (fchflags): Likewise.
1569         (revoke): Likewise.
1570         (setlogin): Likewise.
1571         (sigaltstack): Likewise.
1572         (wait4): Likewise.
1573         (sigblock): Remove.
1574         (sigsetmask): Likewise.
1575         (wait3): Likewise.
1576         (waitpid): Likewise.
1577         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1578         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1579         file.
1580         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1581         * sysdeps/unix/bsd/Makefile: ... here.
1582         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1583         * sysdeps/unix/bsd/Versions: ... here.
1584         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1585         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1586         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1587         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1588         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1589         * sysdeps/unix/bsd/sigblock.c: ... here.
1590         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1591         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1592         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1593         * sysdeps/unix/bsd/sigvec.c: ... here.
1594         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1595         * sysdeps/unix/bsd/tcdrain.c: ... here.
1596         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1597         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1598         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1599         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1600         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1601         * sysdeps/unix/bsd/wait.c: ... here.
1602         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1603         * sysdeps/unix/bsd/wait3.c: ... here.
1604         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1605         * sysdeps/unix/bsd/waitpid.c: ... here.
1607 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1609         [BZ #16356]
1610         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1611         round-to-nearest for [!USE_AS_EXPM1L].
1612         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1613         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1614         more tests of exp and exp10.  Expect some exp10 tests to miss
1615         exceptions or fail in directed rounding modes.
1616         * math/auto-libm-test-out: Regenerated.
1617         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1618         (exp10_test_tonearest): New function.
1619         (exp10_towardzero_test_data): New array.
1620         (exp10_test_towardzero): New function.
1621         (exp10_downward_test_data): New array.
1622         (exp10_test_downward): New function.
1623         (exp10_upward_test_data): New array.
1624         (exp10_test_upward): New function.
1625         (main): Call the new functions.
1626         * sysdeps/i386/fpu/libm-test-ulps: Update.
1627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1629 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1631         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1632         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1633         * math/auto-libm-test-out: Regenerated.
1634         * math/libm-test.inc (acosh_test_data): Add more tests.
1635         (atanh_test_data): Likewise.
1636         (ceil_test_data): Likewise.
1637         (copysign_test_data): Likewise.
1638         * sysdeps/i386/fpu/libm-test-ulps: Update.
1639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1641         * timezone/checktab.awk: Update from tzcode 2013i.
1642         * timezone/private.h: Likewise.
1643         * timezone/scheck.c: Likewise.
1644         * timezone/tzfile.h: Likewise.
1645         * timezone/tzselect.ksh: Likewise.
1646         * timezone/zdump.c: Likewise.
1647         * timezone/zic.c: Likewise.
1649         * math/auto-libm-test-in: Add tests of cpow.
1650         * math/auto-libm-test-out: Regenerated.
1651         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1652         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1653         mpc_cc_c.
1654         (func_calc_desc): Add mpc_cc_c union field.
1655         (test_functions): Add cpow.
1656         (special_fill_2pi): New function.
1657         (special_real_inputs): Add 2pi.
1658         (calc_generic_results): Handle mpc_cc_c.
1659         * sysdeps/i386/fpu/libm-test-ulps: Update.
1660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1662         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1663         csqrt, ctan and ctanh.
1664         * math/auto-libm-test-out: Regenerated.
1665         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1666         (TEST_COND_x86): Likewise.
1667         (ccos_test_data): Use AUTO_TESTS_c_c.
1668         (ccosh_test_data): Likewise.
1669         (cexp_test_data): Likewise.
1670         (clog_test_data): Likewise.
1671         (csqrt_test_data): Likewise.
1672         (ctan_test_data): Likewise.
1673         (ctan_tonearest_test_data): Likewise.
1674         (ctan_towardzero_test_data): Likewise.
1675         (ctan_downward_test_data): Likewise.
1676         (ctan_upward_test_data): Likewise.
1677         (ctanh_test_data): Likewise.
1678         (ctanh_tonearest_test_data): Likewise.
1679         (ctanh_towardzero_test_data): Likewise.
1680         (ctanh_downward_test_data): Likewise.
1681         (ctanh_upward_test_data): Likewise.
1682         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1683         mpc_c_c.
1684         (func_calc_desc): Add mpc_c_c union field.
1685         (FUNC_mpc_c_c): New macro.
1686         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1687         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1688         ctanh.
1689         (special_fill_min_subnorm_p120): New function.
1690         (special_real_inputs): Add min_subnorm_p120.
1691         (calc_generic_results): Handle mpc_c_c.
1692         * sysdeps/i386/fpu/libm-test-ulps: Update.
1693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1695 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1697         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1698         do_sin_slow): New functions.
1699         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1700         cslow2, csloww1, csloww2): Use the new functions.
1702         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1703         Use M to change sign of result instead of X.  Assume X is
1704         positive.
1705         (csloww1): Likewise.
1706         (__sin): Adjust.
1707         (__cos): Adjust.
1709         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1710         arguments A and DA.
1711         (__sin): Adjust.
1712         (__cos): Likewise.
1714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1715         (__cos): Likewise.
1716         (sloww1): Don't adjust sign of DX.
1717         (csloww1): Likewise.
1718         (sloww2): Use X directly and don't adjust sign of DX.
1719         (csloww2): Likewise.
1721 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1723         * math/auto-libm-test-in: Add tests of cabs and carg.
1724         * math/auto-libm-test-out: Regenerated.
1725         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1726         (carg_test_data): Likewise.
1727         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1728         mpc_c_f.
1729         (func_calc_desc): Add mpc_c_f union field.
1730         (test_functions): Add cabs and carg.
1731         (calc_generic_results): Handle mpc_c_f.
1733         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1734         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1735         as a macro and a compat symbol.
1736         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1737         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1738         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1739         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1740         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1741         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1742         not use .hidden.
1743         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1744         Likewise.
1745         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1746         Likewise.
1747         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1748         Likewise.
1749         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1750         Likewise.
1751         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1752         Likewise.
1753         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1754         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1755         from GLIBC_2.3.2.
1757 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1761 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1763         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1764         trailing whitespace removed.
1765         * scripts/config.guess: Update to version 2013-11-29.
1766         * scripts/config.sub: Update to version 2013-10-01.
1768         * math/auto-libm-test-in: Add tests of sincos.
1769         * math/auto-libm-test-out: Regenerated.
1770         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1771         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1772         mpfr_f_11.
1773         (func_calc_desc): Add mpfr_f_11 union field.
1774         (test_functions): Add sincos.
1775         (calc_generic_results): Handle mpfr_f_11.
1776         * sysdeps/i386/fpu/libm-test-ulps: Update.
1777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1779 2013-12-19  Andreas Schwab  <schwab@suse.de>
1781         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1782         CALL_MCOUNT.
1783         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1784         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1785         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1787 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1789         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1790         * sysdeps/i386/fpu/libm-test-ulps: Update.
1791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1793         [BZ #16293]
1794         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1795         round-to-nearest mode when using frndint.
1796         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1797         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1798         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1799         Likewise.
1800         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1801         sinh test to fail.
1802         * math/auto-libm-test-out: Regenerated.
1803         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1804         (TEST_COND_x86): Likewise.
1805         (expm1_tonearest_test_data): New array.
1806         (expm1_test_tonearest): New function.
1807         (expm1_towardzero_test_data): New array.
1808         (expm1_test_towardzero): New function.
1809         (expm1_downward_test_data): New array.
1810         (expm1_test_downward): New function.
1811         (expm1_upward_test_data): New array.
1812         (expm1_test_upward): New function.
1813         (main): Run the new test functions.
1814         * sysdeps/i386/fpu/libm-test-ulps: Update.
1815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1817         * include/features.h: Update comment documenting feature test
1818         macros.  Mention _DEFAULT_SOURCE in comment.
1819         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1820         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1821         _BSD_SOURCE and _SVID_SOURCE.
1822         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1823         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1824         !_SVID_SOURCE]: Likewise.
1825         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1826         (__USE_POSIX_IMPLICITLY): Define.
1827         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1828         (_POSIX_SOURCE): Undefine and redefine.
1829         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1830         (_POSIX_C_SOURCE): Likewise.
1831         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1832         (Feature Test Macros): Update documentation of default features.
1834 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1836         * benchtests/Makefile: Add bench-strtok.
1837         * benchtests/bench-strtok.c: New file: strtok benchtest.
1839 2013-12-19  Allan McRae  <allan@archlinux.org>
1841         * manual/install.texi: Suppress menu for plain text output.
1842         * INSTALL: Regenerated.
1844 2013-12-18  Brooks Moses  <bmoses@google.com>
1846         [BZ #15846]
1847         * misc/getauxval.c: Include errno.h.
1848         (__getauxval): Set errno to ENOENT if the requested type is not
1849         found.
1850         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1851         don't declare with __attribute_const__.
1852         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1853         * manual/startup.texi: Document that getauxval sets errno.
1855 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1857         * math/auto-libm-test-in: Add tests of jn and yn.
1858         * math/auto-libm-test-out: Regenerated.
1859         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1860         (yn_test_data): Likewise.
1861         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1862         mpfr_if_f.
1863         (func_calc_desc): Add mpfr_if_f union field.
1864         (FUNC_mpfr_if_f): New macro.
1865         (test_functions): Add jn and yn.
1866         (calc_generic_results): Assert type of second input for
1867         mpfr_ff_f.  Handle mpfr_if_f.
1868         (output_for_one_input_case): Disable all checking for arguments
1869         fitting floating-point types in case of an integer argument.
1870         * sysdeps/i386/fpu/libm-test-ulps: Update.
1871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1874         Don't expect fegetround reference in libm.so.
1876 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1878         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1879         $(config-cflags-nofma).
1881 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1883         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1884         * math/auto-libm-test-out: Regenerated.
1886         [BZ #16338]
1887         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1888         to determine exponent and adjust argument to have exponent of -1.
1889         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1890         log2.
1891         * math/auto-libm-test-out: Regenerated.
1892         * sysdeps/i386/fpu/libm-test-ulps: Update.
1893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1895 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1897         * manual/probes.texi: Remove cases when per-thread arenas are
1898         disabled.
1900 2013-12-18  Andreas Schwab  <schwab@suse.de>
1902         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1903         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1904         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1905         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1906         * sysdeps/i386/i686/multiarch/Makefile: Update.
1907         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1909 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1911         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1912         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1914 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1916         [BZ #15968]
1917         Support TZ transition times < 00:00:00.
1918         This is needed for version-3 tz-format files; it supports time
1919         stamps past 2037 for America/Godthab (the only entry in the tz
1920         database for which this change is relevant).
1921         * manual/time.texi (TZ Variable): Document transition times
1922         from -167:59:59 through -00:00:01.
1923         * time/tzset.c (tz_rule): Time of day is now signed.
1924         (__tzset_parse_tz): Parse negative time of day.
1926         Document TZ transition times >= 25:00:00.
1927         * manual/time.texi (TZ Variable): Document transition times from
1928         25:00:00 through 167:59:59.  These are already supported, and this
1929         support will help with version-3 tz-format files.
1931         * manual/time.texi (TZ Variable): Modernize North America example
1932         to reflect current (i.e., 2007-and-later) daylight saving rules.
1934         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1936 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1938         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1939         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1940         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1941         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1942         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1943         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1944         * sysdeps/unix/bsd/clock.c: Likewise.
1945         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1946         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1947         * sysdeps/unix/bsd/init-posix.c: Likewise.
1948         * sysdeps/unix/bsd/poll.c: Likewise.
1949         * sysdeps/unix/bsd/ptsname.c: Likewise.
1950         * sysdeps/unix/bsd/seekdir.c: Likewise.
1951         * sysdeps/unix/bsd/setegid.c: Likewise.
1952         * sysdeps/unix/bsd/seteuid.c: Likewise.
1953         * sysdeps/unix/bsd/setgid.c: Likewise.
1954         * sysdeps/unix/bsd/setrgid.c: Likewise.
1955         * sysdeps/unix/bsd/setruid.c: Likewise.
1956         * sysdeps/unix/bsd/setsid.c: Likewise.
1957         * sysdeps/unix/bsd/setuid.c: Likewise.
1958         * sysdeps/unix/bsd/sigaction.c: Likewise.
1959         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1960         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1961         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1962         * sysdeps/unix/bsd/telldir.c: Likewise.
1963         * sysdeps/unix/bsd/times.c: Likewise.
1964         * sysdeps/unix/bsd/usleep.c: Likewise.
1966         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1967         ($(objpfx)libbsd-compat.a): Remove rule.
1969         * include/features.h (__FAVOR_BSD): Do not define.
1970         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1971         features conflicting with POSIX.
1972         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1973         (_BSD_SOURCE): Remove description of not being a subset of other
1974         feature test macros.
1975         * manual/job.texi (getpgrp): Do not document BSD version.
1976         (getpgid): Do not document by reference to BSD getpgrp.
1977         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1978         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1979         * signal/signal.h [__FAVOR_BSD]: Likewise.
1980         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1981         instead of making contents conditional on [__FAVOR_BSD].
1982         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1984 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1988 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1990         [BZ #16314]
1991         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1992         values below 2**-450, not 2**-500.
1993         * math/auto-libm-test-in: Don't allow spurious underflow from
1994         hypot.
1995         * math/auto-libm-test-out: Regenerated.
1997         [BZ #16316]
1998         [BZ #16330]
1999         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2000         values of ha and hb and sort them after adjusting subnormal
2001         arguments.
2002         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2003         Likewise.
2004         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2005         values of ea and eb and sort them after adjusting subnormal
2006         arguments.
2007         * math/auto-libm-test-in: Do not expect some hypot tests of
2008         subnormals to fail.  Add more hypot tests.
2009         * math/auto-libm-test-out: Regenerated.
2011 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2013         [BZ #13304]
2014         * sysdeps/sh/s_fma.c: New file.
2015         * sysdeps/sh/s_fmaf.c: New file.
2016         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
2017         version.
2018         * sysdeps/sh/Implies: Add sh/soft-fp.
2020 2013-12-16  Roland McGrath  <roland@hack.frob.com>
2022         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
2023         level of indirection to members `objname', `errstring', `malloced'.
2024         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2025         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
2026         it as the __longjmp argument (just pass 1 instead).
2027         (_dl_catch_error): Initialize C with argument pointers and address of
2028         volatile local ERRCODE rather than copying values out of C at return.
2030 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
2032         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2033         * math/auto-libm-test-out: Regenerated.
2034         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2035         (hypot_test_data): Likewise.
2036         (pow_test_data): Likewise.
2037         (pow_tonearest_test_data): Likewise.
2038         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2039         mpfr_ff_f.
2040         (func_calc_desc): Add mpfr_ff_f union field.
2041         (FUNC_mpfr_ff_f): New macro.
2042         (test_functions): Add atan2, hypot and pow.
2043         (special_fill_min): New function.
2044         (special_fill_minus_min): Likewise.
2045         (special_fill_min_subnorm): Likewise.
2046         (special_fill_minus_min_subnorm): Likewise.
2047         (special_real_inputs): Add min, -min, min_subnorm and
2048         -min_subnorm.
2049         (calc_generic_results): Handle mpfr_ff_f.
2050         * sysdeps/i386/fpu/libm-test-ulps: Update.
2051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2053 2013-12-16  Will Newton  <will.newton@linaro.org>
2055         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2056         (Aligned Memory Blocks): Add documentation for aligned_alloc
2057         and suggest it as an alternative to posix_memalign.
2058         (Hooks for Malloc): Document __memalign_hook is also called
2059         for aligned_alloc.  (Summary of Malloc): Add summary for
2060         aligned alloc.  Document __memalign_hook is also called
2061         for aligned_alloc.
2063 2013-12-16  Will Newton  <will.newton@linaro.org>
2065         * manual/memory.texi (Malloc Examples): Clarify default
2066         alignment documentation.  Suggest posix_memalign rather
2067         than memalign or valloc.
2068         (Aligned Memory Blocks): Remove suggestion to use memalign
2069         or valloc.  Remove obsolete comment about BSD.
2070         Document memalign errno values and mark the function obsolete.
2071         Document posix_memalign returned error codes.  Mark valloc
2072         as obsolete.  (Hooks for Malloc): __memalign_hook is also
2073         called for posix_memalign and valloc.
2074         (Summary of Malloc): Add posix_memalign to function summary.
2075         __memalign_hook is also called for posix_memalign and valloc.
2077 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2079         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2080         TAYLOR_SIN.
2081         (__sin): Adjust.
2082         (__cos): Likewise.
2083         (sloww): Use mynumber union.  Expand ternary operator into
2084         if-else statements.
2085         (cslow): use mynumber union.
2087 2013-12-16  Allan McRae  <allan@archlinux.org>
2089         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2090         * configure: Regenerated.
2092         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2094         [BZ #14120]
2095         * configure.ac: Added --enable-maintainer-mode. Check for
2096         autoconf when enabled.
2097         * configure: Regenerated.
2099         * nscd/nscd.service: New file.
2100         * nscd/nscd.tmpfiles: New file.
2102 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
2104         [BZ #12100]
2105         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2106         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2107         * sysdeps/x86_64/multiarch/strstr.c: ... here.
2108         (strstr): Add __strstr_sse2_unaligned ifunc.
2109         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2110         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2111         (strcasestr): Remove __strcasestr_sse42 ifunc.
2112         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2116 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2118         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2119         * sysdeps/sh/bits/fenv.h: ... here.
2120         * sysdeps/sh/sh4/fpu/bits: Remove directory.
2122 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2124         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2126 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2129         hypotf multiarch implementations.
2130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2133         multiarch hypot for PPC64.
2134         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2135         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2137         multiarch hypotf for PPC64.
2139 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2142         modff multiarch implementations.
2143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2146         multiarch modf for PPC64.
2147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2150         multiarch modff for PPC64.
2152 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2155         and logl multiarch implementations.
2156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2159         multiarch logb for PPC64.
2160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2163         multiarch logb for PPC64.
2164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2167         multiarch logb for PPC64.
2169 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2172         isinff multiarch implementation.
2173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2174         file.
2175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2177         multiarch isinf for PPC64.
2178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2179         file.
2180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2181         multiarch isinff for PPC64.
2183 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2186         finitef multiarch implementation.
2187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2188         file.
2189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2191         multiarch finite for PPC64.
2192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2193         file.
2194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2195         multiarch finitef for PPC64.
2197 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2200         lrint multiarch implementation.
2201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2202         file.
2203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2205         multiarch llrint for PPC64.
2206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2207         multiarch lrint for PPC64.
2209 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2212         copysignf multiarch implementation.
2213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2214         file.
2215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2216         file.
2217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2218         multiarch copysign for PPC64.
2219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2220         multiarch copysignf for PPC64.
2222 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2225         multiarch implementation.
2226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2227         file.
2228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2229         file.
2230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2231         file.
2232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2233         file.
2234         multiarch llround for PPC64.
2235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2236         multiarch trunc for PPC64.
2237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2238         multiarch truncf for PPC64.
2240 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2243         multiarch implementation.
2244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2245         file.
2246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2247         file.
2248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2249         file.
2250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2251         file.
2252         multiarch llround for PPC64.
2253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2254         multiarch round for PPC64.
2255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2256         multiarch roundf for PPC64.
2258 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2260         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2261         multiarch implementation.
2262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2263         file.
2264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2265         file.
2266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2267         file.
2268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2269         file.
2270         multiarch llround for PPC64.
2271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2272         multiarch floor for PPC64.
2273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2274         multiarch floorf for PPC64.
2276 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2279         multiarch implementation.
2280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2281         file.
2282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2283         file.
2284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2285         file.
2286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2287         file.
2288         multiarch llround for PPC64.
2289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2290         multiarch ceil for PPC64.
2291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2292         multiarch ceilf for PPC64.
2294 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2297         multiarch implementation.
2298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2299         file.
2300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2301         file.
2302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2303         file.
2304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2305         multiarch llround for PPC64.
2306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2307         multiarch lround for PPC64.
2309 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2311         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2312         multiarch implementation.
2313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2316         file.
2317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2320         multiarch isnan for PPC64.
2321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2322         multiarch isnanf for PPC64.
2324 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2326         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2327         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2328         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2329         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2330         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2333 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2335         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2336         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2337         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2338         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2340 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2343         multiarch implementations.
2344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2345         (__libc_ifunc_impl_list): Likewise.
2346         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2348         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2349         multiarch stpcpy for PPC64.
2351 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2354         multiarch implementations.
2355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2356         (__libc_ifunc_impl_list): Likewise.
2357         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2358         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2359         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2360         multiarch strcpy for PPC64.
2362 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2364         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2365         redefine function name.
2366         (_wordcopy_fwd_dest_aligned): Likewise.
2367         (_wordcopy_bwd_aligned): Likewise.
2368         (_wordcopy_bwd_dest_aligned): Likewise.
2369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2370         multiarch implementations.
2371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2372         (__libc_ifunc_impl_list): Likewise.
2373         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2374         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2375         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2376         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2377         multiarch wcscpy for PPC64.
2379 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2382         multiarch implementations.
2383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2384         (__libc_ifunc_impl_list): Likewise.
2385         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2386         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2387         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2388         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2389         multiarch wcscpy for PPC64.
2391 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2394         multiarch implementations.
2395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2396         (__libc_ifunc_impl_list): Likewise.
2397         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2398         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2399         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2400         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2401         multiarch wcsrchr for PPC64.
2403 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2406         multiarch implementations.
2407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2408         (__libc_ifunc_impl_list): Likewise.
2409         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2410         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2411         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2412         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2413         multiarch wcschr for PPC64.
2415 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2418         multiarch implementations.
2419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2420         (__libc_ifunc_impl_list): Likewise.
2421         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2422         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2423         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2424         multiarch strchrnul for PPC64.
2426 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2429         implementations.
2430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2431         (__libc_ifunc_impl_list): Likewise.
2432         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2433         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2434         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2435         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2436         strchr for PPC64.
2438 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2441         implementations.
2442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2443         (__libc_ifunc_impl_list): Likewise.
2444         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2445         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2446         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2447         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2448         strncmp for PPC64.
2450 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2453         multiarch implementations.
2454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2455         (__libc_ifunc_impl_list): Likewise.
2456         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2457         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2458         strncasecmp for PPC64.
2459         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2460         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2461         multiarch strncasecmp_l for PPC64.
2463 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2466         multiarch implementations.
2467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2468         (__libc_ifunc_impl_list): Likewise.
2469         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2470         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2471         multiarch strcasecmp for PPC64.
2472         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2473         file.
2474         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2475         multiarch strcasecmp_l for PPC64.
2477 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2480         implementations.
2481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2482         (__libc_ifunc_impl_list): Likewise.
2483         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2484         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2485         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2486         strnlen for PPC64.
2488 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2491         implementations.
2492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2493         (__libc_ifunc_impl_list): Likewise.
2494         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2495         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2496         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2497         strlen for PPC64.
2499 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2502         implementations.
2503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2504         (__libc_ifunc_impl_list): Likewise.
2505         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2506         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2507         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2508         rawmemrchr for PPC64.
2510 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2513         implementation.
2514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2515         (__libc_ifunc_impl_list): Likewise.
2516         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2517         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2518         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2519         memrchr for PPC64.
2521 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2524         implementation.
2525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2526         (__libc_ifunc_impl_list): Likewise.
2527         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2528         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2529         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2530         memchr for PPC64.
2532 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2535         implementation.
2536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2537         (__libc_ifunc_impl_list): Likewise.
2538         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2539         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2540         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2541         mempcpy for PPC64.
2543 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2545         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2546         avoid cretion of __bzero symbol.
2547         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2548         Likewise.
2549         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2550         Likewise.
2551         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2552         Likewise.
2553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2554         multiarch implementations.
2555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2556         (__libc_ifunc_impl_list): Likewise.
2557         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2558         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2559         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2560         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2561         bzero for PPC32.
2562         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2563         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2564         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2565         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2566         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2567         memset for PPC64.
2568         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2570 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2572         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2574         implementations.
2575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2576         (__libc_ifunc_impl_list): Likewise.
2577         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2578         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2579         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2580         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2581         memcmp for PPC64.
2583 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2586         multiarch for POWER/PPC64.
2587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2588         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2589         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2590         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2591         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2592         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2593         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2594         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2595         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2596         memcpy for PPC64.
2598 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2600         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2601         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2602         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2603         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2604         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2605         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2606         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2607         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2608         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2609         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2610         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2611         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2612         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2613         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2614         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2623 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2627 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2629         * benchtests/Makefile (bench): Add exp2 and log2.
2630         (LDLIBS-bench-exp2): Add -lm.
2631         (LDLIBS-bench-log2): Likewise.
2632         * benchtests/exp2-inputs: New inputs file.
2633         * benchtests/log2-inputs: New inputs file.
2634         * benchtests/log-inputs: Add new inputs.
2635         * benchtests/tan-inputs: Likewise.
2637 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2639         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2640         definition...
2641         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2642         csloww1, csloww2): ... from here.
2644         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2645         instead of structures.
2646         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2647         (POLYNOMIAL): Likewise.
2648         (TAYLOR_SLOW): Likewise.
2649         (__sin): Likewise.
2650         (__cos): Likewise.
2651         (slow1): Likewise.
2652         (slow2): Likewise.
2653         (sloww): Likewise.
2654         (sloww1); Likewise.
2655         (sloww2): Likewise.
2656         (bsloww1): Likewise.
2657         (bsloww2): Likewise.
2658         (cslow2): Likewise.
2659         (csloww): Likewise.
2660         (csloww1): Likewise.
2661         (csloww2): Likewise.
2663 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2665         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2666         (__malloc_assert, __libc_realloc, __libc_calloc,
2667         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2668         memcpy and memset.
2669         * malloc/hooks.c (realloc_check): Likewise.
2671 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2673         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2674         * malloc/arena.c: Remove PER_THREAD conditional.
2675         [!PER_THREAD]: Remove code.
2676         (ptmalloc_unlock_all2): Likewise.
2677         (ptmalloc_init): Likewise.
2678         (_int_new_arena): Likewise.
2679         (arena_get2): Likewise.
2680         * malloc/hooks.c (__malloc_get_state): Likewise.
2681         (__malloc_set_state): Likewise.
2682         * malloc/malloc.c: Likewise.
2683         (struct malloc_state): Likewise.
2684         (struct malloc_par): Likewise.
2685         (__libc_realloc): Likewise.
2686         (__libc_mallopt): Likewise.
2688 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2690         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2692 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2694         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2695         macro to a function.  Check for zero perturb_byte.
2696         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2698 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2700         * malloc/malloc.c: (force_reg): Remove.
2701         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2702         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2703         force_reg by atomic_forced_read.
2704         * malloc/arena.c (ptmalloc_init): Likewise.
2705         * malloc/hooks.c (top_check): Likewise.
2707 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2711 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2715 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2717         * math/auto-libm-test-in: Add tests of lgamma.
2718         * math/auto-libm-test-out: Regenerated.
2719         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2720         (M_LOG_2_SQRT_PIl): Likewise.
2721         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2722         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2723         mpfr_f_f1.
2724         (func_calc_desc): Add mpfr_f_f1 union field.
2725         (ARGS1): New macro.
2726         (ARGS2): Likewise.
2727         (ARGS3): Likewise.
2728         (ARGS4): Likewise.
2729         (RET1): Likewise.
2730         (RET2): Likewise.
2731         (CALC): Likewise.
2732         (FUNC): Likewise.
2733         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2734         (test_functions): Add lgamma.
2735         (calc_generic_results): Handle mpfr_f_f1.
2736         * sysdeps/i386/fpu/libm-test-ulps: Update.
2737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2739 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2741         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2742         __mpn_add_n for PowerPC64/POWER7.
2743         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2744         __mpn_sub_n for PowerPC64/POWER7.
2746 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2748         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2749         __mpn_addmul_1 for PowerPC64.
2750         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2751         __mpn_submul_1 for PowerPC64.
2752         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2753         for PowerPC64.
2754         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2755         for PowerPC64.
2757 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2759         [BZ #15089]
2760         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2762 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2764         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2766 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2768         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2769         add multiarch folders.
2770         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2771         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2772         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2773         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2774         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2775         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2776         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2777         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2778         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2779         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2780         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2788 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2791         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2793         New file.
2794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2795         New file.
2796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2797         multiarch __ieee754_hypot for PowerPC32.
2798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2799         New file.
2800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2801         New file.
2802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2803         multiarch __ieee754_hypotf for PowerPC32.
2805 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2807         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2808         long_double_symbol only if __logbl is defined.
2809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2810         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2811         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2812         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2813         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2814         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2815         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2816         path for implementation.
2817         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2818         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2820         logb, and logbl multiarch implementations for PowerPC32.
2821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2822         file.
2823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2824         file.
2825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2826         multiarch logb for PowerPC32.
2827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2828         file.
2829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2830         file.
2831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2832         multiarch logbf for PowerPC32.
2833         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2835         file.
2836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2837         multiarch logbl implementation for PowerPC32.
2839 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2842         and modff multiarch implementations.
2843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2844         New file.
2845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2846         New file.
2847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2848         multiarch modf for PowerPC32.
2849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2850         New file.
2851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2852         New file.
2853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2854         multiarch modff for PowerPC32.
2856 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2859         and lrintf multiarch implementations.
2860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2861         New file.
2862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2863         New file.
2864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2865         multiarch lrint for PowerPC32.
2866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2867         file: multiarch lrintf for PowerPC32.
2869 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2872         and lroundf multiarch implementations.
2873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2874         New file.
2875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2876         New file.
2877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2878         New file.
2879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2880         multiarch lround for PowerPC32.
2881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2882         file: multiarch lroundf for PowerPC32.
2884 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2887         copysign and copysignf multiarch implementations.
2888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2889         New file.
2890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2891         New file.
2892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2893         file: multiarch copysign for PowerPC32.
2894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2895         file: multiarch copysignf for PowerPC32.
2897 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2900         and truncf multiarch implementations.
2901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2902         New file.
2903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2904         file.
2905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2906         multiarch trunc for PowerPC32.
2907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2908         New file.
2909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2910         New file.
2911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2912         multiarch truncf for PowerPC32.
2914 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2917         and roundf multiarch implementations.
2918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2919         New file.
2920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2921         file.
2922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2923         multiarch round for PowerPC32.
2924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2925         New file.
2926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2927         New file.
2928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2929         multiarch roundf for PowerPC32.
2931 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2934         and floorf multiarch implementations.
2935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2936         New file.
2937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2938         file.
2939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2940         multiarch floor for PowerPC32.
2941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2942         New file.
2943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2944         New file.
2945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2946         multiarch floorf for PowerPC32.
2948 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2951         and ceilf multiarch implementations.
2952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2953         New file.
2954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2955         file.
2956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2957         multiarch ceil for PowerPC32.
2958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2959         New file.
2960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2961         file.
2962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2963         multiarch ceilf for PowerPC32.
2965 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2967         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2968         is defined.
2969         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2970         FINITEF is defined.
2971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2972         and finitef multiarch implementations.
2973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2974         New file.
2975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2976         file.
2977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2978         multiarch finite for PowerPC32.
2979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2980         New file.
2981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2982         file: multiarch finitef for PowerPC32.
2984 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2987         and isinff multiarch implementations.
2988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2989         file.
2990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2991         file.
2992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2993         multiarch isinf for PowerPC32.
2994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2995         New file.
2996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2997         multiarch isinff for PowerPC32.
2999 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3001         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3002         alias when __isnan is defined.
3003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3004         and isnanf multiarch implementations.
3005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3006         file.
3007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3008         file.
3009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3010         file.
3011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3012         file.
3013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3014         multiarch isnan for PowerPC32.
3015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3016         New file.
3017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3018         New file.
3019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3020         multiarch isnanf for PowerPC32.
3022 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3025         and sqrtf multiarch implementations.
3026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3027         file.
3028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3029         file.
3030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3031         multiarch sqrt for PowerPC32.
3032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3033         file.
3034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3035         file.
3036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3037         multiarch sqrtf for PowerPC32.
3039 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3042         and llroundf multiarch implementations.
3043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3044         New file.
3045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3046         New file.
3047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3048         New file.
3049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3050         file: multiarch llround for PowerPC32.
3051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3052         file: multiarch llroundf for PowerPC32.
3054 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3057         multiarch PowerPC32 fpu implementations.
3058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3059         New file.
3060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3061         New file.
3062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3063         multiarch llrint for PowerPC32.
3064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3065         New file.
3066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3067         New file.
3068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3069         file.
3071 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3075 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3077         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3078         file.
3079         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3080         file.
3081         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3082         file.
3083         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3084         multiarch wordcopy for PPC32.
3085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3086         wordcopy objects.
3087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3088         (__libc_ifunc_impl_list): Likewise.
3089         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3090         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3091         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3092         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3093         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3094         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3096 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3098         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3100         file.
3101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3102         file.
3103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3104         file.
3105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3106         multiarch wcscpy for PPC32.
3107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3108         multiarch objects.
3109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3110         (__libc_ifunc_impl_list): Likewise.
3111         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3112         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3113         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3114         sysdeps/powerpc/power6/wcscpy.c.
3116 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3118         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3120         file.
3121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3122         file.
3123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3124         file.
3125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3126         multiarch wcsrchr for PPC32.
3127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3128         multiarch objects.
3129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3130         (__libc_ifunc_impl_list): Likewise.
3131         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3132         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3133         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3134         sysdeps/powerpc/power6/wcsrchr.c.
3136 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3139         file.
3140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3141         file.
3142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3144         multiarch wcschr for PPc32.
3145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3146         multiarch objects.
3147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3148         (__libc_ifunc_impl_list): Likewise.
3149         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3150         * sysdeps/powerpc/power6/wcschr.c: ... to here.
3151         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3152         sysdeps/powerpc/power6/wcschr.c.
3154 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3156         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3157         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3158         file.
3159         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3160         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3161         file: multiarch strchr for PPC32.
3162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3163         multiarch objects.
3164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3165         (__libc_ifunc_impl_list): Likewise.
3167 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3169         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3170         name.
3171         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3172         file.
3173         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3174         file.
3175         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3176         multiarch strchrnul for PPC32.
3177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3178         multiarch objects.
3179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3180         (__libc_ifunc_impl_list): Likewise.
3182 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3184         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3185         file.
3186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3187         multiarch strncasecmp for PPC32.
3188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3189         file.
3190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3191         multiarch strncasecmp_l for PPC32.
3192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3193         strncasecmp multiarch objects.
3194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3195         (__libc_ifunc_impl_list): Likewise.
3197 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3199         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3200         file.
3201         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3202         multiarch strncasecmp for PPC32.
3203         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3204         New file.
3205         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3206         multiarch strcasecmp_l for PPC32.
3207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3208         multiarch objects.
3209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3210         (__libc_ifunc_impl_list): Likewise.
3212 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3215         file.
3216         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3217         file.
3218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3219         multiarch strncmp for PPC32.
3220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3221         multiarch objects.
3222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3223         (__libc_ifunc_impl_list): Likewise.
3225 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3227         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3228         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3229         file.
3230         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3231         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3233         multiarch objects.
3234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3235         (__libc_ifunc_impl_list): Likewise.
3237 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3239         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3240         file.
3241         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3242         file.
3243         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3245         multiarch objects.
3246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3247         (__libc_ifunc_impl_list): Likewise.
3249 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3251         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3252         file.
3253         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3254         file.
3255         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3256         multiarch rawmemchr for PPC32.
3257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3258         multiarch objects.
3259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3260         (__libc_ifunc_impl_list): Likewise.
3262 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3264         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3265         file.
3266         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3267         file.
3268         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3269         file: memrchr multiarch for PPC32.
3270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3271         multiarch objects.
3272         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3273         (__libc_ifunc_impl_list): Likewise.
3275 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3277         * string/memchr.c (__memchr): Using macro to redefine symbol name.
3278         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3279         file.
3280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3281         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3282         multiarch memchr for PPC32.
3283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3284         multiarch objects.
3285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3286         (__libc_ifunc_impl_list): Likewise.
3288 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3290         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3291         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3292         file.
3293         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3294         file.
3295         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3296         file: multiarch mempcpy for PPC32.
3297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3298         multiarch objects.
3299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3300         (__libc_ifunc_impl_list): Likewise.
3302 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3304         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3305         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3306         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3307         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3308         multiarch bzero for PPC32.
3309         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3310         file.
3311         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3312         file.
3313         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3314         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3315         file: multiarch memset for PPC32.
3316         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3318         memset multiarch objects.
3319         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3320         (__libc_ifunc_impl_list): Likewise.
3322 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3324         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3325         file.
3326         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3328         memcmp for PPC32.
3329         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3331         multiarch objects.
3332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3333         (__libc_ifunc_impl_list): Likewise.
3335 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3340         file.
3341         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3342         file.
3343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3344         file.
3345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3346         multiarch memcpy for PPC32.
3347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3348         multiarch objects.
3349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3350         (__libc_ifunc_impl_list): Likewise.
3352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3355         support multiarch for POWER/PPC32.
3356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3357         Likewise.
3358         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3360         Implies file to make multiarch folder appers before the fpu and
3361         default folder for power4 configuration.
3363 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3365         * scripts/bench.pl: Append volatile keyword to type.
3367 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3369         * sysdeps/sh/sotruss-lib.c: New file.
3370         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3372 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3376 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3378         [BZ #6810]
3379         * math/w_tgamma.c: Include <errno.h>.
3380         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3381         * math/w_tgammaf.c: Include <errno.h>.
3382         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3383         * math/w_tgammal.c: Include <errno.h>.
3384         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3385         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3386         underflow.  Add more tgamma tests.
3387         * math/auto-libm-test-out: Regenerated.
3388         * sysdeps/i386/fpu/libm-test-ulps: Update.
3389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3391         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3392         sin, sinh, tan, tanh, tgamma, y0 and y1.
3393         * math/auto-libm-test-out: Regenerated.
3394         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3395         (TEST_COND_x86): Likewise.
3396         (M_E2l): Remove macro.
3397         (M_E3l): Likewise.
3398         (M_2_SQRT_PIl): Likewise.
3399         (M_SQRT_PIl): Likewise.
3400         (M_1_DIV_El): Likewise.
3401         (log_test_data): Use AUTO_TESTS_f_f.
3402         (log10_test_data): Likewise.
3403         (log1p_test_data): Likewise.
3404         (log2_test_data): Likewise.
3405         (sin_test_data): Likewise.
3406         (sin_tonearest_test_data): Likewise.
3407         (sin_towardzero_test_data): Likewise.
3408         (sin_downward_test_data): Likewise.
3409         (sin_upward_test_data): Likewise.
3410         (sinh_test_data): Likewise.
3411         (sinh_tonearest_test_data): Likewise.
3412         (sinh_towardzero_test_data): Likewise.
3413         (sinh_downward_test_data): Likewise.
3414         (sinh_upward_test_data): Likewise.
3415         (tan_test_data): Likewise.
3416         (tan_tonearest_test_data): Likewise.
3417         (tan_towardzero_test_data): Likewise.
3418         (tan_downward_test_data): Likewise.
3419         (tan_upward_test_data): Likewise.
3420         (tanh_test_data): Likewise.
3421         (tgamma_test_data): Likewise.
3422         (y0_test_data): Likewise.
3423         (y1_test_data): Likewise.
3424         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3425         (special_real_inputs): Add pi/4.
3426         * sysdeps/i386/fpu/libm-test-ulps: Update.
3427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3429 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3431         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3432         "longjmp_target" static probes.
3433         (__longjmp): Rename to __longjmp_symbol.
3434         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3435         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3436         on which longjmp to generate.
3437         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3438         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3439         probe.
3440         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3441         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3442         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3443         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3444         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3445         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3447         __longjmp_symbol based on which __longjmp to generate.
3448         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3449         probe.
3450         (setjmp): Rename to setjmp_symbol.
3451         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3452         (_setjmp): Rename to _setjmp_symbol.
3453         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3454         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3455         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3456         which setjmp to generate.
3457         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3458         "longjmp_target" static probes.
3460 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3462         * benchtests/README: Add note about output arguments.
3463         * benchtests/bench-sincos.c: Remove file.
3464         * benchtests/sincos-inputs: New file.
3465         * scripts/bench.pl: Identify output arguments and define
3466         static variables for them.
3468         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3470         [BZ #15941]
3471         * Makefile (INSTALL): Add install-plain.texi as the primary
3472         dependency.
3473         * manual/install-plain.texi: New file.
3474         * manual/install.texi: Include node directive only for
3475         non-plaintext output.
3477 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3479         * stdlib/longlong.h: Update from GCC.
3481         [BZ #6807]
3482         [BZ #15901]
3483         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3484         * math/w_j0f.c (y0f): Likewise.
3485         * math/w_j0l.c (__y0l): Likewise.
3486         * math/w_j1.c (y1): Likewise.
3487         * math/w_j1f.c (y1f): Likewise.
3488         * math/w_j1l.c (__y1l): Likewise
3489         * math/w_jn.c (yn): Likewise.
3490         * math/w_jnf.c (ynf): Likewise.
3491         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3492         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3493         value for Bessel function domain errors outside _SVID_ mode.
3494         Adjust sign of return value for yn (negative integer, 0).
3495         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3496         by zero in return for negative x and set sign appropriately for
3497         negative n.
3498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3499         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3500         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3501         expectations in error cases.
3502         (y1_test_data): Likewise.
3503         (yn_test_data): Likewise.
3504         * sysdeps/i386/fpu/libm-test-ulps: Update.
3505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3507 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3509         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3510         "64" to "64-v1".  Add "64-v2".
3511         (abi-64-options): Rename to ...
3512         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3513         (abi-64-condition): Rename to ...
3514         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3515         (abi-64-ld-soname): Rename to ...
3516         (abi-64-v1-ld-soname): ... this.
3517         (abi-64-v2-options): Define.
3518         (abi-64-v2-condition): Likewise.
3519         (abi-64-v2-ld-soname): Likewise.
3520         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3521         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3526 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3527             Alan Modra  <amodra@gmail.com>
3529         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3530         New versions for use with the ELFv2 ABI.
3531         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3532         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3533         declaration.
3534         (struct La_ppc64v2_retval): Likewise.
3535         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3536         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3537         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3538         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3539         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3540         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3541         Do not save or restore CR.
3542         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3543         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3544         return values for ELFv2 ABI.  Fix location of FPR return registers.
3545         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3546         updated values for _CALL_ELF == 2.
3547         (La_regs, La_retval, int_retval): Likewise.
3549 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3551         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3552         (FRAME_MIN_SIZE_PARM): Likewise.
3553         (FRAME_BACKCHAIN): Likewise.
3554         (FRAME_CR_SAVE): Likewise.
3555         (FRAME_LR_SAVE): Likewise.
3556         (FRAME_TOC_SAVE): Likewise.
3557         (FRAME_PARM_SAVE): Likewise.
3558         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3559         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3560         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3561         (call_mcount_parm_offset): New macro.
3562         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3563         (PROF): Use symbolic stack frame offsets.
3564         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3565         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3566         Redefine in terms of FRAME_MIN_SIZE.
3567         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3568         (_dl_profile_resolve): Likewise.  Update comment.
3569         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3570         symbols stack frame offsets.
3571         (__sigsetjmp): Likewise.
3572         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3573         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3574         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3575         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3578         (FRAME_BACKCHAIN): Remove.
3579         (FRAME_CR_SAVE): Likewise.
3580         (FRAME_LR_SAVE): Likewise.
3581         (FRAME_COMPILER_DW): Likewise.
3582         (FRAME_LINKER_DW): Likewise.
3583         (FRAME_TOC_SAVE): Likewise.
3584         (FRAME_PARM_SAVE): Likewise.
3585         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3586         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3587         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3589         (CHECK_SP): Use symbolic stack frame offsets.
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3591         zone" instead of caller's parameter save area for temp storage.
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3593         Likewise.  Also, use symbolic stack frame offsets.
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3595         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3596         our own stack frame instead of the caller's.
3597         (__socket): Use symbolic stack frame offsets.
3599 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3600             Alan Modra  <amodra@gmail.com>
3602         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3603         Define.
3604         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3605         PPC64_LOCAL_ENTRY_OFFSET): Define.
3606         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3607         New function.
3608         (elf_machine_fixup_plt): Call it.
3609         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3610         reloc arguments.
3611         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3612         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3613         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3614         r2 before calling target.
3616 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3617             Alan Modra  <amodra@gmail.com>
3619         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3620         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3621         versions of macros to support ELFv2 ABI.
3622         (LOCALENTRY): New macro.
3623         (ENTRY, EALIGN): Use it.
3624         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3625         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3626         fall through into ENTRY entry point.
3627         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3628         Only define if _CALL_ELF != 2.
3630         (elf_machine_matches_host): Verify ABI version matches.
3631         (RTLD_START): Use LOCALENTRY.
3632         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3633         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3634         (PLT_ENTRY_WORDS): New macro.
3635         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3636         (elf_machine_runtime_setup): Support ELFv2 ABI.
3637         (elf_machine_fixup_plt): Likewise.
3638         (elf_machine_plt_conflict): Likewise.
3639         (resolve_ifunc): Likewise.
3640         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3641         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3642         Likewise.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3644         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3646         (makecontext): Support ELFv2 ABI.
3647         * elf/elf.h (EF_PPC64_ABI): Define.
3649 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3651         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3652         New assembler macro.
3653         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3654         [ASSEMBLER] (ENTRY): ... but instead here ...
3655         [ASSEMBLER] (EALIGN): ... and here.
3656         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3657         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3658         [!ASSEMBLER] (ENTRY_2): Use it.
3659         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3660         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3661         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3662         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3663         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3665         Use PPC64_LOAD_FUNCPTR.
3667 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3669         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3671 2013-12-04  Alan Modra  <amodra@gmail.com>
3673         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3674         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3675         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3676         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3679         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3680         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3681         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3682         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3683         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3685 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3688         (__makecontext): Fix incorrect CFI when backtracing out of
3689         context created via makecontext.
3690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3691         (__setcontext): Fix incorrect CFI during switch to new context.
3692         (__novec_setcontext): Likewise.
3694 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3696         [BZ #4772]
3697         * time/strptime_l.c (__strptime_internal): Allow modifiers
3698         in strptime.
3699         * time/tst-strptime.c (day_tests): Add testcase.
3702 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3704         * scripts/bench.pl: Skip over blank lines.
3706 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3708         [BZ #926]
3709         * manual/time.texi (Calendar Time): Clarify what timezone functions
3710         use.
3712 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3716 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3718         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3719         implementation.
3720         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3721         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3722         * debug/memset_chk.c (__memset_chk): Likewise.
3723         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3724         * debug/strncpy_chk.c: Likewise.
3726 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3728         [BZ #15268]
3729         [BZ #15425]
3730         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3731         (__ieee754_exp): For possibly underflowing results, check size of
3732         result and force underflow exception if required.
3733         * math/auto-libm-test-in: Add more tests of exp.
3734         * math/auto-libm-test-out: Regenerated.
3735         * sysdeps/i386/fpu/libm-test-ulps: Update.
3736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3738         [BZ #16283]
3739         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3740         * math/w_exp2f.c (__exp2f): Likewise.
3741         * math/w_exp2l.c (__exp2l): Likewise.
3742         * math/auto-libm-test-in: Do not allow missing errno on exp2
3743         underflow.
3744         * math/auto-libm-test-out: Regenerated.
3746 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3748         [BZ #16274]
3749         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3750         handle filename validation.
3751         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3752         (do_open): Delete.
3754 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3756         [BZ #6786]
3757         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3758         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3759         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3760         <float.h>.
3761         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3762         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3763         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3764         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3765         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3766         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3767         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3768         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3769         Add more erfc tests.
3770         * math/auto-libm-test-out: Regenerated.
3771         * sysdeps/i386/fpu/libm-test-ulps: Update.
3772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3774         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3775         exp2, expm1, j0 and j1.
3776         * math/auto-libm-test-out: Regenerated.
3777         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3778         (erfc_test_data): Likewise.
3779         (exp_test_data): Likewise.
3780         (exp_tonearest_test_data): Likewise.
3781         (exp_towardzero_test_data): Likewise.
3782         (exp_downward_test_data): Likewise.
3783         (exp_upward_test_data): Likewise.
3784         (exp10_test_data): Likewise.
3785         (exp2_test_data): Likewise.
3786         (expm1_test_data): Likewise.
3787         (j0_test_data): Likewise.
3788         (j1_test_data): Likewise.
3789         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3790         (input_flag_type): Add flag_xfail_rounding.
3791         (input_flags): Add xfail-rounding.
3792         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3793         (output_for_one_input_case): Handle flag_xfail_rounding.
3794         * sysdeps/i386/fpu/libm-test-ulps: Update.
3795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3797 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3799         [BZ #16289]
3800         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3801         division by 0.
3803 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3805         [BZ #16195]
3806         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3807         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3808         (STAP_PROBE0): New macro.
3809         (STAP_PROBE1): Likewise.
3810         (STAP_PROBE2): Likewise.
3811         (STAP_PROBE3): Likewise.
3812         (STAP_PROBE4): Likewise.
3814 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3816         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3818 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3820         * benchtests/Makefile (bench): Add sqrt.
3821         (LDLIBS-bench-sqrt): New.
3822         * benchtests/sqrt-input: New.
3824 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3826         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3827         (GAIH_EAI): Likewise.
3828         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3829         (gaih_inet): Likewise.
3830         (getaddrinfo): Don't use GAIH_EAI.
3832         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3833         (struct gaih): Remove definition.
3835 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3837         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3838         Use HERRNOP directly.
3840 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3844 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3846         * math/gen-auto-libm-tests.c (test_functions): Add more
3847         single-argument functions.
3848         (special_fill_pi_2): New function.
3849         (special_fill_minus_pi_2): Likewise.
3850         (special_fill_pi_6): Likewise.
3851         (special_fill_minus_pi_6): Likewise.
3852         (special_fill_pi_3): Likewise.
3853         (special_fill_2pi_3): Likewise.
3854         (special_fill_e): Likewise.
3855         (special_fill_1_e): Likewise.
3856         (special_fill_e_minus_1): Likewise.
3857         (special_real_inputs): Add more special inputs.
3858         (output_for_one_input_case): Do not require ERANGE on underflow to
3859         zero if round-to-nearest result does not underflow to zero, unless
3860         exact results required.
3861         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3862         atan, atanh, cbrt, cos and cosh.
3863         * math/auto-libm-test-out: Regenerated.
3864         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3865         (acos_tonearest_test_data): Likewise.
3866         (acos_towardzero_test_data): Likewise.
3867         (acos_downward_test_data): Likewise.
3868         (acos_upward_test_data): Likewise.
3869         (acosh_test_data): Likewise.
3870         (asin_test_data): Likewise.
3871         (asin_tonearest_test_data): Likewise.
3872         (asin_towardzero_test_data): Likewise.
3873         (asin_upward_test_data): Likewise.
3874         (asinh_test_data): Likewise.
3875         (atan_test_data): Likewise.
3876         (atanh_test_data): Likewise.
3877         (cbrt_test_data): Likewise.
3878         (cos_test_data): Likewise.
3879         (cos_tonearest_test_data): Likewise.
3880         (cos_towardzero_test_data): Likewise.
3881         (cos_downward_test_data): Likewise.
3882         (cos_upward_test_data): Likewise.
3883         (cosh_test_data): Likewise.
3884         (cosh_tonearest_test_data): Likewise.
3885         (cosh_towardzero_test_data): Likewise.
3886         (cosh_downward_test_data): Likewise.
3887         (cosh_upward_test_data): Likewise.
3888         * sysdeps/i386/fpu/libm-test-ulps: Update.
3889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3891 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3893         [BZ #6787]
3894         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3895         * math/w_exp10f.c (__exp10f): Likewise.
3896         * math/w_exp10l.c (__exp10l): Likewise.
3897         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3898         errno settings in existing tests.
3900         [BZ #14032]
3901         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3902         precision control set to double precision.
3903         * sysdeps/i386/fpu/w_sqrt.c: New file.
3904         * math/auto-libm-test-in: Add more tests.
3905         * math/auto-libm-test-out: Update.
3907         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3908         (sqrt_test_tonearest): New function.
3909         (sqrt_towardzero_test_data): New variable.
3910         (sqrt_test_towardzero): New function.
3911         (sqrt_downward_test_data): New variable.
3912         (sqrt_test_downward): New function.
3913         (sqrt_upward_test_data): New variable.
3914         (sqrt_test_upward): New function.
3915         (main): Call the new functions.
3917         * math/gen-auto-libm-tests.c: New file.
3918         * math/auto-libm-test-in: Likewise.
3919         * math/auto-libm-test-out: New generated file.
3920         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3921         variables.
3922         (%beautify): Add generated representations of zero.
3923         (top level): Set $auto_input and call parse_auto_input.
3924         (beautify): Remove trailing "f" from hex float constants.
3925         (parse_args): Handle XFAIL_TEST.
3926         (convert_condition): New function.
3927         (or_value): Likewise.
3928         (or_cond_value): Likewise.
3929         (generate_testfile): Handle AUTO_TESTS_* lines.
3930         (parse_auto_input): New function.
3931         * math/libm-test.inc (XFAIL_TEST): New macro.
3932         (ERRNO_UNCHANGED): Update value.
3933         (ERRNO_EDOM): Likewise.
3934         (ERRNO_ERANGE): Likewise.
3935         (IGNORE_RESULT): Likewise.
3936         (TEST_COND_flt_32): New macro.
3937         (TEST_COND_dbl_64): Likewise.
3938         (TEST_COND_ldbl_96_intel): Likewise.
3939         (TEST_COND_ldbl_96_m68k): Likewise.
3940         (TEST_COND_ldbl_128): Likewise.
3941         (TEST_COND_ldbl_128ibm): Likewise.
3942         (TEST_COND_long32): Likewise.
3943         (TEST_COND_long64): Likewise.
3944         (TEST_COND_before_rounding): Likewise.
3945         (TEST_COND_after_rounding): Likewise.
3946         (enable_test): Handle XFAIL_TEST flag.
3947         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3948         with finite results.
3949         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3950         auto-libm-test-out.
3952 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3953             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3955         [BZ #16214]
3956         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3957         __tls_get_addr_internal instead of __tls_get_offset in order to
3958         avoid GOT pointer dependency.  Make rtld export
3959         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3960         __tls_get_addr since we are a __tls_get_offset platform.
3961         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3962         GOT pointer being set up before.
3963         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3965 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3967         * manual/math.texi (Errors in Math Functions): Document accuracy
3968         goals.
3970         [BZ #15004]
3971         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3972         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3973         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3974         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3975         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3976         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3977         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3978         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3979         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3980         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3981         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3982         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3983         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3984         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3985         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3986         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3988         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3989         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3990         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3991         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3992         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3993         Likewise.
3994         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3995         Likewise.
3996         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3997         Likewise.
3998         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3999         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4000         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4001         atomic-feupdateenv and flt-rounds.
4002         * sysdeps/powerpc/nofpu/Versions (libc): Add
4003         __atomic_feholdexcept, __atomic_feclearexcept,
4004         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4005         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4006         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4007         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4008         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4009         here.
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4011         Update.
4013         * manual/arith.texi (FP Exceptions): Document that exceptions may
4014         not be raised when matherr is used.
4015         (Math Error Reporting): Document overflow in directed rounding
4016         modes.  Document that errno may not be set when finite values are
4017         returned on overflow.  Document intent to set errno on underflow
4018         only for underflow to zero.
4020         [BZ #16271]
4021         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4022         round-to-nearest then adjust result for other rounding modes.
4023         * include/fenv.h (fegetround): Use libm_hidden_proto.
4024         * math/fegetround.c (fegetround): Use libm_hidden_def.
4025         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4026         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4027         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4028         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4029         Likewise.
4030         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4031         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4032         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4033         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4035 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4037         [BZ #16077]
4038         * nss/Versions (libnss_files): Add
4039         _nss_files_gethostbyname3_r.
4040         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4041         New function.
4042         (HOST_DB_LOOKUP): Remove macro.
4043         (_nss_files_gethostbyname_r): Implement function without the
4044         HOST_DB_LOOKUP macro.
4045         (_nss_files_gethostbyname2_r): Likewise.
4047 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
4049         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4051 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
4053         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4054         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4055         warning.
4057 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4059         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4060         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4061         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4062         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4063         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4064         __fe_nomask_env_priv and attribute_hidden.
4065         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4066         (libc_feupdateenv_test_ppc): Likewise.
4067         (libc_feresetround_ppc): Likewise.
4068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4069         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4070         compat_symbol macro.
4071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4072         (__fe_nomask_env): Likewise.
4073         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4075 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4077         * string/Makefile: Remove ifunc tests.
4078         * string/test-string.h: Define TEST_IFUNC.
4079         * string/test-bcopy-ifunc.c: Remove.
4080         * string/test-bzero-ifunc.c: Likewise.
4081         * string/test-memccpy-ifunc.c: Likewise.
4082         * string/test-memchr-ifunc.c: Likewise.
4083         * string/test-memcmp-ifunc.c: Likewise.
4084         * string/test-memcpy-ifunc.c: Likewise.
4085         * string/test-memmem-ifunc.c: Likewise.
4086         * string/test-memmove-ifunc.c: Likewise.
4087         * string/test-mempcpy-ifunc.c: Likewise.
4088         * string/test-memrchr-ifunc.c: Likewise.
4089         * string/test-memset-ifunc.c: Likewise.
4090         * string/test-rawmemchr-ifunc.c: Likewise.
4091         * string/test-stpcpy-ifunc.c: Likewise.
4092         * string/test-stpncpy-ifunc.c: Likewise.
4093         * string/test-strcasecmp-ifunc.c: Likewise.
4094         * string/test-strcasestr-ifunc.c: Likewise.
4095         * string/test-strcat-ifunc.c: Likewise.
4096         * string/test-strchr-ifunc.c: Likewise.
4097         * string/test-strchrnul-ifunc.c: Likewise.
4098         * string/test-strcmp-ifunc.c: Likewise.
4099         * string/test-strcpy-ifunc.c: Likewise.
4100         * string/test-strcspn-ifunc.c: Likewise.
4101         * string/test-strlen-ifunc.c: Likewise.
4102         * string/test-strncasecmp-ifunc.c: Likewise.
4103         * string/test-strncat-ifunc.c: Likewise.
4104         * string/test-strncmp-ifunc.c: Likewise.
4105         * string/test-strncpy-ifunc.c: Likewise.
4106         * string/test-strnlen-ifunc.c: Likewise.
4107         * string/test-strpbrk-ifunc.c: Likewise.
4108         * string/test-strrchr-ifunc.c: Likewise.
4109         * string/test-strspn-ifunc.c: Likewise.
4110         * string/test-strstr-ifunc.c: Likewise.
4112 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4114         * benchtests/Makefile: Remove ifunc tests.
4115         * benchtests/bench-string.h: Define TEST_IFUNC.
4116         * benchtests/bench-bcopy-ifunc.c: Remove.
4117         * benchtests/bench-bzero-ifunc.c: Likewise.
4118         * benchtests/bench-memccpy-ifunc.c: Likewise.
4119         * benchtests/bench-memchr-ifunc.c: Likewise.
4120         * benchtests/bench-memcmp-ifunc.c: Likewise.
4121         * benchtests/bench-memcpy-ifunc.c: Likewise.
4122         * benchtests/bench-memmem-ifunc.c: Likewise.
4123         * benchtests/bench-memmove-ifunc.c: Likewise.
4124         * benchtests/bench-mempcpy-ifunc.c: Likewise.
4125         * benchtests/bench-memrchr-ifunc.c: Likewise.
4126         * benchtests/bench-memset-ifunc.c: Likewise.
4127         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4128         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4129         * benchtests/bench-stpcpy-ifunc.c: Likewise.
4130         * benchtests/bench-stpncpy-ifunc.c: Likewise.
4131         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4132         * benchtests/bench-strcasestr-ifunc.c: Likewise.
4133         * benchtests/bench-strcat-ifunc.c: Likewise.
4134         * benchtests/bench-strchr-ifunc.c: Likewise.
4135         * benchtests/bench-strchrnul-ifunc.c: Likewise.
4136         * benchtests/bench-strcmp-ifunc.c: Likewise.
4137         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4138         * benchtests/bench-strcpy-ifunc.c: Likewise.
4139         * benchtests/bench-strcspn-ifunc.c: Likewise.
4140         * benchtests/bench-strlen-ifunc.c: Likewise.
4141         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4142         * benchtests/bench-strncat-ifunc.c: Likewise.
4143         * benchtests/bench-strncmp-ifunc.c: Likewise.
4144         * benchtests/bench-strncpy-ifunc.c: Likewise.
4145         * benchtests/bench-strnlen-ifunc.c: Likewise.
4146         * benchtests/bench-strpbrk-ifunc.c: Likewise.
4147         * benchtests/bench-strrchr-ifunc.c: Likewise.
4148         * benchtests/bench-strsep-ifunc.c: Likewise.
4149         * benchtests/bench-strspn-ifunc.c: Likewise.
4150         * benchtests/bench-strstr-ifunc.c: Likewise.
4152 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4154         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4156 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
4158         * resolv/netdb.h: Use __glibc_reserved instead __unused.
4159         * rt/aio.h: Likewise.
4160         * sysdeps/gnu/bits/utmp.h: Likewise.
4161         * sysdeps/gnu/bits/utmpx.h: Likewise.
4162         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4163         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4164         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4165         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4166         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4167         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4168         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4169         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4170         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4171         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4172         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4173         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4174         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4176         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4177         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4178         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4179         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4180         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4181         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4182         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4183         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4184         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4185         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4186         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4187         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4188         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4189         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4190         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4191         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4192         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4193         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4194         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4195         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4196         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4197         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4198         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4199         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4200         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4201         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4202         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4203         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4205 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
4207         [BZ #16245]
4208         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4209         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4211 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
4213         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4214         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4215         Likewise.
4217 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4219         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4220         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4221         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4222         (__fesetround): Remove define.
4223         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4224         rounding and exceptions handling.
4225         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4226         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4227         (__fe_nomask_env): Likewise.
4228         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4229         __fegetround instead of fegetround.
4230         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4231         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4233 2013-11-21  Roland McGrath  <roland@hack.frob.com>
4235         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4236         it's there.
4238         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4240 2013-11-21  Meador Inge  <meadori@codesourcery.com>
4242         [BZ #11157]
4243         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4244         (encrypt_r): Likewise.
4245         * malloc/obstack.h (obstack_free): Likewise.
4246         * posix/unistd.h (encrypt): Likewise.
4248 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4250         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4251         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4252         DL_CALL_DT_FINI() that call the functions directly.
4253         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4254         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4255         * elf/dl-fini.c: Likewise.
4257 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
4259         * malloc/hooks.c (memalign_check): Add alignment rounding.
4260         * malloc/malloc.c (_mid_memalign): New function.
4261         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4262         Implement by calling _mid_memalign.
4263         * manual/probes.texi (Memory Allocation Probes): Remove
4264         memory_valloc_retry and memory_pvalloc_retry.
4266 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4268         * locale/programs/locarchive.c (open_archive): Add const
4269         qualifier to ARCHIVEFNAME and copy default fname to
4270         DEFAULT_FNAME.
4272         [BZ #15601]
4273         * libio/tst-widetext.input: Rename Oriya to Odia.
4274         * locale/iso-639.def: Likewise.
4276         * manual/probes.texi (Mathematical Function Probes): Add
4277         documentation for sin, cos, asin and acos probes.
4278         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4279         (__sin32): Add slowasin probe.
4280         (__cos32): Add slowacos probe.
4281         (__mpsin): Add slowsin probe.
4282         (__mpcos): Add slowcos probe.
4284 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
4286         [BZ #15483]
4287         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4288         thread-local __sim_exceptions_thread and global
4289         __sim_exceptions_global.
4290         (__sim_disabled_exceptions): Change to thread-local
4291         __sim_disabled_exceptions_thread and global
4292         __sim_disabled_exceptions_global.
4293         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4294         and global __sim_round_mode_global.
4295         (__simulate_exceptions): Use thread-local floating-point state and
4296         set global state from it as needed.
4297         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4298         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4299         __sim_round_mode_thread.
4300         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4301         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4302         and global __sim_exceptions_global.
4303         (__sim_disabled_exceptions): Change to thread-local
4304         __sim_disabled_exceptions_thread and global
4305         __sim_disabled_exceptions_global.
4306         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4307         and global __sim_round_mode_global.
4308         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4309         (SIM_SET_GLOBAL): Likewise.
4310         * sysdeps/powerpc/soft-fp/sfp-machine.h
4311         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4312         __sim_round_mode_thread.
4313         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4314         __sim_disabled_exceptions_thread.
4315         (__sim_exceptions): Change to __sim_exceptions_thread.
4316         (__sim_disabled_exceptions): Change to
4317         __sim_disabled_exceptions_thread.
4318         (__sim_round_mode): Change to __sim_round_mode_thread.
4319         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4320         thread-local floating-point state and set global state from it as
4321         needed.
4322         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4323         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4324         (__sim_disabled_exceptions): Remove extern declaration.
4325         (feenableexcept): Use thread-local floating-point state and set
4326         global state from it as needed.
4327         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4328         extern declaration.
4329         (__sim_disabled_exceptions): Likewise.
4330         (__sim_round_mode): Likewise.
4331         (__fegetenv): Use thread-local floating-point state.
4332         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4333         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4334         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4335         floating-point state and set global state from it as needed.
4336         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4337         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4338         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4339         Likewise.
4340         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4341         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4342         Likewise.
4343         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4344         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4345         Use __sim_round_mode_thread.
4346         * math/test-fenv-tls.c: New file.
4347         * math/Makefile (tests): Add test-fenv-tls.
4348         ($(objpfx)test-fenv-tls): Depend on
4349         $(common-objpfx)nptl/libpthread.so.
4351 2013-11-19  Andreas Schwab  <schwab@suse.de>
4353         * locale/programs/locale.c (show_info): Decode wordarray elements.
4354         * locale/categories.def (LC_MONETARY): Add element for
4355         _NL_MONETARY_CRNCYSTR.
4356         * locale/C-monetary.c (conversion_rate): New variable.
4357         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4358         element.
4360 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
4362         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4363         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4365 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4367         * elf/Makefile (tst-auxv): New test.
4368         * elf/tst-auxv.c: New
4369         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4371 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4373         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4374         (hidden_proto): Caller changed.
4375         (hidden_tls_proto): New macro.
4376         (libc_hidden_tls_proto): Likewise.
4377         (rtld_hidden_tls_proto): Likewise.
4378         (libm_hidden_tls_proto): Likewise.
4379         (libresolv_hidden_tls_proto): Likewise.
4380         (librt_hidden_tls_proto): Likewise.
4381         (libdl_hidden_tls_proto): Likewise.
4382         (libnss_files_hidden_tls_proto): Likewise.
4383         (libnsl_hidden_tls_proto): Likewise.
4384         (libnss_nisplus_hidden_tls_proto): Likewise.
4385         (libutil_hidden_tls_proto): Likewise.
4387 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4389         [BZ #10253]
4390         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4391         (decompose_rpath): Defer expansion to fillin_rpath.
4392         (_dl_init_paths): Pass linkmap to fillin_rpath.
4394 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4396         * benchtests/Makefile: Add strsep.
4397         * benchtests/bench-strsep.c: New file: strsep benchtest.
4398         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4400 2013-11-18  Andreas Schwab  <schwab@suse.de>
4402         * locale/programs/locale.c (show_info) [case byte]: Check for
4403         '\377' instead of '\177'.
4404         * locale/C-monetary.c (not_available): Always use "\377".
4405         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4406         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4407         detect unavailable sign_posn locale elements.
4408         * locale/localeconv.c (__localeconv): For grouping and
4409         mon_grouping handle "\177" and "\377" like no grouping.
4410         (INT_ELEM): New macro.  Use it to set all numeric members.
4411         * locale/programs/ld-monetary.c (monetary_read)
4412         <tok_mon_grouping>: Normalize single -1 to the empty string.
4413         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4414         Likewise.
4416 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4418         [BZ #16055]
4419         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4420         when we match (nil).
4421         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4423 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4425         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4426         (NO_TEST_INLINE): Update value.
4427         (ERRNO_UNCHANGED): Likewise.
4428         (ERRNO_EDOM): Likewise.
4429         (ERRNO_ERANGE): Likewise.
4430         (IGNORE_RESULT): Likewise.
4431         (check_float_internal): Check signs of NaN results if
4432         TEST_NAN_SIGN used.
4433         (check_complex): Pass TEST_NAN_SIGN flag through to second
4434         check_float_internal call.
4435         (copysign_test_data): Add tests with quiet NaNs as second
4436         argument.  Use TEST_NAN_SIGN.
4437         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4438         TEST_NAN_SIGN.
4439         (signbit_test_data): Add tests of quiet NaN argument.
4440         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4442         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4443         $ignore_result.
4444         (parse_args): Handle function results specified as IGNORE.
4445         * math/libm-test.inc (IGNORE_RESULT): New macro.
4446         (check_float_internal): Do not check numerical result if flag
4447         IGNORE_RESULT set.
4448         (check_complex): Pass through IGNORE_RESULT to second
4449         check_float_internal call.
4450         (check_int): Do not check numerical result if flag IGNORE_RESULT
4451         set.
4452         (check_long): Likewise.
4453         (check_bool): Likewise.
4454         (check_longlong): Likewise.
4455         (lrint_test_data): Add tests of infinite and NaN arguments.
4456         (lrint_tonearest_test_data): Likewise.
4457         (lrint_towardzero_test_data): Likewise.
4458         (lrint_downward_test_data): Likewise.
4459         (lrint_upward_test_data): Likewise.
4460         (llrint_test_data): Likewise.
4461         (llrint_tonearest_test_data): Likewise.
4462         (llrint_towardzero_test_data): Likewise.
4463         (llrint_downward_test_data): Likewise.
4464         (llrint_upward_test_data): Likewise.
4465         (lround_test_data): Likewise.
4466         (llround_test_data): Likewise.
4468         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4469         (ERRNO_UNCHANGED): Update value.
4470         (ERRNO_EDOM): Likewise.
4471         (ERRNO_ERANGE): Likewise.
4472         (NO_TEST_INLINE_FLOAT): New macro.
4473         (NO_TEST_INLINE_DOUBLE): Likewise.
4474         (enable_test): New function.
4475         (RUN_TEST_f_f): Check enable_test before running test.
4476         (RUN_TEST_2_f): Likewise.
4477         (RUN_TEST_fff_f): Likewise.
4478         (RUN_TEST_c_f): Likewise.
4479         (RUN_TEST_f_f1): Likewise.
4480         (RUN_TEST_fF_f1): Likewise.
4481         (RUN_TEST_fI_f1): Likewise.
4482         (RUN_TEST_ffI_f1): Likewise.
4483         (RUN_TEST_c_c): Likewise.
4484         (RUN_TEST_cc_c): Likewise.
4485         (RUN_TEST_f_i): Likewise.
4486         (RUN_TEST_f_i_tg): Likewise.
4487         (RUN_TEST_ff_i_tg): Likewise.
4488         (RUN_TEST_f_b): Likewise.
4489         (RUN_TEST_f_b_tg): Likewise.
4490         (RUN_TEST_f_l): Likewise.
4491         (RUN_TEST_f_L): Likewise.
4492         (RUN_TEST_fFF_11): Likewise.
4493         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4494         conditionals.
4495         (cosh_test_data): Likewise.
4496         (exp_test_data): Likewise.
4497         (expm1_test_data): Likewise.
4498         (hypot_test_data): Likewise.
4499         (pow_test_data): Likewise.
4500         (sinh_test_data): Likewise.
4501         (tanh_test_data): Likewise.
4502         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4503         flags argument.
4505         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4506         tests with quiet NaN input and output.
4507         (acosh_test_data): Likewise.
4508         (asin_test_data): Likewise.
4509         (asinh_test_data): Likewise.
4510         (atan_test_data): Likewise.
4511         (atanh_test_data): Likewise.
4512         (atan2_test_data): Likewise.
4513         (cbrt_test_data): Likewise.
4514         (cos_test_data): Likewise.
4515         (cosh_test_data): Likewise.
4516         (erf_test_data): Likewise.
4517         (erfc_test_data): Likewise.
4518         (exp_test_data): Likewise.
4519         (exp10_test_data): Likewise.
4520         (exp2_test_data): Likewise.
4521         (expm1_test_data): Likewise.
4522         (hypot_test_data): Likewise.
4523         (j0_test_data): Likewise.
4524         (j1_test_data): Likewise.
4525         (jn_test_data): Likewise.
4526         (lgamma_test_data): Likewise.
4527         (log_test_data): Likewise.
4528         (log10_test_data): Likewise.
4529         (log1p_test_data): Likewise.
4530         (log2_test_data): Likewise.
4531         (pow_test_data): Likewise.
4532         (scalb_test_data): Likewise.
4533         (sin_test_data): Likewise.
4534         (sincos_test_data): Likewise.
4535         (sinh_test_data): Likewise.
4536         (tan_test_data): Likewise.
4537         (tanh_test_data): Likewise.
4538         (tgamma_test_data): Likewise.
4539         (y0_test_data): Likewise.
4540         (y1_test_data): Likewise.
4541         (yn_test_data): Likewise.
4543         [BZ #16167]
4544         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4545         argument being NaN and avoid computations with second argument in
4546         that case.
4547         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4548         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4549         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4551 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4553         * locale/iso-639.def: Add Chitwani Tharu (the).
4555 2013-11-14  Andreas Schwab  <schwab@suse.de>
4557         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4558         word instead of empty string.
4560 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4563         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4565         (__fe_nomask_env): Likewise.
4567 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4569         * benchtests/bench-timing.h: Include time.h.
4571 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4573         [BZ #15997]
4574         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4575         to 3.4.0 for x32.
4576         * sysdeps/unix/sysv/linux/configure: Regenerated.
4578 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4580         [BZ #16151]
4581         * stdlib/strtod_l.c (round_and_return): Do not consider
4582         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4583         exponent one less than half the least subnormal exponent.
4584         * stdlib/test-strtod-round-data: Add more tests.
4585         * stdlib/tst-strtod-round.c (tests): Regenerated.
4587 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4589         [BZ #14143]
4590         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4591         (__fe_mask_env): Likewise.
4592         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4593         libm_hidden_proto and add function prototype.
4594         (__fe_mask_env): Add function prototype.
4595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4596         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4598         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4600         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4602 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4604         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4605         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4607 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4609         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4610         of htab_find_slot().
4612 2013-11-11  David S. Miller  <davem@davemloft.net>
4614         [BZ #16150]
4615         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4616         symbol in the non-vis3 case in static builds.
4617         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4618         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4619         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4620         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4622 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4624         [BZ #387]
4625         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4626         it is empty.
4628 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4630         * benchtests/Makefile: Add bench-strtod.
4631         * benchtests/bench-strtod.c: New file: strtod benchtest
4633 2013-11-11  Andreas Schwab  <schwab@suse.de>
4635         [BZ #16153]
4636         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4637         terminating NUL in key length.
4639 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4641         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4642         Add artificial ODP entry for vDSO symbol for PPC64.
4643         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4644         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4646 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4648         [BZ #15374]
4649         * nss/getent.c (services_keys): Recognize services starting with digit.
4651 2013-11-06  David S. Miller  <davem@davemloft.net>
4653         [BZ #15985]
4654         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4655         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4657 2013-11-06  Will Newton  <will.newton@linaro.org>
4659         * manual/memory.texi (Malloc Examples): Remove register
4660         keyword from examples.
4662 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4664         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4666 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4668         [BZ #6981]
4669         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4670         depending on [__GCC_IEC_559 > 0].
4671         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4672         depending on [__GCC_IEC_559_COMPLEX > 0].
4674 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4676         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4677         to iso-639.def.
4679 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4681         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4683 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4685         [BZ #16112]
4686         * malloc/malloc (malloc_info): Do not handle first bin as
4687         special case.
4689 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4691         * locale/iso-639.def: Add Central Nahuatl (nhn).
4693 2013-11-01  Bruno Haible  <bruno@clisp.org>
4695         [BZ #7003]
4696         * manual/math.texi (BSD Random): Specify range upper bound as
4697         in POSIX.
4699 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4701         * locale/iso-639.def: Add Meadow Mari (mhr).
4703 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4705         [BZ #14752], [BZ #15763]
4706         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4707         Validate name.
4708         * rt/tst_shm.c: Add test for escaping directory.
4710 2013-10-31  Andreas Schwab  <schwab@suse.de>
4712         [BZ #15917]
4713         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4714         followed by 'x' as part of digit sequence.
4715         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4717 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4719         [BZ #16037]
4720         * configure.ac: allow GNU Make 4.0 and greater.
4721         * configure: Regenerated.
4723 2013-10-30  Will Newton  <will.newton@linaro.org>
4725         [BZ #16038]
4726         * malloc/hooks.c (memalign_check): Limit alignment to the
4727         maximum representable power of two.
4728         * malloc/malloc.c (__libc_memalign): Likewise.
4729         * malloc/tst-memalign.c (do_test): Add test for very
4730         large alignment values.
4731         * malloc/tst-posix_memalign.c (do_test): Likewise.
4733 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4735         [BZ #11087]
4736         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4737         (munmap_chunk): Likewise.
4738         (mremap_chunk): Likewise.
4740 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4742         [BZ #15799]
4743         * stdlib/div.c (div): Remove obsolete code.
4744         * stdlib/ldiv.c (ldiv): Likewise.
4745         * stdlib/lldiv.c (lldiv): Likewise.
4747 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4749         [BZ #16071]
4750         * nss/nss_files/files-XXX.c (get_contents_ret): New
4751         enumerator.
4752         (get_contents): New function.
4753         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4755 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4757         * configure.in: Moved to ...
4758         * configure.ac: ... here. Change reference to configure.in
4759         to configure.ac.
4760         * sysdeps/arm/preconfigure.ac: ... here.
4761         configure.in to configure.ac.
4762         * sysdeps/gnu/configure.in: Moved to ...
4763         * sysdeps/gnu/configure.ac: ... here.
4764         * sysdeps/i386/configure.in: Moved to ...
4765         * sysdeps/i386/configure.ac: ... here.
4766         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4767         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4768         * sysdeps/mach/configure.in: Moved to ...
4769         * sysdeps/mach/configure.ac: ... here.
4770         * sysdeps/mach/hurd/configure.in: Moved to ...
4771         * sysdeps/mach/hurd/configure.ac: ... here.
4772         * sysdeps/powerpc/configure.in: Moved to ...
4773         * sysdeps/powerpc/configure.ac: ... here.
4774         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4775         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4776         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4777         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4778         * sysdeps/s390/s390-32/configure.in: Moved to ...
4779         * sysdeps/s390/s390-32/configure.ac: ... here.
4780         * sysdeps/s390/s390-64/configure.in: Moved to ...
4781         * sysdeps/s390/s390-64/configure.ac: ... here.
4782         * sysdeps/sh/configure.in: Moved to ...
4783         * sysdeps/sh/configure.ac: ... here.
4784         * sysdeps/sparc/configure.in: Moved to ...
4785         * sysdeps/sparc/configure.ac: ... here.
4786         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4787         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4788         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4789         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4790         * sysdeps/x86_64/configure.in: Moved to ...
4791         * sysdeps/x86_64/configure.ac: ... here.
4792         * sysdeps/x86_64/preconfigure.in: Moved to ...
4793         * sysdeps/x86_64/preconfigure.ac: ... here.
4794         * aclocal.m4: Change reference to configure.in to configure.ac.
4795         * config.h.in: Likewise.
4796         * manual/install.texi: Likewise.
4797         * manual/maint.texi: Likewise.
4798         * Makefile: Likewise.
4799         * malloc/Makefile: Likewise.
4800         * nscd/Makefile: Likewise.
4801         * Makeconfig: Change reference to configure.in and
4802         preconfigure.in to configure.ac and preconfigure.ac
4803         respectively.
4804         * INSTALL: Regenerated.
4805         * configure: Likewise.
4806         * sysdeps/gnu/configure: Likewise.
4807         * sysdeps/i386/configure: Likewise.
4808         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4809         * sysdeps/mach/configure: Likewise.
4810         * sysdeps/mach/hurd/configure: Likewise.
4811         * sysdeps/powerpc/configure: Likewise.
4812         * sysdeps/powerpc/powerpc32/configure: Likewise.
4813         * sysdeps/powerpc/powerpc64/configure: Likewise.
4814         * sysdeps/s390/s390-32/configure: Likewise.
4815         * sysdeps/s390/s390-64/configure: Likewise.
4816         * sysdeps/sh/configure: Likewise.
4817         * sysdeps/sparc/configure: Likewise.
4818         * sysdeps/unix/sysv/linux/configure: Likewise.
4819         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4820         * sysdeps/x86_64/configure: Likewise.
4821         * sysdeps/x86_64/preconfigure: Likewise.
4823 2013-10-29  Andreas Schwab  <schwab@suse.de>
4825         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4827 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4829         * benchtests/pow-inputs: Add new inputs.
4831         * benchtests/exp-inputs: Add new inputs.
4833         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4834         conditional check for return value.
4835         (__cos32): Likewise.
4837 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4839         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4840         to provide a boost for large inputs with word alignment.
4841         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4842         implementation based on optimized PPC64 strcpy.
4843         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4844         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4845         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4846         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4848 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4850         [BZ #2801]
4851         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4853 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4855         [BZ #14876]
4856         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4857         * time/tst-strptime.c (day_tests): Add testcase.
4859 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4861         [BZ #14029]
4862         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4864 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4866         [BZ #16074]
4867         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4868         MAP_FAILED on error.
4870 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4872         [BZ #16072]
4873         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4874         heap for large requests.
4876 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4878         [BZ #9954]
4879         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4880         result if the result has no associated interface.
4881         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4882         interface for all 127.X.Y.Z addresses.
4884 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4886         * locale/iso-639.def: Add Ligurian (lij)
4888 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4890         [BZ #15825]
4891         * sunrpc/rpc_main.c: Document rpcgen -5.
4893 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4895         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4897 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4899         [BZ #10278]
4900         * posix/glob.c: Match only directories when trailing slash is present.
4901         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4902         (main): Add testcase.
4904 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4906         [BZ #15670]
4907         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4909 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4911         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4912         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4913         AUTH_DES and cindex for FIPS 140-2.
4914         (DES Encryption): Add cindex FIPS 46-3.
4916         * locale/locarchive.h (struct locarhandle): Add fname.
4917         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4918         if an optional argument was specified to --list-archive,
4919         otherwise NULL.
4920         * locale/programs/locarchive.c (show_archive_content): Take new
4921         argument fname and pass it via ah.fname to open_archive.
4922         * locale/programs/localedef.h: Update decl.
4923         (open_archive): If AH->fname is non-null, open that file
4924         rather than the default file name, and don't ignore ENOENT.
4925         (create_archive): Set AH.fname to NULL.
4926         (delete_locales_from_archive): Likewise.
4927         (add_locales_to_archive): Likewise.
4928         * locale/programs/locfile.c (write_all_categories): Likewise.
4930 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4931             Aldy Hernandez  <aldyh@redhat.com>
4933         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4934         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4935         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4936         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4937         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4938         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4939         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4940         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4941         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4942         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4943         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4944         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4945         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4946         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4947         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4948         Likewise.
4949         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4950         Likewise.
4951         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4952         Likewise.
4953         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4954         Likewise.
4955         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4956         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4957         Likewise.
4958         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4959         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4960         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4961         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4962         Likewise.
4963         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4964         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4965         * sysdeps/powerpc/preconfigure: Likewise.
4966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4967         Likewise.
4968         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4969         Replace contents of file by #include of <fenv_libc.h>.
4970         * sysdeps/powerpc/soft-fp/sfp-machine.h
4971         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4972         and <sys/prctl.h>.
4973         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4974         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4986         Allow copysignl PLT reference to be missing.
4988 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4989             Joseph Myers  <joseph@codesourcery.com
4991         [BZ #15948]
4992         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4993         single character.
4994         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4996 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4998         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4999         * elf/tst-tls1.c: Likewise.
5000         * elf/tst-tls10.h: Likewise.
5001         * elf/tst-tls14.c: Likewise.
5002         * elf/tst-tls2.c: Likewise.
5003         * elf/tst-tls3.c: Likewise.
5004         * elf/tst-tls4.c: Likewise.
5005         * elf/tst-tls5.c: Likewise.
5006         * elf/tst-tls6.c: Likewise.
5007         * elf/tst-tls7.c: Likewise.
5008         * elf/tst-tls8.c: Likewise.
5009         * elf/tst-tls9.c: Likewise.
5010         * elf/tst-tlsmod1.c: Likewise.
5011         * elf/tst-tlsmod13.c: Likewise.
5012         * elf/tst-tlsmod13a.c: Likewise.
5013         * elf/tst-tlsmod14a.c: Likewise.
5014         * elf/tst-tlsmod16a.c: Likewise.
5015         * elf/tst-tlsmod16b.c: Likewise.
5016         * elf/tst-tlsmod2.c: Likewise.
5017         * elf/tst-tlsmod3.c: Likewise.
5018         * elf/tst-tlsmod4.c: Likewise.
5019         * elf/tst-tlsmod5.c: Likewise.
5020         * elf/tst-tlsmod6.c: Likewise.
5022 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
5024         [BZ #12486]
5025         * malloc/malloc.c: remove checks for statistics.
5027 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5029         [BZ #15277]
5030         * inet/inet_net.c (inet_network): Detect additional invalid strings.
5031         * inet/tst-network.c: Add testcase.
5033 2013-10-17  Andreas Schwab  <schwab@suse.de>
5035         [BZ #15218]
5036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5037         to determine canonical name.
5039 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
5041         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5042         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5043         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5044         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5046         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5047         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5048         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5049         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5050         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5051         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5052         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5053         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5054         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5055         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5056         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5057         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5058         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5059         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5060         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5061         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5062         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5063         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5064         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5065         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5066         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5067         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5068         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5069         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5070         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5071         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5072         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5073         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5074         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5075         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5076         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5077         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5078         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5079         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5080         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5081         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5082         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5083         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5084         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5085         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5086         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5087         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5088         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5089         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5090         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5091         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5092         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5093         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5094         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5095         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5096         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5097         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5098         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5100 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
5102         [BZ #16041]
5103         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5104         make result into a quiet NaN.
5106 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
5108         * soft-fp/adddf3.c: Fix horizontal whitespace.
5109         * soft-fp/addsf3.c: Likewise.
5110         * soft-fp/addtf3.c: Likewise.
5111         * soft-fp/divdf3.c: Likewise.
5112         * soft-fp/divsf3.c: Likewise.
5113         * soft-fp/divtf3.c: Likewise.
5114         * soft-fp/double.h: Likewise.
5115         * soft-fp/eqdf2.c: Likewise.
5116         * soft-fp/eqsf2.c: Likewise.
5117         * soft-fp/eqtf2.c: Likewise.
5118         * soft-fp/extenddftf2.c: Likewise.
5119         * soft-fp/extended.h: Likewise.
5120         * soft-fp/extendsfdf2.c: Likewise.
5121         * soft-fp/extendsftf2.c: Likewise.
5122         * soft-fp/extendxftf2.c: Likewise.
5123         * soft-fp/fixdfdi.c: Likewise.
5124         * soft-fp/fixdfsi.c: Likewise.
5125         * soft-fp/fixdfti.c: Likewise.
5126         * soft-fp/fixsfdi.c: Likewise.
5127         * soft-fp/fixsfsi.c: Likewise.
5128         * soft-fp/fixsfti.c: Likewise.
5129         * soft-fp/fixtfdi.c: Likewise.
5130         * soft-fp/fixtfsi.c: Likewise.
5131         * soft-fp/fixtfti.c: Likewise.
5132         * soft-fp/fixunsdfdi.c: Likewise.
5133         * soft-fp/fixunsdfsi.c: Likewise.
5134         * soft-fp/fixunsdfti.c: Likewise.
5135         * soft-fp/fixunssfdi.c: Likewise.
5136         * soft-fp/fixunssfsi.c: Likewise.
5137         * soft-fp/fixunssfti.c: Likewise.
5138         * soft-fp/fixunstfdi.c: Likewise.
5139         * soft-fp/fixunstfsi.c: Likewise.
5140         * soft-fp/fixunstfti.c: Likewise.
5141         * soft-fp/floatdidf.c: Likewise.
5142         * soft-fp/floatdisf.c: Likewise.
5143         * soft-fp/floatditf.c: Likewise.
5144         * soft-fp/floatsidf.c: Likewise.
5145         * soft-fp/floatsisf.c: Likewise.
5146         * soft-fp/floatsitf.c: Likewise.
5147         * soft-fp/floattidf.c: Likewise.
5148         * soft-fp/floattisf.c: Likewise.
5149         * soft-fp/floattitf.c: Likewise.
5150         * soft-fp/floatundidf.c: Likewise.
5151         * soft-fp/floatundisf.c: Likewise.
5152         * soft-fp/floatunditf.c: Likewise.
5153         * soft-fp/floatunsidf.c: Likewise.
5154         * soft-fp/floatunsisf.c: Likewise.
5155         * soft-fp/floatunsitf.c: Likewise.
5156         * soft-fp/floatuntidf.c: Likewise.
5157         * soft-fp/floatuntisf.c: Likewise.
5158         * soft-fp/floatuntitf.c: Likewise.
5159         * soft-fp/fmadf4.c: Likewise.
5160         * soft-fp/fmasf4.c: Likewise.
5161         * soft-fp/fmatf4.c: Likewise.
5162         * soft-fp/gedf2.c: Likewise.
5163         * soft-fp/gesf2.c: Likewise.
5164         * soft-fp/getf2.c: Likewise.
5165         * soft-fp/ledf2.c: Likewise.
5166         * soft-fp/lesf2.c: Likewise.
5167         * soft-fp/letf2.c: Likewise.
5168         * soft-fp/muldf3.c: Likewise.
5169         * soft-fp/mulsf3.c: Likewise.
5170         * soft-fp/multf3.c: Likewise.
5171         * soft-fp/negdf2.c: Likewise.
5172         * soft-fp/negsf2.c: Likewise.
5173         * soft-fp/negtf2.c: Likewise.
5174         * soft-fp/op-1.h: Likewise.
5175         * soft-fp/op-2.h: Likewise.
5176         * soft-fp/op-4.h: Likewise.
5177         * soft-fp/op-8.h: Likewise.
5178         * soft-fp/op-common.h: Likewise.
5179         * soft-fp/quad.h: Likewise.
5180         * soft-fp/single.h: Likewise.
5181         * soft-fp/soft-fp.h: Likewise.
5182         * soft-fp/sqrtdf2.c: Likewise.
5183         * soft-fp/sqrtsf2.c: Likewise.
5184         * soft-fp/sqrttf2.c: Likewise.
5185         * soft-fp/subdf3.c: Likewise.
5186         * soft-fp/subsf3.c: Likewise.
5187         * soft-fp/subtf3.c: Likewise.
5188         * soft-fp/truncdfsf2.c: Likewise.
5189         * soft-fp/trunctfdf2.c: Likewise.
5190         * soft-fp/trunctfsf2.c: Likewise.
5191         * soft-fp/trunctfxf2.c: Likewise.
5192         * soft-fp/unorddf2.c: Likewise.
5193         * soft-fp/unordsf2.c: Likewise.
5194         * soft-fp/unordtf2.c: Likewise.
5196 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
5198         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5199         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5201 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
5203         * elf/dl-libc.c: Clear initfini list after freeing.
5205 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
5207         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5208         * soft-fp/addsf3.c: Likewise.
5209         * soft-fp/addtf3.c: Likewise.
5210         * soft-fp/divdf3.c: Likewise.
5211         * soft-fp/divsf3.c: Likewise.
5212         * soft-fp/divtf3.c: Likewise.
5213         * soft-fp/double.h: Likewise.
5214         * soft-fp/eqdf2.c: Likewise.
5215         * soft-fp/eqsf2.c: Likewise.
5216         * soft-fp/eqtf2.c: Likewise.
5217         * soft-fp/extenddftf2.c: Likewise.
5218         * soft-fp/extended.h: Likewise.
5219         * soft-fp/extendsfdf2.c: Likewise.
5220         * soft-fp/extendsftf2.c: Likewise.
5221         * soft-fp/extendxftf2.c: Likewise.
5222         * soft-fp/fixdfdi.c: Likewise.
5223         * soft-fp/fixdfsi.c: Likewise.
5224         * soft-fp/fixdfti.c: Likewise.
5225         * soft-fp/fixsfdi.c: Likewise.
5226         * soft-fp/fixsfsi.c: Likewise.
5227         * soft-fp/fixsfti.c: Likewise.
5228         * soft-fp/fixtfdi.c: Likewise.
5229         * soft-fp/fixtfsi.c: Likewise.
5230         * soft-fp/fixtfti.c: Likewise.
5231         * soft-fp/fixunsdfdi.c: Likewise.
5232         * soft-fp/fixunsdfsi.c: Likewise.
5233         * soft-fp/fixunsdfti.c: Likewise.
5234         * soft-fp/fixunssfdi.c: Likewise.
5235         * soft-fp/fixunssfsi.c: Likewise.
5236         * soft-fp/fixunssfti.c: Likewise.
5237         * soft-fp/fixunstfdi.c: Likewise.
5238         * soft-fp/fixunstfsi.c: Likewise.
5239         * soft-fp/fixunstfti.c: Likewise.
5240         * soft-fp/floatdidf.c: Likewise.
5241         * soft-fp/floatdisf.c: Likewise.
5242         * soft-fp/floatditf.c: Likewise.
5243         * soft-fp/floatsidf.c: Likewise.
5244         * soft-fp/floatsisf.c: Likewise.
5245         * soft-fp/floatsitf.c: Likewise.
5246         * soft-fp/floattidf.c: Likewise.
5247         * soft-fp/floattisf.c: Likewise.
5248         * soft-fp/floattitf.c: Likewise.
5249         * soft-fp/floatundidf.c: Likewise.
5250         * soft-fp/floatundisf.c: Likewise.
5251         * soft-fp/floatunsidf.c: Likewise.
5252         * soft-fp/floatunsisf.c: Likewise.
5253         * soft-fp/floatuntidf.c: Likewise.
5254         * soft-fp/floatuntisf.c: Likewise.
5255         * soft-fp/floatuntitf.c: Likewise.
5256         * soft-fp/fmadf4.c: Likewise.
5257         * soft-fp/fmasf4.c: Likewise.
5258         * soft-fp/fmatf4.c: Likewise.
5259         * soft-fp/gedf2.c: Likewise.
5260         * soft-fp/gesf2.c: Likewise.
5261         * soft-fp/getf2.c: Likewise.
5262         * soft-fp/ledf2.c: Likewise.
5263         * soft-fp/lesf2.c: Likewise.
5264         * soft-fp/letf2.c: Likewise.
5265         * soft-fp/muldf3.c: Likewise.
5266         * soft-fp/mulsf3.c: Likewise.
5267         * soft-fp/multf3.c: Likewise.
5268         * soft-fp/negdf2.c: Likewise.
5269         * soft-fp/negsf2.c: Likewise.
5270         * soft-fp/negtf2.c: Likewise.
5271         * soft-fp/op-1.h: Likewise.
5272         * soft-fp/op-2.h: Likewise.
5273         * soft-fp/op-4.h: Likewise.
5274         * soft-fp/op-8.h: Likewise.
5275         * soft-fp/op-common.h: Likewise.
5276         * soft-fp/quad.h: Likewise.
5277         * soft-fp/single.h: Likewise.
5278         * soft-fp/soft-fp.h: Likewise.
5279         * soft-fp/sqrtdf2.c: Likewise.
5280         * soft-fp/sqrtsf2.c: Likewise.
5281         * soft-fp/sqrttf2.c: Likewise.
5282         * soft-fp/subdf3.c: Likewise.
5283         * soft-fp/subsf3.c: Likewise.
5284         * soft-fp/subtf3.c: Likewise.
5285         * soft-fp/truncdfsf2.c: Likewise.
5286         * soft-fp/trunctfdf2.c: Likewise.
5287         * soft-fp/trunctfsf2.c: Likewise.
5288         * soft-fp/trunctfxf2.c: Likewise.
5289         * soft-fp/unorddf2.c: Likewise.
5290         * soft-fp/unordsf2.c: Likewise.
5291         * soft-fp/unordtf2.c: Likewise.
5293 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
5295         [BZ #15672]
5296         * misc/error.c (error_tail): Fix possible buffer overflow.
5298 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
5300         [BZ #13028]
5301         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5302         address.
5304 2013-10-14  P. J. McDermott  <pj@pehjota.net>
5306         [BZ #832]
5307         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
5308         testing pipefail option.
5310 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5312         * soft-fp/double.h: Indent preprocessor directives inside #if.
5313         * soft-fp/extended.h: Likewise.
5314         * soft-fp/op-2.h: Likewise.
5315         * soft-fp/op-4.h: Likewise.
5316         * soft-fp/op-common.h: Likewise.
5317         * soft-fp/quad.h: Likewise.
5318         * soft-fp/single.h: Likewise.
5319         * soft-fp/soft-fp.h: Likewise.
5321 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
5323         * iconv/iconv_prog.c: Fix typos.
5324         * stdio-common/psiginfo-data.h: Likewise.
5326 2013-10-12   Reuben Thomas <rrt@sc3d.org>
5328         [BZ #15764]
5329         * locale/setlocale.c: Fix typo.
5331 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
5333         [BZ #16036]
5334         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5335         signaling NaN arguments.
5336         * soft-fp/unordsf2.c (__unordsf2): Likewise.
5337         * soft-fp/unordtf2.c (__unordtf2): Likewise.
5339         [BZ #14910]
5340         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5341         unordered operands.
5342         * soft-fp/gesf2.c (__gesf2): Likewise.
5343         * soft-fp/getf2.c (__getf2): Likewise.
5344         * soft-fp/ledf2.c (__ledf2): Likewise.
5345         * soft-fp/lesf2.c (__lesf2): Likewise.
5346         * soft-fp/letf2.c (__letf2): Likewise.
5348         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5349         * soft-fp/eqsf2.c (__eqsf2): Likewise.
5350         * soft-fp/eqtf2.c (__eqtf2): Likewise.
5351         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5352         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5353         * soft-fp/fixdfti.c (__fixdfti): Likewise.
5354         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5355         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5356         * soft-fp/fixsfti.c (__fixsfti): Likewise.
5357         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5358         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5359         * soft-fp/fixtfti.c (__fixtfti): Likewise.
5360         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5361         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5362         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5363         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5364         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5365         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5366         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5367         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5368         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5369         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5370         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5371         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5372         * soft-fp/floattidf.c (__floattidf): Likewise.
5373         * soft-fp/floattisf.c (__floattisf): Likewise.
5374         * soft-fp/floattitf.c (__floattitf): Likewise.
5375         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5376         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5377         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5378         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5379         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5380         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5381         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5382         * soft-fp/gesf2.c (__gesf2): Likewise.
5383         * soft-fp/getf2.c (__getf2): Likewise.
5384         * soft-fp/ledf2.c (__ledf2): Likewise.
5385         * soft-fp/lesf2.c (__lesf2): Likewise.
5386         * soft-fp/letf2.c (__letf2): Likewise.
5388         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5389         Undefine and redefine.
5390         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5391         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5392         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5393         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5394         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5395         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5396         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5397         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5398         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5399         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5400         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5401         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5402         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5403         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5404         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5406         [BZ #16032]
5407         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5408         without decrementing exponent if mantissa >= that for the
5409         denominator, not >.
5410         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5411         denominator, not >.  Decrement exponent in < case instead of
5412         incrementing in >= case.
5413         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5414         without decrementing exponent if mantissa >= that for the
5415         denominator, not >.
5417         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5418         computing saturated result for unsigned overflow.
5420 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5421             Jeff Law  <law@redhat.com>
5423         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5424         (atan2Mp): Add systemtap probe marker.
5425         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5426         (__ieee754_log): Add systemtap probe marker.
5427         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5428         (atanMp): Add systemtap probe marker.
5429         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5430         (tanMp): Add systemtap probe marker.
5431         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5432         (__slowexp): Add systemtap probe marker.
5433         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5434         (__slowpow): Add systemtap probe marker.
5435         * manual/probes.texi: Document probes.
5437 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5439         [BZ #15362]
5440         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5441         written.
5442         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5443         written.
5444         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5445         written to buffer but not flushed.
5446         * libio/iofwrite_u.c:  Likewise.
5447         * libio/iopadn.c:  Return bytes returned even if EOF was
5448         encountered.
5449         * libio/iowpadn.c:  Likewise.
5450         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5451         if _IO_padn does not write the whole buffer.
5452         [!COMPILE_WPRINTF] (PAD): Likewise.
5454 2013-10-10  David S. Miller  <davem@davemloft.net>
5456         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5457         directory block.
5459 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5461         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5462         instead of FSF address.
5463         * soft-fp/fixdfti.c: Likewise.
5464         * soft-fp/fixsfti.c: Likewise.
5465         * soft-fp/fixtfti.c: Likewise.
5466         * soft-fp/fixunsdfti.c: Likewise.
5467         * soft-fp/fixunssfti.c: Likewise.
5468         * soft-fp/fixunstfti.c: Likewise.
5469         * soft-fp/floattidf.c: Likewise.
5470         * soft-fp/floattisf.c: Likewise.
5471         * soft-fp/floattitf.c: Likewise.
5472         * soft-fp/floatuntidf.c: Likewise.
5473         * soft-fp/floatuntisf.c: Likewise.
5474         * soft-fp/floatuntitf.c: Likewise.
5475         * soft-fp/trunctfxf2.c: Likewise.
5477         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5478         * soft-fp/fixdfti.c: Likewise.
5479         * soft-fp/fixsfti.c: Likewise.
5480         * soft-fp/fixtfti.c: Likewise.
5481         * soft-fp/fixunsdfti.c: Likewise.
5482         * soft-fp/fixunssfti.c: Likewise.
5483         * soft-fp/fixunstfti.c: Likewise.
5484         * soft-fp/floattidf.c: Likewise.
5485         * soft-fp/floattisf.c: Likewise.
5486         * soft-fp/floattitf.c: Likewise.
5487         * soft-fp/floatuntidf.c: Likewise.
5488         * soft-fp/floatuntisf.c: Likewise.
5489         * soft-fp/floatuntitf.c: Likewise.
5490         * soft-fp/trunctfxf2.c: Likewise.
5492 2013-10-10  David S. Miller  <davem@davemloft.net>
5494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5496 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5498         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5499         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5500         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5501         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5502         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5503         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5504         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5506         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5507         for NaNs before doing comparisons on argument.
5508         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5509         Likewise.
5511 2013-10-10  Will Newton  <will.newton@linaro.org>
5513         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5514         passed to _int_memalign does not overflow.
5516 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5518         * scripts/bench.pl: Add include-sources directive.
5519         * benchtests/README: Update documentation.
5521 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5523         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5524         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5525         instead of FP_INIT_ROUNDMODE.
5526         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5527         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5529         [BZ #16034]
5530         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5531         copy class of input value.
5532         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5533         not handle exceptions.
5534         * soft-fp/negsf2.c (__negsf2): Likewise.
5535         * soft-fp/negtf2.c (__negtf2): Likewise.
5536         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5538 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5540         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5541         semicolon.  From Linux kernel.
5543 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5545         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5547 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5549         [BZ #156]
5550         * manual/socket.texi: Added statement about buffer
5551         for gethostbyname2_r.
5553 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5555         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5556         Use .p2align directive instead, throughout.
5557         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5558         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5559         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5560         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5561         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5562         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5563         * sysdeps/x86_64/strchr.S: Likewise.
5564         * sysdeps/x86_64/strrchr.S: Likewise.
5566 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5568         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5570         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5572         * sysdeps/generic/math_private.h (__mpsin1): Remove
5573         declaration.
5574         (__mpcos1): Likewise.
5575         (__mpsin): New argument __range_reduce.
5576         (__mpcos): Likewise.
5577         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5578         (slow): Use __mpsin and __mpcos.
5579         (slow1): Likewise.
5580         (slow2): Likewise.
5581         (sloww): Likewise.
5582         (sloww1): Likewise.
5583         (sloww2): Likewise.
5584         (bsloww): Likewise.
5585         (bsloww1): Likewise.
5586         (bsloww2): Likewise.
5587         (cslow2): Likewise.
5588         (csloww): Likewise.
5589         (csloww1): Likewise.
5590         (csloww2): Likewise.
5591         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5592         range_reduce.  Merge in __mpsin1.
5593         (__mpcos): Likewise.
5594         (__mpsin1): Remove.
5595         (__mpcos1): Likewise.
5597 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5599         * locale/loadlocale.c (_nl_intern_locale_data): Use
5600         LOCFILE_ALIGNED_P.
5601         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5602         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5603         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5604         obstack data is appropriately aligned.
5605         (obstack_int32_grow_fast): Likewise.
5606         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5607         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5608         (add_locale_uint32_array): Likewise.
5610 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5612         * benchtests/Makefile: Remove ARGLIST and RET variables.
5613         ($(objpfx)bench-%.c): Pass only function name to the script.
5614         * benchtests/README: Update documentation.
5615         * benchtests/acos-inputs: Add new directives.
5616         * benchtests/acosh-inputs: Likewise.
5617         * benchtests/asin-inputs: Likewise.
5618         * benchtests/asinh-inputs: Likewise.
5619         * benchtests/atan-inputs: Likewise.
5620         * benchtests/atanh-inputs: Likewise.
5621         * benchtests/cos-inputs: Likewise.
5622         * benchtests/cosh-inputs: Likewise.
5623         * benchtests/exp-inputs: Likewise.
5624         * benchtests/log-inputs: Likewise.
5625         * benchtests/pow-inputs: Likewise.
5626         * benchtests/rint-inputs: Likewise.
5627         * benchtests/sin-inputs: Likewise.
5628         * benchtests/sinh-inputs: Likewise.
5629         * benchtests/tan-inputs: Likewise.
5630         * benchtests/tanh-inputs: Likewise.
5631         * scripts/bench.pl: Add support for new directives.
5633 2013-10-07  Alan Modra  <amodra@gmail.com>
5635         * README: Fix careless merge.
5637 2013-10-05  Alan Modra  <amodra@gmail.com>
5639         * NEWS: Mention powerpc64le support and bugs fixed.
5640         * README: Both big-endian and little-endian powerpc64 supported.
5642 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5644         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5645         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5646         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5647         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5649 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5651         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5652         match prototype.
5654 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5656         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5657         Move -mhard-float appending from
5658         ports/sysdeps/powerpc/powerpc32/Makefile.
5659         [$(with-fp) = yes] (ASFLAGS): Likewise.
5660         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5661         * sysdeps/powerpc/nofpu: Move directory from
5662         ports/sysdeps/powerpc/nofpu.
5663         * sysdeps/powerpc/soft-fp: Move directory from
5664         ports/sysdeps/powerpc/soft-fp.
5665         * sysdeps/powerpc/powerpc32/405: Move directory from
5666         ports/sysdeps/powerpc/powerpc32/405.
5667         * sysdeps/powerpc/powerpc32/440: Move directory from
5668         ports/sysdeps/powerpc/powerpc32/440.
5669         * sysdeps/powerpc/powerpc32/464: Move directory from
5670         ports/sysdeps/powerpc/powerpc32/464.
5671         * sysdeps/powerpc/powerpc32/476: Move directory from
5672         ports/sysdeps/powerpc/powerpc32/476.
5673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5674         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5676         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5678         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5680         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5682         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5683         * README: Update for powerpc-*-linux-gnu software floating point
5684         support in libc.
5686         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5687         case to powerpc/powerpc32*.
5688         * sysdeps/unix/sysv/linux/configure: Regenerated.
5690         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5691         (_FPU_MASK_OM): Define as 0x04.
5692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5694         0x00c10080.
5695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5696         0x0000003c.
5697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5700         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5701         getcontext_e500.
5702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5703         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5704         setcontext_e500.
5705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5706         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5707         and setcontext_e500.
5709 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5711         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5713 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5715         * manual/threads.texi (Default Thread Attributes): Fix typo.
5717 2013-10-04  Will Newton  <will.newton@linaro.org>
5719         * malloc/Makefile: Add tst-memalign.
5720         * malloc/tst-memalign.c: New file.
5722         * malloc/tst-posix_memalign.c: Add comments.
5723         (do_test): Add comments and call free on all potentially
5724         allocated pointers. Add space after cast.
5726         * malloc/tst-pvalloc.c: Add comments.
5727         (do_test): Add comments and call free on all potentially
5728         allocated pointers. Remove duplicate check for NULL pointer.
5729         Add space after cast.
5731         * malloc/tst-valloc.c: Add comments.
5732         (do_test): Add comments and call free on all potentially
5733         allocated pointers. Remove duplicate check for NULL pointer.
5734         Add space after cast.
5736 2013-10-04  Alan Modra  <amodra@gmail.com>
5738         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5739         Use stdint types in rather than __attribute__((mode())).
5740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5742 2013-10-04  Alan Modra  <amodra@gmail.com>
5744         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5745         Correct handling of unaligned relocs for little-endian.
5746         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5748 2013-10-04  Alan Modra  <amodra@gmail.com>
5750         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5751         * configure: Regenerate.
5752         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5753         * shlib-versions: Likewise.
5755 2013-10-04  Alan Modra  <amodra@gmail.com>
5757         * string/tester.c (test_memrchr): Increment reported test cycle.
5759 2013-10-04  Alan Modra  <amodra@gmail.com>
5761         * string/test-memcpy.c (do_one_test): When reporting errors, print
5762         string address and don't overrun end of string.
5764 2013-10-04  Alan Modra  <amodra@gmail.com>
5766         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5767         insrdi.  Make better use of reg selection to speed exit slightly.
5768         Schedule entry path a little better.  Remove useless "are we done"
5769         checks on entry to main loop.  Handle wrapping around zero address.
5770         Correct main loop count.  Handle single left-over word from main
5771         loop inline rather than by using loop_small.  Remove extra word
5772         case in loop_small caused by wrong loop count.  Add little-endian
5773         support.
5774         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5776         cache hint.
5777         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5778         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5779         support.  Avoid rlwimi.
5780         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5782 2013-10-04  Alan Modra  <amodra@gmail.com>
5784         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5785         insrdi.  Formatting.
5786         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5787         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5788         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5789         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5790         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5791         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5793 2013-10-04  Alan Modra  <amodra@gmail.com>
5795         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5796         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5797         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5798         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5799         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5800         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5801         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5802         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5803         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5804         use of regs.  Use power7 mtocrf.  Tidy function tails.
5806 2013-10-04  Alan Modra  <amodra@gmail.com>
5808         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5809         Formatting.  Consistently use rXXX register defines or rN defines.
5810         Use early exit labels that avoid restoring unused non-volatile regs.
5811         Make cr field use more consistent with rWORDn compares.  Rename
5812         regs used as shift registers for unaligned loop, using rN defines
5813         for short lifetime/multiple use regs.
5814         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5815         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5816         addi 1,1,64 to pop stack frame.  Simplify return value code.
5817         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5819 2013-10-04  Alan Modra  <amodra@gmail.com>
5821         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5822         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5823         rather than rlwimi.
5824         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5825         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5826         little-endian support.  Correct typos.
5827         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5828         rather than rlwimi.
5829         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5830         in loop and entry code to keep "and." results.
5831         (strchr): Add little-endian support.  Comment.  Move cntlzd
5832         earlier in tail.
5833         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5835 2013-10-04  Alan Modra  <amodra@gmail.com>
5837         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5838         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5839         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5840         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5842 2013-10-04  Alan Modra  <amodra@gmail.com>
5844         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5845         (rTMP): Define as r11.
5846         (strcmp): Add little-endian support.  Optimise tail.
5847         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5848         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5849         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5850         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5851         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5852         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5853         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5855 2013-10-04  Alan Modra  <amodra@gmail.com>
5857         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5858         little-endian support.  Remove unnecessary "are we done" tests.
5859         Handle "s" wrapping around zero and extremely large "size".
5860         Correct main loop count.  Handle single left-over word from main
5861         loop inline rather than by using small_loop.  Correct comments.
5862         Delete "zero" tail, use "end_max" instead.
5863         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5865 2013-10-04  Alan Modra  <amodra@gmail.com>
5867         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5868         support.  Don't branch over align.
5869         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5870         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5871         support.  Rearrange tmp reg use to suit.  Comment.
5872         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5874 2013-10-04  Alan Modra  <amodra@gmail.com>
5876         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5878 2013-10-04  Alan Modra  <amodra@gmail.com>
5880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5881         conditional form of branch and link when obtaining pc.
5882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5884 2013-10-04  Alan Modra  <amodra@gmail.com>
5886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5887         HIWORD/LOWORD.
5888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5891 2013-10-04  Alan Modra  <amodra@gmail.com>
5893         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5894         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5895         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5896         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5897         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5898         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5899         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5900         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5901         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5902         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5904 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5905             Alistair Popple <alistair@ozlabs.au.ibm.com>
5906             Alan Modra <amodra@gmail.com>
5908         [BZ #15723]
5909         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5910         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5911         _dl_hwcap access for little-endian.
5912         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5913         destroy vmx regs when saving unaligned.
5914         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5915         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5916         destroy vmx regs when saving unaligned.
5918 2013-10-04  Alan Modra  <amodra@gmail.com>
5920         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5921         Don't use a union to pack hi/low value.
5923 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5925         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5926         for little-endian.
5927         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5929         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5930         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5931         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5933 2013-10-04  Alan Modra  <amodra@gmail.com>
5935         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5936         constants to usual value for .cst8 section, and remove redundant
5937         high address load.
5938         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5939         constant for 0x1p52.  Load little-endian words of double from
5940         correct stack offsets.
5942 2013-10-04  Alan Modra  <amodra@gmail.com>
5944         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5945         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5946         words of double from correct stack offsets.
5947         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5948         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5949         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5950         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5951         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5952         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5953         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5954         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5955         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5956         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5957         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5958         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5959         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5960         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5961         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5962         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5963         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5965 2013-10-04  Alan Modra  <amodra@gmail.com>
5967         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5968         64-bit int/double union.
5969         (_FPU_SETCW): Likewise.
5970         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5971         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5973 2013-10-04  Alan Modra  <amodra@gmail.com>
5975         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5976         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5978 2013-10-04  Alan Modra  <amodra@gmail.com>
5980         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5981         use vector int constants.
5982         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5984 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5986         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5987         array with long long.
5988         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5989         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5990         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5991         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5992         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5993         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5994         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5995         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5996         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5997         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5998         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5999         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6000         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6002 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
6004         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6005         (__signbit): Likewise.  Correct for little-endian.
6006         (__signbitl): Call __signbit.
6007         (lrint): Correct for little-endian.
6008         (lrintf): Call lrint.
6010 2013-10-04  Alan Modra  <amodra@gmail.com>
6012         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6013         union 32-bit int array member with 64-bit int array.
6014         (t515, tm256): Double rather than long double.
6015         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6017 2013-10-04  Alan Modra  <amodra@gmail.com>
6019         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6020         Delete.
6021         (IEEE854_LONG_DOUBLE_BIAS): Delete.
6022         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6023         version of math_ldbl.h.
6025 2013-10-04  Alan Modra  <amodra@gmail.com>
6027         [BZ #15734], [BZ #15735]
6028         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6029         all uses of ieee875 long double macros and unions.  Simplify test
6030         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
6031         ldbl_extract_mantissa value for ix,iy exponents.  Properly
6032         normalize after ldbl_extract_mantissa, and don't add hidden bit
6033         already handled.  Don't treat low word of ieee854 mantissa like
6034         low word of IBM long double and mask off bit when testing for
6035         zero.
6036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6037         all uses of ieee875 long double macros and unions.  Simplify tests
6038         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
6039         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
6040         two1022, instead use their values.  Recognise that tests for large
6041         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
6042         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6043         Rewrite all uses of ieee875 long double macros and unions.  Simplify
6044         test for 0.0L and nan.  Correct negation.
6045         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6046         ieee875 long double macros and unions.  Correct output for large
6047         magnitude x.  Correct absolute value calculation.
6048         (__erfcl): Likewise.
6049         * math/libm-test.inc: Add tests for errors discovered in IBM long
6050         double versions of fmodl, remainderl, erfl and erfcl.
6052 2013-10-04  Alan Modra  <amodra@gmail.com>
6054         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6055         all uses of ieee854 long double macros and unions.  Simplify tests
6056         for long doubles that are fully specified by the high double.
6057         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6058         Likewise.
6059         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6060         Remove dead code too.
6061         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6062         (__ieee754_ynl): Likewise.
6063         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6064         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6065         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6066         Remove dead code too.
6067         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6068         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6069         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6070         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6071         Simplify.
6072         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6073         Simplify.
6074         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6075         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6076         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6077         Comment on variable precision.
6078         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6079         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6080         Likewise.
6081         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6082         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6083         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6084         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6085         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6087 2013-10-04  Alan Modra  <amodra@gmail.com>
6089         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6090         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6091         all uses of ieee854 long double macros and unions.
6092         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6093         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6094         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6095         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6096         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6097         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6098         Likewise.
6099         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6100         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6101         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6102         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6103         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6104         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6105         Simplify sign and nan test too.
6106         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6107         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6108         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6109         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6110         Likewise.
6111         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6112         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6113         Likewise.
6114         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6115         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6116         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6117         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6118         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6121 2013-10-04  Alan Modra  <amodra@gmail.com>
6123         * stdio-common/printf_size.c (__printf_size): Don't use
6124         union ieee854_long_double in fpnum union.
6125         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
6126         signbit macro to retrieve sign from long double.
6127         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6128         retrieve sign from long double.
6129         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6130         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6131         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6132         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6133         * math/test-misc.c (main): Don't use union ieee854_long_double.
6135 2013-10-04  Alan Modra  <amodra@gmail.com>
6137         [BZ #15680]
6138         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6139         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6140         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6141         calculation.  Remove unnecessary test for denormal exponent.
6142         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6143         Correct handling of denormals.  Avoid undefined shift behaviour.
6144         Correct normalisation of low mantissa when low double is denormal.
6145         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6146         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
6147         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6148         Correct normalisation of low mantissa.  Test for overflow of high
6149         mantissa and normalise.
6150         (ldbl_nearbyint): Use more readable constant for two52.
6151         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6152         (__mpn_construct_long_double): Fix test for overflow of high
6153         mantissa and correct normalisation.  Avoid undefined shift.
6155 2013-10-04  Alan Modra  <amodra@gmail.com>
6157         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6158         (union ibm_extended_long_double): Define as an array of ieee754_double.
6159         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6160         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6161         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6162         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6163         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6164         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6166         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6167         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6168         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6169         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6171 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
6173         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6174         page size instead of calling getpagesize.
6176         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6177         (LOCFILE_ALIGN_MASK): Likewise.
6178         (LOCFILE_ALIGN_UP): Likewise.
6179         (LOCFILE_ALIGNED_P): Likewise.
6180         * locale/programs/ld-collate.c (collate_output): Use the new
6181         macros instead of __alignof__ (int32_t).
6182         * locale/weight.h (findidx): Likewise.
6184 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
6186         [BZ #431]
6187         * manual/string.texi: Fix strncat and wcsncat.
6189 2013-10-03  Brooks Moses  <bmoses@google.com>
6191         [BZ #15915]
6192         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6193         * Makerules: ...here, and adjust associated comments.
6195 2013-10-02  Will Newton  <will.newton@linaro.org>
6197         * malloc/Makefile: Add tst-pvalloc.
6198         * malloc/tst-pvalloc.c: New file.
6200 2013-10-02  Will Newton  <will.newton@linaro.org>
6202         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6203         improve test coverage.
6205 2013-10-02  Will Newton  <will.newton@linaro.org>
6207         * malloc/Makefile: Add tst-posix_memalign.
6208         * malloc/tst-posix_memalign.c: New file.
6210 2013-10-01  Eric Blake  <eblake@redhat.com>
6212         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6213         Use __THROWNL rather than __THROW on static functions.
6215 2013-09-30  Petr Machata  <pmachata@redhat.com>
6217         * elf/elf.h (R_AARCH64_ABS16): New macro.
6218         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6219         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6220         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6221         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6222         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6223         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6224         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6225         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6226         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6227         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6228         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6229         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6230         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6231         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6232         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6233         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6234         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6235         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6236         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6237         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6238         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6239         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6240         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6241         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6242         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6243         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6244         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6245         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6246         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6247         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6248         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6249         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6250         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6251         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6252         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6253         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6254         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6255         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6256         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6257         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6258         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6259         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6260         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6261         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6262         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6263         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6264         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6265         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6266         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6267         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6268         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6269         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6270         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6271         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6272         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6273         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6274         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6275         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6276         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6277         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6278         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6279         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6280         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6281         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6282         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6283         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6284         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6285         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6286         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6287         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6288         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6289         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6290         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6291         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6292         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6293         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6294         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6295         (R_AARCH64_TLSDESC_LDR): Likewise.
6296         (R_AARCH64_TLSDESC_ADD): Likewise.
6297         (R_AARCH64_TLSDESC_CALL): Likewise.
6299 2013-09-30  Andreas Schwab  <schwab@suse.de>
6301         [BZ #15048]
6302         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6303         the nss database lookup.
6304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6307 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
6309         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6311 2013-09-28  P. J. McDermott  <pj@pehjota.net>
6313         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6314         ${Bash-specific parameter/pattern/string} parameter expansion.
6315         * sysdeps/unix/make-syscalls.sh: Likewise.
6317 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6319         * sysdeps/sh/stackguard-macros.h: New file.
6321 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
6323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6325         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6326         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6327         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6328         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6330 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6332         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6333         Fix thread ID register.
6335 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
6337         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6338         [POSIX || UNIX98]: Require rather than permitting all symbols from
6339         <time.h>.
6340         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6341         element of struct sched_param.
6342         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6343         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6344         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6345         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6346         constant.
6348 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
6350         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6351         argument calculation.
6353 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6355         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6356         Expect macro.
6357         [POSIX] (pthread_attr_t): Do not require type.
6358         [POSIX] (pthread_cond_t): Likewise.
6359         [POSIX] (pthread_condattr_t): Likewise.
6360         [POSIX] (pthread_key_t): Likewise.
6361         [POSIX] (pthread_mutex_t): Likewise.
6362         [POSIX] (pthread_mutexattr_t): Likewise.
6363         [POSIX] (pthread_once_t): Likewise.
6364         [POSIX] (pthread_t): Likewise.
6365         [POSIX-based standards] (pthread_atfork): Expect function.
6367 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6368             Richard Sandiford  <richard@codesourcery.com>
6370         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6371         (swap_endianness_p): New extern variable.
6372         (set_big_endian): New inline function.
6373         (maybe_swap_uint32): Likewise.
6374         (maybe_swap_uint32_array): Likewise.
6375         (maybe_swap_uint32_obstack): Likewise.
6376         * locale/programs/locfile.c: Include <stdbool.h>.
6377         (swap_endianness_p): New variable.
6378         (add_locale_uint32): Call maybe_swap_uint32.
6379         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6380         (write_locale_data): Call maybe_swap_uint32_array.
6381         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6382         maybe_swap_uint32.
6383         (obstack_int32_grow_fast): Likewise.
6384         (output_weightwc): Call maybe_swap_uint32_obstack.
6385         (collate_output): Likewise.
6386         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6387         (OPT_LITTLE_ENDIAN): Likewise.
6388         (options): Add --little-endian and --big-endian options.
6389         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6390         * locale/programs/locarchive.c: Include "locfile.h".
6391         (GET): New macro.
6392         (SET): Likewise.
6393         (INC): Likewise.
6394         (create_archive): Use the new macros to access fields of
6395         structures directly mapped from or written to locale archives.
6396         (oldlocrecentcmp): Likewise.
6397         (enlarge_archive): Likewise.
6398         (insert_name): Likewise.
6399         (add_alias): Likewise.
6400         (add_locale): Likewise.
6401         (delete_locales_from_archive): Likewise.
6402         (show_archive_content): Likewise.
6403         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6404         locale data.
6406 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6408         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6409         http://www.gnu.org/doc/freemanuals.texi.
6410         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6412 2013-09-24  Will Newton  <will.newton@linaro.org>
6414         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6415         macro.
6417 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6419         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6420         unsigned char.
6422 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6424         * manual/threads.texi (POSIX Threads): Fix a typo.
6426 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6428         [BZ #14547]
6429         * string/tst-strcoll-overflow.c: New test case.
6430         * string/Makefile (xtests): Add tst-strcoll-overflow.
6431         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6432         cache if string sizes may cause integer overflow.
6434         [BZ #14547]
6435         * string/strcoll_l.c (coll_seq): New members rule, idx,
6436         save_idx and back_us.
6437         (get_next_seq_nocache): New function.
6438         (do_compare_nocache): New function.
6439         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6440         when malloc fails.
6442 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6444         [BZ #15754]
6445         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6446         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6447         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6449         [BZ #15754]
6450         * elf/Makefile (tests): Add tst-ptrguard1.
6451         (tests-static): Add tst-ptrguard1-static.
6452         (tst-ptrguard1-ARGS): Define.
6453         (tst-ptrguard1-static-ARGS): Define.
6454         * elf/tst-ptrguard1.c: New file.
6455         * elf/tst-ptrguard1-static.c: New file.
6456         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6457         * sysdeps/i386/stackguard-macros.h: Likewise.
6458         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6459         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6460         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6461         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6462         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6463         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6465 2013-09-23  Hector Marco  <hecmargi@upv.es>
6466             Ismael Ripoll  <iripoll@disca.upv.es>
6467             Carlos O'Donell  <carlos@redhat.com>
6469         [BZ #15754]
6470         * sysdeps/generic/stackguard-macros.h: Define
6471         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6472         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6473         Define __pointer_chk_guard_local.
6474         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6475         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6477 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6479         [BZ #15859]
6480         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6482 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6484         * include/string.h (__ffs): Declare as hidden.
6485         * string/ffs.c (__ffs): Define as hidden.
6486         * sysdeps/i386/ffs.c (__ffs): Likewise.
6487         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6488         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6489         * sysdeps/s390/ffs.c (__ffs): Likewise.
6490         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6492 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6494         * NEWS: Mention malloc probes.
6496         * malloc/arena.c (new_heap): New memory_heap_new probe.
6497         (grow_heap): New memory_heap_more probe.
6498         (shrink_heap): New memory_heap_less probe.
6499         (heap_trim): New memory_heap_free probe.
6500         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6501         (systrim): New memory_sbrk_less probe.
6502         * manual/probes.texi: Document them.
6504         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6505         * manual/probes.texi: Document it.
6507         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6508         (__libc_realloc): Add memory_realloc_retry probe.
6509         (__libc_memalign): Add memory_memalign_retry probe.
6510         (__libc_valloc): Add memory_valloc_retry probe.
6511         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6512         (__libc_calloc): Add memory_calloc_retry probe.
6513         * manual/probes.texi: Document them.
6515         * malloc/arena.c (get_free_list): Add probe
6516         memory_arena_reuse_free_list.
6517         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6518         and memory_arena_reuse.
6519         (arena_get2) [!PER_THREAD]: Likewise.
6520         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6521         memory_arena_reuse_realloc.
6522         * manual/probes.texi: Document them.
6524         * malloc/malloc.c (__libc_free): Add
6525         memory_mallopt_free_dyn_thresholds probe.
6526         (__libc_mallopt): Add multiple memory_mallopt probes.
6527         * manual/probes.texi: Document them.
6529         * malloc/malloc.c: Include stap-probe.h.
6530         (__libc_mallopt): Add memory_mallopt probe.
6531         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6532         * manual/probes.texi: New.
6533         * manual/Makefile (chapters): Add probes.
6534         * manual/threads.texi: Set next node.
6536 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6538         [BZ #15963, #13985]
6539         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6540         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6541         Add `Chinese' to `nan' entry name.
6543 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6545         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6546         (POLYNOMIAL): Likewise.
6547         (TAYLOR_SINCOS): Likewise.
6548         (TAYLOR_SLOW): Likewise.
6549         (__sin): Use TAYLOR_SINCOS.
6550         (__cos): Likewise.
6551         (slow): Use TAYLOR_SLOW.
6552         (sloww): Likewise.
6553         (bsloww): Likewise.
6554         (csloww): Likewise.
6556 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6558         * stdlib/strtod_l.c: Fix buffer overrun.
6560 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6562         * benchtests/Makefile (bench): Add sincos.
6563         * benchtests/bench-sincos.c: New file.
6565         * math/libm-test.inc (cos_test_data): New test inputs.
6566         (sin_test_data): Likewise.
6568         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6569         macro.
6570         (__sin): Use it.
6571         (__cos): Likewise.
6572         (slow1): Likewise.
6573         (slow2): Likewise.
6574         (sloww1): Likewise.
6575         (sloww2): Likewise.
6576         (bsloww1): Likewise.
6577         (bsloww2): Likewise.
6578         (cslow2): Likewise.
6579         (csloww1): Likewise.
6580         (csloww2): Likewise.
6582         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6583         function.
6584         (__sin): Use it.
6585         (__cos): Likewise.
6587         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6588         gotos.
6589         (__cos): Likewise.
6591 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6593         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6594         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6595         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6596         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6597         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6598         * elf/cache.c (print_entry): Handle the new cache flags.
6600 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6601             Aldy Hernandez  <aldyh@redhat.com>
6603         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6604         Change condition to [_SOFT_FLOAT].
6605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6617         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6620         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6621         declaration.
6623 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6625         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6626         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6627         (__longjmp): Use LOAD_GP to load saved GPRs.
6628         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6629         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6630         (__sigsetjmp): Use SAVE_GP to save GPRs.
6632         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6633         Do not append -msoft-float.
6634         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6636 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6638         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6640 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6642         [BZ #15966]
6643         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6644         (_FPU_GETCW): Use initial "__" on variable and field names but not
6645         on macro parameter name.
6646         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6647         parentheses around reference to macro parameter.
6649 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6651         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6652         prototype.
6653         (ctype_startup): Use uint32_t in cast and sizeof for
6654         ctype->charnames.
6656 2013-09-11  Jia Liu  <proljc@gmail.com>
6658         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6659         __daddr_t_defined.
6660         [__FreeBSD__]: Likewise.
6662 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6665         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6666         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6667         (strchr): Remove __strchr_sse42 ifunc selection.
6668         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6669         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6671 2013-09-11  Will Newton  <will.newton@linaro.org>
6673         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6674         parameter to RES. Remove hardcoded 1000 value.
6675         * benchtests/bench-skeleton.c (main): Pass RES parameter
6676         to TIMING_INIT and multiply result by 1000.
6678 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6682 2013-09-11  Andreas Schwab  <schwab@suse.de>
6684         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6685         if not defined.
6686         (O_TMPFILE) [__USE_GNU]: Define.
6687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6688         Define.
6690 2013-09-11  Will Newton  <will.newton@linaro.org>
6692         [BZ #15857]
6693         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6694         does not overflow.
6696 2013-09-11  Will Newton  <will.newton@linaro.org>
6698         [BZ #15856]
6699         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6700         does not overflow.
6702 2013-09-11  Will Newton  <will.newton@linaro.org>
6704         [BZ #15855]
6705         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6706         does not overflow.
6708 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6710         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6711         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6712         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6713         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6714         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6716 2013-09-10  Allan McRae  <allan@archlinux.org>
6718         [BZ #15748]
6719         * manual/arith.texi (Parsing of Floats): Clarify
6720         cross-reference.
6722         [BZ #15849]
6723         * manual/install.texi (Running make install): Mention
6724         --enable-pt-chown.
6725         * INSTALL: Regenerated.
6727 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6729         * csu/init-first.c (_init): Remove the !SHARED condition around
6730         FPU control word initialization.
6731         * elf/dl-support.c (_dl_fpu_control): New variable.
6732         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6733         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6734         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6735         * math/test-fpucw-static.c: New file.
6736         * math/test-fpucw-ieee.c: New file.
6737         * math/test-fpucw-ieee-static.c: New file.
6738         * math/Makefile (tests): Add `test-fpucw-ieee' and
6739         `$(tests-static)'.
6740         (tests-static): New variable.
6741         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6742         dependency to...
6743         [($(build-shared),yes)]
6744         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6745         ... this.
6746         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6747         New dependency.
6749 2013-09-09  Allan McRae  <allan@archlinux.org>
6751         [BZ #15939]
6752         * manual/string.texi (Collation Functions): Fix typo in
6753         strcoll example.
6754         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6756         [BZ #15893]
6757         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6759         [BZ #15892]
6760         * libio/memstream.c (open_memstream): Fix memory leak.
6761         * libio/wmemstream.c (open_wmemstream): Likewise.
6763         [BZ #15895]
6764         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6766 2013-09-09  Will Newton  <will.newton@linaro.org>
6768         * malloc/Makefile: Add tst-realloc to tests.
6769         * malloc/tst-realloc.c: New file.
6771 2013-09-09  Allan McRae  <allan@archlinux.org>
6773         [BZ #15844]
6774         * COPYING: Update from GNU website to fix FSF address.
6775         * COPYING.LIB: Likewise.
6777 2013-09-06  David S. Miller  <davem@davemloft.net>
6779         * po/zh_TW.po: Update Chinese (traditional) translation from
6780         translation project.
6782 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6783             Joseph Myers  <joseph@codesourcery.com>
6785         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6786         "localeinfo.h".
6787         (obstack_chunk_alloc): New macro.
6788         (obstack_chunk_free): Likewise.
6789         (record_offset): New function.
6790         (init_locale_data): Likewise.
6791         (align_locale_data): Likewise.
6792         (add_locale_empty): Likewise.
6793         (add_locale_raw_data): Likewise.
6794         (add_locale_raw_obstack): Likewise.
6795         (add_locale_string): Likewise.
6796         (add_locale_wstring): Likewise.
6797         (add_locale_uint32): Likewise.
6798         (add_locale_uint32_array): Likewise.
6799         (add_locale_char): Likewise.
6800         (start_locale_structure): Likewise.
6801         (end_locale_structure): Likewise.
6802         (start_locale_prelude): Likewise.
6803         (end_locale_prelude): Likewise.
6804         (write_locale_data): Take locale_file structure rather than an
6805         iovec.
6806         * locale/programs/locfile.h: Include "obstack.h".
6807         (struct locale_file): Change to store locale file contents instead
6808         of header.
6809         (init_locale_data): New prototype.
6810         (align_locale_data): Likewise.
6811         (add_locale_empty): Likewise.
6812         (add_locale_raw_data): Likewise.
6813         (add_locale_raw_obstack): Likewise.
6814         (add_locale_string): Likewise.
6815         (add_locale_wstring): Likewise.
6816         (add_locale_uint32): Likewise.
6817         (add_locale_uint32_array): Likewise.
6818         (add_locale_char): Likewise.
6819         (start_locale_structure): Likewise.
6820         (end_locale_structure): Likewise.
6821         (start_locale_prelude): Likewise.
6822         (end_locale_prelude): Likewise.
6823         (write_locale_data): Update prototype.
6824         * locale/programs/3level.h (struct TABLE): Remove result field.
6825         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6826         Use new locale_file interface.
6827         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6828         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6829         * locale/programs/ld-address.c (address_output): Use new
6830         locale_file interface.
6831         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6832         NO_ADD_LOCALE.
6833         (collate_finish): Don't call collseq_table_finalize.
6834         (collate_output): Use new locale_file interface.
6835         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6836         in file.
6837         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6838         (TABLE): Move defines earlier in file.
6839         (ELEMENT): Likewise.
6840         (DEFAULT): Likewise.
6841         (wctrans_table_add): Move macro and inline function earlier in
6842         file.
6843         (struct wctype_table): Move type earlier in file.
6844         (add_locale_wctype_table): New static prototype.
6845         (struct locale_ctype_t): Use logical types instead of struct iovec
6846         pointers for members.
6847         (ctype_output): Use new locale_file interface.
6848         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6849         new locale_file interface.
6850         (allocate_arrays): Update for use of new locale_file interface.
6851         * locale/programs/ld-identification.c (identification_output): Use
6852         new locale_file interface.
6853         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6854         * locale/programs/ld-messages.c (messages_output): Likewise.
6855         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6856         * locale/programs/ld-name.c (name_output): Likewise.
6857         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6858         * locale/programs/ld-paper.c (paper_output): Likewise.
6859         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6860         * locale/programs/ld-time.c (time_output): Likewise.
6862 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6864         * benchtests/Makefile: Add memrchr benchmark.
6865         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6866         benchmark as memrchr.
6867         * benchtests/bench-memrchr-ifunc.c: New file.
6868         * benchtests/bench-memrchr.c: New file.
6870 2013-09-06   Will Newton  <will.newton@linaro.org>
6872         * benchtests/Makefile (string-bench): Add memcpy.
6874 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6875             Cong Wang  <amwang@redhat.com>
6877         [BZ #15850]
6878         * sysdeps/unix/sysv/linux/bits/in.h
6879         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6880         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6881         before __USE_KERNEL_IPV6_DEFS uses.
6882         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6883         IPPROTO_BEETPH.
6884         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6885         sockaddr_in6, or ipv6_mreq.
6887 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6889         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6890         memory access for final bytes in some large inputs.
6891         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6893 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6895         * string/test-memrchr.c: New file.
6896         * string/test-memrchr-ifunc.c: New file.
6897         * string/Makefile: Add new memrchr testcase.
6899 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6901         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6902         fanotify_init returns EPERM.
6904 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6906         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6907         errors.
6908         (top level): Treat second token from macro or constant entries for
6909         allowed headers as allowed.
6910         * include/complex.h: Condition internal declarations on
6911         [!_ISOMAC].
6912         * include/fenv.h: Condition include of <stdbool.h> and internal
6913         declarations on [!_ISOMAC].
6915 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6917         [BZ #15923]
6918         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6920 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6922         * configure.in (--enable-versioning): Remove configure option.
6923         (libc_cv_asm_symver_directive): Remove configure test.
6924         (libc_cv_ld_version_script_option): Likewise.
6925         (VERSIONING): Remove variable and AC_SUBST.
6926         (DO_VERSIONING): Remove AC_DEFINE.
6927         * configure: Regenerated.
6928         * config.h.in (DO_VERSIONING): Remove macro.
6929         * Makerules [$(versioning) = yes]: Change conditionals to
6930         [$(build-shared) = yes].
6931         * config.make.in (versioning): Remove variable.
6932         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6933         [$(build-shared) = yes].
6934         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6935         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6936         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6937         [$(build-shared) = yes].
6938         * extra-lib.mk [$(versioning) = yes]: Likewise.
6939         * hurd/Makefile [$(versioning) = yes]: Likewise.
6940         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6941         [SHARED].
6942         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6943         [SHARED].
6944         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6945         [SHARED && !NO_HIDDEN].
6946         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6947         [SHARED].
6948         [SHARED && DO_VERSIONING]: Likewise..
6949         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6950         [$(build-shared) = yes].
6951         * manual/install.texi (--disable-versioning): Remove
6952         documentation.
6953         * INSTALL: Regenerated.
6954         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6955         to [SHARED].
6956         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6957         [$(build-shared) = yes].
6958         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6959         * sysdeps/i386/i686/multiarch/strstr-c.c
6960         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6961         [SHARED && !NO_HIDDEN].
6962         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6963         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6964         * sysdeps/powerpc/powerpc32/dl-machine.c
6965         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6966         * sysdeps/powerpc/powerpc32/sysdep.h
6967         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6968         to [SHARED && PIC && !NO_HIDDEN].
6969         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6970         conditional to [SHARED].
6972 2013-09-04   Will Newton  <will.newton@linaro.org>
6974         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6975         * benchtests/bench-string.h: Include bench-timing.h instead
6976         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6977         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6978         call to HP_TIMING_DIFF_INIT.
6979         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6980         instead of hp-timing.h macros.
6981         * benchtests/bench-memchr.c: Likewise.
6982         * benchtests/bench-memcmp.c: Likewise.
6983         * benchtests/bench-memcpy.c: Likewise.
6984         * benchtests/bench-memmem.c: Likewise.
6985         * benchtests/bench-memmove.c: Likewise.
6986         * benchtests/bench-memset.c: Likewise.
6987         * benchtests/bench-rawmemchr.c: Likewise.
6988         * benchtests/bench-strcasecmp.c: Likewise.
6989         * benchtests/bench-strcasestr.c: Likewise.
6990         * benchtests/bench-strcat.c: Likewise.
6991         * benchtests/bench-strchr.c: Likewise.
6992         * benchtests/bench-strcmp.c: Likewise.
6993         * benchtests/bench-strcpy.c: Likewise.
6994         * benchtests/bench-strcpy_chk.c: Likewise.
6995         * benchtests/bench-strlen.c: Likewise.
6996         * benchtests/bench-strncasecmp.c: Likewise.
6997         * benchtests/bench-strncat.c: Likewise.
6998         * benchtests/bench-strncmp.c: Likewise.
6999         * benchtests/bench-strncpy.c: Likewise.
7000         * benchtests/bench-strnlen.c: Likewise.
7001         * benchtests/bench-strpbrk.c: Likewise.
7002         * benchtests/bench-strrchr.c: Likewise.
7003         * benchtests/bench-strspn.c: Likewise.
7004         * benchtests/bench-strstr.c: Likewise.
7006 2013-09-04  Will Newton  <will.newton@linaro.org>
7008         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7010 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
7012         [BZ #15427]
7013         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7014         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7015         * math/libm-test.inc (lgamma_test_data): Add more tests.
7016         * sysdeps/i386/fpu/libm-test-ulps: Update.
7017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7019 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
7021         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7023         Add ifunc.
7024         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7025         Add strcmp-sse2-unaligned
7026         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7028 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7030         * Versions.def (libc): Add GLIBC_2.19.
7032 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
7034         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7035         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7037 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
7039         [BZ #14155]
7040         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7041         intermediate calculations in recurrence.
7042         (__ieee754_ynf): Likewise.
7043         * math/libm-test.inc (jn_test_data): Do not allow spurious
7044         underflow exception.  Add more tests.
7045         (yn_test_data): Add more tests.
7046         * sysdeps/i386/fpu/libm-test-ulps: Update.
7047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7049 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
7051         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7053 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7055         * csu/init-first.c: Fix then/than typos.
7056         * locale/programs/ld-collate.c: Likewise.
7057         * locale/programs/linereader.h: Likewise.
7058         * manual/charset.texi: Likewise.
7059         * manual/filesys.texi: Likewise.
7060         * manual/stdio.texi: Likewise.
7061         * manual/string.texi: Likewise.
7062         * stdlib/fmtmsg.c: Likewise.
7063         * sysdeps/i386/stpncpy.S: Likewise.
7064         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7065         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7066         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7067         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7069 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
7071         * elf/dl-open.c: Fix typos.
7072         * iconvdata/gbbig5.c: Likewise.
7073         * iconvdata/iso-2022-jp.c: Likewise.
7074         * iconv/gconv_int.h: Likewise.
7075         * iconv/loop.c: Likewise.
7076         * nis/rpcsvc/nis.h: Likewise.
7077         * resolv/ns_name.c: Likewise.
7078         * stdio-common/vfscanf.c: Likewise.
7079         * streams/stropts.h: Likewise.
7080         * sunrpc/rpc_thread.c: Likewise.
7081         * sysdeps/i386/strpbrk.S: Likewise.
7082         * sysdeps/ieee754/k_standard.c: Likewise.
7083         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7084         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7085         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7086         * sysdeps/mach/hurd/profil.c: Likewise.
7087         * sysdeps/s390/dl-procinfo.h: Likewise.
7088         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7089         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7090         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7091         * sysdeps/x86_64/dl-trampoline.S: Likewise.
7092         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7094 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
7096         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7099 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
7101         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7102         aix specific files.
7103         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7104         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7105         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7106         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7107         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7108         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7109         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7110         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7112 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7113             Roland McGrath  <roland@hack.frob.com>
7115         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7116         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7118 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7120         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7121         __executable_start symbol instead of _start.
7123 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
7125         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7126         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7127         Move macros to...
7128         * sysdeps/gnu/ldsodefs.h: ... this new file.
7130         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7131         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7132         instead of ELFOSABI_LINUX.
7134         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7135         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7136         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7137         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7138         Likewise.
7139         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7140         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7141         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7142         Likewise.
7143         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7144         (ibm_extended_long_double): Add ieee_nan member.
7145         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7146         (do_test): New function.
7148         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7149         TEST_TRUNC.
7150         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7151         functions, renamed from truncdfsf_test, trunctfsf_test,
7152         trunctfdf_test.
7153         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7154         functions.
7155         (do_test): Run all these.
7157 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
7159         * argp/argp-help.c: Fix typos.
7160         * argp/argp-parse.c: Likewise.
7161         * debug/backtracesyms.c: Likewise.
7162         * elf/elf.h: Likewise.
7163         * malloc/malloc.c: Likewise.
7164         * nis/nis_print.c: Likewise.
7165         * resolv/res_comp.c: Likewise.
7166         * stdlib/stdlib.h: Likewise.
7167         * sunrpc/clnt_tcp.c: Likewise.
7168         * sunrpc/clnt_udp.c: Likewise.
7169         * sunrpc/clnt_unix.c: Likewise.
7170         * sysdeps/unix/bsd/ptsname.c: Likewise.
7171         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7172         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7174         Likewise.
7175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7176         Likewise.
7177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7178         Likewise.
7179         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7181 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7183         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7186 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
7188         [BZ #15897]
7189         * dlfcn/Makefile (tests): Add bug-dl-leaf.
7190         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7191         ($(objpfx)bug-dl-leaf): New rule.
7192         ($(objpfx)bug-dl-leaf.so): Likewise.
7193         ($(objpfx)bug-dl-leaf.out): Likewise.
7194         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7195         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7196         * dlfcn/bug-dl-leaf.c: New test.
7197         * dlfcn/bug-dl-leaf-lib.c: Likewise.
7198         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7199         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7200         (dlclose): Likewise.
7201         (dlmopen): Likewise.
7203 2013-08-27  Roland McGrath  <roland@hack.frob.com>
7205         * include/netdb.h [!_ISOMAC]:
7206         Don't include <tls.h>.
7207         (h_errno, __libc_h_errno): Move declaration and macros out of
7208         [_LIBC_REENTRANT].
7210         * include/resolv.h [_RESOLV_H_]:
7211         Don't include <tls.h>.
7212         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7213         * resolv/res_libc.c: Don't include <tls.h>.
7214         (_res): Use __attribute__ ((nocommon)) in place of
7215         __attribute__ ((section (".bss"))).
7217         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7218         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7220         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7222         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7223         only under [SIOCGIFCONF && SIOCGIFNETMASK].
7225         * resolv/res_mkquery.c: Include <sys/time.h>.
7227         * inet/ifreq.c: Moved to ...
7228         * sysdeps/unix/ifreq.c: ... here.
7229         * inet/ifreq.c: New file, true stub version.
7231         * socket/sa_len.c: New file.
7232         * socket/Makefile (aux): Add it.
7233         * sysdeps/unix/sysv/linux/Makefile
7234         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7235         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7236         and #include <socket/sa_len.c>.
7237         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7238         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7240         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7241         * bits/socket.h: ... here.
7243         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7244         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7245         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7247 2013-08-27  Andreas Schwab  <schwab@suse.de>
7249         [BZ #15736]
7250         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7251         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7252         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7253         * string/test-strcasecmp.c (test_main): Run tests in several
7254         locales.
7255         * string/test-strncasecmp.c (test_main): Likewise.
7257         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7258         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7259         to __strcasecmp_nonascii and __strncasecmp_nonascii.
7260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7261         (__strncasecmp_ssse3) [PIC]: Likewise.
7263 2013-08-26  Roland McGrath  <roland@hack.frob.com>
7265         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7267         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7268         instead of explicitly declaring xdecrypt.
7269         * nis/nss_nis/nis-publickey.c: Likewise.
7271 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7273         [BZ #15890]
7274         * nscd/aicache.c: Include res_hconf.h.
7275         (addhstaiX): Initialize res_hconf.
7277 2013-08-26  Andreas Schwab  <schwab@suse.de>
7279         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7280         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7282 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7284         * nscd/aicache.c (addhstaiX): Fix indentation.
7286 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
7288         * configure.ac: Quote $build_pt_chown test.
7289         * configure: Regenerated.
7291 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
7293         [BZ #15532]
7294         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7295         * math/s_cexpf.c (__cexpf): Likewise.
7296         * math/s_cexpl.c (__cexpl): Likewise.
7297         * math/libm-test.inc (cexp_test_data): Correct expected return
7298         value for NaN + i0.  Add another test.
7300 2013-08-22  David S. Miller  <davem@davemloft.net>
7302         * po/ca.po: Update Catalan translation from translation project.
7303         * po/uk.po: Add Ukrainian translations from translation project.
7305 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
7307         [BZ #15797]
7308         * math/s_fdim.c (__fdim): Check for infinite arguments if result
7309         is infinite, not alongside NaN test.
7310         * math/s_fdimf.c (__fdimf): Likewise.
7311         * math/s_fdiml.c (__fdiml): Likewise.
7312         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
7313         errno is unchanged.
7315 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
7317         * argp/argp-help.c: Fix typos.
7318         * crypt/speeds.c: Likewise.
7319         * csu/check_fds.c: Likewise.
7320         * elf/dl-load.c: Likewise.
7321         * elf/dl-open.c: Likewise.
7322         * elf/reldep3.c: Likewise.
7323         * elf/reldep.c: Likewise.
7324         * elf/sprof.c: Likewise.
7325         * iconv/iconv_charmap.c: Likewise.
7326         * iconv/skeleton.c: Likewise.
7327         * iconv/strtab.c: Likewise.
7328         * io/lockf64.c: Likewise.
7329         * libio/libioP.h: Likewise.
7330         * resolv/gai_notify.c: Likewise.
7331         * resolv/ns_name.c: Likewise.
7332         * resolv/ns_samedomain.c: Likewise.
7333         * resolv/res_send.c: Likewise.
7334         * stdlib/random.c: Likewise.
7335         * sunrpc/rpc/xdr.h: Likewise.
7336         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7337         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7338         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7339         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7340         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7341         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7342         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7343         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7344         * sysdeps/mach/hurd/check_fds.c: Likewise.
7345         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7346         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7347         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7348         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7349         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7350         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7351         * sysdeps/pthread/aio_notify.c: Likewise.
7352         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7353         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7354         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7355         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7356         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7358 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7360         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7361         version if bit_Slow_SSE4_2 is set.
7362         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7363         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7365 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7367         [BZ #15867]
7368         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7369         trampoline stack frame information.
7370         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7371         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7372         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7373         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7374         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7375         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7376         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7377         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7378         sa_flags value.
7379         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7380         interrupting a syscall and set with option SA_SIGINFO.
7382 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7384         [BZ #15531]
7385         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7386         argument is infinite.
7387         * math/s_cprojf.c (__cprojf): Likewise.
7388         * math/s_cprojl.c (__cprojl): Likewise.
7389         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7390         * math/libm-test.inc (cproj_test_data): Add more tests.
7392         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7394         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7395         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7396         size.  Use __ffs to determine corresponding shift.
7398 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7399             Roland McGrath  <roland@hack.frob.com>
7401         * Makefile (INSTALL): Remove trailing blank lines from output of
7402         makeinfo.
7404 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7406         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7407         Align 32 bit compat elf_greg to 8 bytes.
7409 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7411         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7413 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7415         * string/strcoll_l.c (coll_seq): New structure.
7416         (get_next_seq_cached): New function.
7417         (get_next_seq): New function.
7418         (do_compare): New function.
7419         (STRCOLL): Use GNU style definition.  Simplify implementation
7420         by using get_next_seq, get_next_seq_cached and do_compare.
7422 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7424         [BZ #14699]
7425         CVE-2013-4237
7426         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7427         member.
7428         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7429         member.
7430         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7431         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7432         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7433         conditional.
7434         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7435         GETDENTS_64BIT_ALIGNED.
7436         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7437         * manual/filesys.texi (Reading/Closing Directory): Document
7438         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7439         strongly.
7440         * manual/conf.texi (Limits for Files): Add portability note to
7441         NAME_MAX, PATH_MAX.
7442         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7444 2013-08-13  Andreas Schwab  <schwab@suse.de>
7446         [BZ #15749]
7447         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7448         of fabs.
7449         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7450         LDBL_MAX_EXP >= 16384]: Add tests for it.
7452 2013-08-12  David S. Miller  <davem@davemloft.net>
7454         * version.h (RELEASE): Set to "development".
7455         (VERSION): Set to "2.18.90".
7456         * NEWS: Add 2.19 section.
7458 2013-08-03  David S. Miller  <davem@davemloft.net>
7460         * po/ko.po: Update Korean translation from translation project.
7462 2013-08-01  David S. Miller  <davem@davemloft.net>
7464         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7465         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7466         Bilka.
7468 2013-07-30  David S. Miller  <davem@davemloft.net>
7470         * po/fr.po: Update French translation from translation project.
7472 2013-07-28  David S. Miller  <davem@davemloft.net>
7474         * po/cs.po: Update Czech translation from translation project.
7476         * po/sv.po: Update Swedish translation from translation project.
7478 2013-07-27  David S. Miller  <davem@davemloft.net>
7480         * po/eo.po: Update Esperanto translation from translation project.
7482         * po/vi.po: Update Vietnamese translation from translation project.
7484         * po/de.po: Update German translation from translation project.
7486 2013-07-26  David S. Miller  <davem@davemloft.net>
7488         * po/bg.po: Update Bulgarian translation from translation project.
7490         * po/nl.po: Update Dutch translation from translation project.
7491         * po/pl.po: Update Polish translation from translation project.
7492         * po/ru.po: Update Russian translation from translation project.
7494 2013-07-24  David S. Miller  <davem@davemloft.net>
7496         * po/libc.pot: Update.
7498 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7500         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7501         variable page size.
7502         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7503         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7504         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7506 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7508         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7510 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7511             Andreas Schwab  <schwab@suse.de>
7512             Roland McGrath  <roland@hack.frob.com>
7513             Joseph Myers  <joseph@codesourcery.com>
7514             Carlos O'Donell  <carlos@redhat.com>
7516         [BZ #15755]
7517         * config.h.in: Define HAVE_PT_CHOWN.
7518         * config.make.in (build-pt-chown): New variable.
7519         * configure.in (--enable-pt_chown): New configure option.
7520         * configure: Regenerate.
7521         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7522         build-pt-chown is enabled.
7523         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7524         pt_chown to fix pty ownership.
7525         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7526         CLOSE_ALL_FDS.
7527         * manual/install.texi (Configuring and compiling): Mention
7528         --enable-pt_chown. Add @findex for grantpt.
7529         * INSTALL: Regenerate.
7531 2013-07-20  David S. Miller  <davem@davemloft.net>
7533         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7534         difference between 32-bit and 64-bit.
7536 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7538         [BZ #15711]
7539         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7540         Avoid system header dependency with -ffreestanding.
7541         ($(objpfx)bits/syscall%d): Likewise.
7543 2013-07-13  David S. Miller  <davem@davemloft.net>
7545         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7546         underflows from atanl/atan2l due to bug 15319.
7547         (casinh_test_data): Likewise.
7549 2013-07-07  David S. Miller  <davem@davemloft.net>
7551         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7553 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7555         * sysdeps/i386/fpu/libm-test-ulps: Update.
7556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7558 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7560         * configure.in (--enable-lock-elision): Fix message text.
7561         * INSTALL: Regenerate.
7562         * configure: Regenerate.
7564 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7568 2013-07-03  Andreas Jaeger  <aj@suse.de>
7570         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7571         define.
7572         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7573         (ptrace_peeksiginfo_args): Add.
7574         (__ptrace_peeksiginfo_flags): Add.
7575         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7576         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7577         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7579 2013-07-03  Allan McRae  <allan@archlinux.org>
7581         * sysdeps/i386/fpu/libm-test-ulps: Update.
7583 2013-07-02  David S. Miller  <davem@davemloft.net>
7585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7587 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7591 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7593         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596 2013-07-02  Andi Kleen <ak@linux.intel.com>
7598         * config.h.in (ENABLE_LOCK_ELISION): Add.
7599         * configure.in (--enable-lock-elision): Add option.
7600         * manual/install.texi: Document --enable lock elision.
7601         * configure: Regenerate
7602         * INSTALL: Regenerate.
7604 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7606         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7607         SSE4.2 strcasecmp for libc.a.
7608         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7610 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7612         [BZ #13304]
7613         * soft-fp/op-common.h (_FP_FMA): New macro.
7614         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7615         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7616         (_FP_MUL_MEAT_1_imm): ... here.
7617         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7618         (_FP_MUL_MEAT_1_wide): ... here.
7619         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7620         (_FP_MUL_MEAT_1_hard): ... here.
7621         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7622         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7623         (_FP_MUL_MEAT_2_wide): ... here.
7624         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7625         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7626         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7627         (_FP_MUL_MEAT_2_gmp): ... here.
7628         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7629         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7630         (_FP_MUL_MEAT_4_wide): ... here.
7631         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7632         (_FP_MUL_MEAT_4_gmp): ... here.
7633         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7634         (_FP_WFRACBITS_DW_S): Likewise.
7635         (_FP_WFRACXBITS_DW_S): Likewise.
7636         (_FP_HIGHBIT_DW_S): Likewise.
7637         (FP_FMA_S): Likewise.
7638         (_FP_FRAC_HIGH_DW_S): Likewise.
7639         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7640         (_FP_WFRACBITS_DW_D): Likewise.
7641         (_FP_WFRACXBITS_DW_D): Likewise.
7642         (_FP_HIGHBIT_DW_D): Likewise.
7643         (FP_FMA_D): Likewise.
7644         (_FP_FRAC_HIGH_DW_D): Likewise.
7645         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7646         (_FP_WFRACBITS_DW_E): Likewise.
7647         (_FP_WFRACXBITS_DW_E): Likewise.
7648         (_FP_HIGHBIT_DW_E): Likewise.
7649         (FP_FMA_E): Likewise.
7650         (_FP_FRAC_HIGH_DW_E): Likewise.
7651         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7652         (_FP_WFRACBITS_DW_Q): Likewise.
7653         (_FP_WFRACXBITS_DW_Q): Likewise.
7654         (_FP_HIGHBIT_DW_Q): Likewise.
7655         (FP_FMA_Q): Likewise.
7656         (_FP_FRAC_HIGH_DW_Q): Likewise.
7657         * soft-fp/fmasf4.c: New file.
7658         * soft-fp/fmadf4.c: Likewise.
7659         * soft-fp/fmatf4.c: Likewise.
7661 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7664         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7665         Silvermont.
7666         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7667         macro.
7668         (index_Slow_SSE4_2): Likewise.
7669         (index_Prefer_PMINUB_for_stringop): Likewise.
7670         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7671         bit_Slow_SSE4_2 is set.
7672         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7673         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7675 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7677         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7678         rtld_global._dl_hwcap2.
7679         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7680         POWER8.
7681         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7682         POWER8 feature descriptions defined in _dl_hwcap2.
7683         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7684         string handling for POWER8 feature bits.
7685         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7686         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7687         _dl_powerpc_cap_flags.
7688         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7689         * sysdeps/powerpc/rtld-global-offsets.sym
7690         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7691         _dl_hwcap2 in the rtld_global_ro structure.
7693 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7695         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7696         hardware capabilities in support of AT_HWCAP2.
7697         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7698         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7699         GLRO(dl_hwcap2).
7700         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7701         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7702         explicitly the unknown a_type display mechanism is used.
7703         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7704         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7705         struct member.
7706         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7707         to macro prototype for AT_HWCAP2 support.
7708         * sysdeps/i386/dl-procinfo.h: Likewise.
7709         * sysdeps/s390/dl-procinfo.h: Likewise.
7710         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7711         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7712         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7713         return -1 for unknown a_type display fallback.
7714         * sysdeps/sparc/dl-procinfo.h: Likewise.
7715         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7716         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7718 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7720         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7721         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7723 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7725         [BZ #12492]
7726         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7727         mprotect making __stack_prot writable.
7729 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7730             Joseph Myers  <joseph@codesourcery.com>
7732         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7733         as being properly aligned.
7735 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7737         * dlfcn/modstatic5.c: New file.
7738         * dlfcn/tststatic5.c: New file.
7739         * dlfcn/Makefile (tests): Add tststatic5.
7740         (tests-static): Likewise.
7741         (modules-names): Add modstatic5.
7742         (tststatic5-ENV): New variable.
7743         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7745         [BZ #15022]
7746         * elf/dl-support.c (_dl_main_map): New variable.
7747         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7748         (_dl_nns, _dl_load_adds): Set to 1.
7749         (_dl_initial_searchlist): Refer to _dl_main_map.
7750         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7751         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7752         call to _dl_get_origin.
7753         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7754         around call_map.
7755         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7756         * dlfcn/modstatic3.c: New file.
7757         * dlfcn/tststatic3.c: New file.
7758         * dlfcn/tststatic4.c: New file.
7759         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7760         (tests-static): Likewise.
7761         (modules-names): Add modstatic3.
7762         (tststatic3-ENV, tststatic4-ENV): New variables.
7763         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7764         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7766 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7768         * configure.in (CC): Require GCC version 4.4 or later.
7769         * configure: Regenerated.
7770         * manual/install.texi (Tools for Compilation): Update GCC version
7771         requirement.
7772         * INSTALL: Regenerated.
7774 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7776         [BZ #15674]
7777         * string/test-memcmp.c (check2): New.
7778         (main): Call check2.
7780         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7782 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7784         [BZ #15022]
7785         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7786         over to...
7787         (dl_open_worker) [!SHARED]: ... here.
7789 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7791         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7793 2013-06-25  Richard Henderson  <rth@redhat.com>
7795         * locale/programs/locarchive.c: Include <libc-internal.h>
7797 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7799         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7800         trailing whitespace removed.
7802 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7804         [BZ #10283]
7805         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7806         * locale/programs/locarchive.c: Include libc-mmap.h.
7807         (prepare_address_space): Take two new outputs (the mmap base and len).
7808         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7809         values.
7810         (create_archive): Declare new mmap base and len values for
7811         prepare_address_space, and store the result in ah.
7812         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7813         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7814         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7815         Declare new mmap base and len values for
7816         prepare_address_space, and store the result in new_ah.
7817         (open_archive): Declare new mmap base and len values for
7818         prepare_address_space, and store the result in ah.
7819         (close_archive): If ah->mmap_base is not NULL, use that and
7820         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7821         * sysdeps/generic/libc-mmap.h: New file.
7823 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7825         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7826         (ALIGN_UP): Likewise.
7827         (PTR_ALIGN_DOWN): Likewise.
7828         (PTR_ALIGN_UP): Likewise.
7830 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7832         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7833         entry mapped to PPC_PLATFORM_POWER8.
7834         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7835         POWER8.
7836         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7837         (_dl_string_platform): Add case for exporting platform position for
7838         POWER8.
7839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7840         search path to sysdeps/powerpc/powerpc32/power8 directory.
7841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7842         search path to sysdeps/powerpc/powerpc64/power8 directory.
7843         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7844         power7 directories.
7845         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7846         power7 directories.
7848 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7850         * INSTALL: Regenerate.
7852         * nscd/connections.c (nscd_init): Fix comment.
7854 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7856         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7858         [BZ #15667]
7859         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7860         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7862 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7864         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7865         DL_DST_REQ_STATIC.
7866         (DL_DST_REQ_STATIC): Remove macro.
7868 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7870         [BZ #7006]
7871         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7872         with a shift of 0 bits.
7874 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7876         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7877         $(tststatic-ENV).
7879 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7881         [BZ #15655]
7882         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7884 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7886         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7887         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7888         accepts -fno-tree-loop-distribute-patterns.
7889         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7890         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7891         recursive call.
7892         * string/memset.c (memset): Likewise.
7893         * string/test-memmove.c (simple_memmove): Disable loop transformation
7894         to library calls.
7895         * string/test-memset.c (simple_memset): Likewise.
7896         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7897         * benchtests/bench-memset.c (simple_memset): Likewise.
7898         * configure: Regenerated.
7900 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7902         * math/test-misc.c (main): Ignore fesetround failure when failures
7903         of subsequent rounding tests would be ignored.
7905         [BZ #15654]
7906         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7907         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7908         * math/fegetenv.c (__fegetenv): Return 0.
7909         * math/fegetexcept.c (fegetexcept): Return 0.
7910         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7911         FE_TONEAREST.
7912         * math/feholdexcpt.c (feholdexcept): Return 0.
7913         * math/fesetenv.c (__fesetenv): Return 0.
7914         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7915         argument FE_TONEAREST.
7916         * math/feupdateenv.c (__feupdateenv): Return 0.
7917         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7919 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7921         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7922         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7923         ($(objpfx)rtld-%.os rules): Use them.
7925 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7927         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7928         fields.
7930 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7932         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7933         length of target pattern, then descending length of dependency pattern.
7934         * configure.in (AWK): Require gawk 3.1.2 or newer.
7935         * manual/install.texi (Tools for Compilation): Say that we do.
7936         * configure: Regenerated.
7938         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7939         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7940         * scripts/sysd-rules.awk: ... this new script.
7941         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7942         than a glob-style pattern.
7944 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7946         * math/test-misc.c (main): Do not treat incorrectly rounded
7947         conversions as failure unless ROUNDING_TESTS passes.
7949 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7951         [BZ #15631]
7952         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7953         restore exception state around main square root computation, then
7954         check for inexactness explicitly.
7956         * math/libm-test.inc (fma_test_data): Add another test.
7958 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7960         * manual/threads.texi (Non-POSIX Extensions): New document
7961         node.  Document pthread_getattr_default_np and
7962         pthread_setattr_default_np.
7964         * Versions.def (libpthread): Add GLIBC_2.18.
7965         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7967         Likewise.
7968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7969         Likewise.
7970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7971         Likewise.
7972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7973         Likewise.
7974         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7975         Likewise.
7976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7977         Likewise.
7978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7979         Likewise.
7980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7981         Likewise.
7982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7983         Likewise.
7985 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7988         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7990 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7991             H.J. Lu  <hjl.tools@gmail.com>
7993         [BZ #15627]
7994         * sysdeps/x86_64/rtld-memset.c: Remove file.
7995         * sysdeps/x86_64/rtld-memset.S: New file.
7997 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7999         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8000         (test_in_one_mode): Take arguments for whether the rounding mode
8001         is supported for each floating-point type.
8002         (do_test): Pass new arguments to test_in_one_mode using
8003         ROUNDING_TESTS.
8005 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8007         * posix/tst-waitid.c (do_test): Distinguish different instances of
8008         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
8009         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8010         before entering the kernel for waitpid.
8012 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8014         * NEWS: Fix note on clock function precision.  Text by Roland
8015         McGrath.
8017 2013-06-13  Roland McGrath  <roland@hack.frob.com>
8019         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8020         it into place only when and if the sanity check passes.
8022 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
8024         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8025         output for whether conversion result is exact.  Take argument
8026         indicating whether type is IBM long double.
8027         (round_for_all): Change need_exact field to ibm_ld.
8028         * stdlib/tst-strtod-round.c (struct exactness): New type.
8029         (struct test): Change bool ld_ok field to struct exactness exact.
8030         (TEST): Update all definitions for change to field.
8031         (tests): Regenerate array contents.
8032         (test_in_one_mode): Take pointer to new field instead of old ld_ok
8033         field value.  Check for IBM long double here.
8034         (do_test): Update calls to test_in_one_mode.
8036 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8038         [BZ #12515]
8039         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8040         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8042 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8044         [BZ #15605]
8045         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8046         generated by the compiler on loop optimizations.
8047         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8048         general definitions.
8050 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
8052         * math/bug-nextafter.c: Include <math-tests.h>.
8053         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8054         the relevant type.
8055         * math/bug-nexttoward.c: Include <math-tests.h>.
8056         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8057         the relevant type.
8058         * math/test-misc.c: Include <math-tests.h>.
8059         (main): Only test for exceptions if EXCEPTION_TESTS is true for
8060         the relevant type.
8062 2013-06-12  Andreas Jaeger  <aj@suse.de>
8064         * po/ia.po: Update Interlingua translation from translation
8065         project.
8067 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8069         * include/fenv.h: Include stdbool.h.
8070         (struct rm_ctx): New structure.
8071         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8072         Define macro.
8073         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8074         (SET_RESTORE_ROUNDF): Likewise.
8075         (SET_RESTORE_ROUNDL): Likewise.
8076         (SET_RESTORE_ROUND_NOEX): Likewise.
8077         (SET_RESTORE_ROUND_NOEXF): Likewise.
8078         (SET_RESTORE_ROUND_NOEXL): Likewise.
8079         (SET_RESTORE_ROUND_53BIT): Likewise.
8080         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8081         (libc_feresetround_noexf_ctx): Likewise.
8082         (libc_feresetround_noexl_ctx): Likewise.
8083         (libc_feholdsetround_53bit_ctx): Likewise.
8084         (libc_feresetround_53bit_ctx): Likewise.
8085         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8086         (libc_feholdexcept_setround_sse_ctx): New function.
8087         (libc_fesetenv_sse_ctx): Likewise.
8088         (libc_feupdateenv_sse_ctx): Likewise.
8089         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8090         (libc_feholdexcept_setround_387_ctx): Likewise.
8091         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8092         (libc_feholdsetround_387_prec_ctx): Likewise.
8093         (libc_feholdsetround_387_ctx): Likewise.
8094         (libc_feholdsetround_387_53bit_ctx): Likewise.
8095         (libc_feholdsetround_sse_ctx): Likewise.
8096         (libc_feresetround_sse_ctx): Likewise.
8097         (libc_feresetround_387_ctx): Likewise.
8098         (libc_feupdateenv_387_ctx): Likewise.
8099         (libc_feholdexcept_setroundf_ctx): Define macro.
8100         (libc_fesetenvf_ctx): Likewise.
8101         (libc_feupdateenvf_ctx): Likewise.
8102         (libc_feholdsetroundf_ctx): Likewise.
8103         (libc_feresetroundf_ctx): Likewise.
8104         (libc_feholdexcept_setround_ctx): Likewise.
8105         (libc_fesetenv_ctx): Likewise.
8106         (libc_feupdateenv_ctx): Likewise.
8107         (libc_feholdsetround_ctx): Likewise.
8108         (libc_feresetround_ctx): Likewise.
8109         (libc_feholdexcept_setroundl_ctx): Likewise.
8110         (libc_feupdateenvl_ctx): Likewise.
8111         (libc_feholdsetroundl_ctx): Likewise.
8112         (libc_feresetroundl_ctx): Likewise.
8113         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8114         (libc_feresetround_53bit_ctx): Likewise.
8116 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8118         * locale/iso-639.def: Convert to UTF-8.
8120 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
8122         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8123         (EXCEPTION_TESTS_double): Likewise.
8124         (EXCEPTION_TESTS_long_double): Likewise.
8125         (EXCEPTION_TESTS): Likewise.
8126         * math/libm-test.inc (test_exceptions): Only test exceptions if
8127         EXCEPTION_TESTS (FLOAT).
8129 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8131         * benchtests/Makefile (string-bench): Add strcpy_chk and
8132         stpcpy_chk.
8133         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8134         * benchtests/bench-stpcpy_chk.c: New file.
8135         * benchtests/bench-strcpy_chk-ifunc.c: New file.
8136         * benchtests/bench-strcpy_chk.c: New file.
8137         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8138         code.
8139         (do_test): Likewise.
8141 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8143         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8144         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8145         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8146         with tabs where appropriate.
8147         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8148         dl-procinfo.h.
8149         [PPC_PLATFORM_PPC440]: Likewise.
8150         [PPC_PLATFORM_PPC464]: Likewise.
8151         [PPC_PLATFORM_PPC476]: Likewise.
8152         (_dl_string_platform): Add support for detecting ppc405, ppc440,
8153         ppc464, and ppc476 platform strings merging from ports/
8154         dl-procinfo.h.
8156 2013-06-11  Andreas Schwab  <schwab@suse.de>
8158         [BZ #14991]
8159         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8160         (from_ucs4_idx): Regenerate.
8161         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8162         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8163         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8164         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8165         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8166         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8167         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8168         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8169         from FROM_LOOP and TO_LOOP specific macros.
8170         (BODY): Handle combining characters.
8171         * iconvdata/BIG5HKSCS.irreversible: Update.
8172         * iconvdata/BIG5HKSCS.precomposed: New file.
8173         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8174         characters.
8175         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8177 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8179         * include/sys/time.h: Fix indentation and add copyright header.
8181         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8182         (do_test): Likewise.
8183         * string/test-memchr.c (do_one_test): Likewise.
8184         (do_test): Likewise.
8185         * string/test-memcmp.c (do_one_test): Likewise.
8186         (do_test): Likewise.
8187         * string/test-memcpy.c (do_one_test): Likewise.
8188         (do_test): Likewise.
8189         * string/test-memmem.c (do_one_test): Likewise.
8190         (do_test): Likewise.
8191         (do_random_tests): Likewise.
8192         * string/test-memmove.c (do_one_test): Likewise.
8193         (do_test): Likewise.
8194         * string/test-memset.c (do_one_test): Likewise.
8195         (do_test): Likewise.
8196         * string/test-rawmemchr.c (do_one_test): Likewise.
8197         (do_test): Likewise.
8198         * string/test-strcasecmp.c (do_one_test): Likewise.
8199         (do_test): Likewise.
8200         * string/test-strcasestr.c (do_one_test): Likewise.
8201         (do_test): Likewise.
8202         * string/test-strcat.c (do_one_test): Likewise.
8203         (do_test): Likewise.
8204         * string/test-strchr.c (do_one_test): Likewise.
8205         (do_test): Likewise.
8206         * string/test-strcmp.c (do_one_test): Likewise.
8207         (do_test): Likewise.
8208         * string/test-strcpy.c (do_one_test): Likewise.
8209         (do_test): Likewise.
8210         * string/test-string.h: Likewise.
8211         (test_init): Likewise.
8212         * string/test-strlen.c (do_one_test): Likewise.
8213         (do_test): Likewise.
8214         * string/test-strncasecmp.c (do_one_test): Likewise.
8215         (do_test): Likewise.
8216         * string/test-strncat.c (do_one_test): Likewise.
8217         (do_test): Likewise.
8218         * string/test-strncmp.c (do_one_test): Likewise.
8219         (do_test_limit): Likewise.
8220         (do_test): Likewise.
8221         * string/test-strncpy.c (do_one_test): Likewise.
8222         (do_test): Likewise.
8223         * string/test-strnlen.c (do_one_test): Likewise.
8224         (do_test): Likewise.
8225         * string/test-strpbrk.c (do_one_test): Likewise.
8226         (do_test): Likewise.
8227         * string/test-strrchr.c (do_one_test): Likewise.
8228         (do_test): Likewise.
8229         * string/test-strspn.c (do_one_test): Likewise.
8230         (do_test): Likewise.
8231         * string/test-strstr.c (do_one_test): Likewise.
8232         (do_test): Likewise.
8234         * benchtests/Makefile (string-bench): Add string benchmarks.
8235         * benchtests/bench-bcopy-ifunc.c: New file.
8236         * benchtests/bench-bcopy.c: New file.
8237         * benchtests/bench-bzero-ifunc.c: New file.
8238         * benchtests/bench-bzero.c: New file.
8239         * benchtests/bench-memccpy-ifunc.c: New file.
8240         * benchtests/bench-memccpy.c: New file.
8241         * benchtests/bench-memchr-ifunc.c: New file.
8242         * benchtests/bench-memchr.c: New file.
8243         * benchtests/bench-memcmp-ifunc.c: New file.
8244         * benchtests/bench-memcmp.c: New file.
8245         * benchtests/bench-memmem-ifunc.c: New file.
8246         * benchtests/bench-memmem.c: New file.
8247         * benchtests/bench-memmove-ifunc.c: New file.
8248         * benchtests/bench-memmove.c: New file.
8249         * benchtests/bench-mempcpy-ifunc.c: New file.
8250         * benchtests/bench-mempcpy.c: New file.
8251         * benchtests/bench-memset-ifunc.c: New file.
8252         * benchtests/bench-memset.c: New file.
8253         * benchtests/bench-rawmemchr-ifunc.c: New file.
8254         * benchtests/bench-rawmemchr.c: New file.
8255         * benchtests/bench-stpcpy-ifunc.c: New file.
8256         * benchtests/bench-stpcpy.c: New file.
8257         * benchtests/bench-stpncpy-ifunc.c: New file.
8258         * benchtests/bench-stpncpy.c: New file.
8259         * benchtests/bench-strcasecmp-ifunc.c: New file.
8260         * benchtests/bench-strcasecmp.c: New file.
8261         * benchtests/bench-strcasestr-ifunc.c: New file.
8262         * benchtests/bench-strcasestr.c: New file.
8263         * benchtests/bench-strcat-ifunc.c: New file.
8264         * benchtests/bench-strcat.c: New file.
8265         * benchtests/bench-strchr-ifunc.c: New file.
8266         * benchtests/bench-strchr.c: New file.
8267         * benchtests/bench-strchrnul-ifunc.c: New file.
8268         * benchtests/bench-strchrnul.c: New file.
8269         * benchtests/bench-strcmp-ifunc.c: New file.
8270         * benchtests/bench-strcmp.c: New file.
8271         * benchtests/bench-strcpy-ifunc.c: New file.
8272         * benchtests/bench-strcpy.c: New file.
8273         * benchtests/bench-strcspn-ifunc.c: New file.
8274         * benchtests/bench-strcspn.c: New file.
8275         * benchtests/bench-strlen-ifunc.c: New file.
8276         * benchtests/bench-strlen.c: New file.
8277         * benchtests/bench-strncasecmp-ifunc.c: New file.
8278         * benchtests/bench-strncasecmp.c: New file.
8279         * benchtests/bench-strncat-ifunc.c: New file.
8280         * benchtests/bench-strncat.c: New file.
8281         * benchtests/bench-strncmp-ifunc.c: New file.
8282         * benchtests/bench-strncmp.c: New file.
8283         * benchtests/bench-strncpy-ifunc.c: New file.
8284         * benchtests/bench-strncpy.c: New file.
8285         * benchtests/bench-strnlen-ifunc.c: New file.
8286         * benchtests/bench-strnlen.c: New file.
8287         * benchtests/bench-strpbrk-ifunc.c: New file.
8288         * benchtests/bench-strpbrk.c: New file.
8289         * benchtests/bench-strrchr-ifunc.c: New file.
8290         * benchtests/bench-strrchr.c: New file.
8291         * benchtests/bench-strspn-ifunc.c: New file.
8292         * benchtests/bench-strspn.c: New file.
8293         * benchtests/bench-strstr-ifunc.c: New file.
8294         * benchtests/bench-strstr.c: New file.
8296         * benchtests/Makefile: Disable parallel execution of targets.
8297         (string-bench): Add memcpy.
8298         (benchset): New variable to store a list of benchmark sets.
8299         (bench-func): Renamed from bench.
8300         (bench-set): New target.
8301         (bench): Depend on bench-func and bench-set.
8302         * benchtests/README: Add section on benchmark sets.
8303         * benchtests/bench-memcpy-ifunc.c: New file.
8304         * benchtests/bench-memcpy.c: New file.
8305         * benchtests/bench-string.h: New file.
8307 2013-06-11  Andreas Schwab  <schwab@suse.de>
8309         [BZ #15577]
8310         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8311         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8312         values in the triple.
8313         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8314         terminator in the group key.
8316 2013-06-11  Andreas Jaeger  <aj@suse.de>
8318         * po/zh_TW.po: Update Chinese (traditional) translation from
8319         translation project.
8321 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8323         * include/time.h (__clock_gettime): Add libc_hidden_proto.
8324         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8325         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
8326         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8327         (clock_getcpuclockid): Likewise.
8328         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8329         Add weak_alias and libc_hidden_def.
8330         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8331         * rt/clock_gettime.c (clock_gettime): Rename to
8332         __clock_gettime.  Add weak_alias and libc_hidden_def.
8333         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8334         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8335         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
8336         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8337         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8338         Likewise.
8339         * rt/clock_settime.c (clock_settime): Rename to
8340         __clock_settime.  Add weak_alias and libc_hidden_def.
8341         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8343 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
8345         * mach/err_boot.sub: Remove trailing whitespace.
8346         * mach/err_ipc.sub: Likewise.
8347         * mach/err_mach.sub: Likewise.
8349         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8350         (ROUNDING_TESTS_double): Likewise.
8351         (ROUNDING_TESTS_long_double): Likewise.
8352         (ROUNDING_TESTS): Likewise.
8353         * math/libm-test.inc: Include <math-tests.h>.
8354         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8355         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8356         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8357         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8359 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8361         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8362         of assigning.
8364 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8366         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8367         otherwise empty TRANS lines.
8368         * sysdeps/gnu/errlist.c: Regenerated.
8370         * catgets/gencat.c (error_print): Use (void) in function
8371         definition.
8372         * crypt/crypt_util.c (__init_des): Likewise.
8373         * crypt/speeds.c (Stop): Likewise.
8374         (main): Likewise.
8375         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8376         * inet/ruserpass.c (token): Likewise.
8377         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8378         * intl/localealias.c (extend_alias_table): Likewise.
8379         * intl/plural-exp.c (init_germanic_plural): Likewise.
8380         * libio/fcloseall.c (__fcloseall): Likewise.
8381         * libio/genops.c (_IO_flush_all): Likewise.
8382         (_IO_flush_all_linebuffered): Likewise.
8383         (_IO_cleanup): Likewise.
8384         (_IO_iter_begin): Likewise.
8385         (_IO_iter_end): Likewise.
8386         (_IO_list_lock): Likewise.
8387         (_IO_list_unlock): Likewise.
8388         (_IO_list_resetlock): Likewise.
8389         * libio/getchar.c (getchar): Likewise.
8390         * libio/getchar_u.c (getchar_unlocked): Likewise.
8391         * libio/getwchar.c (getwchar): Likewise.
8392         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8393         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8394         * login/getpt.c (__getpt): Likewise.
8395         * login/tst-utmp.c (main): Likewise.
8396         * malloc/hooks.c (__malloc_check_init): Likewise.
8397         * malloc/malloc.c (__malloc_stats): Likewise.
8398         * malloc/mtrace.c (tr_break): Likewise.
8399         (mtrace): Likewise.
8400         (muntrace): Likewise.
8401         * misc/fstab.c (endfsent): Likewise.
8402         * misc/getclktck.c (__getclktck): Likewise.
8403         * misc/getdtsz.c (__getdtablesize): Likewise.
8404         * misc/gethostid.c (gethostid): Likewise.
8405         * misc/getpagesize.c (__getpagesize): Likewise.
8406         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8407         (__get_nprocs): Likewise.
8408         (__get_phys_pages): Likewise.
8409         (__get_avphys_pages): Likewise.
8410         * misc/getttyent.c (getttyent): Likewise.
8411         (setttyent): Likewise.
8412         (endttyent): Likewise.
8413         * misc/getusershell.c (getusershell): Likewise.
8414         (endusershell): Likewise.
8415         (setusershell): Likewise.
8416         (initshells): Likewise.
8417         * misc/hsearch.c (__hdestroy): Likewise.
8418         * misc/sync.c (sync): Likewise.
8419         * misc/syslog.c (closelog_internal): Likewise.
8420         (closelog): Likewise.
8421         * misc/ttyslot.c (ttyslot): Likewise.
8422         * misc/vhangup.c (vhangup): Likewise.
8423         * posix/fork.c (__fork): Likewise.
8424         * posix/getegid.c (__getegid): Likewise.
8425         * posix/geteuid.c (__geteuid): Likewise.
8426         * posix/getgid.c (__getgid): Likewise.
8427         * posix/getpid.c (__getpid): Likewise.
8428         * posix/getppid.c (__getppid): Likewise.
8429         * posix/getuid.c (__getuid): Likewise.
8430         * posix/pause.c (pause): Likewise.
8431         * posix/setpgrp.c (setpgrp): Likewise.
8432         * posix/setsid.c (__setsid): Likewise.
8433         * posix/test-vfork.c (noop): Likewise.
8434         * resolv/gethnamaddr.c (_endhtent): Likewise.
8435         (_gethtent): Likewise.
8436         (ht_endhostent): Likewise.
8437         (gethostent): Likewise.
8438         (dns_service): Likewise.
8439         * stdlib/drand48.c (drand48): Likewise.
8440         * stdlib/lrand48.c (lrand48): Likewise.
8441         * stdlib/mrand48.c (mrand48): Likewise.
8442         * stdlib/rand.c (rand): Likewise.
8443         * stdlib/random.c (__random): Likewise.
8444         * stdlib/setenv.c (clearenv): Likewise.
8445         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8446         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8447         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8448         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8449         (__get_nprocs): Likewise.
8450         (__get_phys_pages): Likewise.
8451         (__get_avphys_pages): Likewise.
8452         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8453         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8454         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8455         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8456         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8457         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8458         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8459         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8460         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8461         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8462         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8463         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8464         * sysdeps/posix/clock.c (clock): Likewise.
8465         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8466         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8467         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8468         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8469         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8470         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8471         (__get_nprocs_conf): Likewise.
8472         (__get_phys_pages): Likewise.
8473         (__get_avphys_pages): Likewise.
8474         * time/clock.c (clock): Likewise.
8475         * time/tzset.c (__tzname_max): Likewise.
8477 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8479         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8480         (__bswap_32): Do not use "register".
8481         * crypt/crypt.c (_ufc_doit_r): Likewise.
8482         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8483         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8484         * gmon/gmon.c (__monstartup): Likewise.
8485         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8486         * hurd/hurdmalloc.c (more_memory): Likewise.
8487         (malloc): Likewise.
8488         (free): Likewise.
8489         (realloc): Likewise.
8490         (malloc_fork_prepare): Likewise.
8491         (malloc_fork_parent): Likewise.
8492         (malloc_fork_child): Likewise.
8493         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8494         (_svcauth_des): Likewise.
8495         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8496         * inet/inet_net.c (inet_network): Likewise.
8497         * inet/inet_netof.c (inet_netof): Likewise.
8498         * inet/rcmd.c (__validuser2_sa): Likewise.
8499         * io/fts.c (fts_open): Likewise.
8500         (fts_load): Likewise.
8501         (fts_close): Likewise.
8502         (fts_read): Likewise.
8503         (fts_children): Likewise.
8504         (fts_build): Likewise.
8505         (fts_stat): Likewise.
8506         (fts_sort): Likewise.
8507         (fts_alloc): Likewise.
8508         (fts_lfree): Likewise.
8509         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8510         (_IO_file_xsgetn): Likewise.
8511         (_IO_file_xsgetn_mmap): Likewise.
8512         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8513         (_IO_cookie_write): Likewise.
8514         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8515         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8516         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8517         * malloc/obstack.c (_obstack_begin): Likewise.
8518         (_obstack_begin_1): Likewise.
8519         (_obstack_newchunk): Likewise.
8520         (_obstack_allocated_p): Likewise.
8521         (obstack_free): Likewise.
8522         (_obstack_memory_used): Likewise.
8523         * misc/getttyent.c (getttynam): Likewise.
8524         (getttyent): Likewise.
8525         (skip): Likewise.
8526         (value): Likewise.
8527         * misc/getusershell.c (initshells): Likewise.
8528         * misc/syslog.c (__vsyslog_chk): Likewise.
8529         * misc/ttyslot.c (ttyslot): Likewise.
8530         * nis/nis_hash.c (__nis_hash): Likewise.
8531         * posix/fnmatch_loop.c (FCT): Likewise.
8532         * posix/getconf.c (print_all): Likewise.
8533         (main): Likewise.
8534         * posix/getopt.c (exchange): Likewise.
8535         * posix/glob.c (globfree): Likewise.
8536         (prefix_array): Likewise.
8537         (__glob_pattern_type): Likewise.
8538         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8539         (NS_GET32): Likewise.
8540         (NS_PUT16): Likewise.
8541         (NS_PUT32): Likewise.
8542         * resolv/gethnamaddr.c (getanswer): Likewise.
8543         (gethostbyname2): Likewise.
8544         (gethostbyaddr): Likewise.
8545         (_gethtent): Likewise.
8546         (_gethtbyname2): Likewise.
8547         (_gethtbyaddr): Likewise.
8548         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8549         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8550         * resolv/res_init.c (__res_vinit): Likewise.
8551         (net_mask): Likewise.
8552         * resolv/res_mkquery.c (outchar): Likewise.
8553         (PRINT): Likewise.
8554         * stdio-common/printf_fp.c (outchar): Likewise.
8555         (PRINT): Likewise.
8556         * stdio-common/printf_fphex.c (outchar): Likewise.
8557         (PRINT): Likewise.
8558         * stdio-common/printf_size.c (outchar): Likewise.
8559         (PRINT): Likewise.
8560         * stdio-common/test_rdwr.c (main): Likewise.
8561         * stdio-common/tfformat.c (matches): Likewise.
8562         * stdio-common/vfprintf.c (outchar): Likewise.
8563         (printf_unknown): Likewise.
8564         (buffered_vfprintf): Likewise.
8565         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8566         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8567         (ReadFile): Likewise.
8568         * stdlib/qsort.c (SWAP): Likewise.
8569         (_quicksort): Likewise.
8570         * stdlib/setenv.c (__add_to_environ): Likewise.
8571         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8572         * stdlib/strtol_l.c (__strtol_l): Likewise.
8573         * stdlib/tst-strtod.c (main): Likewise.
8574         * stdlib/tst-strtol.c (main): Likewise.
8575         * stdlib/tst-strtoll.c (main): Likewise.
8576         * string/bits/string2.h (__strcmp_cc): Likewise.
8577         (__strcmp_cg): Likewise.
8578         (__strcspn_c1): Likewise.
8579         (__strcspn_c2): Likewise.
8580         (__strcspn_c3): Likewise.
8581         (__strspn_c1): Likewise.
8582         (__strspn_c2): Likewise.
8583         (__strspn_c3): Likewise.
8584         (__strsep_1c): Likewise.
8585         (__strsep_2c): Likewise.
8586         (__strsep_3c): Likewise.
8587         * string/memccpy.c (__memccpy): Likewise.
8588         * string/stpcpy.c (__stpcpy): Likewise.
8589         * string/strcmp.c (strcmp): Likewise.
8590         * string/strrchr.c (strrchr): Likewise.
8591         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8592         Likewise.
8593         * sysdeps/mach/hurd/getcwd.c
8594         (_hurd_canonicalize_directory_name_internal): Likewise.
8595         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8596         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8597         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8598         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8599         Likewise, in both definitions.
8600         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8601         definitions.
8602         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8603         64] (__bswap_64): Likewise.
8604         * time/test_time.c (main): Likewise.
8605         * time/tzfile.c (__tzfile_read): Likewise.
8606         (__tzfile_compute): Likewise.
8607         * time/tzset.c (__tzset_parse_tz): Likewise.
8608         (tzset_internal): Likewise.
8609         (compute_change): Likewise.
8610         * wcsmbs/wcscat.c (__wcscat): Likewise.
8611         * wcsmbs/wcschr.c (wcschr): Likewise.
8612         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8613         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8614         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8615         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8616         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8617         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8618         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8619         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8620         * wcsmbs/wmemset.c (wmemset): Likewise.
8622 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8624         * scripts/config.guess: Update to version 2013-05-16.
8625         * scripts/config.sub: Update to version 2013-04-24.
8626         * scripts/install-sh: Update to version 2011-11-20.07.
8627         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8628         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8630 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8632         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8633         * elf/sln.c: Likewise.
8634         * hurd/hurd/ioctl.h: Likewise.
8635         * hurd/hurdmalloc.c: Likewise.
8636         * hurd/xattr.c: Likewise.
8637         * include/shlib-compat.h: Likewise.
8638         * inet/ruserpass.c: Likewise.
8639         * libio/iofgets_u.c: Likewise.
8640         * libio/iofgetws_u.c: Likewise.
8641         * locale/programs/ld-identification.c: Likewise.
8642         * locale/programs/ld-time.c: Likewise.
8643         * mach/msg-destroy.c: Likewise.
8644         * nss/nss_files/files-netgrp.c: Likewise.
8645         * resolv/res_data.c: Likewise.
8646         * soft-fp/op-1.h: Likewise.
8647         * soft-fp/op-2.h: Likewise.
8648         * soft-fp/op-4.h: Likewise.
8649         * soft-fp/op-common.h: Likewise.
8650         * stdio-common/printf_fphex.c: Likewise.
8651         * stdlib/strtod_l.c: Likewise.
8652         * sunrpc/rpc/clnt.h: Likewise.
8653         * sysdeps/generic/framestate.c: Likewise.
8654         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8655         * sysdeps/i386/bsd-setjmp.S: Likewise.
8656         * sysdeps/i386/__longjmp.S: Likewise.
8657         * sysdeps/i386/setjmp.S: Likewise.
8658         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8659         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8660         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8661         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8662         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8663         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8664         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8665         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8666         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8667         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8668         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8669         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8670         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8671         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8672         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8673         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8674         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8675         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8676         * sysdeps/ieee754/support.c: Likewise.
8677         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8678         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8679         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8680         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8681         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8682         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8683         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8684         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8685         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8686         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8687         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8688         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8689         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8690         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8691         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8692         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8693         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8696 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8698         * posix/transbug.c: Remove executable mode.
8700 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8702         * crypt/speeds.c: Remove trailing whitespace.
8703         * dlfcn/default.c: Likewise.
8704         * elf/ifuncdep2.c: Likewise.
8705         * elf/ifuncmain1.c: Likewise.
8706         * elf/ifuncmain1vis.c: Likewise.
8707         * elf/testobj.h: Likewise.
8708         * elf/tst-stackguard1.c: Likewise.
8709         * gmon/sys/gmon.h: Likewise.
8710         * hurd/hurdmsg.c: Likewise.
8711         * hurd/new-fd.c: Likewise.
8712         * hurd/ports-get.c: Likewise.
8713         * iconvdata/ibm1008_420.c: Likewise.
8714         * inet/tst-getni1.c: Likewise.
8715         * inet/tst-getni2.c: Likewise.
8716         * libio/ioungetc.c: Likewise.
8717         * libio/wfiledoalloc.c: Likewise.
8718         * manual/libm-err-tab.pl: Likewise.
8719         * math/w_dremf.c: Likewise.
8720         * misc/ftruncate.c: Likewise.
8721         * posix/bug-glob2.c: Likewise.
8722         * posix/tst-pcre.c: Likewise.
8723         * posix/wait4.c: Likewise.
8724         * resolv/README: Likewise.
8725         * resolv/res_debug.h: Likewise.
8726         * resolv/tst-inet_ntop.c: Likewise.
8727         * setjmp/bug269-setjmp.c: Likewise.
8728         * soft-fp/extended.h: Likewise.
8729         * soft-fp/op-1.h: Likewise.
8730         * soft-fp/op-2.h: Likewise.
8731         * soft-fp/op-4.h: Likewise.
8732         * soft-fp/op-8.h: Likewise.
8733         * soft-fp/testit.c: Likewise.
8734         * stdio-common/bug16.c: Likewise.
8735         * stdlib/random.c: Likewise.
8736         * sunrpc/rpcsvc/rquota.x: Likewise.
8737         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8738         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8739         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8740         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8741         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8742         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8743         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8744         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8745         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8746         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8747         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8748         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8749         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8750         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8751         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8752         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8753         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8754         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8755         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8756         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8757         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8758         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8759         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8760         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8761         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8762         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8764         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8765         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8766         * sysdeps/ieee754/s_lib_version.c: Likewise.
8767         * sysdeps/mach/hurd/check_fds.c: Likewise.
8768         * sysdeps/mach/hurd/getsockname.c: Likewise.
8769         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8770         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8771         * sysdeps/powerpc/bits/link.h: Likewise.
8772         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8773         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8774         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8775         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8776         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8777         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8778         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8779         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8780         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8781         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8782         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8783         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8784         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8785         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8786         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8787         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8788         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8789         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8790         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8791         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8792         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8793         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8794         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8795         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8796         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8797         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8798         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8799         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8800         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8801         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8802         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8803         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8804         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8805         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8806         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8807         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8808         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8809         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8810         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8811         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8812         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8813         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8814         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8815         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8816         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8817         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8818         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8819         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8820         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8821         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8822         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8823         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8824         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8825         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8826         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8827         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8828         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8829         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8830         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8831         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8832         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8833         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8834         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8835         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8836         * sysdeps/powerpc/sysdep.h: Likewise.
8837         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8838         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8839         * sysdeps/sh/dl-trampoline.S: Likewise.
8840         * sysdeps/sh/memset.S: Likewise.
8841         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8842         * sysdeps/sh/strlen.S: Likewise.
8843         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8844         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8845         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8846         * sysdeps/sparc/sparc32/rem.S: Likewise.
8847         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8848         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8849         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8850         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8851         * sysdeps/sparc/sparc32/urem.S: Likewise.
8852         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8853         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8854         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8855         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8856         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8857         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8858         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8859         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8860         * sysdeps/unix/bsd/times.c: Likewise.
8861         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8862         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8866         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8867         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8868         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8869         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8870         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8871         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8872         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8873         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8874         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8875         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8876         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8877         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8878         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8879         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8880         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8881         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8882         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8883         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8884         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8885         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8886         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8887         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8888         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8889         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8890         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8891         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8892         * sysdeps/x86_64/strcspn.S: Likewise.
8894 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8896         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8897         generated file.  Regenerate properly from gen-translit.pl.
8898         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8899         locale/C-translit.h.
8901 2013-06-05  Andreas Schwab  <schwab@suse.de>
8903         [BZ #15100]
8904         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8905         week as 6 instead of -1.
8906         * time/tst-strptime.c (day_tests): Add test case.
8908 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8910         * sysdeps/generic/math_private.h
8911         (libc_feholdexcept_setround_53bit): Replace with
8912         libc_feholdsetround_53bit.
8913         (libc_feupdateenv_53bit): Replace with
8914         libc_feresetround_53bit.
8915         (SET_RESTORE_ROUND_53BIT): Adjust.
8917 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8919         * string/test-strchrnul.c: Add copyright header.
8921         * posix/tst-getaddrinfo4.c: Increase test timeout.
8923 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8925         [BZ #15536]
8926         * math/libm-test.inc (MAX_EXP): Remove
8927         (MIN_EXP): Define.
8928         (ulp): Use MIN_EXP - MANT_DIG.
8929         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8931 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8933         * po/be.po: Revert last change.
8934         * po/zh_CN.po: Likewise.
8935         * po/header.pot: Likewise.
8937 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8939         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8940         link-libc-deps to empty as target-specific variable.
8941         * Makerules (link-libc-args): New variable.
8942         (libc-for-link): Likewise.
8943         (link-libc-deps): Likewise.
8944         (lib%.so): Depend on $(link-libc-deps).  Link with
8945         $(link-libc-args).
8946         (build-module): Link with $(link-libc-args).
8947         (build-module-asneeded): Likewise.
8948         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8949         list of objects.
8950         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8951         target-specific variable.
8952         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8953         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8954         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8955         libc.
8956         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8957         libc and ld.so.
8958         ($(objpfx)libpcprofile.so): Likewise.
8959         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8960         libc_nonshared.a.
8961         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8962         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8963         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8964         $(link-libc-deps).
8965         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8966         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8967         * login/Makefile ($(objpfx)libutil.so): Likewise.
8968         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8969         * math/Makefile ($(objpfx)libm.so): Likewise.
8970         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8971         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8972         variable instead of depending directly on libc.
8973         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8974         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8975         $(link-libc-deps).
8976         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8977         libc.
8978         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8979         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8980         ($(objpfx)libanl.so): Likewise.
8981         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8982         ld.so.
8983         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8984         $(link-libc-deps).
8985         * sysdeps/i386/fpu/Makefile: Remove file.
8986         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8987         ($(objpfx)libm.so): Remove dependency on ld.so.
8989 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8991         [BZ # 15553]
8992         * nis/yp_xdr.c (XDRMAXNAME): Define.
8993         (XDRMAXRECORD): Define.
8994         (xdr_domainname): Use XDRMAXNAME.
8995         (xdr_mapname): Likewise.
8996         (xdr_peername): Likewise.
8997         (xdr_keydat): Use XDRMAXRECORD.
8998         (xdr_valdat): Likewise.
9000 2013-05-30  Jeff Law  <law@redhat.com>
9002         [BZ #14256]
9003         * manual/errno.texi (ESTALE): Update to account for more than
9004         just NFS file systems.
9005         * sysdeps/gnu/errlist.c: Regenerated.
9007 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9009         [BZ #15465]
9010         * elf/Makefile (tests): Add tst-null-argv.
9011         (modules-names):  Add tst-null-argv-lib.
9012         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9013         (tst-null-argv-ENV): Set environment for tst-null-argv.
9014         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9015         (RTLD_PROGNAME): New macro.
9016         * elf/tst-null-argv.c: New test case.
9017         * elf/tst-null-argv-lib.c: Library for test case.
9018         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9019         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9020         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9021         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9022         * elf/dl-init.c (call_init): Likewise.
9023         (_dl_init): Likewise.
9024         * elf/dl-load.c (print_search_path): Likewise.
9025         (_dl_map_object): Likewise.
9026         * elf/dl-lookup.c (do_lookup_x): Likewise.
9027         (add_dependency): Likewise.
9028         (_dl_lookup_symbol_x): Likewise.
9029         (_dl_debug_bindings): Likewise.
9030         * elf/dl-open.c (_dl_show_scope): Likewise.
9031         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9032         * elf/dl-version.c (match_symbol): Likewise.
9033         (_dl_check_map_versions): Likewise.
9034         * elf/rtld.c (dl_main): Likewise.
9035         (print_unresolved): Use RTLD_PROGNAME.
9036         (print_missing_version): Likewise.
9037         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9038         (elf_machine_rela): Likewise.
9039         * sysdeps/powerpc/powerpc32/dl-machine.c
9040         (__process_machine_rela): Likewise.
9041         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9042         Likewise.
9043         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9044         Likewise.
9045         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9046         Likewise.
9047         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9048         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9049         Likewise.
9050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9051         Likewise.
9052         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9054 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
9056         * po/be.po: Add descriptive title.
9057         * po/zh_CN.po: Likewise.
9058         * po/header.pot: Likewise.
9060 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
9062         * locale/programs/locarchive.c (create_archive): Inlucde fname in
9063         error message.
9064         (enlarge_archive): Likewise.
9066 2013-05-28  Ben North  <ben@redfrontdoor.org>
9068         * manual/arith.texi (frexp): It is the magnitude of the return
9069         value which lies in [0.5, 1), not the return value itself.
9071 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9075 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
9077         * stdio-common/bug26.c (main): Correct fscanf template.
9079         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9080         declare _dl_skip_args.
9082         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9083         Don't declare.
9085         * manual/platform.texi: Add missing @end deftypefun.
9087 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9089         [BZ #15529]
9090         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9091         bit of mantissa of 2^16382.
9092         * math/libm-test.inc (hypot_test_data): Add more tests.
9094         * math/libm-test.inc: Add drem and pow10 to list of tested
9095         functions.
9096         (pow10_test): New function.
9097         (drem_test): Likewise.
9098         (drem_test_tonearest): Likewise.
9099         (drem_test_towardzero): Likewise.
9100         (drem_test_downward): Likewise.
9101         (drem_test_upward): Likewise.
9102         (main): Call the new functions.
9104         * math/libm-test.inc (finite_test_data): Remove.
9105         (finite_test): Run tests from isfinite_test_data.
9106         (gamma_test_data): Remove.
9107         (gamma_test): Run tests from lgamma_test_data.
9108         * sysdeps/i386/fpu/libm-test-ulps: Update.
9109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9111 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9113         * manual/platform.texi: Add PowerPC PPR function set documentation.
9114         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9115         implementation.
9117 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
9119         * math/libm-test.inc (MAX_EXP): Define.
9120         (ULPDIFF): Define.
9121         (ulp): New function.
9122         (check_float_internal): Use ULPDIFF.
9123         (cpow_test): Disable failing test.
9124         (check_ulp): Test ulp() implemetnation.
9125         (main): Call check_ulp before starting tests.
9127 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
9129         * math/gen-libm-test.pl (generate_testfile): Do not handle
9130         START_DATA and END_DATA.
9131         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9132         END_DATA.
9133         (acos_tonearest_test_data): Likewise.
9134         (acos_towardzero_test_data): Likewise.
9135         (acos_downward_test_data): Likewise.
9136         (acos_upward_test_data): Likewise.
9137         (acosh_test_data): Likewise.
9138         (asin_test_data): Likewise.
9139         (asin_tonearest_test_data): Likewise.
9140         (asin_towardzero_test_data): Likewise.
9141         (asin_downward_test_data): Likewise.
9142         (asin_upward_test_data): Likewise.
9143         (asinh_test_data): Likewise.
9144         (atan_test_data): Likewise.
9145         (atanh_test_data): Likewise.
9146         (atan2_test_data): Likewise.
9147         (cabs_test_data): Likewise.
9148         (cacos_test_data): Likewise.
9149         (cacosh_test_data): Likewise.
9150         (carg_test_data): Likewise.
9151         (casin_test_data): Likewise.
9152         (casinh_test_data): Likewise.
9153         (catan_test_data): Likewise.
9154         (catanh_test_data): Likewise.
9155         (cbrt_test_data): Likewise.
9156         (ccos_test_data): Likewise.
9157         (ccosh_test_data): Likewise.
9158         (ceil_test_data): Likewise.
9159         (cexp_test_data): Likewise.
9160         (cimag_test_data): Likewise.
9161         (clog_test_data): Likewise.
9162         (clog10_test_data): Likewise.
9163         (conj_test_data): Likewise.
9164         (copysign_test_data): Likewise.
9165         (cos_test_data): Likewise.
9166         (cos_tonearest_test_data): Likewise.
9167         (cos_towardzero_test_data): Likewise.
9168         (cos_downward_test_data): Likewise.
9169         (cos_upward_test_data): Likewise.
9170         (cosh_test_data): Likewise.
9171         (cosh_tonearest_test_data): Likewise.
9172         (cosh_towardzero_test_data): Likewise.
9173         (cosh_downward_test_data): Likewise.
9174         (cosh_upward_test_data): Likewise.
9175         (cpow_test_data): Likewise.
9176         (cproj_test_data): Likewise.
9177         (creal_test_data): Likewise.
9178         (csin_test_data): Likewise.
9179         (csinh_test_data): Likewise.
9180         (csqrt_test_data): Likewise.
9181         (ctan_test_data): Likewise.
9182         (ctan_tonearest_test_data): Likewise.
9183         (ctan_towardzero_test_data): Likewise.
9184         (ctan_downward_test_data): Likewise.
9185         (ctan_upward_test_data): Likewise.
9186         (ctanh_test_data): Likewise.
9187         (ctanh_tonearest_test_data): Likewise.
9188         (ctanh_towardzero_test_data): Likewise.
9189         (ctanh_downward_test_data): Likewise.
9190         (ctanh_upward_test_data): Likewise.
9191         (erf_test_data): Likewise.
9192         (erfc_test_data): Likewise.
9193         (exp_test_data): Likewise.
9194         (exp_tonearest_test_data): Likewise.
9195         (exp_towardzero_test_data): Likewise.
9196         (exp_downward_test_data): Likewise.
9197         (exp_upward_test_data): Likewise.
9198         (exp10_test_data): Likewise.
9199         (exp2_test_data): Likewise.
9200         (expm1_test_data): Likewise.
9201         (fabs_test_data): Likewise.
9202         (fdim_test_data): Likewise.
9203         (finite_test_data): Likewise.
9204         (floor_test_data): Likewise.
9205         (fma_test_data): Likewise.
9206         (fma_towardzero_test_data): Likewise.
9207         (fma_downward_test_data): Likewise.
9208         (fma_upward_test_data): Likewise.
9209         (fmax_test_data): Likewise.
9210         (fmin_test_data): Likewise.
9211         (fmod_test_data): Likewise.
9212         (fpclassify_test_data): Likewise.
9213         (frexp_test_data): Likewise.
9214         (gamma_test_data): Likewise.
9215         (hypot_test_data): Likewise.
9216         (ilogb_test_data): Likewise.
9217         (isfinite_test_data): Likewise.
9218         (isgreater_test_data): Likewise.
9219         (isgreaterequal_test_data): Likewise.
9220         (isinf_test_data): Likewise.
9221         (isless_test_data): Likewise.
9222         (islessequal_test_data): Likewise.
9223         (islessgreater_test_data): Likewise.
9224         (isnan_test_data): Likewise.
9225         (isnormal_test_data): Likewise.
9226         (issignaling_test_data): Likewise.
9227         (isunordered_test_data): Likewise.
9228         (j0_test_data): Likewise.
9229         (j1_test_data): Likewise.
9230         (jn_test_data): Likewise.
9231         (ldexp_test_data): Likewise.
9232         (lgamma_test_data): Likewise.
9233         (lrint_test_data): Likewise.
9234         (lrint_tonearest_test_data): Likewise.
9235         (lrint_towardzero_test_data): Likewise.
9236         (lrint_downward_test_data): Likewise.
9237         (lrint_upward_test_data): Likewise.
9238         (llrint_test_data): Likewise.
9239         (llrint_tonearest_test_data): Likewise.
9240         (llrint_towardzero_test_data): Likewise.
9241         (llrint_downward_test_data): Likewise.
9242         (llrint_upward_test_data): Likewise.
9243         (log_test_data): Likewise.
9244         (log10_test_data): Likewise.
9245         (log1p_test_data): Likewise.
9246         (log2_test_data): Likewise.
9247         (logb_test_data): Likewise.
9248         (logb_downward_test_data): Likewise.
9249         (lround_test_data): Likewise.
9250         (llround_test_data): Likewise.
9251         (modf_test_data): Likewise.
9252         (nearbyint_test_data): Likewise.
9253         (nextafter_test_data): Likewise.
9254         (nexttoward_test_data): Likewise.
9255         (pow_test_data): Likewise.
9256         (pow_tonearest_test_data): Likewise.
9257         (pow_towardzero_test_data): Likewise.
9258         (pow_downward_test_data): Likewise.
9259         (pow_upward_test_data): Likewise.
9260         (remainder_test_data): Likewise.
9261         (remainder_tonearest_test_data): Likewise.
9262         (remainder_towardzero_test_data): Likewise.
9263         (remainder_downward_test_data): Likewise.
9264         (remainder_upward_test_data): Likewise.
9265         (remquo_test_data): Likewise.
9266         (rint_test_data): Likewise.
9267         (rint_tonearest_test_data): Likewise.
9268         (rint_towardzero_test_data): Likewise.
9269         (rint_downward_test_data): Likewise.
9270         (rint_upward_test_data): Likewise.
9271         (round_test_data): Likewise.
9272         (scalb_test_data): Likewise.
9273         (scalbn_test_data): Likewise.
9274         (scalbln_test_data): Likewise.
9275         (signbit_test_data): Likewise.
9276         (sin_test_data): Likewise.
9277         (sin_tonearest_test_data): Likewise.
9278         (sin_towardzero_test_data): Likewise.
9279         (sin_downward_test_data): Likewise.
9280         (sin_upward_test_data): Likewise.
9281         (sincos_test_data): Likewise.
9282         (sinh_test_data): Likewise.
9283         (sinh_tonearest_test_data): Likewise.
9284         (sinh_towardzero_test_data): Likewise.
9285         (sinh_downward_test_data): Likewise.
9286         (sinh_upward_test_data): Likewise.
9287         (sqrt_test_data): Likewise.
9288         (tan_test_data): Likewise.
9289         (tan_tonearest_test_data): Likewise.
9290         (tan_towardzero_test_data): Likewise.
9291         (tan_downward_test_data): Likewise.
9292         (tan_upward_test_data): Likewise.
9293         (tanh_test_data): Likewise.
9294         (tgamma_test_data): Likewise.
9295         (trunc_test_data): Likewise.
9296         (y0_test_data): Likewise.
9297         (y1_test_data): Likewise.
9298         (yn_test_data): Likewise.
9299         (significand_test_data): Likewise.
9301         * math/gen-libm-test.pl (@functions): Remove variable.
9302         (generate_testfile): Don't handle START and END lines.
9303         * math/libm-test.inc (START): New macro.
9304         (END): Likewise.
9305         (END_COMPLEX): Likewise.
9306         (acos_test): Use END macro without arguments.
9307         (acos_test_tonearest): Likewise.
9308         (acos_test_towardzero): Likewise.
9309         (acos_test_downward): Likewise.
9310         (acos_test_upward): Likewise.
9311         (acosh_test): Likewise.
9312         (asin_test): Likewise.
9313         (asin_test_tonearest): Likewise.
9314         (asin_test_towardzero): Likewise.
9315         (asin_test_downward): Likewise.
9316         (asin_test_upward): Likewise.
9317         (asinh_test): Likewise.
9318         (atan_test): Likewise.
9319         (atanh_test): Likewise.
9320         (atan2_test): Likewise.
9321         (cabs_test): Likewise.
9322         (cacos_test): Use END_COMPLEX macro without arguments.
9323         (cacosh_test): Likewise.
9324         (carg_test): Use END macro without arguments.
9325         (casin_test): Use END_COMPLEX macro without arguments.
9326         (casinh_test): Likewise.
9327         (catan_test): Likewise.
9328         (catanh_test): Likewise.
9329         (cbrt_test): Use END macro without arguments.
9330         (ccos_test): Use END_COMPLEX macro without arguments.
9331         (ccosh_test): Likewise.
9332         (ceil_test): Use END macro without arguments.
9333         (cexp_test): Use END_COMPLEX macro without arguments.
9334         (cimag_test): Use END macro without arguments.
9335         (clog_test): Use END_COMPLEX macro without arguments.
9336         (clog10_test): Likewise.
9337         (conj_test): Likewise.
9338         (copysign_test): Use END macro without arguments.
9339         (cos_test): Likewise.
9340         (cos_test_tonearest): Likewise.
9341         (cos_test_towardzero): Likewise.
9342         (cos_test_downward): Likewise.
9343         (cos_test_upward): Likewise.
9344         (cosh_test): Likewise.
9345         (cosh_test_tonearest): Likewise.
9346         (cosh_test_towardzero): Likewise.
9347         (cosh_test_downward): Likewise.
9348         (cosh_test_upward): Likewise.
9349         (cpow_test): Use END_COMPLEX macro without arguments.
9350         (cproj_test): Likewise.
9351         (creal_test): Use END macro without arguments.
9352         (csin_test): Use END_COMPLEX macro without arguments.
9353         (csinh_test): Likewise.
9354         (csqrt_test): Likewise.
9355         (ctan_test): Likewise.
9356         (ctan_test_tonearest): Likewise.
9357         (ctan_test_towardzero): Likewise.
9358         (ctan_test_downward): Likewise.
9359         (ctan_test_upward): Likewise.
9360         (ctanh_test): Likewise.
9361         (ctanh_test_tonearest): Likewise.
9362         (ctanh_test_towardzero): Likewise.
9363         (ctanh_test_downward): Likewise.
9364         (ctanh_test_upward): Likewise.
9365         (erf_test): Use END macro without arguments.
9366         (erfc_test): Likewise.
9367         (exp_test): Likewise.
9368         (exp_test_tonearest): Likewise.
9369         (exp_test_towardzero): Likewise.
9370         (exp_test_downward): Likewise.
9371         (exp_test_upward): Likewise.
9372         (exp10_test): Likewise.
9373         (exp2_test): Likewise.
9374         (expm1_test): Likewise.
9375         (fabs_test): Likewise.
9376         (fdim_test): Likewise.
9377         (finite_test): Likewise.
9378         (floor_test): Likewise.
9379         (fma_test): Likewise.
9380         (fma_test_towardzero): Likewise.
9381         (fma_test_downward): Likewise.
9382         (fma_test_upward): Likewise.
9383         (fmax_test): Likewise.
9384         (fmin_test): Likewise.
9385         (fmod_test): Likewise.
9386         (fpclassify_test): Likewise.
9387         (frexp_test): Likewise.
9388         (gamma_test): Likewise.
9389         (hypot_test): Likewise.
9390         (ilogb_test): Likewise.
9391         (isfinite_test): Likewise.
9392         (isgreater_test): Likewise.
9393         (isgreaterequal_test): Likewise.
9394         (isinf_test): Likewise.
9395         (isless_test): Likewise.
9396         (islessequal_test): Likewise.
9397         (islessgreater_test): Likewise.
9398         (isnan_test): Likewise.
9399         (isnormal_test): Likewise.
9400         (issignaling_test): Likewise.
9401         (isunordered_test): Likewise.
9402         (j0_test): Likewise.
9403         (j1_test): Likewise.
9404         (jn_test): Likewise.
9405         (ldexp_test): Likewise.
9406         (lgamma_test): Likewise.
9407         (lrint_test): Likewise.
9408         (lrint_test_tonearest): Likewise.
9409         (lrint_test_towardzero): Likewise.
9410         (lrint_test_downward): Likewise.
9411         (lrint_test_upward): Likewise.
9412         (llrint_test): Likewise.
9413         (llrint_test_tonearest): Likewise.
9414         (llrint_test_towardzero): Likewise.
9415         (llrint_test_downward): Likewise.
9416         (llrint_test_upward): Likewise.
9417         (log_test): Likewise.
9418         (log10_test): Likewise.
9419         (log1p_test): Likewise.
9420         (log2_test): Likewise.
9421         (logb_test): Likewise.
9422         (logb_test_downward): Likewise.
9423         (lround_test): Likewise.
9424         (llround_test): Likewise.
9425         (modf_test): Likewise.
9426         (nearbyint_test): Likewise.
9427         (nextafter_test): Likewise.
9428         (nexttoward_test): Likewise.
9429         (pow_test): Likewise.
9430         (pow_test_tonearest): Likewise.
9431         (pow_test_towardzero): Likewise.
9432         (pow_test_downward): Likewise.
9433         (pow_test_upward): Likewise.
9434         (remainder_test): Likewise.
9435         (remainder_test_tonearest): Likewise.
9436         (remainder_test_towardzero): Likewise.
9437         (remainder_test_downward): Likewise.
9438         (remainder_test_upward): Likewise.
9439         (remquo_test): Likewise.
9440         (rint_test): Likewise.
9441         (rint_test_tonearest): Likewise.
9442         (rint_test_towardzero): Likewise.
9443         (rint_test_downward): Likewise.
9444         (rint_test_upward): Likewise.
9445         (round_test): Likewise.
9446         (scalb_test): Likewise.
9447         (scalbn_test): Likewise.
9448         (scalbln_test): Likewise.
9449         (signbit_test): Likewise.
9450         (sin_test): Likewise.
9451         (sin_test_tonearest): Likewise.
9452         (sin_test_towardzero): Likewise.
9453         (sin_test_downward): Likewise.
9454         (sin_test_upward): Likewise.
9455         (sincos_test): Likewise.
9456         (sinh_test): Likewise.
9457         (sinh_test_tonearest): Likewise.
9458         (sinh_test_towardzero): Likewise.
9459         (sinh_test_downward): Likewise.
9460         (sinh_test_upward): Likewise.
9461         (sqrt_test): Likewise.
9462         (tan_test): Likewise.
9463         (tan_test_tonearest): Likewise.
9464         (tan_test_towardzero): Likewise.
9465         (tan_test_downward): Likewise.
9466         (tan_test_upward): Likewise.
9467         (tanh_test): Likewise.
9468         (tgamma_test): Likewise.
9469         (trunc_test): Likewise.
9470         (y0_test): Likewise.
9471         (y1_test): Likewise.
9472         (yn_test): Likewise.
9473         (significand_test): Likewise.
9475 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9477         [BZ #15381]
9478         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9480 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9482         [BZ #14894]
9483         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9484         __ppc_mdoio and __ppc_mdoom.
9485         * manual/platform.texi: Document new functions __ppc_yield,
9486         __ppc_mdoio and __ppc_mdoom.
9488 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9490         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9491         (main): Mention "tls" pseudo-hwcap is legacy.
9492         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9494 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9496         * math/gen-libm-test.pl (parse_args): Output only string of
9497         arguments as text for test name, not full call or descriptions of
9498         tests for extra outputs.
9499         (generate_testfile): Do not pass function name to parse_args.
9500         Generate this_func variable from START.
9501         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9502         field to arg_str.
9503         (struct test_ff_f_data): Likewise.
9504         (test_ff_f_data_nexttoward): Likewise.
9505         (struct test_fi_f_data): Likewise.
9506         (struct test_fl_f_data): Likewise.
9507         (struct test_if_f_data): Likewise.
9508         (struct test_fff_f_data): Likewise.
9509         (struct test_c_f_data): Likewise.
9510         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9511         (struct test_fF_f1_data): Likewise.
9512         (struct test_ffI_f1_data): Likewise.
9513         (struct test_c_c_data): Rename test_name field to arg_str.
9514         (struct test_cc_c_data): Likewise.
9515         (struct test_f_i_data): Likewise.
9516         (struct test_ff_i_data): Likewise.
9517         (struct test_f_l_data): Likewise.
9518         (struct test_f_L_data): Likewise.
9519         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9520         and extra2_name.
9521         (COMMON_TEST_SETUP): New macro.
9522         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9523         (COMMON_TEST_CLEANUP): Likewise.
9524         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9525         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9526         macros.
9527         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9528         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9529         macros.
9530         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9531         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9532         cleanup macros.
9533         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9534         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9535         macros.
9536         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9537         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9538         macros.
9539         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9540         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9541         cleanup macros.
9542         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9543         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9544         cleanup macros.
9545         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9546         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9547         cleanup macros.
9548         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9549         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9550         macros.
9551         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9552         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9553         macros.
9554         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9555         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9556         macros.
9557         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9558         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9559         cleanup macros.
9560         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9561         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9562         cleanup macros.
9563         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9564         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9565         macros.
9566         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9567         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9568         cleanup macros.
9569         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9570         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9571         macros.
9572         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9573         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9574         macros.
9575         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9576         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9577         cleanup macros.
9578         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9580 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9582         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9583         to _sifields.sigfault.
9584         (si_addr_lsb): Define new macro.
9585         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9586         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9587         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9589 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9591         [BZ #15441]
9592         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9593         returns -1.
9594         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9595         null return -1.
9596         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9597         loading the domain.
9599 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9601         * math/gen-libm-test.pl (parse_args): Do not include expected
9602         result in test name.
9603         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9604         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9605         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9606         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9607         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9610 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9612         * benchtests/Makefile: Sort function entries.
9614         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9615         tanh, asinh, acosh, atanh.
9616         * benchtests/acos-inputs: New file.
9617         * benchtests/acosh-inputs: New file.
9618         * benchtests/asin-inputs: New file.
9619         * benchtests/asinh-inputs: New file.
9620         * benchtests/atanh-inputs: New file.
9621         * benchtests/cosh-inputs: New file.
9622         * benchtests/log-inputs: New file.
9623         * benchtests/sinh-inputs: New file.
9624         * benchtests/tanh-inputs: New file.
9626 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9628         [BZ #15339]
9629         * posix/tst-getaddrinfo4.c: New test.
9630         * posix/Makefile (tests): Add it.
9632 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9634         [BZ #15339]
9635         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9636         when no services were used.
9637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9638         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9640 2013-05-21  Andreas Schwab  <schwab@suse.de>
9642         [BZ #15014]
9643         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9644         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9645         successful.
9646         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9647         redundant variable declarations and reallocation of buffer when
9648         parsing as IPv6 address.  Always set NSS status when called from
9649         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9650         buffer too small.  Correct computation of needed size.
9651         * nss/Makefile (tests): Add test-digits-dots.
9652         * nss/test-digits-dots.c: New test.
9654 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9656         * benchtests/Makefile: Remove instructions for adding
9657         benchmark tests.
9658         * benchtests/README: New file to explain how to execute and
9659         enhance the benchmark tests.
9661 2013-05-21  Andreas Schwab  <schwab@suse.de>
9663         [BZ #15493]
9664         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9665         * setjmp/tst-sigsetjmp.c: New test.
9667 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9669         * sysdeps/x86_64/memset.S (memset): New implementation.
9670         (__bzero): Likewise.
9671         (__memset_tail): New function.
9673 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9675         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9676         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9677         __memcpy_sse2_unaligned ifunc selection.
9678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9679         Add memcpy-sse2-unaligned.S.
9680         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9681         Add: __memcpy_sse2_unaligned.
9683 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9685         [BZ #15490]
9686         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9687         math_force_eval before restoring floating-point envrionment.
9688         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9689         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9690         Likewise.
9691         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9692         <math_private.h>.
9693         (__nearbyintl): Use math_force_eval before restoring
9694         floating-point environment.
9695         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9697         * math/gen-libm-test.pl (special_functions): Remove.
9698         (parse_args): Don't handle TEST_extra.  Handle functions with no
9699         return value.
9700         * math/libm-test.inc (struct test_sincos_data): Replace with
9701         struct test_fFF_11_data.
9702         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9703         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9704         (sincos_test_data): Change element type to struct
9705         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9706         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9707         RUN_TEST_LOOP_sincos.
9708         * math/README.libm-test: Don't mention special handling of
9709         individual functions.
9710         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9711         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9712         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9713         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9714         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9717         * math/gen-libm-test.pl (get_variable): Remove function.
9718         (parse_args): Don't show pointer parameters to call in test
9719         names.  Use "extra output N" in test names for extra outputs
9720         rather than naming variables.
9722 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9724         [BZ #15488]
9725         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9726         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9727         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9728         double tests.
9729         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9730         disable.
9731         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9732         check_long_double.
9734         * math/gen-libm-test.pl (@tests): Remove variable.
9735         ($count): Likewise.
9736         (new_test): Remove function.
9737         (show_exceptions): New function.
9738         (special_functions): Use show_exceptions instead of new_test.
9739         (parse_args): Likewise.
9740         (generate_testfile): Pass only function name in generated call to
9741         print_max_error or print_complex_max_error.
9742         (get_ulps): Do not handle complex tests specially.
9743         (output_test): Rename to ...
9744         (get_all_ulps_for_test): ... this.  Return a string rather than
9745         printing to a file.  Require ulps to be present.
9746         (output_ulps): Generate arrays rather than #defines.
9747         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9748         (struct ulp_data): New type.
9749         (BUILD_COMPLEX_ULP): Remove macro.
9750         (compare_ulp_data): New function.
9751         (find_ulps): Likewise.
9752         (find_test_ulps): Likewise.
9753         (find_function_ulps): Likewise.
9754         (find_complex_function_ulps): Likewise.
9755         (print_max_error): Determine allowed ulps using
9756         find_function_ulps.
9757         (print_complex_max_error): Determine allowed ulps using
9758         find_complex_function_ulps.
9759         (check_float_internal): Determine max ulps using find_test_ulps.
9760         (check_float): Do not take max_ulp parameter.  Update call to
9761         check_float_internal.
9762         (check_complex): Likewise.
9763         (check_int): Do not take max_ulp parameter.
9764         (check_long): Likewise.
9765         (check_bool): Likewise.
9766         (check_longlong): Likewise.
9767         (struct test_f_f_data): Remove max_ulp field.
9768         (struct test_ff_f_data): Likewise.
9769         (struct test_ff_f_data_nexttoward): Likewise.
9770         (struct test_fi_f_data): Likewise.
9771         (struct test_fl_f_data): Likewise.
9772         (struct test_if_f_data): Likewise.
9773         (struct test_fff_f_data): Likewise.
9774         (struct test_c_f_data): Likewise.
9775         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9776         (struct test_fF_f1_data): Likewise.
9777         (struct test_ffI_f1_data): Likewise.
9778         (struct test_c_c_data): Remove max_ulp field.
9779         (struct test_cc_c_data): Likewise.
9780         (struct test_f_i_data): Likewise.
9781         (struct test_ff_i_data): Likewise.
9782         (struct test_f_l_data): Likewise.
9783         (struct test_f_L_data): Likewise.
9784         (struct test_sincos_data): Likewise.
9785         (RUN_TEST_f_f): Do not handle ulps.
9786         (RUN_TEST_LOOP_f_f): Likewise.
9787         (RUN_TEST_2_f): Likewise.
9788         (RUN_TEST_LOOP_2_f): Likewise.
9789         (RUN_TEST_fff_f): Likewise.
9790         (RUN_TEST_LOOP_fff_f): Likewise.
9791         (RUN_TEST_c_f): Likewise.
9792         (RUN_TEST_LOOP_c_f): Likewise.
9793         (RUN_TEST_f_f1): Likewise.
9794         (RUN_TEST_LOOP_f_f1): Likewise.
9795         (RUN_TEST_fF_f1): Likewise.
9796         (RUN_TEST_LOOP_fF_f1): Likewise.
9797         (RUN_TEST_fI_f1): Likewise.
9798         (RUN_TEST_LOOP_fI_f1): Likewise.
9799         (RUN_TEST_ffI_f1): Likewise.
9800         (RUN_TEST_LOOP_ffI_f1): Likewise.
9801         (RUN_TEST_c_c): Likewise.
9802         (RUN_TEST_LOOP_c_c): Likewise.
9803         (RUN_TEST_cc_c): Likewise.
9804         (RUN_TEST_LOOP_cc_c): Likewise.
9805         (RUN_TEST_f_i): Likewise.
9806         (RUN_TEST_LOOP_f_i): Likewise.
9807         (RUN_TEST_f_i_tg): Likewise.
9808         (RUN_TEST_LOOP_f_i_tg): Likewise.
9809         (RUN_TEST_ff_i_tg): Likewise.
9810         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9811         (RUN_TEST_f_b): Likewise.
9812         (RUN_TEST_LOOP_f_b): Likewise.
9813         (RUN_TEST_f_b_tg): Likewise.
9814         (RUN_TEST_LOOP_f_b_tg): Likewise.
9815         (RUN_TEST_f_l): Likewise.
9816         (RUN_TEST_LOOP_f_l): Likewise.
9817         (RUN_TEST_f_L): Likewise.
9818         (RUN_TEST_LOOP_f_L): Likewise.
9819         (RUN_TEST_sincos): Likewise.
9820         (RUN_TEST_LOOP_sincos): Likewise.
9822 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9824         [BZ #15480]
9825         [BZ #15485]
9826         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9827         main case of finite arguments, set rounding mode to FE_TONEAREST
9828         and discard exceptions.
9829         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9830         exceptions.
9831         (remainder_tonearest_test_data): New variable.
9832         (remainder_test_tonearest): New function.
9833         (remainder_towardzero_test_data): New variable.
9834         (remainder_test_towardzero): New function.
9835         (remainder_downward_test_data): New variable.
9836         (remainder_test_downward): New function.
9837         (remainder_upward_test_data): New variable.
9838         (remainder_test_upward): New function.
9839         (main): Call the new test functions.
9841         * math/libm-test.inc (struct test_f_f1_data): Remove field
9842         extra_init.
9843         (struct test_fF_f1_data): Likewise.
9844         (struct test_ffI_f1_data): Likewise.
9845         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9846         based on value of EXTRA_EXPECTED.
9847         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9848         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9849         EXTRA_VAR based on value of EXTRA_EXPECTED.
9850         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9851         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9852         EXTRA_VAR based on value of EXTRA_EXPECTED.
9853         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9854         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9855         EXTRA_VAR based on value of EXTRA_EXPECTED.
9856         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9857         * math/gen-libm-test.pl (parse_args): Don't output initializers
9858         for extra output values.
9860         * math/libm-test.inc (check_int): Expect result to be exactly
9861         equal to expected value and do not handle ulps.
9862         (check_long): Likewise.
9863         (check_longlong): Likewise.
9865         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9866         exceptions.
9867         (cimag_test_data): Likewise.
9868         (conj_test_data): Likewise.
9869         (copysign_test_data): Likewise.
9870         (cproj_test_data): Likewise.
9871         (creal_test_data): Likewise.
9872         (fabs_test_data): Likewise.
9873         (fdim_test_data): Likewise.
9874         (finite_test_data): Likewise.
9875         (floor_test_data): Likewise.
9876         (fmax_test_data): Likewise.
9877         (fmin_test_data): Likewise.
9878         (fmod_test_data): Likewise.
9879         (fpclassify_test_data): Likewise.
9880         (frexp_test_data): Likewise.
9881         (ilogb_test_data): Likewise.
9882         (isfinite_test_data): Likewise.
9883         (isgreater_test_data): Likewise.
9884         (isgreaterequal_test_data): Likewise.
9885         (isinf_test_data): Likewise.
9886         (isless_test_data): Likewise.
9887         (islessequal_test_data): Likewise.
9888         (islessgreater_test_data): Likewise.
9889         (isnan_test_data): Likewise.
9890         (isnormal_test_data): Likewise.
9891         (issignaling_test_data): Likewise.
9892         (isunordered_test_data): Likewise.
9893         (ldexp_test_data): Likewise.
9894         (lrint_test_data): Likewise.
9895         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9896         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9897         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9898         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9899         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9900         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9901         test input.
9902         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9903         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9904         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9905         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9906         that test input.
9907         (lrint_downward_test_data): Test for "inexact" exceptions.
9908         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9909         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9910         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9911         test input.
9912         (lrint_upward_test_data): Test for "inexact" exceptions.
9913         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9914         test input.
9915         (llrint_test_data): Test for "inexact" exceptions.
9916         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9917         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9918         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9919         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9920         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9921         (llrint_downward_test_data): Test for "inexact" exceptions.
9922         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9923         (llrint_upward_test_data): Test for "inexact" exceptions.
9924         (logb_test_data): Likewise.
9925         (logb_downward_test_data): Likewise.
9926         (nextafter_test_data): Likewise.
9927         (nexttoward_test_data): Likewise.
9928         (remainder_test_data): Likewise.
9929         (remquo_test_data): Likewise.
9930         (scalbn_test_data): Likewise.
9931         (scalbln_test_data): Likewise.
9932         (signbit_test_data): Likewise.
9933         (sqrt_test_data): Likewise.
9934         (significand_test_data): Likewise.
9936 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9938         [BZ #15424]
9939         * benchtests/bench-modf.c (struct args): Mark arg0 as
9940         volatile.
9941         * scripts/bench.pl: Mark members of struct args as volatile.
9943 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9945         [BZ # 15497]
9946         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9947         negative infinity on POWER6 or lower.
9948         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9950 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9952         [BZ #15442]
9953         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9954         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9955         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9956         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9957         (_FP_SETQNAN): New macro.
9958         (_FP_SETQNAN_SEMIRAW): Likewise.
9959         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9960         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9961         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9962         (FP_EXTEND): Use _FP_FRAC_SNANP.
9963         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9964         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9965         into account.
9966         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9967         New macro.
9968         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9969         Likewise.
9971 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9973         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9974         with DIVIDE_BY_ZERO_EXCEPTION.
9975         (gamma_test_data): Likewise.
9976         (lgamma_test_data): Likewise.
9977         (log_test_data): Likewise.
9978         (log10_test_data): Likewise.
9979         (log2_test_data): Likewise.
9980         (tgamma_test_data): Likewise.
9982         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9983         (acos_test_tonearest): Likewise.
9984         (acos_test_towardzero): Likewise.
9985         (acos_test_downward): Likewise.
9986         (acos_test_upward): Likewise.
9987         (acosh_test): Likewise.
9988         (asin_test): Likewise.
9989         (asin_test_tonearest): Likewise.
9990         (asin_test_towardzero): Likewise.
9991         (asin_test_downward): Likewise.
9992         (asin_test_upward): Likewise.
9993         (asinh_test): Likewise.
9994         (atan_test): Likewise.
9995         (atanh_test): Likewise.
9996         (atan2_test): Likewise.
9997         (cabs_test): Likewise.
9998         (cacos_test): Likewise.
9999         (cacosh_test): Likewise.
10000         (casin_test): Likewise.
10001         (casinh_test): Likewise.
10002         (catan_test): Likewise.
10003         (catanh_test): Likewise.
10004         (cbrt_test): Likewise.
10005         (ccos_test): Likewise.
10006         (ccosh_test): Likewise.
10007         (cexp_test): Likewise.
10008         (clog_test): Likewise.
10009         (clog10_test): Likewise.
10010         (cos_test): Likewise.
10011         (cos_test_tonearest): Likewise.
10012         (cos_test_towardzero): Likewise.
10013         (cos_test_downward): Likewise.
10014         (cos_test_upward): Likewise.
10015         (cosh_test): Likewise.
10016         (cosh_test_tonearest): Likewise.
10017         (cosh_test_towardzero): Likewise.
10018         (cosh_test_downward): Likewise.
10019         (cosh_test_upward): Likewise.
10020         (cpow_test): Likewise.
10021         (csin_test): Likewise.
10022         (csinh_test): Likewise.
10023         (csqrt_test): Likewise.
10024         (ctan_test): Likewise.
10025         (ctan_test_tonearest): Likewise.
10026         (ctan_test_towardzero): Likewise.
10027         (ctan_test_downward): Likewise.
10028         (ctan_test_upward): Likewise.
10029         (ctanh_test): Likewise.
10030         (ctanh_test_tonearest): Likewise.
10031         (ctanh_test_towardzero): Likewise.
10032         (ctanh_test_downward): Likewise.
10033         (ctanh_test_upward): Likewise.
10034         (erf_test): Likewise.
10035         (erfc_test): Likewise.
10036         (exp_test): Likewise.
10037         (exp_test_tonearest): Likewise.
10038         (exp_test_towardzero): Likewise.
10039         (exp_test_downward): Likewise.
10040         (exp_test_upward): Likewise.
10041         (exp10_test): Likewise.
10042         (exp2_test): Likewise.
10043         (expm1_test): Likewise.
10044         (fmod_test): Likewise.
10045         (gamma_test): Likewise.
10046         (hypot_test): Likewise.
10047         (j0_test): Likewise.
10048         (j1_test): Likewise.
10049         (jn_test): Likewise.
10050         (lgamma_test): Likewise.
10051         (log_test): Likewise.
10052         (log10_test): Likewise.
10053         (log1p_test): Likewise.
10054         (log2_test): Likewise.
10055         (logb_test_downward): Likewise.
10056         (pow_test): Likewise.
10057         (pow_test_tonearest): Likewise.
10058         (pow_test_towardzero): Likewise.
10059         (pow_test_downward): Likewise.
10060         (pow_test_upward): Likewise.
10061         (remainder_test): Likewise.
10062         (remquo_test): Likewise.
10063         (sin_test): Likewise.
10064         (sin_test_tonearest): Likewise.
10065         (sin_test_towardzero): Likewise.
10066         (sin_test_downward): Likewise.
10067         (sin_test_upward): Likewise.
10068         (sincos_test): Likewise.
10069         (sinh_test): Likewise.
10070         (sinh_test_tonearest): Likewise.
10071         (sinh_test_towardzero): Likewise.
10072         (sinh_test_downward): Likewise.
10073         (sinh_test_upward): Likewise.
10074         (sqrt_test): Likewise.
10075         (tan_test): Likewise.
10076         (tan_test_tonearest): Likewise.
10077         (tan_test_towardzero): Likewise.
10078         (tan_test_downward): Likewise.
10079         (tan_test_upward): Likewise.
10080         (tanh_test): Likewise.
10081         (tgamma_test): Likewise.
10082         (y0_test): Likewise.
10083         (y1_test): Likewise.
10084         (yn_test): Likewise.
10086         * math/gen-libm-test.pl (adjust_arg): Remove function.
10087         (special_function): Remove argument $in_func.  Only handle
10088         generating output for tables of tests, not inside functions.
10089         (parse_args): Likewise.
10090         (generate_testfile): Remove variable $in_func.  Update call to
10091         parse_args.
10092         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10093         (MINUS_ZERO_INIT): Rename macro to minus_zero.
10094         (PLUS_INFTY_INIT): Rename macro to plus_infty.
10095         (MINUS_INFTY_INIT): Rename macro to minus_infty.
10096         (QNAN_VALUE_INIT): Rename macro to qnan_value.
10097         (MAX_VALUE_INIT): Rename macro to max_value.
10098         (MIN_VALUE_INIT): Rename macro to min_value.
10099         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10100         (plus_zero): Remove variable.
10101         (minus_zero): Likewise.
10102         (plus_infty): Likewise.
10103         (minus_infty): Likewise.
10104         (qnan_value): Likewise.
10105         (max_value): Likewise.
10106         (min_value): Likewise.
10107         (min_subnorm_value): Likewise.
10109 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10111         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10112         uint64_t or uint32_t usage.
10113         * crypt/sha256-block.c: Likewise.
10114         * crypt/sha256-crypt.c: Likewise.
10115         * crypt/sha256.c: Likewise.
10116         * crypt/sha512-block.c: Likewise.
10117         * crypt/sha512-crypt.c: Likewise.
10118         * crypt/sha512.c: Likewise.
10119         * debug/backtrace-tst.c: Likewise.
10120         * debug/pcprofiledump.c: Likewise.
10121         * elf/cache.c: Likewise.
10122         * elf/dl-cache.c: Likewise.
10123         * elf/dl-misc.c: Likewise.
10124         * elf/dl-profile.c: Likewise.
10125         * elf/dl-support.c: Likewise.
10126         * elf/ldconfig.c: Likewise.
10127         * elf/sprof.c: Likewise.
10128         * iconv/dummy-repertoire.c: Likewise.
10129         * iconv/iconv_charmap.c: Likewise.
10130         * iconv/skeleton.c: Likewise.
10131         * iconvdata/8bit-generic.c: Likewise.
10132         * iconvdata/cp737.h: Likewise.
10133         * iconvdata/cp775.h: Likewise.
10134         * iconvdata/ibm1008.h: Likewise.
10135         * iconvdata/ibm1025.h: Likewise.
10136         * iconvdata/ibm1046.h: Likewise.
10137         * iconvdata/ibm1097.h: Likewise.
10138         * iconvdata/ibm1112.h: Likewise.
10139         * iconvdata/ibm1122.h: Likewise.
10140         * iconvdata/ibm1123.h: Likewise.
10141         * iconvdata/ibm1124.h: Likewise.
10142         * iconvdata/ibm1129.h: Likewise.
10143         * iconvdata/ibm1130.h: Likewise.
10144         * iconvdata/ibm1132.h: Likewise.
10145         * iconvdata/ibm1133.h: Likewise.
10146         * iconvdata/ibm1137.h: Likewise.
10147         * iconvdata/ibm1140.h: Likewise.
10148         * iconvdata/ibm1141.h: Likewise.
10149         * iconvdata/ibm1142.h: Likewise.
10150         * iconvdata/ibm1143.h: Likewise.
10151         * iconvdata/ibm1144.h: Likewise.
10152         * iconvdata/ibm1145.h: Likewise.
10153         * iconvdata/ibm1146.h: Likewise.
10154         * iconvdata/ibm1147.h: Likewise.
10155         * iconvdata/ibm1148.h: Likewise.
10156         * iconvdata/ibm1149.h: Likewise.
10157         * iconvdata/ibm1153.h: Likewise.
10158         * iconvdata/ibm1154.h: Likewise.
10159         * iconvdata/ibm1155.h: Likewise.
10160         * iconvdata/ibm1156.h: Likewise.
10161         * iconvdata/ibm1157.h: Likewise.
10162         * iconvdata/ibm1158.h: Likewise.
10163         * iconvdata/ibm1160.h: Likewise.
10164         * iconvdata/ibm1161.h: Likewise.
10165         * iconvdata/ibm1162.h: Likewise.
10166         * iconvdata/ibm1163.h: Likewise.
10167         * iconvdata/ibm1164.h: Likewise.
10168         * iconvdata/ibm1166.h: Likewise.
10169         * iconvdata/ibm1167.h: Likewise.
10170         * iconvdata/ibm12712.h: Likewise.
10171         * iconvdata/ibm1390.h: Likewise.
10172         * iconvdata/ibm1399.h: Likewise.
10173         * iconvdata/ibm16804.h: Likewise.
10174         * iconvdata/ibm4517.h: Likewise.
10175         * iconvdata/ibm4899.h: Likewise.
10176         * iconvdata/ibm4909.h: Likewise.
10177         * iconvdata/ibm4971.h: Likewise.
10178         * iconvdata/ibm5347.h: Likewise.
10179         * iconvdata/ibm803.h: Likewise.
10180         * iconvdata/ibm856.h: Likewise.
10181         * iconvdata/ibm901.h: Likewise.
10182         * iconvdata/ibm902.h: Likewise.
10183         * iconvdata/ibm9030.h: Likewise.
10184         * iconvdata/ibm9066.h: Likewise.
10185         * iconvdata/ibm921.h: Likewise.
10186         * iconvdata/ibm922.h: Likewise.
10187         * iconvdata/ibm9448.h: Likewise.
10188         * iconvdata/isiri-3342.h: Likewise.
10189         * iconvdata/jis0201.h: Likewise.
10190         * include/link.h: Likewise.
10191         * include/netdb.h: Likewise.
10192         * inet/check_native.c: Likewise.
10193         * inet/check_pf.c: Likewise.
10194         * inet/getipv4sourcefilter.c: Likewise.
10195         * inet/getnameinfo.c: Likewise.
10196         * inet/getsourcefilter.c: Likewise.
10197         * inet/htonl.c: Likewise.
10198         * inet/setipv4sourcefilter.c: Likewise.
10199         * inet/setsourcefilter.c: Likewise.
10200         * inet/test-inet6_opt.c: Likewise.
10201         * inet/tst-network.c: Likewise.
10202         * locale/C-collate.c: Likewise.
10203         * locale/C-ctype.c: Likewise.
10204         * locale/C-time.c: Likewise.
10205         * locale/C-translit.h: Likewise.
10206         * locale/loadarchive.c: Likewise.
10207         * locale/programs/3level.h: Likewise.
10208         * locale/programs/charmap.c: Likewise.
10209         * locale/programs/charmap.h: Likewise.
10210         * locale/programs/ld-address.c: Likewise.
10211         * locale/programs/ld-collate.c: Likewise.
10212         * locale/programs/ld-ctype.c: Likewise.
10213         * locale/programs/ld-identification.c: Likewise.
10214         * locale/programs/ld-measurement.c: Likewise.
10215         * locale/programs/ld-messages.c: Likewise.
10216         * locale/programs/ld-monetary.c: Likewise.
10217         * locale/programs/ld-name.c: Likewise.
10218         * locale/programs/ld-numeric.c: Likewise.
10219         * locale/programs/ld-paper.c: Likewise.
10220         * locale/programs/ld-telephone.c: Likewise.
10221         * locale/programs/ld-time.c: Likewise.
10222         * locale/programs/linereader.c: Likewise.
10223         * locale/programs/locale.c: Likewise.
10224         * locale/programs/locarchive.c: Likewise.
10225         * locale/programs/locfile.h: Likewise.
10226         * locale/programs/repertoire.c: Likewise.
10227         * locale/programs/simple-hash.c: Likewise.
10228         * locale/programs/simple-hash.h: Likewise.
10229         * malloc/memusage.c: Likewise.
10230         * malloc/memusagestat.c: Likewise.
10231         * nis/nis_defaults.c: Likewise.
10232         * nis/nis_hash.c: Likewise.
10233         * nis/nis_print.c: Likewise.
10234         * nis/nis_xdr.c: Likewise.
10235         * nscd/connections.c: Likewise.
10236         * nscd/hstcache.c: Likewise.
10237         * nscd/nscd_gethst_r.c: Likewise.
10238         * nscd/nscd_getserv_r.c: Likewise.
10239         * nscd/nscd_helper.c: Likewise.
10240         * nscd/servicescache.c: Likewise.
10241         * nss/makedb.c: Likewise.
10242         * nss/nss_db/db-XXX.c: Likewise.
10243         * nss/nss_db/db-initgroups.c: Likewise.
10244         * nss/nss_db/db-netgrp.c: Likewise.
10245         * nss/nss_files/files-network.c: Likewise.
10246         * nss/nss_files/files-parse.c: Likewise.
10247         * posix/bug-regex5.c: Likewise.
10248         * posix/fnmatch_loop.c: Likewise.
10249         * posix/regcomp.c: Likewise.
10250         * posix/regexec.c: Likewise.
10251         * posix/tst-rfc3484-2.c: Likewise.
10252         * posix/tst-rfc3484-3.c: Likewise.
10253         * posix/tst-rfc3484.c: Likewise.
10254         * resolv/nss_dns/dns-canon.c: Likewise.
10255         * resolv/nss_dns/dns-network.c: Likewise.
10256         * resolv/res_init.c: Likewise.
10257         * resolv/res_mkquery.c: Likewise.
10258         * resolv/tst-aton.c: Likewise.
10259         * stdlib/cxa_atexit.c: Likewise.
10260         * stdlib/cxa_finalize.c: Likewise.
10261         * stdlib/gen-fpioconst.c: Likewise.
10262         * stdlib/strtol_l.c: Likewise.
10263         * string/tst-endian.c: Likewise.
10264         * sunrpc/auth_des.c: Likewise.
10265         * sunrpc/clnt_udp.c: Likewise.
10266         * sunrpc/rtime.c: Likewise.
10267         * sunrpc/svcauth_des.c: Likewise.
10268         * sunrpc/xdr.c: Likewise.
10269         * sunrpc/xdr_intXX_t.c: Likewise.
10270         * sunrpc/xdr_rec.c: Likewise.
10271         * sysdeps/generic/ldconfig.h: Likewise.
10272         * sysdeps/generic/ldsodefs.h: Likewise.
10273         * sysdeps/generic/memusage.h: Likewise.
10274         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10275         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10276         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10277         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10278         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10279         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10280         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10281         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10282         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10283         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10284         * sysdeps/posix/getaddrinfo.c: Likewise.
10285         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10286         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10287         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10288         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10289         * sysdeps/powerpc/test-gettimebase.c: Likewise.
10290         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10291         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10292         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10293         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10294         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10295         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10296         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10297         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10298         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10299         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10300         * sysdeps/x86_64/dl-tls.h: Likewise.
10301         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10302         * time/alt_digit.c: Likewise.
10303         * time/era.c: Likewise.
10304         * wcsmbs/tst-c16c32-1.c: Likewise.
10306 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10308         * math/libm-test.inc (struct test_sincos_data): New type.
10309         (RUN_TEST_LOOP_sincos): New macro.
10310         (sincos_test_data): New variable.
10311         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10313 2013-05-16  Richard Henderson  <rth@redhat.com>
10315         * math/atest-exp2.c (LIMB64): New macro.
10316         (CONSTSZ): New macro.
10317         (mp_exp1, mp_exp_m1, mp_log2): New variables.
10318         (hexdig): Move ...
10319         (print_mpn_fp): ... to function scope.
10320         (read_mpn_hex): Remove.
10321         (get_log2): Remove.
10322         (exp2_mpn): Use mp_log2.
10323         (main): Use mp_exp1.
10325 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
10327         * math/libm-test.inc: Remove comment about not testing "inexact"
10328         exceptions.
10329         (INEXACT_EXCEPTION): New macro.
10330         (NO_INEXACT_EXCEPTION): Likewise.
10331         (INVALID_EXCEPTION_OK): Update value.
10332         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10333         (OVERFLOW_EXCEPTION_OK): Likewise.
10334         (UNDERFLOW_EXCEPTION_OK): Likewise.
10335         (IGNORE_ZERO_INF_SIGN): Likewise.
10336         (ERRNO_UNCHANGED): Likewise.
10337         (ERRNO_EDOM): Likewise.
10338         (ERRNO_ERANGE): Likewise.
10339         (test_exceptions): Handle testing "inexact" exceptions.
10340         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10341         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10342         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10343         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10344         INEXACT_EXCEPTION.
10345         (rint_towardzero_test_data): Likewise.
10346         (rint_downward_test_data): Likewise.
10347         (rint_upward_test_data): Likewise.
10349         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10350         with OVERFLOW_EXCEPTION.
10351         (exp10_test_data): Likewise.
10352         (exp2_test_data): Likewise.
10353         (expm1_test_data): Likewise.
10354         (lgamma_test_data): Likewise.
10355         (pow_test_data): Likewise.
10356         (tgamma_test_data): Likewise.
10357         (yn_test_data): Remove duplicate test of overflow.
10359         * math/libm-test.inc (struct test_cc_c_data): New type.
10360         (RUN_TEST_LOOP_cc_c): New macro.
10361         (cpow_test_data): New variable.
10362         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10364         * math/libm-test.inc (struct test_f_L_data): New type.
10365         (RUN_TEST_LOOP_f_L): New macro.
10366         (llrint_test_data): New variable.
10367         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10368         (llrint_tonearest_test_data): New variable.
10369         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10370         (llrint_towardzero_test_data): New variable.
10371         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10372         (llrint_downward_test_data): New variable.
10373         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10374         (llrint_upward_test_data): New variable.
10375         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10376         (llround_test_data): New variable.
10377         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10379 2013-05-13  Peter Collingbourne  <pcc@google.com>
10381         * math/atest-exp2.c (get_log2): Remove const attribute.
10383 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10385         * math/libm-test.inc (struct test_f_l_data): New type.
10386         (RUN_TEST_LOOP_f_l): New macro.
10387         (lrint_test_data): New variable.
10388         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10389         (lrint_tonearest_test_data): New variable.
10390         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10391         (lrint_towardzero_test_data): New variable.
10392         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10393         (lrint_downward_test_data): New variable.
10394         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10395         (lrint_upward_test_data): New variable.
10396         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10397         (lround_test_data): New variable.
10398         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10400 2013-05-15  Peter Collingbourne  <pcc@google.com>
10402         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10403         (EXTRACT_WORDS64) Use where appropriate.
10404         (INSERT_WORDS64) Likewise.
10406         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10407         constraints with x constraints.
10408         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10410         * malloc/obstack.c (_obstack_compat): Add initializer.
10412 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10414         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10415         si_trapno and add si_addr_lsb to _sifields.sigfault.
10416         (si_trapno): Remove macro.
10417         (si_addr_lsb): Define new macro.
10418         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10420 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10422         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10423         instead of TEST_f_l.
10424         (llrint_test_tonearest): Likewise.
10425         (llrint_test_towardzero): Likewise.
10426         (llrint_test_downward): Likewise.
10427         (llrint_test_upward): Likewise.
10428         (llround_test): Likewise.
10430         * math/libm-test.inc (struct test_f_i_data): Add comment.
10431         (RUN_TEST_LOOP_f_b): New macro.
10432         (RUN_TEST_LOOP_f_b_tg): Likewise.
10433         (finite_test_data): New variable.
10434         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10435         (isfinite_test_data): New variable.
10436         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10437         (isinf_test_data): New variable.
10438         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10439         (isnan_test_data): New variable.
10440         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10441         (isnormal_test_data): New variable.
10442         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10443         (issignaling_test_data): New variable.
10444         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10445         (signbit_test_data): New variable.
10446         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10448         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10449         with INVALID_EXCEPTION.
10450         (acosh_test_data): Likewise.
10451         (asin_test_data): Likewise.
10452         (atanh_test_data): Likewise.
10453         (fmod_test_data): Likewise.
10454         (log_test_data): Likewise.
10455         (log10_test_data): Likewise.
10456         (log2_test_data): Likewise.
10457         (pow_test_data): Likewise.
10458         (sqrt_test_data): Likewise.
10459         (y0_test_data): Likewise.
10460         (y1_test_data): Likewise.
10461         (yn_test_data): Likewise.
10463         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10464         function contents.
10466         * math/libm-test.inc (struct test_ff_i_data): New type.
10467         (RUN_TEST_LOOP_ff_i_tg): New macro.
10468         (isgreater_test_data): New variable.
10469         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10470         (isgreaterequal_test_data): New variable.
10471         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10472         (isless_test_data): New variable.
10473         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10474         (islessequal_test_data): New variable.
10475         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10476         (islessgreater_test_data): New variable.
10477         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10478         (isunordered_test_data): New variable.
10479         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10481 2013-05-14  David S. Miller  <davem@davemloft.net>
10483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10485 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10487         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10489         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10490         extra_test to int.
10491         (struct test_f_i_data): Change type of max_ulp to int.
10493         * math/libm-test.inc (test_ffI_f1_data): New type.
10494         (RUN_TEST_LOOP_ffI_f1): New macro.
10495         (remquo_test_data): New variable.
10496         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10498         * setjmp/tst-setjmp-fp.c: New file.
10499         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10500         (link-libm): New variable.
10501         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10503         * math/libm-test.inc (struct test_f_i_data): New type.
10504         (RUN_TEST_LOOP_f_i): New macro.
10505         (RUN_TEST_LOOP_f_i_tg): Likewise.
10506         (fpclassify_test_data): New variable.
10507         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10508         (ilogb_test_data): New variable.
10509         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10511         * math/libm-test.inc (scalbln_test): Correct function name in END
10512         call.
10514         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10515         (RUN_TEST_LOOP_fI_f1): New macro.
10516         (frexp_test_data): New variable.
10517         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10519         * math/libm-test.inc (struct test_fF_f1_data): New type.
10520         (RUN_TEST_LOOP_fF_f1): New macro.
10521         (modf_test_data): New variable.
10522         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10524         * math/libm-test.inc (struct test_f_f1_data): New type.
10525         (RUN_TEST_LOOP_f_f1): New macro.
10526         (gamma_test_data): New variable.
10527         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10528         (lgamma_test_data): New variable.
10529         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10531 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10533         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10534         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10535         (main): Comment "tls" pseudo-hwcap.
10537 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10539         * math/libm-test.inc (struct test_fl_f_data): New type.
10540         (RUN_TEST_LOOP_fl_f): New variable.
10541         (scalbln_test_data): New variable.
10542         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10544         * math/libm-test.inc (struct test_fi_f_data): New type.
10545         (RUN_TEST_LOOP_fi_f): New macro.
10546         (ldexp_test_data): New variable.
10547         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10548         (scalbn_test_data): New variable.
10549         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10551         * math/libm-test.inc (struct test_c_f_data): New type.
10552         (RUN_TEST_LOOP_c_f): New macro.
10553         (cabs_test_data): New variable.
10554         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10555         (carg_test_data): New variable.
10556         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10557         (cimag_test_data): New variable.
10558         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10559         (creal_test_data): New variable.
10560         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10562         * math/libm-test.inc (struct test_if_f_data): New type.
10563         (RUN_TEST_LOOP_if_f): New macro.
10564         (jn_test_data): New variable.
10565         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10566         (yn_test_data): New variable.
10567         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10569         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10571 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10573         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10574         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10576 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10578         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10579         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10580         (bench-deps): Add bench-timing.h.
10581         * benchtests-bench-skeleton.c: Include bench-timing.h.
10582         (main): Use TIMING_* macros instead of clock_gettime.
10583         * benchtests/bench-timing.h: New file.
10585         [BZ #14582]
10586         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10587         Renamed from _LIB_VERSION.
10588         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10590 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10592         * math/libm-test.inc (struct test_fff_f_data): New type.
10593         (RUN_TEST_LOOP_fff_f): New macro.
10594         (fma_test_data): New variable.
10595         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10596         (fma_towardzero_test_data): New variable.
10597         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10598         (fma_downward_test_data): New variable.
10599         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10600         (fma_upward_test_data): New variable.
10601         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10603         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10604         (struct test_c_c_data): New type.
10605         (RUN_TEST_LOOP_c_c): New macro.
10606         (cacos_test_data): New variable.
10607         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10608         (cacosh_test_data): New variable.
10609         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10610         (casin_test_data): New variable.
10611         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10612         (casinh_test_data): New variable.
10613         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10614         (catan_test_data): New variable.
10615         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10616         (catanh_test_data): New variable.
10617         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10618         (ccos_test_data): New variable.
10619         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10620         (ccosh_test_data): New variable.
10621         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10622         (cexp_test_data): New variable.
10623         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10624         (clog_test_data): New variable.
10625         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10626         (clog10_test_data): New variable.
10627         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10628         (conj_test_data): New variable.
10629         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10630         (cproj_test_data): New variable.
10631         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10632         (csin_test_data): New variable.
10633         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10634         (csinh_test_data): New variable.
10635         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10636         (csqrt_test_data): New variable.
10637         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10638         (ctan_test_data): New variable.
10639         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10640         (ctan_tonearest_test_data): New variable.
10641         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10642         (ctan_towardzero_test_data): New variable.
10643         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10644         (ctan_downward_test_data): New variable.
10645         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10646         (ctan_upward_test_data): New variable.
10647         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10648         (ctanh_test_data): New variable.
10649         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10650         (ctanh_tonearest_test_data): New variable.
10651         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10652         (ctanh_towardzero_test_data): New variable.
10653         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10654         (ctanh_downward_test_data): New variable.
10655         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10656         (ctanh_upward_test_data): New variable.
10657         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10658         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10659         of BUILD_COMPLEX.
10661         * math/libm-test.inc (struct test_ff_f_data): New type.
10662         (struct test_ff_f_data_nexttoward): Likewise.
10663         (RUN_TEST_LOOP_2_f): New macro.
10664         (RUN_TEST_LOOP_ff_f): Likewise.
10665         (atan2_test_data): New variable.
10666         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10667         (copysign_test_data): New variable.
10668         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10669         (fdim_test_data): New variable.
10670         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10671         (fmax_test_data): New variable.
10672         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10673         (fmin_test_data): New variable.
10674         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10675         (fmod_test_data): New variable.
10676         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10677         (hypot_test_data): New variable.
10678         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10679         (nextafter_test_data): New variable.
10680         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10681         (nexttoward_test_data): New variable.
10682         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10683         (pow_test_data): New variable.
10684         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10685         (pow_tonearest_test_data): New variable.
10686         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10687         (pow_towardzero_test_data): New variable.
10688         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10689         (pow_downward_test_data): New variable.
10690         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10691         (pow_upward_test_data): New variable.
10692         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10693         (remainder_test_data): New variable.
10694         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10695         (scalb_test_data): New variable.
10696         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10697         * sysdeps/i386/fpu/libm-test-ulps: Update.
10699 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10701         * math/libm-test.inc (fma_test): Use max_value instead of local
10702         variable fltmax.
10703         (nextafter_test): Likewise.
10705         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10706         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10707         (acos_downward_test_data): New variable.
10708         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10709         (acos_upward_test_data): New variable.
10710         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10711         (acosh_test_data): New variable.
10712         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10713         (asin_test_data): New variable.
10714         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10715         (asin_tonearest_test_data): New variable.
10716         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10717         (asin_towardzero_test_data): New variable.
10718         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10719         (asin_downward_test_data): New variable.
10720         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10721         (asin_upward_test_data): New variable.
10722         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10723         (asinh_test_data): New variable.
10724         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10725         (atan_test_data): New variable.
10726         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10727         (atanh_test_data): New variable.
10728         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10729         (cbrt_test_data): New variable.
10730         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10731         (ceil_test_data): New variable.
10732         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10733         (cos_test_data): New variable.
10734         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10735         (cos_tonearest_test_data): New variable.
10736         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10737         (cos_towardzero_test_data): New variable.
10738         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10739         (cos_downward_test_data): New variable.
10740         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10741         (cos_upward_test_data): New variable.
10742         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10743         (cosh_test_data): New variable.
10744         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10745         (cosh_tonearest_test_data): New variable.
10746         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10747         (cosh_towardzero_test_data): New variable.
10748         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10749         (cosh_downward_test_data): New variable.
10750         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10751         (cosh_upward_test_data): New variable.
10752         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10753         (erf_test_data): New variable.
10754         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10755         (erfc_test_data): New variable.
10756         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10757         (exp_test_data): New variable.
10758         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10759         (exp_tonearest_test_data): New variable.
10760         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10761         (exp_towardzero_test_data): New variable.
10762         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10763         (exp_downward_test_data): New variable.
10764         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10765         (exp_upward_test_data): New variable.
10766         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10767         (exp10_test_data): New variable.
10768         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10769         (exp2_test_data): New variable.
10770         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10771         (expm1_test_data): New variable.
10772         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10773         (fabs_test_data): New variable.
10774         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10775         (floor_test_data): New variable.
10776         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10777         (j0_test_data): New variable.
10778         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10779         (j1_test_data): New variable.
10780         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10781         (log_test_data): New variable.
10782         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10783         (log10_test_data): New variable.
10784         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10785         (log1p_test_data): New variable.
10786         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10787         (log2_test_data): New variable.
10788         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10789         (logb_test_data): New variable.
10790         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10791         (logb_downward_test_data): New variable.
10792         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10793         (nearbyint_test_data): New variable.
10794         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10795         (rint_test_data): New variable.
10796         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10797         (rint_tonearest_test_data): New variable.
10798         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10799         (rint_towardzero_test_data): New variable.
10800         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10801         (rint_downward_test_data): New variable.
10802         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10803         (rint_upward_test_data): New variable.
10804         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10805         (round_test_data): New variable.
10806         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10807         (sin_test_data): New variable.
10808         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10809         (sin_tonearest_test_data): New variable.
10810         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10811         (sin_towardzero_test_data): New variable.
10812         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10813         (sin_downward_test_data): New variable.
10814         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10815         (sin_upward_test_data): New variable.
10816         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10817         (sinh_test_data): New variable.
10818         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10819         (sinh_tonearest_test_data): New variable.
10820         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10821         (sinh_towardzero_test_data): New variable.
10822         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10823         (sinh_downward_test_data): New variable.
10824         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10825         (sinh_upward_test_data): New variable.
10826         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10827         (sqrt_test_data): New variable.
10828         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10829         (tan_test_data): New variable.
10830         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10831         (tan_tonearest_test_data): New variable.
10832         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10833         (tan_towardzero_test_data): New variable.
10834         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10835         (tan_downward_test_data): New variable.
10836         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10837         (tan_upward_test_data): New variable.
10838         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10839         (tanh_test_data): New variable.
10840         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10841         (tgamma_test_data): New variable.
10842         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10843         (trunc_test_data): New variable.
10844         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10845         (y0_test_data): New variable.
10846         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10847         (y1_test_data): New variable.
10848         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10849         (significand_test_data): New variable.
10850         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10852 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10854         [BZ #12387]
10855         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10857 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10859         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10861 2013-05-10  Andreas Jaeger  <aj@suse.de>
10863         [BZ #15448]
10864         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10865         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10867 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10869         * math/gen-libm-test.pl (adjust_arg): New function.
10870         (special_functions): Handle generating output in both functions
10871         and arrays.
10872         (parse_args): Likewise.
10873         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10874         $in_func argument to parse_args.
10875         * math/libm-test.inc (struct test_f_f_data): New type.
10876         (IF_ROUND_INIT_): New macro.
10877         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10878         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10879         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10880         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10881         (ROUND_RESTORE_): Likewise.
10882         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10883         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10884         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10885         (ROUND_RESTORE_FE_UPWARD): Likewise.
10886         (RUN_TEST_LOOP_f_f): New macro.
10887         (acos_test_data): New variable.
10888         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10889         (acos_tonearest_test_data): New variable.
10890         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10892 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10894         * benchtests/bench-skeleton.c (startup): Fix coding style.
10896 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10898         [BZ #6809]
10899         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10900         negative infinity argument.
10901         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10902         negative infinity argument.
10903         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10904         negative infinity argument.
10905         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10906         domain errors.
10908 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10910         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10911         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10912         * iconv/iconv_prog.c (main): Likewise.
10913         * locale/programs/charmap-dir.c (charmap_readdir)
10914         (fopen_uncompressed): Likewise.
10915         * locale/programs/locfile.c (siblings_uncached)
10916         (write_locale_data): Use lstat64 instead of lstat.
10917         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10918         stat.
10920 2013-05-10  Andreas Jaeger  <aj@suse.de>
10922         [BZ #15395]
10923         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10924         localization.
10925         Include <locale.h>.
10927 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10929         * elf/dl-close.c (_dl_close_worker): Add comments.
10931 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10933         [BZ #15359]
10934         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10935         high part of pi/2.
10936         (__ieee754_rem_pio2l): Update comments.
10938         [BZ #15429]
10939         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10940         high part of pi/2.
10941         (__ieee754_rem_pio2l): Update comments.
10943         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10944         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10946         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10947         M_PI_4l.
10949         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10950         (M_PI_34_LOG10El): Likewise.
10951         (M_PI2_LOG10El): Likewise.
10952         (M_PI4_LOG10El): Likewise.
10953         (M_PI_LOG10El): Likewise.
10955 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10959 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10961         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10962         (MINUS_ZERO_INIT): Likewise.
10963         (PLUS_INFTY_INIT): Likewise.
10964         (MINUS_INFTY_INIT): Likewise.
10965         (QNAN_VALUE_INIT): Likewise.
10966         (MAX_VALUE_INIT): Likewise.
10967         (MIN_VALUE_INIT): Likewise.
10968         (MIN_SUBNORM_VALUE_INIT): Likewise.
10969         (plus_zero): Initialize with PLUS_ZERO_INIT.
10970         (minus_zero): Initialize with MINUS_ZERO_INIT.
10971         (plus_infty): Initialize with PLUS_INFTY_INIT.
10972         (minus_infty): Initialize with MINUS_INFTY_INIT.
10973         (qnan_value): Initialize with QNAN_VALUE_INIT.
10974         (max_value): Initialize with MAX_VALUE_INIT.
10975         (min_value): Initialize with MIN_VALUE_INIT.
10976         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10978         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10979         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10980         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10981         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10983         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10984         (RUN_TEST_2_f): Likewise.
10985         (RUN_TEST_ff_f): Likewise.
10986         (RUN_TEST_fi_f): Likewise.
10987         (RUN_TEST_fl_f): Likewise.
10988         (RUN_TEST_fff_f): Likewise.
10989         (RUN_TEST_c_f): Likewise.
10990         (RUN_TEST_f_f1): Likewise.
10991         (RUN_TEST_fF_f1): Likewise.
10992         (RUN_TEST_fI_f1): Likewise.
10993         (RUN_TEST_ffI_f1): Likewise.
10994         (RUN_TEST_c_c): Likewise.
10995         (RUN_TEST_cc_c): Likewise.
10996         (RUN_TEST_f_i): Likewise.
10997         (RUN_TEST_f_i_tg): Likewise.
10998         (RUN_TEST_ff_i_tg): Likewise.
10999         (RUN_TEST_f_b): Likewise.
11000         (RUN_TEST_f_b_tg): Likewise.
11001         (RUN_TEST_f_l): Likewise.
11002         (RUN_TEST_f_L): Likewise.
11003         (RUN_TEST_sincos): Likewise.
11004         * math/gen-libm-test.pl (new_test): Take new argument to indicate
11005         whether to show exceptions.  Do not include ");\n" in return
11006         value.
11007         (special_functions): Output call to RUN_TEST_sincos instead of
11008         check_float calls.  Update calls to new_test.
11009         (parse_args): Output call to single RUN_TEST_* macro instead of
11010         check_* calls and other assignments.  Update calls to new_test.
11012         [BZ #2546]
11013         [BZ #2560]
11014         [BZ #5159]
11015         [BZ #15426]
11016         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11017         input to result for tgamma overflow.
11018         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11019         (gamma_coeff): New variable.
11020         (NCOEFF): New macro.
11021         (gamma_positive): New function.
11022         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11023         underflow here.  Use gamma_positive instead of exp (lgamma) for
11024         other arguments.
11025         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11026         (gamma_coeff): New variable.
11027         (NCOEFF): New macro.
11028         (gammaf_positive): New function.
11029         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11030         underflow here.  Use gamma_positive instead of exp (lgamma) for
11031         other arguments.
11032         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11033         (gamma_coeff): New variable.
11034         (NCOEFF): New macro.
11035         (gammal_positive): New function.
11036         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11037         underflow here.  Use gamma_positive instead of exp (lgamma) for
11038         other arguments.
11039         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11040         (gamma_coeff): New variable.
11041         (NCOEFF): New macro.
11042         (gammal_positive): New function.
11043         (__ieee754_gammal_r): Handle positive infinity, overflow and
11044         underflow here.  Handle NaN the same as positive infinity.  Remove
11045         check x < 0xffffffff for negative integers.  Use gamma_positive
11046         instead of exp (lgamma) for other arguments.
11047         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11048         (gamma_coeff): New variable.
11049         (NCOEFF): New macro.
11050         (gammal_positive): New function.
11051         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11052         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11053         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11054         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11055         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11056         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11057         * sysdeps/generic/math_private.h (__gamma_productf): New
11058         prototype.
11059         (__gamma_product): Likewise.
11060         (__gamma_productl): Likewise.
11061         * math/Makefile (libm-calls): Add gamma_product.
11062         * math/libm-test.inc (tgamma_test): Add more tests.
11063         * sysdeps/i386/fpu/libm-test-ulps: Update.
11064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11066 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
11068         * benchtests/bench-skeleton.c (main): Preheat CPU.
11070 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
11072         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11074 2013-05-07  Roland McGrath  <roland@hack.frob.com>
11076         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11077         and _dl_skip_args_internal.
11079 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
11081         * manual/message.texi (Message Translation): Talk about users.
11082         Message to key mapping impacts design.
11084 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11086         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11088         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11090         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11091         * sysdeps/wordsize-64/glob64.c: ... here.
11093         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11094         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11095         New macros.
11097         * debug/getlogin_r_chk.c: Moved to ...
11098         * login/getlogin_r_chk.c: ... here.
11099         * debug/Makefile (routines): Move getlogin_r_chk to ...
11100         * login/Makefile (routines): ... here.
11101         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11102         * login/Versions (libc: GLIBC_2.4): ... here.
11104         * io/poll.c (__poll): Renamed from poll.
11105         Add libc_hidden_def.
11106         (poll): Define as weak alias.
11108         * debug/ptsname_r_chk.c: Moved to ...
11109         * login/ptsname_r_chk.c: ... here.
11110         * debug/Makefile (routines): Move ptsname_r_chk to ...
11111         * login/Makefile (routines): ... here.
11112         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11113         * login/Versions (libc: GLIBC_2.4): ... here.
11115         * posix/getlogin.c: Moved to ...
11116         * login/getlogin.c: ... here.
11117         * posix/getlogin_r.c: Moved to ...
11118         * login/getlogin_r.c: ... here.
11119         * posix/getlogin_r.c: Moved to ...
11120         * login/getlogin_r.c: ... here.
11121         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11122         * login/Makefile (routines): ... here.
11123         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11124         * login/Versions (libc: GLIBC_2.0): ... here.
11126         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11127         (setrlimit): Define as weak alias.
11129         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11130         Call __ names for open, ftruncate, and close.
11131         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11132         (truncate): Define as weak alias.
11134 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
11136         * math/gen-libm-test.pl (parse_args): Initialize x before each
11137         test of frexp, modf and remquo.
11139         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11140         test signgam value.
11142 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11144         [BZ #15418]
11145         [BZ #15419]
11146         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11147         internal tests.
11148         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11150 2013-05-06  Roland McGrath  <roland@hack.frob.com>
11152         * elf/dl-writev.h: New file.
11153         * elf/dl-misc.c: Include it.
11154         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11155         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11157 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
11159         * math/libm-test.inc (noXFails): Remove variable.
11160         (noXPasses): Likewise.
11161         (BUILD_COMPLEX_INT): Remove macro.
11162         (print_screen): Remove xfail argument.
11163         (print_screen_max_error): Likewise.
11164         (update_stats): Likewise.
11165         (print_max_error): Likewise.  Update calls to other affected
11166         functions.
11167         (print_complex_max_error): Likewise.
11168         (test_single_exception): Update calls to print_screen.
11169         (test_single_errno): Likewise.
11170         (check_float_internal): Remove xfail argument.  Update calls to
11171         other affected functions.
11172         (check_float): Likewise.
11173         (check_complex): Likewise.
11174         (check_int): Likewise.
11175         (check_long): Likewise.
11176         (check_bool): Likewise.
11177         (check_longlong): Likewise.
11178         (main): Don't print noXFails and noXPasses.
11179         * math/gen-libm-test.pl (top level): Don't mention expected
11180         failure handling in comment.
11181         (new_test): Don't handle expected failures.
11182         (parse_args): Don't mention expected failure handling in comment.
11183         (generate_testfile): Don't handle expected failures.
11184         (parse_ulps): Likewise.
11185         (print_ulps_file): Likewise.
11186         (get_failure): Remove function.
11187         (output_test): Don't handle expected failures.
11188         * make/README.libm-test: Don't mention expected failure handling.
11190         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
11191         (minus_zero): Likewise.
11192         (plus_infty): Likewise.
11193         (minus_infty): Likewise.
11194         (qnan_value): Likewise.
11195         (max_value): Likewise.
11196         (min_value): Likewise.
11197         (min_subnorm_value): Likewise.
11198         (initialize): Do not initialize those variables dynamically.
11200 2013-05-03  Roland McGrath  <roland@hack.frob.com>
11202         * io/open.c (__open_2): Moved to ...
11203         * io/open_2.c: ... this new file.
11204         * io/open64.c (__open64_2): Moved to ...
11205         * io/open64_2.c: ... this new file.
11206         * io/openat.c (__openat_2): Moved to ...
11207         * io/openat_2.c: ... this new file.
11208         * io/openat64.c (__openat64_2): Moved to ...
11209         * io/openat64_2.c: ... this new file.
11210         * io/Makefile (routines): Add them.
11211         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11212         * sysdeps/unix/sysv/linux/open_2.c: File removed.
11213         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11214         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11215         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11216         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11217         (__openat64): Add hidden_ver.
11218         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11219         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11221         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11222         Separately conditionalize setting of GLRO(dl_sysinfo) so
11223         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11224         as well, but the actual setting is only under [NEED_DL_SYSINFO].
11226 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11228         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11229         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11230         definition.
11231         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11232         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11233         (_libc_vdso_platform_setup): Add __vdso_time initialization.
11234         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11235         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11237 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
11239         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11240         test signgam value.
11242         * math/libm-test.inc (hypot_test): Do not use
11243         IGNORE_ZERO_INF_SIGN.
11245 2013-05-03  Andreas Jaeger  <aj@suse.de>
11247         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11248         Linux 3.9.
11249         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11250         (PF_MAX): Adjust for VSOCK change.
11252 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11256 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
11258         [BZ #15264]
11259         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11260         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11261         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11263 2013-05-02  David S. Miller  <davem@davemloft.net>
11265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11267 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
11269         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11271 2013-05-01  Roland McGrath  <roland@hack.frob.com>
11273         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11275 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
11277         [BZ #14952]
11278         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11279         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11280         Use __attribute__ ((__gnu_inline__)).
11281         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11282         Don't use __attribute__ ((__gnu_inline__)).
11284 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
11286         [BZ #15423]
11287         * math/s_catan.c (__catan): Handle small real or imaginary part of
11288         input specially to avoid spurious underflow.
11289         * math/s_catanf.c (__catanf): Likewise.
11290         * math/s_catanh.c (__catanh): Likewise.
11291         * math/s_catanhf.c (__catanhf): Likewise.
11292         * math/s_catanhl.c (__catanhl): Likewise.
11293         * math/s_catanl.c (__catanl): Likewise.
11294         * math/libm-test.inc (catan_test): Add more tests.
11295         (catanh_test): Likewise.
11296         * sysdeps/i386/fpu/libm-test-ulps: Update.
11297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11299 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11303 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
11305         [BZ #15416]
11306         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11307         accurately for denominator in atan2.
11308         * math/s_catanf.c (__catanf): Likewise.
11309         * math/s_catanh.c (__catanh): Likewise.
11310         * math/s_catanhf.c (__catanhf): Likewise.
11311         * math/s_catanhl.c (__catanhl): Likewise.
11312         * math/s_catanl.c (__catanl): Likewise.
11313         * math/libm-test.inc (catan_test): Add more tests.
11314         (catanh_test): Likewise.
11315         * sysdeps/i386/fpu/libm-test-ulps: Update.
11316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11318 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11320         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11322         * benchtests/Makefile (bench): Remove slow benchmarks.
11323         * benchtests/atan-inputs: Add slow benchmark inputs.
11324         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11325         (BENCH_FUNC): Accept variant offset.
11326         (VARIANT): Define.
11327         * benchtests/bench-skeleton.c (main): Run benchmark for each
11328         variant.
11329         * benchtests/cos-inputs: Add slow benchmark inputs.
11330         * benchtests/exp-inputs: Likewise.
11331         * benchtests/pow-inputs: Likewise.
11332         * benchtests/sin-inputs: Likewise.
11333         * benchtests/slowatan-inputs: Remove.
11334         * benchtests/slowatan.c: Remove.
11335         * benchtests/slowcos-inputs: Remove.
11336         * benchtests/slowcos.c: Remove.
11337         * benchtests/slowexp-inputs: Remove.
11338         * benchtests/slowexp.c: Remove.
11339         * benchtests/slowpow-inputs: Remove.
11340         * benchtests/slowpow.c: Remove.
11341         * benchtests/slowsin-inputs: Remove.
11342         * benchtests/slowsin.c: Remove.
11343         * benchtests/slowtan-inputs: Remove.
11344         * benchtests/slowtan.c: Remove.
11345         * benchtests/tan-inputs: Add slow benchmark inputs.
11346         * scripts/bench.pl: Parse comments and directives.
11348         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
11349         in CPPFLAGS.
11350         ($(objpfx)bench-%.c): Remove *-ITER.
11351         * benchtests/bench-modf.c: Remove definition of ITER.
11352         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11353         (main): Loop for DURATION seconds instead of fixed number of
11354         iterations.
11355         * scripts/bench.pl: Don't expect iterations in parameters.
11357 2013-04-29  Roland McGrath  <roland@hack.frob.com>
11359         * io/fchdir.c (__fchdir): Renamed from fchdir.
11360         (fchdir): Define as weak alias.
11362 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11364         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11365         (ERRNO_EDOM): Likewise.
11366         (ERRNO_ERANGE): Likewise.
11367         (noErrnoTests): New variable.
11368         (init_max_error): Set errno to 0.
11369         (test_single_errno): New function.
11370         (test_errno): Likewise.
11371         (check_float_internal): Call test_errno.  Set errno to 0.
11372         (check_complex): Refer to errno tests in comment.
11373         (check_int): Call test_errno.  Set errno to 0.
11374         (check_long): Likewise.
11375         (check_bool): Likewise.
11376         (check_longlong): Likewise.
11377         (cos_test): Use ERRNO_* flags for errno tests instead of
11378         check_int.
11379         (expm1_test): Likewise.
11380         (fmod_test): Likewise.
11381         (ilogb_test): Likewise.
11382         (lgamma_test): Likewise.
11383         (pow_test): Likewise.
11384         (remainder_test): Likewise.
11385         (sin_test): Likewise.
11386         (tan_test): Likewise.
11387         (yn_test): Likewise.
11388         (initialize): Set errno to 0.
11389         (main): Print number of errno tests.
11390         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11392 2013-04-29  Andreas Jaeger  <aj@suse.de>
11394         [BZ #15084]
11395         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11396         and RES_USEVC.
11398         [BZ #15085]
11399         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11400         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11401         unimplemented.
11403         [BZ #15380]
11404         * stdlib/random.c (__initstate): Return NULL if
11405         __initstate fails.
11407         [BZ #15086]
11408         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11409         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11410         RES_SNGLKUPREOP.
11412 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11416 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11418         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11419         of individual tests.
11420         (casin_test): Likewise.
11421         (casinh_test): Likewise.
11423 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11425         [BZ #15409]
11426         * math/s_catan.c (__catan): Handle arguments with large real or
11427         imaginary part separately without squaring.
11428         * math/s_catanf.c (__catanf): Likewise.
11429         * math/s_catanh.c (__catanh): Likewise.
11430         * math/s_catanhf.c (__catanhf): Likewise.
11431         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11432         and redefine.
11433         (__catanhl): Handle arguments with large real or imaginary part
11434         separately without squaring.
11435         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11436         and redefine.
11437         (__catanl): Handle arguments with large real or imaginary part
11438         separately without squaring.
11439         * math/libm-test.inc (catan_test): Add more tests.
11440         (catanh_test): Likewise.
11441         * sysdeps/i386/fpu/libm-test-ulps: Update.
11442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11444 2013-04-27  Andreas Jaeger  <aj@suse.de>
11446         [BZ #15007]
11447         * stdlib/stdlib.h: Update guards for qecvt.
11448         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11449         <stdlib.h>.
11451 2013-04-27  Allan McRae  <allan@archlinux.org>
11453         * sysdeps/i386/fpu/libm-test-ulps: Update.
11455 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11457         [BZ #15406]
11458         * math/s_catan.c: Include <float.h>.
11459         (__catan): Ensure underflow exception occurs for underflowed
11460         result.
11461         * math/s_catanf.c: Include <float.h>.
11462         (__catanf): Ensure underflow exception occurs for underflowed
11463         result.
11464         * math/s_catanh.c: Include <float.h>.
11465         (__catanh): Ensure underflow exception occurs for underflowed
11466         result.
11467         * math/s_catanhf.c: Include <float.h>.
11468         (__catanhf): Ensure underflow exception occurs for underflowed
11469         result.
11470         * math/s_catanhl.c: Include <float.h>.
11471         (__catanhl): Ensure underflow exception occurs for underflowed
11472         result.
11473         * math/s_catanl.c: Include <float.h>.
11474         (__catanl): Ensure underflow exception occurs for underflowed
11475         result.
11476         * math/libm-test.inc (catan_test): Add more tests.
11477         (catanh_test): Likewise.
11479         [BZ #15405]
11480         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11481         underflowed result.
11482         * math/s_ccoshf.c (__ccoshf): Likewise.
11483         * math/s_ccoshl.c (__ccoshl): Likewise.
11484         * math/s_csin.c (__csin): Likewise.
11485         * math/s_csinf.c (__csinf): Likewise.
11486         * math/s_csinh.c (__csinh): Likewise.
11487         * math/s_csinhf.c (__csinhf): Likewise.
11488         * math/s_csinhl.c (__csinhl): Likewise.
11489         * math/s_csinl.c (__csinl): Likewise.
11490         * math/libm-test.inc (ccos_test): Add more tests.
11491         (ccosh_test): Likewise.
11492         (csin_test): Likewise.
11493         (csinh_test): Likewise.
11495 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11497         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11498         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11499         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11500         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11501         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11502         powerpc/power5+/fpu folders.
11503         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11506 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11510 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11512         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11513         additions to variable.
11514         [$(config-machine) = x86_64] (modules-names): Likewise.
11515         ($(objpfx)tst-audit3): Remove dependency.
11516         ($(objpfx)tst-audit3.out): Likewise.
11517         ($(objpfx)tst-audit4): Likewise.
11518         ($(objpfx)tst-audit4.out): Likewise.
11519         ($(objpfx)tst-audit5): Likewise.
11520         ($(objpfx)tst-audit5.out): Likewise.
11521         ($(objpfx)tst-audit6): Likewise.
11522         ($(objpfx)tst-audit6.out): Likewise.
11523         ($(objpfx)tst-audit7): Likewise.
11524         ($(objpfx)tst-audit7.out): Likewise.
11525         (tst-audit3-ENV): Remove variable.
11526         (tst-audit4-ENV): Likewise.
11527         (tst-audit5-ENV): Likewise.
11528         (tst-audit6-ENV): Likewise.
11529         (tst-audit7-ENV): Likewise.
11530         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11531         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11532         addition to variable.
11533         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11534         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11535         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11536         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11537         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11538         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11539         tst-audit3, tst-audit4 and tst-audit5.
11540         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11541         tst-audit6 and tst-audit7.
11542         [$(subdir) = elf] (modules-names): Add audit modules for those
11543         tests.
11544         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11545         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11546         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11547         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11548         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11549         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11550         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11551         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11552         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11553         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11554         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11555         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11556         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11557         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11558         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11559         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11560         Likewise.
11561         [$(subdir) = elf && $(config-cflags-avx) = yes]
11562         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11563         [$(subdir) = elf && $(config-cflags-avx) = yes]
11564         (CFLAGS-tst-auditmod4a.c): Likewise.
11565         [$(subdir) = elf && $(config-cflags-avx) = yes]
11566         (CFLAGS-tst-auditmod4b.c): Likewise.
11567         [$(subdir) = elf && $(config-cflags-avx) = yes]
11568         (CFLAGS-tst-auditmod6b.c): Likewise.
11569         [$(subdir) = elf && $(config-cflags-avx) = yes]
11570         (CFLAGS-tst-auditmod6c.c): Likewise.
11571         [$(subdir) = elf && $(config-cflags-avx) = yes]
11572         (CFLAGS-tst-auditmod7b.c): Likewise.
11573         * elf/tst-audit3.c: Move to ...
11574         * sysdeps/x86_64/tst-audit3.c: ... here.
11575         * elf/tst-audit4.c: Move to ...
11576         * sysdeps/x86_64/tst-audit4.c: ... here.
11577         * elf/tst-audit5.c: Move to ...
11578         * sysdeps/x86_64/tst-audit5.c: ... here.
11579         * elf/tst-audit6.c: Move to ...
11580         * sysdeps/x86_64/tst-audit6.c: ... here.
11581         * elf/tst-audit7.c: Move to ...
11582         * sysdeps/x86_64/tst-audit7.c: ... here.
11583         * elf/tst-auditmod3a.c: Move to ...
11584         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11585         * elf/tst-auditmod3b.c: Move to ...
11586         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11587         * elf/tst-auditmod4a.c: Move to ...
11588         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11589         * elf/tst-auditmod4b.c: Move to ...
11590         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11591         * elf/tst-auditmod5a.c: Move to ...
11592         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11593         * elf/tst-auditmod5b.c: Move to ...
11594         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11595         * elf/tst-auditmod6a.c: Move to ...
11596         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11597         * elf/tst-auditmod6b.c: Move to ...
11598         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11599         * elf/tst-auditmod6c.c: Move to ...
11600         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11601         * elf/tst-auditmod7a.c: Move to ...
11602         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11603         * elf/tst-auditmod7b.c: Move to ...
11604         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11606 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11608         [BZ #15366]
11609         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11610         define unconditionally.
11611         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11612         define unconditionally.
11613         (INT8_C, INT16_C, etc.): Likewise.
11615 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11617         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11618         __ehdr_start with hidden visibility.
11620         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11622 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11624         * math/libm-test.inc (cos_test): Use accurate hex constants.
11625         (sincost_test): Likewise.
11627 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11629         * math/libm-test.inc (catan_test): Add more tests.
11630         (catanh_test): Likewise.
11632         * math/s_catanf.c (__catanf): Use suffixed floating-point
11633         constants.
11634         * math/s_catanhf.c (__catanhf): Likewise.
11635         * math/s_catanhl.c (__catanhl): Likewise.
11636         * math/s_catanl.c (__catanl): Likewise.
11638         [BZ #15394]
11639         * math/s_catan.c (__catan): Calculate imaginary part of result
11640         with log1p not log unless computing log of number close to 0.
11641         * math/s_catanf.c (__catanf): Likewise.
11642         * math/s_catanl.c (__catanl): Likewise.
11643         * math/s_catanh.c (__catanh): Calculate real part of result with
11644         log1p not log unless computing log of number close to 0.
11645         * math/s_catanhf.c (__catanhf): Likewise.
11646         * math/s_catanhl.c (__catanhl): Likewise.
11647         * math/libm-test.inc (catan_test): Add more tests.
11648         (catanh_test): Likewise.
11649         * sysdeps/i386/fpu/libm-test-ulps: Update.
11650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11652 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11654         * benchtests/Makefile: Mention files in which fast and slow
11655         paths of math functions are implemented.
11657 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11659         * sysdeps/posix/timespec_get.c: New file.
11661 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11663         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11664         POWER.
11665         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11666         for POWER.
11667         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11668         powerpc/power5/fpu folders.
11669         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11670         * benchtests/Makefile: Add modf testcase.
11671         * benchtests/bench-modf.c: New file: Benchmark test for mo
11673 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11675         [BZ #14888]
11676         * time/Makefile (tests): Add tst-strptime-whitespace.
11677         * time/strptime_l.c (get_number): Use ISSPACE.
11678         (__strptime_internal): Likewise.
11679         * time/tst-strptime-whitespace.c: New test case.
11681 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11683         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11684         member.
11685         (_nss_files_init): Set it here.
11687 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11689         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11690         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11691         unsigned.
11693 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11695         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11697 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11699         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11700         size just once.
11702 2013-04-21  David S. Miller  <davem@davemloft.net>
11704         * po/ru.po: Update Russion translation from translation project.
11706 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11708         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11709         and setfsgid.
11711 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11713         * configure.in: Remove i386 configure warning. Remove i386 case.
11714         * configure: Regenerate.
11715         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11716         Add example to error message.
11717         * sysdeps/i386/configure: Regenerate.
11719 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11721         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11722         slowtan.
11723         * benchtests/cos-inputs: New file.
11724         * benchtests/slowcos-inputs: New file.
11725         * benchtests/slowcos.c: New file.
11726         * benchtests/slowtan-inputs: New file.
11727         * benchtests/slowtan.c: New file.
11728         * benchtests/tan-inputs: New file.
11730 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11732         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11733         considered kosher.
11735 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11737         * benchtests/Makefile: Include cppflags-iterator.mk to add
11738         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11740         * Makefile.in (bench-clean): New target.
11741         * benchtests/Makefile (bench-clean): Likewise.
11743 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11745         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11747 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11749         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11751 2013-04-15  Andreas Schwab  <schwab@suse.de>
11753         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11754         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11755         * nscd/pwdcache.c (cache_addpw): Likewise.
11756         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11757         more than recsize.
11759 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11761         * benchtests/Makefile (bench): Write all output to
11762         bench-out.tmp together.
11764 2013-04-15  Andreas Schwab  <schwab@suse.de>
11766         * nscd/nscd.c (main): Don't fork again after closing files.
11768 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11770         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11772         * benchtests/Rules (bench-deps): Collect dependencies into a
11773         single variable.  Add Makefile to dependencies.
11774         ($(objpfx)bench-%.c): Depend on bench-deps.
11776 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11777             Xavier Roche  <roche+kml2@exalead.com>
11779         [BZ #15361]
11780         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11781         just that it's a file descriptor.
11782         * manual/llio.texi (Synchronizing AIO Operations): Update description
11783         for EBADF error from aio_fsync.
11785 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11787         * Rules (bench): Move target definition...
11788         * benchtests/Makefile: ... here.
11790 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11792         * math/libm-test.inc (cos_test): Fix PI/2 test.
11793         (sincos_test): Likewise.
11794         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11795         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11797 2013-04-11  Andreas Schwab  <schwab@suse.de>
11799         [BZ #13988]
11800         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11801         accept exponent character only when digits were seen.
11802         * stdio-common/Makefile (tests): Add bug26.
11803         * stdio-common/bug26.c: New file.
11805         [BZ #14293]
11806         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11807         non-freeable.
11809 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11811         * Makeconfig (rtld-prefix): Define built linker prefix.
11812         * Rules (run-bench): Use it.
11813         * math/Makefile (run-regen-ulps): Likewise.
11815         * Rules (bench): Remove eval.
11817 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11818             Roland McGrath  <roland@hack.frob.com>
11819             Ondrej Bilka  <neleai@seznam.cz>
11821         [BZ #15346]
11822         * time/getdate.c: Include ctype.h and alloca.h.
11823         (__getdate_r): Trim leading and trailing spaces of input.
11824         * time/tst-getdate.c (tests): Add tests with leading and
11825         trailing spaces.
11827 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11829         [BZ #14280]
11830         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11831         when computing value.
11833 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11835         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11836         Use testrun.sh to run libm tests.
11838         [BZ #15309]
11839         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11841 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11843         [BZ #15264]
11844         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11846 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11848         * Makefile.in (regen-ulps): New target.
11849         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11850         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11851         [ifneq (no,$(PERL)] (regen-ulps): New target.
11852         [ifeq (no,$(PERL)] (regen-ulps): New target.
11853         * math/libm-test.inc (ulps_file_name): Define.
11854         (output_dir): New variable.
11855         (options): Add "output-dir" option.
11856         (parse_opt): Handle 'o' case.
11857         (main): If output_dir is non-NULL use it as a prefix
11858         otherwise use "".
11859         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11861 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11863         [BZ #10060, #10062]
11864         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11865         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11866         fail configure if __sync_val_compare_and_swap is not inlined.
11867         * sysdeps/i386/configure: Regenerate.
11868         * configure.in: Build for i686 when configured for i386.
11869         * configure: Regenerate.
11870         * README: Remove i386 reference.
11872 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11874         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11875         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11877 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11879         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11880         (lmsnanval): New variables.
11881         (F): Add conversion tests.
11882         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11883         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11885         * stdio-common/tstdiomisc.c (F): Properly collect individual
11886         tests' results.
11888         [BZ #14686, #15336]
11889         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11890         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11891         Instead, use input NaN values or generate a qNaN by arithmetic
11892         operation.  Also fix bugs to comply with the standard.
11893         * math/libm-test.inc (remainder_test): Add more tests.
11895         [BZ #15335, #15342]
11896         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11897         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11898         input NaN values or generate a qNaN by arithmetic operation.
11900         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11901         unreachable code.
11903         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11904         definitions.
11906 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11908         [BZ #14478]
11909         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11910         underflowed result.
11911         * math/s_cexpf.c (__cexpf): Likewise.
11912         * math/s_cexpl.c (__cexpl): Likewise.
11913         * math/libm-test.inc (cexp_test): Add more tests.
11915 2013-04-03  Andreas Schwab  <schwab@suse.de>
11917         [BZ #15330]
11918         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11919         order arrays from heap if bigger than alloca cutoff.
11921 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11923         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11924         (SNAN_TESTS_double): Refer to GCC PR56831.
11925         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11926         GCC PR56828.
11928 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11930         * Rules (bench): Move bench.out after the run is complete.
11932         * Rules (bench): Echo currently running benchmark.
11934         * benchtests/Makefile (bench): Add atan and slowatan.
11935         * benchtests/atan-inputs: New file.
11936         * benchtests/slowatan-inputs: New file.
11937         * benchtests/slowatan.c: New file.
11939         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11940         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11941         its value.
11943         [BZ #15305]
11944         * sysdeps/unix/sysv/linux/kernel-features.h
11945         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11946         __ASSUME_XFS_RESTRICTED_CHOWN.
11947         * sysdeps/unix/sysv/linux/pathconf.c
11948         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11949         Save and restore errno.
11951 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11953         [BZ #15327]
11954         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11955         arguments using __kernel_casinh.
11956         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11957         arguments using __kernel_casinhf.
11958         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11959         arguments using __kernel_casinhl.
11960         * math/libm-test.inc (cacosh_test): Add more tests.
11961         * sysdeps/i386/fpu/libm-test-ulps: Update.
11962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11964 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11966         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11967         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11969         * bench/Makefile (bench): Add sin and slowsin.
11970         * benchtests/sin-inputs: New file.
11971         * benchtests/slowsin-inputs: New file.
11972         * benchtests/slowsin.c: New file.
11974         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11975         (bench): Add slowexp and slowpow.
11976         (exp-ITER): Increase iterations.
11977         (pow-ITER): Likewise.
11978         * benchtests/exp-inputs: Change input.
11979         * benchtests/pow-inputs: Likewise.
11980         * benchtests/slowexp-inputs: New file.
11981         * benchtests/slowexp.c: New file.
11982         * benchtests/slowpow-inputs: New file.
11983         * benchtests/slowpow.c: New file.
11985 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11987         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11988         instructions.
11989         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11990         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11991         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11992         * benchtests/Makefile: Add rint benchtest.
11993         * benchtests/rint-inputs: Input for rint benchtest.
11995 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11997         * Versions.def (libm): Add GLIBC_2.18.
11998         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11999         hidden libm prototypes.
12000         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12001         * math/Makefile (libm-calls): Add s_issignaling.
12002         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12003         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
12004         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12005         declaration.
12006         * math/math.h [__USE_GNU] (issignaling): New macro.
12007         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12008         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12009         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12010         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12011         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12012         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12013         * manual/arith.texi (issignaling): New section.
12014         * manual/libm-err-tab.pl (@all_functions): Update comment.
12015         * math/gen-libm-test.pl (parse_args): Apply special handling for
12016         issignaling.
12017         * math/libm-test.inc (print_float, issignaling_test): New
12018         functions.
12019         (check_float_internal): Add issignaling checks.
12020         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12021         default definition.
12022         * sysdeps/powerpc/math-tests.h: New file.
12023         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12024         tests.
12025         * math/test-snan.c (TEST_FUNC): Likewise.
12027 2013-03-30  David S. Miller  <davem@davemloft.net>
12029         * po/de.po: Update from translation team.
12031 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
12033         [BZ #10357]
12034         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12035         imaginary part less than 1.0 and real part less than 0.5
12036         specially.
12037         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12038         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12039         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12040         (cacos_test): Add more tests.
12041         (casin_test): Likewise.
12042         (casinh_test): Likewise.
12043         * sysdeps/i386/fpu/libm-test-ulps: Update.
12044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12046 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12048         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12049         ONE with its value.
12051         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12052         (__pow_mp): Replace ONE and MONE with their values.
12053         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12054         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12055         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12056         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12057         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12058         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12060         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12062         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12063         (__pow_mp): Replace ZERO and MZERO with their values.
12064         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12065         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12066         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12068         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12069         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12070         (__sqr): Likewise.
12072         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12074         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12076 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12078         * include/stdlib.h [!SHARED] (__call_tls_dtors):
12079         Declare with __attribute__ ((weak)).
12080         * stdlib/exit.c (__libc_atexit) [!SHARED]:
12081         Call __call_tls_dtors only if it's not NULL.
12083 2013-03-28  Roland McGrath  <roland@hack.frob.com>
12085         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12086         didn't do it already, then set _dl_phdr and _dl_phnum based on the
12087         magic __ehdr_start linker symbol if it's defined.
12088         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12089         them up here if it was already done.
12091         * elf/dl-support.c (_dl_phdr): Make pointer to const.
12092         (_dl_aux_init): Use const in cast when setting it.
12093         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12094         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12095         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12097         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12098         Declare them here.
12099         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12100         * csu/libc-tls.c: Nor here.
12101         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12103         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12104         (__libc_message): Never call vsyslog.
12106 2013-03-28  Alan Modra  <amodra@gmail.com>
12108         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12109         Define as empty.
12110         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12111         Likewise.
12113 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12115         [BZ #15214]
12116         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12117         underflow.
12118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12120 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12122         [BZ #15304]
12123         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12124         Don't add gid passed as argument.
12126         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12128 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
12130         [BZ #15307]
12131         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12132         imaginary part between 1.0 and 1.5 and real part less than 0.5
12133         specially.
12134         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12135         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12136         * math/libm-test.inc (cacos_test): Add more tests.
12137         (casin_test): Likewise.
12138         (casinh_test): Likewise.
12139         * sysdeps/i386/fpu/libm-test-ulps: Update.
12140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12142 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12144         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12145         constants.
12146         (norm): Likewise.
12147         (denorm): Likewise.
12148         (__dbl_mp): Likewise.
12149         (add_magnitudes): Likewise.
12150         (sub_magnitudes): Likewise.
12151         (__add): Likewise.
12152         (__sub): Likewise.
12153         (__mul): Likewise.
12154         (__sqr): Likewise.
12155         (__inv): Likewise.
12156         (__dvd): Likewise.
12158         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12159         commented code.
12160         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12161         (__dubcos): Likewise.
12162         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12163         (__ieee754_acos): Likewise.
12164         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12165         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12166         (__exp1): Likewise.
12167         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12169         (log1): Likewise.
12170         (my_log2): Likewise.
12171         (checkint): Likewise.
12172         * sysdeps/ieee754/dbl-64/e_remainder.c
12173         (__ieee754_remainder): Likewise.
12174         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12175         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12176         (bsloww): Likewise.
12177         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12179         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12180         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12181         MANTISSA_STORE_T to store computations on mantissa.  Use
12182         macros for rounding and division.
12183         (denorm): Likewise.
12184         (__dbl_mp): Likewise.
12185         (add_magnitudes): Likewise.
12186         (sub_magnitudes): Likewise.
12187         (__mul): Likewise.
12188         (__sqr): Likewise.
12189         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12190         powers of two in terms of TWOPOW macro.
12191         (mp_no): Make type of mantissa as MANTISSA_T.
12192         [!RADIXI]: Define RADIXI.
12193         [!TWO52]: Define TWO52.
12194         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12196 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12198         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12199         llroundl symbol when building for PPC32.
12201 2013-03-24  Mark H Weaver  <mhw@netris.org>
12203         * manual/arith.texi (Normalization Functions): Fix prototypes for
12204         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12206 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12208         [BZ #13889]
12209         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12210         high value to check if expl overflow.
12211         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12212         to check for underflow and overflow.
12213         * math/libm-test.inc: Add exp test.
12215 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
12217         [BZ #11120]
12218         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12219         with NOT_IN_libc.
12221 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12223         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12224         symbol.
12226 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12228         * math/gen-libm-test.pl (parse_args, special_functions): Properly
12229         wrap blocks consisting of several statements.
12231         * sysdeps/generic/math-tests.h: New file.
12232         * sysdeps/i386/fpu/math-tests.h: Likewise.
12233         * math/test-snan.c: Include it.
12234         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12236 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12238         [BZ #15285]
12239         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12240         (__ieee754_j0l): Do not improve calculations using cos of twice
12241         input for inputs above LDBL_MAX / 2.0L.
12242         (__ieee754_y0l): Likewise.
12243         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12244         (__ieee754_j1l): Do not improve calculations using cos of twice
12245         input for inputs above LDBL_MAX / 2.0L.
12246         (__ieee754_y1l): Likewise.
12247         * math/libm-test.inc (j0_test): Add another test.
12248         (j1_test): Likewise.
12249         (y0_test): Likewise.
12250         (y1_test): Likewise.
12251         * sysdeps/i386/fpu/libm-test-ulps: Update.
12253 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12255         * Rules ($(objpfx)bench-%.c): Include code from a C source
12256         file.
12258 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
12260         [BZ #15287]
12261         * math/k_casinh.c (__kernel_casinh): Handle arguments with
12262         imaginary part 1.0 and real part less than 0.5 specially.
12263         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12264         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12265         * math/libm-test.inc (cacos_test): Add more tests.
12266         (casin_test): Likewise.
12267         (casinh_test): Likewise.
12268         * sysdeps/i386/fpu/libm-test-ulps: Update.
12269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12271 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12273         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12274         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12276 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
12278         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12279         * config.make.in (config-cflags-sse4): Remove variable.
12280         (config-cflags-avx): Likewise.
12281         (config-cflags-sse2avx): Likewise.
12282         (config-cflags-novzeroupper): Likewise.
12283         (config-asflags-i686): Likewise.
12284         (have-mfma4): Likewise.
12285         (have-as-vis3): Likewise.
12286         (MIG): Likewise.
12287         * configure.in (MIG): Do not AC_SUBST.
12288         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12289         (libc_cv_cc_sse4): Do not AC_SUBST.
12290         (libc_cv_cc_avx): Likewise.
12291         (libc_cv_cc_sse2avx): Likewise.
12292         (libc_cv_cc_novzeroupper): Likewise.
12293         (libc_cv_cc_fma4): Likewise.
12294         (libc_cv_as_i686): Likewise.
12295         (libc_cv_sparc_as_vis3): Likewise.
12296         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12297         LIBC_CONFIG_VAR.
12298         (config-asflags-i686): Likewise.
12299         (config-cflags-avx): Likewise.
12300         (config-cflags-sse2avx): Likewise.
12301         (have-mfma4): Likewise.
12302         (config-cflags-novzeroupper): Likewise.
12303         * sysdeps/mach/configure.in (MIG): Likewise.
12304         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12305         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12306         LIBC_CONFIG_VAR.
12307         (config-cflags-avx): Likewise.
12308         (config-cflags-sse2avx): Likewise.
12309         (have-mfma4): Likewise.
12310         (config-cflags-novzeroupper): Likewise.
12311         * configure: Regenerated.
12312         * sysdeps/i386/configure: Likewise.
12313         * sysdeps/mach/configure: Likewise.
12314         * sysdeps/sparc/configure: Likewise.
12315         * sysdeps/x86_64/configure: Likewise.
12317 2013-03-20  Roland McGrath  <roland@hack.frob.com>
12319         [BZ #14812]
12320         * locale/programs/localedef.c (options): Put N_ translation marker
12321         on argument names, not just descriptions.
12323 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12325         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12327 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
12329         [BZ #14176]
12330         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12332 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12334         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12335         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12336         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12337         [!BEFORE_ABORT] (before_abort): New function.
12338         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12339         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12340         (writev_for_fatal): New function.
12341         (WRITEV_FOR_FATAL): New macro; call that.
12342         (backtrace_and_maps): New function.
12343         (BEFORE_ABORT): New macro; call that.
12344         (struct str_list): Type removed.
12345         (__libc_message, __libc_fatal): Functions removed.
12346         Include <sysdeps/posix/libc_fatal.c> instead.
12348 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
12350         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12351         constants.
12352         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12353         double constants.
12355 2013-03-19  Andreas Schwab  <schwab@suse.de>
12357         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12358         * sysdeps/gnu/configure: Regenerate.
12360         * configure.in: Substitute libc_cv_rtlddir.
12361         * configure: Regenerate.
12362         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12363         * Makeconfig (rtlddir, inst_rtlddir): New variables.
12364         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12365         * elf/Makefile (install-others, CFLAGS-interp.c)
12366         (ldso_install, common-ldd-rewrite): Likewise.
12367         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12368         $(inst_slibdir)/$(rtld-installed-name).
12369         * scripts/rellns-sh: Add -p option.
12370         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12371         for source.
12373 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12375         * manual/nptl.texi: Renamed to ...
12376         * manual/threads.texi: ... this.
12377         * manual/Makefile (chapters): Update.
12379 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12381         [BZ #14812]
12382         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12383         on argument names, not just descriptions.
12384         * malloc/memusagestat.c (options): Likewise.
12385         * nss/getent.c (options): Likewise.
12387 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12389         [BZ #14812]
12390         * iconv/iconv_prog.c (options): Put N_ translation marker
12391         on argument names, not just descriptions.
12392         * iconv/iconvconfig.c (options): Likewise.
12394 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12396         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12397         implementation which is faster on all x86_64 architectures.
12398         Tested on AMD, Intel Nehalem, SNB, IVB.
12399         * sysdeps/x86_64/strnlen.S: Likewise.
12401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12402         Remove all multiarch strlen and strnlen versions.
12403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12404         Remove strlen and strnlen related parts.
12406         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12407         Inline strlen part.
12408         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12410         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12411         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12412         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12413         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12414         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12415         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12417 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12419         * manual/memory.texi (Malloc Tunable Parameters):
12420         Sort parameters alphabetically. Add comments for missing entries.
12422 2013-03-17  David S. Miller  <davem@davemloft.net>
12424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12426 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12428         [BZ #15283]
12429         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12430         for arguments at most half maximum finite value.
12431         * math/libm-test.inc (j0_test): Add more tests.
12432         (j1_test): Likewise.
12433         (y0_test): Likewise.
12434         (y1_test): Likewise.
12435         * sysdeps/i386/fpu/libm-test-ulps: Update.
12436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12438         [BZ #14155]
12439         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12440         1 / x and functions P and Q for arguments above 0x1p256L.
12441         (__ieee754_y0l): Likewise.
12442         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12443         (__ieee754_y1l): Likewise.
12444         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12445         (j1_test): Likewise.
12446         (y0_test): Likewise.
12447         (y1_test): Likewise.
12449 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12451         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12452         variable.
12454 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12456         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12457         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12458         zero since it's initialized to EXEC_PAGESIZE.
12460         * sysdeps/unix/sysv/linux/ldsodefs.h
12461         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12462         * sysdeps/generic/ldsodefs.h: ... here.
12464 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12466         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12468         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12469         math/test-snan.c.
12470         * math/test-snan.c: Renamed from
12471         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12472         * math/Makefile (tests): Add test-snan.
12473         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12474         test-powerpc-snan.
12476         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12477         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12478         functions.
12479         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12480         __builtin_nan family of functions.
12481         * math/libm-test.inc (initialize): Initialize qnan_value with
12482         __builtin_nan family of functions.
12483         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12484         Remove variables.
12485         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12486         Remove functions.
12487         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12488         storage class.  Initialize qNaN_var and sNaN_var with
12489         __builtin_nan and __builtin_nans families of functions,
12490         respectively.
12492         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12493         (sqrt_test): Remove duplicate test with qNaN input.
12494         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12495         (round_test, signbit_test, significand_test): Note missing +/-Inf
12496         as well as qNaN tests.
12498         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12499         qNaN_var.  Fix a few strings, too.
12500         * math/libm-test.inc (nan_value): Rename to qnan_value.
12501         * math/gen-libm-test.pl (%beautify): Adjust to that.
12502         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12503         * math/test-misc.c (main): Likewise.
12504         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12505         to __qnan_bytes, and __qnan_union, respectively.
12506         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12507         Likewise.
12508         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12509         and lqnanval, respectively.
12510         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12511         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12512         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12513         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12515         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12516         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12517         doubles.
12519         * math/test-misc.c (main): Fix copy'n'pastos.
12520         * misc/tst-efgcvt.c (special): Likewise.
12522         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12523         Remove declarations.
12525 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12527         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12528         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12529         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12530         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12532 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12534         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12535         macro to return vdso values correctly in IFUNC implementations.
12536         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12537         Optimization by using IFUNC.
12539 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12540             Richard Henderson  <rth@redhat.com>
12541             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12543         * Makefile.in (bench): New target.
12544         * NEWS: Mention the benchmark framework.
12545         * Rules (bench): Likewise.
12546         (binaries-bench): Generate binaries for functions to
12547         benchmark.
12548         * benchtests/Makefile: New makefile for benchmark tests.
12549         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12550         programs.
12551         * benchtests/exp-inputs: New input file for EXP function.
12552         * benchtests/pow-inputs: New input file for POW function.
12553         * scripts/bench.pl: New script to generate source files for
12554         benchmark programs.
12556 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12558         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12559         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12560         computations on mantissa.  Use macros for rounding and
12561         division.
12562         (denorm): Likewise.
12563         (__dbl_mp): Likewise.
12564         (add_magnitudes): Likewise.
12565         (sub_magnitudes): Likewise.
12566         (__mul): Likewise.
12567         (__sqr): Likewise.
12568         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12569         powers of two in terms of TWOPOW macro.
12570         (mp_no): Make type of mantissa as MANTISSA_T.
12571         [!RADIXI]: Define RADIXI.
12572         [!TWO52]: Define TWO52.
12573         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12575         * manual/nptl.texi (cindex): Modify threads to pthreads.
12577 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12579         * sysdeps/x86_64/preconfigure: Regenerated.
12581 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12583         [BZ #14155]
12584         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12585         0x1p28 and above.
12586         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12587         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12588         0x1p28 and above.
12589         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12590         * math/libm-test.inc (j0_test): Do not allow one spurious
12591         underflow exception.
12592         (y1_test): Likewise.
12594 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12596         * manual/Makefile (chapters): Add nptl.
12597         * manual/debug.texi (Debugging Support): Add link to Threads
12598         chapter.
12599         * manual/nptl.texi: New file.
12601         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12603 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12605         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12606         for non-NULL pointer before the memory validity test. Pointed
12607         out by Holger Brunck <holger.brunck@keymile.com>.
12609 2013-03-13  Andreas Schwab  <schwab@suse.de>
12611         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12612         instead of .os.
12614 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12616         * timezone/zic.c: Update from tzcode 2013b.
12618 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12620         * manual/install.texi (Configuring and compiling):
12621         Mention i686 and i586.
12622         * INSTALL: Regenerate.
12624 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12626         * sysdeps/init_array/elf-init.c: New file.
12627         * csu/elf-init.c
12628         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12629         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12631         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12632         __gmon_start__ as global, but as static with a .preinit_array pointer.
12633         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12634         * sysdeps/init_array/crti.S: New file, empty except for comments.
12635         * sysdeps/init_array/crtn.S: Likewise.
12637 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12639         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12640         definining bcopy.
12641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12642         Remove Prefer_SSE_for_memop.
12643         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12644         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12645         HAS_PREFER_SSE_FOR_MEMOP.
12646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12647         memset-x86-64.
12648         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12649         Remove bzero, memset ifunc support.
12650         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12651         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12652         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12653         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12655 2013-03-11  Andreas Schwab  <schwab@suse.de>
12657         [BZ #15234]
12658         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12659         by SHLIB_COMPAT.
12660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12661         (GLIBC_2.16): Remove pthread_atfork.
12663 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12665         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12666         (ptestcases.h): Likewise.
12668 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12670         * Makeconfig ($(common-objpfx)config.status): Depend on
12671         sysdeps/*/preconfigure{,.in} too.
12673 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12675         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12676         (__free_hook): Use void * instead of __malloc_ptr_t.
12677         (__malloc_hook): Likewise.
12678         (__realloc_hook): Likewise.
12679         (__memalign_hook): Likewise.
12680         (__after_morecore_hook): Likewise.
12681         * malloc/arena.c (save_malloc_hook): Likewise.
12682         (save_free_hook): Likewise.
12683         * malloc/hooks.c (malloc_hook_ini): Likewise.
12684         (realloc_hook_ini): Likewise.
12685         (memalign_hook_ini): Likewise.
12686         * malloc/malloc.c (malloc_hook_ini): Likewise.
12687         (realloc_hook_ini): Likewise.
12688         (memalign_hook_ini): Likewise.
12689         (__free_hook): Likewise.
12690         (__malloc_hook): Likewise.
12691         (__realloc_hook): Likewise.
12692         (__memalign_hook): Likewise.
12693         (__libc_malloc): Likewise.
12694         (__libc_free): Likewise.
12695         (__libc_realloc): Likewise.
12696         (__libc_memalign): Likewise.
12697         (__libc_valloc): Likewise.
12698         (__libc_pvalloc): Likewise.
12699         (__libc_calloc): Likewise.
12700         (__posix_memalign): Likewise.
12701         * malloc/morecore.c (__sbrk): Likewise.
12702         (__default_morecore): Likewise.
12704         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12706         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12707         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12708         __malloc_ptrdiff_t.
12710         * malloc/malloc.h (__malloc_size_t): Remove macro.
12711         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12712         __malloc_size_t.
12713         (old_memalign_hook): Likewise.
12714         (old_realloc_hook): Likewise.
12715         (struct hdr): Likewise.
12716         (flood): Likewise.
12717         (mallochook): Likewise.
12718         (memalignhook): Likewise.
12719         (reallochook): Likewise.
12720         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12721         (tr_old_realloc_hook): Likewise.
12722         (tr_old_memalign_hook): Likewise.
12723         (tr_mallochook): Likewise.
12724         (tr_reallochook): Likewise.
12725         (tr_memalignhook): Likewise.
12727 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12730         default_ldbl_pack and using as default implementation.
12731         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12732         implementation.
12733         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12734         redundant definition.
12735         (ldbl_insert_mantissa): Likewise.
12736         (ldbl_canonicalize): Likewise.
12737         (ldbl_nearbyint): Likewise.
12738         (ldbl_pack): Rename to ldbl_pack_ppc.
12739         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12740         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12741         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12743 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12746         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12747         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12748         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12750         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12751         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12752         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12754 2013-03-07  Andreas Jaeger  <aj@suse.de>
12756         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12757         bits/mman-linux.h.
12759 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12761         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12762         Include mpa.h and declare __MPEXP.
12763         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12764         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12765         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12766         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12767         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12768         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12769         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12771         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12772         (__slowpow): Use long double EXPL and LOGL functions to
12773         compute POW.
12774         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12775         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12776         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12777         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12778         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12779         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12782         intermediate variable to calculate exponent.
12783         (__sqr): Likewise.
12784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12785         Likewise.
12786         (__sqr): Likewise.
12788         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12789         [!NO__SQR]: Define __sqr.
12790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12791         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12792         sysdeps/ieee754/dbl-64/mpa.c.
12793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12795         [BZ #12723]
12796         * posix/Makefile (tests): Add tst-pathconf.
12797         * posix/tst-pathconf.c: New test case.
12798         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12799         _PC_PIPE_BUF.
12800         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12802 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12804         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12806 2013-03-06  Andreas Jaeger  <aj@suse.de>
12808         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12809         definition via __MAP_ANONYMOUS.
12811         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12812         it's not part of Linux headers.
12814         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12815         (MAP_HUGE_MASK): Define.
12817         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12818         Define.
12819         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12820         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12821         Define.
12822         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12823         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12824         Define.
12825         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12826         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12827         Define.
12828         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12830         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12831         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12832         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12833         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12834         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12835         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12837         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12838         Handle f2fs.
12840         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12841         Handle f2fs and efivarfs.
12843         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12844         f2fs.
12846         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12847         (EFIVARFS_MAGIC): Add.
12848         (F2FS_LINK_MAX): Add.
12850 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12852         * stdio-common/vfprintf.c: Replace __builtin_expect with
12853         __glibc_unlikely.
12855 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12857         [BZ #13550]
12858         * sysdeps/generic/bp-sym.h: Remove file.
12859         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12860         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12861         <bp-sym.h> and <bp-asm.h>.
12862         (__longjmp): Don't use BP_SYM.
12863         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12864         and <bp-asm.h>.
12865         (memcpy): Don't use BP_SYM.
12866         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12867         <bp-sym.h> and <bp-asm.h>.
12868         (memcpy): Don't use BP_SYM.
12869         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12870         <bp-asm.h>.
12871         (memcpy): Don't use BP_SYM.
12872         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12873         <bp-asm.h>.
12874         (memset): Don't use BP_SYM.
12875         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12876         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12877         (__bzero): Don't use BP_SYM.
12878         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12879         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12880         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12881         <bp-sym.h> and <bp-asm.h>.
12882         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12883         pointers.
12884         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12885         <bp-sym.h> and <bp-asm.h>.
12886         (memcpy): Don't use BP_SYM.
12887         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12888         <bp-sym.h> and <bp-asm.h>.
12889         (memset): Don't use BP_SYM.
12890         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12891         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12892         (__bzero): Don't use BP_SYM.
12893         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12894         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12895         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12896         <bp-sym.h> and <bp-asm.h>.
12897         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12898         pointers.
12899         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12900         <bp-sym.h> and <bp-asm.h>.
12901         (memcpy): Don't use BP_SYM.
12902         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12903         <bp-sym.h> and <bp-asm.h>.
12904         (memset): Don't use BP_SYM.
12905         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12906         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12907         (__bzero): Don't use BP_SYM.
12908         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12909         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12910         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12911         <bp-sym.h> and <bp-asm.h>.
12912         (__memchr): Don't use BP_SYM.
12913         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12914         <bp-sym.h> and <bp-asm.h>.
12915         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12916         pointers.
12917         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12918         <bp-sym.h> and <bp-asm.h>.
12919         (memcpy): Don't use BP_SYM.
12920         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12921         <bp-sym.h> and <bp-asm.h>.
12922         (__mempcpy): Don't use BP_SYM.
12923         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12924         <bp-sym.h> and <bp-asm.h>.
12925         (__memrchr): Don't use BP_SYM.
12926         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12927         <bp-sym.h> and <bp-asm.h>.
12928         (memset): Don't use BP_SYM.
12929         (__bzero): Likewise.
12930         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12931         <bp-sym.h> and <bp-asm.h>.
12932         (__rawmemchr): Don't use BP_SYM.
12933         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12934         <bp-sym.h> and <bp-asm.h>.
12935         (__STRCMP): Don't use BP_SYM.
12936         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12937         <bp-sym.h> and <bp-asm.h>.
12938         (strchr): Don't use BP_SYM.
12939         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12940         <bp-sym.h> and <bp-asm.h>.
12941         (__strchrnul): Don't use BP_SYM.
12942         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12943         <bp-sym.h> and <bp-asm.h>.
12944         (strlen): Don't use BP_SYM.
12945         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12946         <bp-sym.h> and <bp-asm.h>.
12947         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12948         pointers.
12949         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12950         <bp-sym.h> and <bp-asm.h>.
12951         (__strnlen): Don't use BP_SYM.
12952         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12953         <bp-sym.h> and <bp-asm.h>.
12954         (__GI__setjmp): Don't use BP_SYM.
12955         (_setjmp): Likewise.
12956         (__sigsetjmp): Likewise.
12957         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12958         (L(start_addresses)): Don't use BP_SYM.
12959         (_start): Likewise.
12960         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12961         <bp-asm.h>.
12962         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12963         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12964         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12965         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12966         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12967         <bp-asm.h>.
12968         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12969         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12970         about bounded pointers.
12971         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12972         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12973         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12974         <bp-asm.h>.
12975         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12976         about bounded pointers.  Remove GKM FIXME comments.
12977         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12978         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12979         <bp-asm.h>.
12980         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12981         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12982         Remove GKM FIXME comments.
12983         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12984         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12985         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12986         <bp-asm.h>.
12987         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12988         about bounded pointers.  Remove GKM FIXME comment.
12989         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12990         and <bp-asm.h>.
12991         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12992         pointers.
12993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12994         <bp-sym.h> and <bp-asm.h>.
12995         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12997         <bp-sym.h> and <bp-asm.h>.
12998         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12999         comment.
13001 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13003         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13004         call free(NULL).
13006 2013-03-05  David S. Miller  <davem@davemloft.net>
13008         * po/es.po: Update from translation team.
13010 2013-03-05  Andreas Jaeger  <aj@suse.de>
13012         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13013         <bits/mman-linux.h>.
13014         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13015         is fine.
13016         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13017         <bits/mman-linux.h> to end of file.
13018         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13019         is fine.
13020         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13021         <bits/mman-linux.h> to end of file.
13022         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13023         is fine.
13024         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13025         <bits/mman-linux.h> to end of file.
13027         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13028         (MCL_CURRENT, MCL_FUTURE): Define here.
13030 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13032         [BZ #15232]
13033         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13034         attribute_hidden.
13035         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13037 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13039         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13040         fourth parameter needed for rt_sigprocmask syscall.
13041         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13042         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13043         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13044         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13045         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13046         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13048 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
13050         [BZ #13550]
13051         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13052         comment about bounded pointers.
13053         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13054         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13056 2013-03-04  Andreas Jaeger  <aj@suse.de>
13058         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13059         common definitions.
13061         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13062         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13063         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13064         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13065         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13066         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13068 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13070         [BZ #15055]
13071         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13072         __ieee754_sqrl instead of __sqrl.
13074 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
13076         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13077         * sysdeps/powerpc/fpu_control.h: ... here.
13078         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13079         * sysdeps/powerpc/bits/fenvinline.h: ... here.
13080         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13081         * sysdeps/powerpc/bits/mathinline.h: ... here.
13083 2013-03-01  Roland McGrath  <roland@hack.frob.com>
13085         * elf/dl-hwcaps.c (_dl_important_hwcaps):
13086         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13087         to just [NEED_DL_SYSINFO_DSO].
13088         * elf/dl-support.c: Likewise.
13089         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13090         * elf/rtld.c (dl_main): Likewise.
13091         * elf/setup-vdso.h (setup_vdso): Likewise.
13092         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13093         * sysdeps/unix/sysv/linux/dl-sysdep.c
13094         (_dl_discover_osversion): Likewise.
13096 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
13098         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13099         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13101 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13103         * NEWS: Mention libm performance improvements and non-x86 PI
13104         futex support.
13106         * csu/libc-start.c (__pthread_initialize_minimal): Change
13107         function arguments.
13108         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13110 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
13112         [BZ #13550]
13113         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13114         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13115         <bp-sym.h> and <bp-asm.h>.
13116         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13117         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13118         and <bp-asm.h>.
13119         (memcpy): Don't use BP_SYM.
13120         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13121         <bp-asm.h>.
13122         (__mpn_add_n): Don't use BP_SYM.
13123         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13124         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13125         and <bp-asm.h>.
13126         (__mpn_addmul_1): Don't use BP_SYM.
13127         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13128         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13129         <bp-sym.h>.
13130         (_setjmp): Don't use BP_SYM.
13131         (__novmx_setjmp): Likewise.
13132         (__GI__setjmp): Likewise.
13133         (__vmx_setjmp): Likewise.
13134         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13135         <bp-sym.h>.
13136         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13137         (__bzero): Don't use BP_SYM.
13138         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13139         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13140         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13141         <bp-sym.h> and <bp-asm.h>.
13142         (memcpy): Don't use BP_SYM.
13143         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13144         <bp-sym.h> and <bp-asm.h>.
13145         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13146         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13147         <bp-sym.h> and <bp-asm.h>.
13148         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13149         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13150         <bp-asm.h>.
13151         (__mpn_lshift): Don't use BP_SYM.
13152         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13153         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13154         <bp-asm.h>.
13155         (memset): Don't use BP_SYM.
13156         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13157         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13158         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13159         <bp-asm.h>.
13160         (__mpn_mul_1): Don't use BP_SYM.
13161         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13162         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13163         <bp-sym.h> and <bp-asm.h>.
13164         (memcmp): Don't use BP_SYM.
13165         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13166         <bp-sym.h> and <bp-asm.h>.
13167         (memcpy): Don't use BP_SYM.
13168         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13169         <bp-sym.h> and <bp-asm.h>.
13170         (memset): Don't use BP_SYM.
13171         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13172         <bp-sym.h> and <bp-asm.h>.
13173         (strncmp): Don't use BP_SYM.
13174         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13175         <bp-sym.h> and <bp-asm.h>.
13176         (memcpy): Don't use BP_SYM.
13177         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13178         <bp-sym.h> and <bp-asm.h>.
13179         (memset): Don't use BP_SYM.
13180         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13181         <bp-sym.h> and <bp-asm.h>.
13182         (__memchr): Don't use BP_SYM.
13183         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13184         <bp-sym.h> and <bp-asm.h>.
13185         (memcmp): Don't use BP_SYM.
13186         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13187         <bp-sym.h> and <bp-asm.h>.
13188         (memcpy): Don't use BP_SYM.
13189         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13190         <bp-sym.h> and <bp-asm.h>.
13191         (__mempcpy): Don't use BP_SYM.
13192         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13193         <bp-sym.h> and <bp-asm.h>.
13194         (__memrchr): Don't use BP_SYM.
13195         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13196         <bp-sym.h> and <bp-asm.h>.
13197         (memset): Don't use BP_SYM.
13198         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13199         <bp-sym.h> and <bp-asm.h>.
13200         (__rawmemchr): Don't use BP_SYM.
13201         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13202         <bp-sym.h> and <bp-asm.h>.
13203         (__STRCMP): Don't use BP_SYM.
13204         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13205         <bp-sym.h> and <bp-asm.h>.
13206         (strchr): Don't use BP_SYM.
13207         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13208         <bp-sym.h> and <bp-asm.h>.
13209         (__strchrnul): Don't use BP_SYM.
13210         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13211         <bp-sym.h> and <bp-asm.h>.
13212         (strlen): Don't use BP_SYM.
13213         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13214         <bp-sym.h> and <bp-asm.h>.
13215         (strncmp): Don't use BP_SYM.
13216         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13217         <bp-sym.h> and <bp-asm.h>.
13218         (__strnlen): Don't use BP_SYM.
13219         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13220         <bp-asm.h>.
13221         (__mpn_rshift): Don't use BP_SYM.
13222         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13223         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13224         <bp-sym.h> and <bp-asm.h>.
13225         (__sigsetjmp): Don't use BP_SYM.
13226         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13227         (L(start_addresses)): Don't use BP_SYM.
13228         (_start): Likewise.
13229         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13230         <bp-asm.h>.
13231         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13232         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13233         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13234         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13235         <bp-asm.h>.
13236         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13237         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13238         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13239         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13240         <bp-asm.h>.
13241         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13242         comments.
13243         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13244         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13245         <bp-asm.h>.
13246         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
13247         FIXME comments.
13248         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13249         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13250         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13251         <bp-asm.h>.
13252         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
13253         comment.
13254         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13255         and <bp-asm.h>.
13256         (strncmp): Don't use BP_SYM,
13257         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13258         <bp-asm.h>.
13259         (__mpn_sub_n): Don't use BP_SYM.
13260         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13261         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13262         and <bp-asm.h>.
13263         (__mpn_submul_1): Don't use BP_SYM.
13264         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13266         <bp-sym.h> and <bp-asm.h>.
13267         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13269         <bp-sym.h> and <bp-asm.h>.
13270         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
13271         comment.
13273 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13276         Use ZK to minimize writes to Z.
13277         (sub_magnitudes): Simplify code a bit.
13278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13279         Use ZK to minimize writes to Z.
13280         (sub_magnitudes): Simplify code a bit.
13282 2013-02-27  Roland McGrath  <roland@hack.frob.com>
13284         * csu/gmon-start.c: Add special exception to license text.
13286 2013-02-27  Richard Henderson  <rth@redhat.com>
13288         * scripts/config.guess: Update from config.git.
13289         * scripts/config.sub: Likewise.
13291 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13293         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13295         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13297         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13299         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13301         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13303 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13305         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13306         [$(build-shared = yes].
13308 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13310         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13311         (__mul): Reduce iterations for calculating mantissa.
13313         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13314         MPTWO.
13315         (__mpranred): Likewise.
13317         [BZ #15160]
13318         * malloc/memusagestat.c (main): Draw graphs for heap and stack
13319         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13321 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
13323         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13324         Define __attribute__.
13326 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13328         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13329         unused.
13330         * posix/regex_internal.h (__attribute): Remove.
13331         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13332         (re_string_context_at): Likewise.
13333         (bitset_not): Use __attribute__ and mark function as possibly
13334         unused.
13335         (bitset_merge): Likewise.
13336         (bitset_mask): Likewise.
13337         (re_string_char_size_at): Likewise.
13338         (re_string_wchar_at): Likewise.
13339         (re_string_elem_size_at): Likewise.
13341 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13343         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13344         code.
13345         (cc32): Likewise.
13347         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13348         (__acr): Likewise.
13349         (__cpy): Likewise.
13350         (norm): Likewise.
13351         (denorm): Likewise.
13352         (__dbl_mp): Likewise.
13353         (add_magnitudes): Likewise.
13354         (sub_magnitudes): Likewise.
13355         (__mul): Likewise.
13356         (__inv): Likewise.
13358         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13359         style.
13361         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13362         style.
13364         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13365         code.
13367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13368         up changes with default code.
13369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13370         Likewise.
13372 2013-02-24  Allan McRae  <allan@archlinux.org>
13374         * manual/socket.texi (The Internet Namespace): Order menu items
13375         to match that in the file.
13377         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13378         node listing of the info page menu.
13380 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13382         [BZ #13550]
13383         * sysdeps/i386/bp-asm.h: Remove file.
13384         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13385         (PARMS): Do not use macros from bp-asm.h.
13386         (S1): Likewise.
13387         (S2): Likewise.
13388         (SIZE): Likewise.
13389         (__mpn_add_n): Do not use BP_SYM
13390         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13391         "bp-asm.h".
13392         (PARMS): Do not use macros from bp-asm.h.
13393         (S1): Likewise.
13394         (SIZE): Likewise.
13395         (__mpn_addmul_1): Do not use BP_SYM
13396         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13397         "bp-asm.h".
13398         (PARMS): Do not use macros from bp-asm.h.
13399         (SIGMSK): Likewise.
13400         (_setjmp): Likewise.  Do not use BP_SYM.
13401         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13402         "bp-asm.h".
13403         (PARMS): Do not use macros from bp-asm.h.
13404         (SIGMSK): Likewise.
13405         (setjmp): Likewise.  Do not use BP_SYM.
13406         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13407         "bp-asm.h".
13408         (PARMS): Do not use macros from bp-asm.h.
13409         (__frexp): Do not use BP_SYM.
13410         (frexp): Likewise.
13411         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13412         "bp-asm.h".
13413         (PARMS): Do not use macros from bp-asm.h.
13414         (__frexpf): Do not use BP_SYM.
13415         (frexpf): Likewise.
13416         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13417         "bp-asm.h".
13418         (PARMS): Do not use macros from bp-asm.h.
13419         (__frexpl): Do not use BP_SYM.
13420         (frexpl): Likewise.
13421         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13422         "bp-asm.h".
13423         (PARMS): Do not use macros from bp-asm.h.
13424         (__remquo): Do not use BP_SYM.
13425         (remquo): Likewise.
13426         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13427         "bp-asm.h".
13428         (PARMS): Do not use macros from bp-asm.h.
13429         (__remquof): Do not use BP_SYM.
13430         (remquof): Likewise.
13431         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13432         "bp-asm.h".
13433         (PARMS): Do not use macros from bp-asm.h.
13434         (__remquol): Do not use BP_SYM.
13435         (remquol): Likewise.
13436         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13437         "bp-asm.h".
13438         (PARMS): Do not use macros from bp-asm.h.
13439         (DEST): Likewise.
13440         (SRC): Likewise.
13441         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13442         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13443         "bp-asm.h".
13444         (PARMS): Do not use macros from bp-asm.h.
13445         (strlen): Do not use BP_SYM.
13446         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13447         "bp-asm.h".
13448         (PARMS): Do not use macros from bp-asm.h.
13449         (S1): Likewise.
13450         (S2): Likewise.
13451         (SIZE): Likewise.
13452         (__mpn_add_n): Do not use BP_SYM.
13453         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13454         "bp-asm.h".
13455         (PARMS): Do not use macros from bp-asm.h.
13456         (S1): Likewise.
13457         (SIZE): Likewise.
13458         (__mpn_addmul_1): Do not use BP_SYM.
13459         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13460         weak_alias.
13461         (bzero): Likewise.
13462         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13463         "bp-asm.h".
13464         (PARMS): Do not use macros from bp-asm.h.
13465         (S): Likewise.
13466         (SIZE): Likewise.
13467         (__mpn_lshift): Do not use BP_SYM.
13468         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13469         "bp-asm.h".
13470         (PARMS): Do not use macros from bp-asm.h.
13471         (DEST): Likewise.
13472         (SRC): Likewise.
13473         (LEN): Likewise.
13474         (memcpy): Likewise.  Do not use BP_SYM.
13475         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13476         libc_hidden_def and weak_alias.
13477         (mempcpy): Do not use BP_SYM in weak_alias.
13478         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13479         "bp-asm.h".
13480         (PARMS): Do not use macros from bp-asm.h.
13481         (DEST): Likewise.
13482         (LEN): Likewise.
13483         [!BZERO_P] (CHR): Likewise.
13484         (memset): Likewise.  Do not use BP_SYM.
13485         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13486         "bp-asm.h".
13487         (PARMS): Do not use macros from bp-asm.h.
13488         (S1): Likewise.
13489         (SIZE): Likewise.
13490         (__mpn_mul_1): Do not use BP_SYM.
13491         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13492         "bp-asm.h".
13493         (PARMS): Do not use macros from bp-asm.h.
13494         (S): Likewise.
13495         (SIZE): Likewise.
13496         (__mpn_rshift): Do not use BP_SYM.
13497         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13498         "bp-asm.h".
13499         (PARMS): Do not use macros from bp-asm.h.
13500         (STR): Likewise.
13501         (CHR): Likewise.
13502         (strchr): Likewise.  Do not use BP_SYM.
13503         (index): Do not use BP_SYM in weak_alias.
13504         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13505         "bp-asm.h".
13506         (PARMS): Do not use macros from bp-asm.h.
13507         (DEST): Likewise.
13508         (SRC): Likewise.
13509         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13510         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13511         "bp-asm.h".
13512         (PARMS): Do not use macros from bp-asm.h.
13513         (strlen): Do not use BP_SYM.
13514         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13515         "bp-asm.h".
13516         (PARMS): Do not use macros from bp-asm.h.
13517         (S1): Likewise.
13518         (S2): Likewise.
13519         (SIZE): Likewise.
13520         (__mpn_sub_n): Do not use BP_SYM.
13521         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13522         "bp-asm.h".
13523         (PARMS): Do not use macros from bp-asm.h.
13524         (S1): Likewise.
13525         (SIZE): Likewise.
13526         (__mpn_submul_1): Do not use BP_SYM.
13527         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13528         "bp-asm.h".
13529         (PARMS): Do not use macros from bp-asm.h.
13530         (S1): Likewise.
13531         (S2): Likewise.
13532         (SIZE): Likewise.
13533         (__mpn_add_n): Do not use BP_SYM.
13534         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13535         weak_alias.
13536         (bzero): Likewise.
13537         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13538         "bp-asm.h".
13539         (PARMS): Do not use macros from bp-asm.h.
13540         (BLK2): Likewise.
13541         (LEN): Likewise.
13542         (memcmp): Do not use BP_SYM.
13543         (bcmp): Do not use BP_SYM in weak_alias.
13544         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13545         "bp-asm.h".
13546         (PARMS): Do not use macros from bp-asm.h.
13547         (DEST): Likewise.
13548         (SRC): Likewise.
13549         (LEN): Likewise.
13550         (memcpy): Likewise.  Do not use BP_SYM.
13551         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13552         "bp-asm.h".
13553         (PARMS): Do not use macros from bp-asm.h.
13554         (DEST): Likewise.
13555         (SRC): Likewise.
13556         (LEN): Likewise.
13557         (memmove): Likewise.  Do not use BP_SYM.
13558         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13559         "bp-asm.h".
13560         (PARMS): Do not use macros from bp-asm.h.
13561         (DEST): Likewise.
13562         (SRC): Likewise.
13563         (LEN): Likewise.
13564         (__mempcpy): Likewise.  Do not use BP_SYM.
13565         (mempcpy): Do not use BP_SYM in weak_alias.
13566         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13567         "bp-asm.h".
13568         (PARMS): Do not use macros from bp-asm.h.
13569         (DEST): Likewise.
13570         (LEN): Likewise.
13571         [!BZERO_P] (CHR): Likewise.
13572         (memset): Likewise.  Do not use BP_SYM.
13573         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13574         "bp-asm.h".
13575         (PARMS): Do not use macros from bp-asm.h.
13576         (STR2): Likewise.
13577         (strcmp): Do not use BP_SYM.
13578         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13579         "bp-asm.h".
13580         (PARMS): Do not use macros from bp-asm.h.
13581         (STR): Likewise.
13582         (DELIM): Likewise.
13583         [USE_AS_STRTOK_R] (SAVE): Likewise.
13584         (FUNCTION): Likewise.  Do not use BP_SYM.
13585         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13586         aliases.
13587         (strtok_r): Likewise.
13588         (__GI___strtok_r): Likewise.
13589         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13590         (PARMS): Do not use macros from bp-asm.h.
13591         (S): Likewise.
13592         (SIZE): Likewise.
13593         (__mpn_lshift): Do not use BP_SYM.
13594         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13595         (PARMS): Do not use macros from bp-asm.h.
13596         (STR): Likewise.
13597         (CHR): Likewise.
13598         (__memchr): Do not use BP_SYM.
13599         (memchr): Do not use BP_SYM in weak_alias.
13600         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13601         (PARMS): Do not use macros from bp-asm.h.
13602         (BLK2): Likewise.
13603         (LEN): Likewise.
13604         (memcmp): Do not use BP_SYM.
13605         (bcmp): Do not use BP_SYM in weak_alias.
13606         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13607         (PARMS): Do not use macros from bp-asm.h.
13608         (S1): Likewise.
13609         (SIZE): Likewise.
13610         (__mpn_mul_1): Do not use BP_SYM.
13611         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13612         "bp-asm.h".
13613         (PARMS): Do not use macros from bp-asm.h.
13614         (STR): Likewise.
13615         (CHR): Likewise.
13616         (__rawmemchr): Do not use BP_SYM.
13617         (rawmemchr): Do not use BP_SYM in weak_alias.
13618         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13619         (PARMS): Do not use macros from bp-asm.h.
13620         (S): Likewise.
13621         (SIZE): Likewise.
13622         (__mpn_rshift): Do not use BP_SYM.
13623         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13624         (PARMS): Do not use macros from bp-asm.h.
13625         (SIGMSK): Likewise.
13626         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13627         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13628         (_start): Do not use BP_SYM.
13629         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13630         (PARMS): Do not use macros from bp-asm.h.
13631         (DEST): Likewise.
13632         (SRC): Likewise.
13633         (__stpcpy): Likewise.  Do not use BP_SYM.
13634         (stpcpy): Do not use BP_SYM in weak_alias.
13635         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13636         "bp-asm.h".
13637         (PARMS): Do not use macros from bp-asm.h.
13638         (DEST): Likewise.
13639         (SRC): Likewise.
13640         (LEN): Likewise.
13641         (__stpncpy): Likewise.  Do not use BP_SYM.
13642         (stpncpy): Do not use BP_SYM in weak_alias.
13643         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13644         (PARMS): Do not use macros from bp-asm.h.
13645         (STR): Likewise.
13646         (CHR): Likewise.
13647         (strchr): Likewise.  Do not use BP_SYM.
13648         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13649         "bp-asm.h".
13650         (PARMS): Do not use macros from bp-asm.h.
13651         (STR): Likewise.
13652         (CHR): Likewise.
13653         (__strchrnul): Likewise.  Do not use BP_SYM.
13654         (strchrnul): Do not use BP_SYM in weak_alias.
13655         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13656         "bp-asm.h".
13657         (PARMS): Do not use macros from bp-asm.h.
13658         (STOP): Likewise.
13659         (strcspn): Do not use BP_SYM.
13660         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13661         "bp-asm.h".
13662         (PARMS): Do not use macros from bp-asm.h.
13663         (STR): Likewise.
13664         (STOP): Likewise.
13665         (strpbrk): Likewise.  Do not use BP_SYM.
13666         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13667         "bp-asm.h".
13668         (PARMS): Do not use macros from bp-asm.h.
13669         (STR): Likewise.
13670         (CHR): Likewise.
13671         (strrchr): Likewise.  Do not use BP_SYM.
13672         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13673         (PARMS): Do not use macros from bp-asm.h.
13674         (SKIP): Likewise.
13675         (strspn): Do not use BP_SYM.
13676         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13677         (PARMS): Do not use macros from bp-asm.h.
13678         (STR): Likewise.
13679         (DELIM): Likewise.
13680         (SAVE): Likewise.
13681         (FUNCTION): Likewise.  Do not use BP_SYM.
13682         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13683         aliases.
13684         (strtok_r): Likewise.
13685         (__GI___strtok_r): Likewise.
13686         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13687         (PARMS): Do not use macros from bp-asm.h.
13688         (S1): Likewise.
13689         (S2): Likewise.
13690         (SIZE): Likewise.
13691         (__mpn_sub_n): Do not use BP_SYM.
13692         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13693         "bp-asm.h".
13694         (PARMS): Do not use macros from bp-asm.h.
13695         (S1): Likewise.
13696         (SIZE): Likewise.
13697         (__mpn_submul_1): Do not use BP_SYM.
13698         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13699         <bp-sym.h>.
13700         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13701         and <bp-asm.h>.
13702         (PARMS): Do not use macros from bp-asm.h.
13703         (FLAGS): Likewise.
13704         (PTID): Likewise.
13705         (TLS): Likewise.
13706         (CTID): Likewise.
13707         (__clone): Do not use BP_SYM.
13708         (clone): Do not use BP_SYM in weak_alias.
13709         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13710         and <bp-asm.h>.
13711         (PARMS): Do not use macros from bp-asm.h.
13712         (LEN): Likewise.
13713         (__mmap64): Do not use BP_SYM.
13714         (mmap64): Do not use BP_SYM in weak_alias.
13715         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13716         <bp-sym.h> and <bp-asm.h>.
13717         (PARMS): Do not use macros from bp-asm.h.
13718         (__posix_fadvise64_l64): Do not use BP_SYM.
13719         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13720         (PARMS): Do not use macros from bp-asm.h.
13721         (NSOPS): Likewise.
13722         (semtimedop): Do not use BP_SYM.
13723         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13724         and <bp-asm.h>.
13726 2013-02-21  Allan McRae  <allan@archlinux.org>
13728         * manual/message.texi (Charset conversion in gettext):
13729         Move @end statement to beginning of line.
13731 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13734         static.
13735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13736         Likewise.
13738         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13739         (denorm): Likewise.
13740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13743 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13745         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13746         tail-call to the resolved function if pltexit isn't needed.
13748 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13751         or Y being zero as being unlikely.
13752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13753         Likewise.
13755 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13757         * manual/nss.texi (System Databases and Name Service Switch):
13758         Remove frobnicate @pxref.
13760 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13762         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13763         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13765 2013-02-20  Petr Machata  <pmachata@redhat.com>
13767         * elf/elf.h (R_ARM_TARGET1): New macro.
13768         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13769         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13770         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13771         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13772         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13773         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13774         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13775         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13776         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13777         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13778         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13779         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13780         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13781         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13782         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13783         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13784         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13785         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13786         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13787         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13788         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13789         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13790         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13791         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13792         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13793         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13794         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13795         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13796         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13797         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13798         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13799         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13800         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13801         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13802         (R_ARM_THM_GOT_BREL12): Likewise.
13803         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13804         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13805         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13806         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13807         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13808         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13809         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13810         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13811         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13813 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13815         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13816         __attribute_used__ to __attribute__ ((unused)).
13818 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13820         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13821         powerpc mpa.c.
13822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13823         comment formatting.
13824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13826 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13828         [BZ #13550]
13829         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13830         Remove macro.
13831         (ENTER): Remove both macro definitions.
13832         (LEAVE): Likewise.
13833         (CHECK_BOUNDS_LOW): Likewise.
13834         (CHECK_BOUNDS_HIGH): Likewise.
13835         (CHECK_BOUNDS_BOTH): Likewise.
13836         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13837         (RETURN_BOUNDED_POINTER): Likewise.
13838         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13839         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13840         (POP_ERRNO_LOCATION_RETURN): Likewise.
13841         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13842         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13843         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13844         macros.
13845         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13846         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13847         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13848         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13849         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13850         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13851         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13852         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13853         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13854         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13855         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13856         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13857         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13858         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13859         removed macros.
13860         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13861         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13862         macros.
13863         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13864         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13865         * sysdeps/i386/i586/memset.S (memset): Likewise.
13866         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13867         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13868         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13869         macros.
13870         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13871         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13872         Change uses of L(2) to L(out).
13873         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13874         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13875         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13876         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13877         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13878         removed macros.
13879         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13880         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13881         macros.
13882         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13883         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13884         (RETURN): Do not use macro LEAVE.
13885         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13886         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13887         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13888         * sysdeps/i386/i686/memset.S (memset): Likewise.
13889         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13890         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13891         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13892         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13893         Likewise.
13894         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13895         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13896         L(1_2) and L(1_3) into L(1).
13897         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13898         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13899         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13900         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13901         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13902         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13903         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13904         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13905         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13906         macros.
13907         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13908         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13909         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13910         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13911         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13912         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13913         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13914         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13915         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13916         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13917         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13918         * sysdeps/i386/strspn.S (strspn): Likewise.
13919         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13920         conditional code.
13921         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13922         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13923         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13924         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13925         L(1_3) into L(1_1).
13926         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13927         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13928         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13929         macros.
13930         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13932 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13934         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13935         macro.
13937 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13939         * math/atest-exp.c (exp_mpn): Remove ROUND.
13940         * math/atest-exp2.c (exp_mpn): Likewise.
13941         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13943         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13944         * stdlib/tst-tls-atexit-lib.c: Likewise.
13945         * stdlib/tst-tls-atexit.c: Likewise.
13947 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13949         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13950         and __attribute_alloc_size__.
13952 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13954         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13955         __attribute_alloc_size__.
13956         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13957         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13959 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13961         * include/programs/xmalloc.h: New file.
13962         * catgets/gencat.c: Include it.
13963         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13964         * elf/pldd.c: Likewise.
13965         * iconv/iconv_charmap.c: Likewise.
13966         * iconv/iconvconfig.c: Likewise.
13967         * iconv/strtab.c: Likewise.
13968         * locale/programs/locale.c: Likewise.
13969         * locale/programs/localedef.h: Likewise.
13970         * locale/programs/simple-hash.c: Likewise.
13971         * nscd/nscd.h: Likewise.
13972         * nss/makedb.c: Likewise.
13973         * sysdeps/generic/ldconfig.h: Likewise.
13975 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13977         * Versions.def: Add GLIBC_2.18.
13978         * include/link.h (struct link_map): New member l_tls_dtor_count.
13979         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13980         (__call_tls_dtors): Likewise.
13981         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13982         __cxa_thread_atexit_impl.
13983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13984         Likewise.
13985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13986         Likewise.
13987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13988         Likewise.
13989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13990         Likewise.
13991         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13993         Likewise.
13994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13995         Likewise.
13996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13998         Likewise.
13999         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14000         (tests): Add test case tst-tls-atexit.
14001         (modules-names): Add shared library for tst-tls-atexit.
14002         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14003         (GLIBC_PRIVATE): Add __call_tls_dtors.
14004         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14005         for libstdc++.
14006         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14007         * stdlib/tst-tls-atexit.c: New test case.
14008         * stdlib/tst-tls-atexit-lib.c: New test case.
14010         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14012         * elf/Versions (ld): Add _dl_find_dso_for_object.
14013         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14014         * elf/dl-open.c (_dl_find_dso_for_object): New function.
14015         (dl_open_worker): Use _dl_find_dso_for_object.
14016         * elf/dl-sym.c (do_sym): Likewise.
14017         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14019 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14021         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14022         Syntactic changes only.
14023         (_dl_runtime_profile): Do a tail-call to the resolved function.
14025 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
14027         [BZ #13550]
14028         * sysdeps/x86_64/bp-asm.h: Remove file.
14029         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14030         <bp-sym.h> and <bp-asm.h>.
14031         (__clone): Do not use BP_SYM.
14032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14033         <bp-sym.h> and <bp-asm.h>.
14034         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14035         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14036         "bp-asm.h".
14037         (_setjmp): Do not use BP_SYM.
14038         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14039         "bp-asm.h".
14040         (setjmp): Do not use BP_SYM.
14041         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14042         libc_hidden_def.
14043         (mempcpy): Do not use BP_SYM in weak_alias.
14044         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14045         "bp-asm.h".
14046         (strchr): Do not use BP_SYM.
14047         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14048         "bp-asm.h".
14049         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14050         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14051         (_start): Do not use BP_SYM.
14052         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14053         "bp-asm.h".
14054         (strcat): Do not use BP_SYM.
14055         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14056         "bp-asm.h".
14057         (STRCMP): Do not use BP_SYM.
14058         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14059         "bp-asm.h".
14060         (STRCPY): Do not use BP_SYM.
14061         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14062         "bp-asm.h".
14063         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14064         "bp-asm.h".
14065         (FUNCTION): Do not use BP_SYM.
14066         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14067         weak_alias.
14068         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14070 2013-02-17  Andreas Jaeger  <aj@suse.de>
14072         * time/Versions: Sort entries.
14073         * string/Versions: Likewise.
14074         * resolv/Versions: Likewise.
14075         * posix/Versions: Likewise.
14076         * iconv/Versions: Likewise.
14077         * elf/Versions: Likewise.
14078         * wcsmbs/Versions: Likewise.
14080 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14082         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14083         loop termination condition.
14085         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14086         variable to calculate EZ.
14087         (__sqr): Likewise.
14089         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14090         the lower precision input.
14092 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
14094         [BZ #13550]
14095         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14096         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14097         (run-via-rtld-prefix): Do not handle %-bp tests.
14098         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14099         (all-object-suffixes): Remove .ob.
14100         (bppfx): Remove variable.
14101         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14102         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14103         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14104         [$(build-bounded) = yes] (libtype.ob): Likewise.
14105         * Makerules (elide-routines.ob): Remove variable.
14106         (do-tests-clean): Do not handle *-bp.out.
14107         (common-mostlyclean): Do not handle *-bp and *-bp.out.
14108         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14109         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14110         (tests): Do not include $(tests-bp.out).
14111         (xtests): Do not include $(xtests-bp.out).
14112         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14113         [$(build-bounded) = yes] ($(addprefix
14114         $(objpfx),$(binaries-bounded))): Remove rule.
14115         ($(objpfx)%-bp.out): Remove rule.
14116         * config.make.in (build-bounded): Remove variable.
14117         * crypt/Makefile [$(build-bounded) = yes]
14118         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14119         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14120         append to variable.
14121         [$(build-bounded) = yes] (install-lib): Likewise.
14122         [$(build-bounded) = yes] (generated): Likewise.
14123         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14124         Remove rule.
14125         * intl/Makefile [$(build-bounded) = yes]
14126         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14127         * math/Makefile [$(build-bounded) = yes]
14128         ($(tests:%=$(objpfx)%-bp): Likewise.
14129         * misc/Makefile [$(build-bounded) = yes]
14130         ($(objpfx)tst-tsearch-bp): Likewise.
14131         * nptl/Makeconfig (bounded-thread-library): Remove variable.
14132         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14133         Remove dependency.
14134         * string/Makefile (o-objects.ob): Remove variable.
14135         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14136         (CFLAGS-.ob): Remove variable.
14137         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14138         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14139         both definitions of variable.
14140         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14141         (ASFLAGS-.ob): Remove variable.
14143 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
14145         [BZ #13550]
14146         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14147         Remove __BOUNDED_POINTERS__ from condition.
14148         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14149         * string/bits/string2.h [!__NO_STRING_INLINES &&
14150         !__BOUNDED_POINTERS__]: Likewise.
14151         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14152         Likewise.
14153         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14154         Remove conditional code.
14155         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14156         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14157         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14158         condition.
14160         [BZ #13550]
14161         * csu/libc-start.c: Do not include <bp-sym.h>.
14162         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14163         * elf/dl-open.c: Do not include <bp-sym.h>.
14164         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14165         * math/fegetenv.c: Do not include <bp-sym.h>.
14166         (fegetenv): Do not use BP_SYM in versioned symbols.
14167         * nptl/sysdeps/pthread/bits/libc-lockP.h
14168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14169         <bp-sym.h>.
14170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14171         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14173         (__pthread_mutex_destroy): Likewise.
14174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14175         (__pthread_mutex_lock): Likewise.
14176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14177         (__pthread_mutex_trylock): Likewise.
14178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14179         (__pthread_mutex_unlock): Likewise.
14180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14181         (__pthread_mutexattr_init): Likewise.
14182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14183         (__pthread_mutexattr_destroy): Likewise.
14184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14185         (__pthread_mutexattr_settype): Likewise.
14186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14187         (__pthread_rwlock_init): Likewise.
14188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14189         (__pthread_rwlock_destroy): Likewise.
14190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14191         (__pthread_rwlock_rdlock): Likewise.
14192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14193         (__pthread_rwlock_tryrdlock): Likewise.
14194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14195         (__pthread_rwlock_wrlock): Likewise.
14196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14197         (__pthread_rwlock_trywrlock): Likewise.
14198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14199         (__pthread_rwlock_unlock): Likewise.
14200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14201         (__pthread_key_create): Likewise.
14202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14203         (__pthread_setspecific): Likewise.
14204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14205         (__pthread_getspecific): Likewise.
14206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14207         Likewise.
14208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14209         (_pthread_cleanup_push_defer): Likewise.
14210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14211         (_pthread_cleanup_pop_restore): Likewise.
14212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14213         (pthread_setcancelstate): Likewise.
14214         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14215         <bp-sym.h>.
14216         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14217         (memchr): Do not use BP_SYM in weak_alias.
14218         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14219         (fegetenv): Do not use BP_SYM in versioned symbols.
14220         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14221         (fesetenv): Do not use BP_SYM in versioned symbols.
14222         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14223         (feupdateenv): Do not use BP_SYM in versioned symbols.
14224         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14225         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14226         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14227         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14228         (open64): Do not use BP_SYM in weak_alias.
14229         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14230         (fegetenv): Do not use BP_SYM in versioned symbols.
14231         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14232         (fesetenv): Do not use BP_SYM in versioned symbols.
14233         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14234         (feupdateenv): Do not use BP_SYM in versioned symbols.
14235         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14236         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14237         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14238         (feraiseexcept): Do not use BP_SYM in versioned symbols.
14239         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14240         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14241         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14242         <bp-sym.h>.
14243         (__libc_start_main): Do not use BP_SYM.
14245 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14248         redundant return line.
14249         (norm): Likewise.
14250         (denorm): Likewise.
14251         (dbl_mp): Likewise.
14252         (sub_magnitudes): Likewise.
14253         (__add): Likewise.
14254         (__sub): Likewise.
14255         (__mul): Likewise.
14256         (__inv): Likewise.
14257         (__dvd): Likewise.
14258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14259         (norm): Likewise.
14260         (denorm): Likewise.
14261         (dbl_mp): Likewise.
14262         (sub_magnitudes): Likewise.
14263         (__add): Likewise.
14264         (__sub): Likewise.
14265         (__mul): Likewise.
14266         (__inv): Likewise.
14267         (__dvd): Likewise.
14269         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14270         instead of __mul.
14271         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14272         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14273         (cc32): Likewise.
14275         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14276         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14277         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14278         of __mul for squares.
14279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14280         function
14281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14282         Likewise.
14283         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14284         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14286 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
14288         [BZ #13550]
14289         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14290         code.
14291         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14292         prototype or function definition.  Rename ubp_* variables and
14293         parameters.  Remove argv definitions conditional on
14294         [__BOUNDED_POINTERS__].
14295         * debug/backtrace.c (__backtrace): Do not use __unbounded.
14296         * elf/dl-runtime.c (_dl_fixup): Likewise.
14297         * include/set-hooks.h (RUN_HOOK): Likewise.
14298         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14299         definition.
14300         * string/strcpy.c (strcpy): Do not use __unbounded.
14301         * sysdeps/generic/frame.h (struct layout): Likewise.
14302         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14303         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14304         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14305         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14306         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14307         (__backtrace): Likewise.
14308         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14309         use __ptrvalue.
14310         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14311         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14312         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14313         Likewise.
14314         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14315         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14316         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14317         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14318         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14319         Do not use __unbounded.
14320         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14321         Rename __unboundedrlimits parameter to rlimits in prototype.
14322         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14323         Do not use __unbounded.
14324         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14325         not use __ptrvalue.
14326         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14327         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14328         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14329         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14330         __ptrvalue or __unbounded.
14331         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14332         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14333         use __unbounded.
14334         (__new_msgctl): Do not use __ptrvalue.
14335         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14336         __unbounded.
14337         (__libc_msgrcv): Do not use __ptrvalue.
14338         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14339         startup_info): Do not use __unbounded.
14340         (__libc_start_main): Likewise.  Rename ubp_* variables and
14341         parameters.  Remove argv definitions conditional on
14342         [__BOUNDED_POINTERS__].
14343         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14344         __ptrvalue.
14345         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14346         use __unbounded.
14347         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14348         or __ptrvalue.
14349         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14350         use __unbounded.
14351         (__new_shmctl): Do not use __ptrvalue.
14352         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14353         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14354         Likewise.
14355         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14356         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14357         (__libc_sigaction): Likewise.
14358         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14359         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14360         Likewise.
14361         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14363 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
14365         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14367         * string/mempcpy.c: Implement by calling memcpy.
14369 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14371         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14373         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14374         evaluation.
14376         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14377         values in the mantissa.
14379         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14380         minimize writes to Z.
14381         (sub_magnitudes): Simplify code a bit.
14383 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14385         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14386         from the message.  The linker prefixes all warnings with that already.
14388 2013-02-12  Andreas Schwab  <schwab@suse.de>
14390         [BZ #15078]
14391         * posix/regexec.c (extend_buffers): Add parameter min_len.
14392         (check_matching): Pass minimum needed length.
14393         (clean_state_log_if_needed): Likewise.
14394         (get_subexp): Likewise.
14395         * posix/Makefile (tests): Add bug-regex34.
14396         (bug-regex34-ENV): Define.
14397         * posix/bug-regex34.c: New file.
14399         [BZ #11561]
14400         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14401         elements compare against the byte sequence of it, not its name.
14402         * posix/Makefile (tests): Add bug-regex35.
14403         (bug-regex35-ENV): Define.
14404         * posix/bug-regex35.c: New file.
14406 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14408         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14409         comment.
14410         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14411         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14412         (CHECK_EOL): Add undef.
14414 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14416         * bits/stdlib-bsearch.h: New file.
14417         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14418         * stdlib/stdlib.h: Likewise.
14420 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14422         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14423         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14424         declaration.
14425         * manual/search.texi (Array Search Function): Add missing const in
14426         lfind prototype.
14427         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14428         declaration to use rlim_t.
14429         (Basic Scheduling Functions): Remove erroneous const from
14430         sched_getparam prototype.  Remove erroneous * from
14431         sched_get_priority_max and sched_get_priority_min prototypes.
14432         (Resource Usage): Fix summary @comment on vtimes to refer to
14433         sys/vtimes.h rather than vtimes.h.
14434         Add missing *s in vtimes prototype.
14435         (Limits on Resources): Fix ulimit prototype to return long int.
14436         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14437         prototypes to use long int rather than double.
14438         (BSD Random): Fix initstate and setstate to use char *, not void *.
14439         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14440         prototype to make second argument 'struct aiocb64 *const[]'.
14441         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14442         (Status of AIO Operations): Remove erroneous const in aio_return and
14443         aio_return64 prototypes.
14444         (Synchronizing I/O): Fix sync prototype to return void.
14445         * manual/startup.texi (Suboptions): Remove an erroneous const in
14446         getsubopt prototype.
14447         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14448         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14449         use size_t rather than int.
14450         (Scanning All Users): Likewise for getpwent_r.
14451         (Setting Groups): Add missing const to setgroups prototype.
14452         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14453         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14454         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14455         'const void *' rather than 'const char *'.
14456         (Host Address Functions): Likewise for inet_ntop.
14457         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14458         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14459         ssize_t for return value.
14460         (Sending Data): Likewise for send, sendto, sendmsg.
14461         (Socket Option Functions): Add a missing const in setsockopt prototype.
14462         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14463         use wchar_t for the argument.
14464         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14465         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14466         take no arguments.
14467         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14468         double/float/long double for second argument.
14469         Fix return types of significand, significandf, significandl.
14470         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14471         argument in fchmod prototype.
14472         (File Owner): Use uid_t and gid_t in fchown prototype.
14473         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14474         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14475         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14476         use 'const struct dirent **' as argument types to CMP function pointer
14477         argument.
14478         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14479         (File Times): Fix summary magic @comment for struct utimbuf and utime
14480         to refer to utime.h, not time.h.
14481         * manual/string.texi (Argz Functions): Add missing const in
14482         argz_extract and argz_next prototypes.
14483         (Finding Tokens in a String): Likewise for basename.
14484         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14485         (Copying and Concatenation): Fix typo in wmemmove prototype.
14486         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14487         (Signal Stack): Remove erroneous const in sigstack prototype.
14488         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14489         prototype.
14490         (Simple Calendar Time): Likewise for stime.
14491         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14492         prototype.
14493         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14494         say sys/sysctl.h instead.
14495         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14496         and vsyslog prototypes.
14498 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14500         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14501         Remove.
14503 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14505         * misc/sys/mman.h: Fix typo in mremap comment.
14507 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14509         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14510         the '\0' terminator.
14512 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14514         [BZ #13550]
14515         * debug/segfault.c: Don't include <bp-checks.h>.
14516         * sysdeps/generic/bp-checks.h: Remove file.
14517         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14518         (__GETDENTS): Don't use CHECK_N.
14519         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14520         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14521         (__getgroups): Don't use CHECK_N.
14522         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14523         (setgroups): Don't use CHECK_N.
14524         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14525         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14526         (__libc_msgrcv): Don't use CHECK_N.
14527         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14528         (__libc_msgsnd): Don't use CHECK_N.
14529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14530         <bp-checks.h>.
14531         (__libc_pread): Don't use CHECK_N.
14532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14533         include <bp-checks.h>.
14534         (__libc_pread64): Don't use CHECK_N.
14535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14536         include <bp-checks.h>.
14537         (__libc_pwrite): Don't use CHECK_N.
14538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14539         include <bp-checks.h>.
14540         (__libc_pwrite64): Don't use CHECK_N.
14541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14542         <bp-checks.h>.
14543         (__libc_pread): Don't use CHECK_N.
14544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14545         include <bp-checks.h>.
14546         (__libc_pread64): Don't use CHECK_N.
14547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14548         include <bp-checks.h>.
14549         (__libc_pwrite): Don't use CHECK_N.
14550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14551         include <bp-checks.h>.
14552         (__libc_pwrite64): Don't use CHECK_N.
14553         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14554         (do_pread): Don't use CHECK_N.
14555         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14556         (do_pread64): Don't use CHECK_N.
14557         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14558         (do_pwrite): Don't use CHECK_N.
14559         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14560         (do_pwrite64): Don't use CHECK_N.
14561         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14562         (__libc_readv): Don't use CHECK_N.
14563         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14564         (semop): Don't use CHECK_N.
14565         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14566         <bp-checks.h>.
14567         (semtimedop): Don't use CHECK_N.
14568         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14569         (__libc_pread): Don't use CHECK_N.
14570         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14571         <bp-checks.h>.
14572         (__libc_pread64): Don't use CHECK_N.
14573         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14574         <bp-checks.h>.
14575         (__libc_pwrite): Don't use CHECK_N.
14576         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14577         <bp-checks.h>.
14578         (__libc_pwrite64): Don't use CHECK_N.
14579         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14580         <bp-checks.h>.
14581         (__libc_msgrcv): Don't use CHECK_N.
14582         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14583         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14584         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14585         (__libc_writev): Don't use CHECK_N.
14587 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14589         * string/strcpy.c: Removed unused variable.
14591         * Makeconfig (+sysdep-includes): Define with := rather than =.
14592         Use an existing include/ subdir of each sysdeps dir before it.
14594 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14596         * nscd/connection.c (register_traced_file): Comment function.
14597         [HAVE_INOTIFY] (union __inev): Define.
14598         [HAVE_INOTIFY] (inotify_check_files): New function.
14599         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14600         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14601         clear_db_cache.
14602         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14604 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14606         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14607         loaded if not already and that a failure is permanent.
14609 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14611         [BZ #15006]
14612         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14613         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14615 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14617         [BZ #13550]
14618         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14619         (CHECK_1_NULL_OK): Likewise.
14620         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14621         (__fxstat): Do not use CHECK_1.
14622         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14623         <bp-checks.h>.
14624         (___fxstat64): Do not use CHECK_1.
14625         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14626         <bp-checks.h>.
14627         (__fxstatat): Do not use CHECK_1.
14628         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14629         <bp-checks.h>.
14630         (__fxstatat64): Do not use CHECK_1.
14631         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14632         <bp-checks.h>.
14633         (__fxstat): Do not use CHECK_1.
14634         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14635         <bp-checks.h>.
14636         (__fxstatat): Do not use CHECK_1.
14637         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14638         <bp-checks.h>.
14639         (__getresgid): Do not use CHECK_1.
14640         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14641         <bp-checks.h>.
14642         (__getresuid): Do not use CHECK_1.
14643         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14644         <bp-checks.h>.
14645         (__lxstat): Do not use CHECK_1.
14646         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14647         <bp-checks.h>.
14648         (__old_msgctl): Do not use CHECK_1.
14649         (__new_msgctl): Likewise.
14650         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14651         <bp-checks.h>.
14652         (__new_setrlimit): Do not use CHECK_1.
14653         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14654         <bp-checks.h>.
14655         (__old_shmctl): Do not use CHECK_1.
14656         (__new_shmctl): Likewise.
14657         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14658         <bp-checks.h>.
14659         (__xstat): Do not use CHECK_1.
14660         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14661         (__lxstat): Do not use CHECK_1.
14662         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14663         <bp-checks.h>.
14664         (___lxstat64): Do not use CHECK_1.
14665         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14666         (__old_msgctl): Do not use CHECK_1.
14667         (__new_msgctl): Likewise.
14668         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14669         <bp-checks.h>.
14670         (__gettimeofday): Do not use CHECK_1.
14671         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14672         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14673         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14674         <bp-checks.h>.
14675         (__gettimeofday): Do not use CHECK_1.
14676         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14677         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14678         (__new_shmctl): Do not use CHECK_1.
14679         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14680         <bp-checks.h>.
14681         (do_sigtimedwait): Do not use CHECK_1.
14682         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14683         <bp-checks.h>.
14684         (do_sigwaitinfo): Do not use CHECK_1.
14685         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14686         <bp-checks.h>.
14687         (msgctl): Do not use CHECK_1.
14688         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14689         <bp-checks.h>.
14690         (shmctl): Do not use CHECK_1.
14691         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14692         (ustat): Do not use CHECK_1.
14693         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14694         <bp-checks.h>.
14695         (__fxstat): Do not use CHECK_1.
14696         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14697         <bp-checks.h>.
14698         (__fxstatat): Do not use CHECK_1.
14699         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14700         <bp-checks.h>.
14701         (__lxstat): Do not use CHECK_1.
14702         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14703         <bp-checks.h>.
14704         (__xstat): Do not use CHECK_1.
14705         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14706         (__xstat): Do not use CHECK_1.
14707         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14708         (___xstat64): Do not use CHECK_1.
14710         [BZ #13550]
14711         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14712         definitions.
14713         (CHECK_BOUNDS_HIGH): Likewise.
14714         * string/strcpy.c: Do not include <bp-checks.h>.
14715         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14717 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14719         * nscd/nscd-client.h (__nscd_drop_map_ref):
14720         Add __attribute__ ((unused)).
14721         * nis/nss-nisplus.h (niserr2nss): Likewise.
14723         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14724         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14726         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14727         Remove inline keyword.
14728         * include/rounding-mode.h (round_away): Likewise.
14729         * libio/wfileops.c (adjust_wide_data): Likewise.
14730         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14731         (__m128i_strloadu_tolower): Likewise.
14732         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14733         (__m128i_strloadu_tolower): Likewise.
14734         * time/mktime.c (ydhms_diff): Likewise.
14735         * locale/elem-hash.h (elem_hash): Likewise.
14736         * locale/setlocale.c (setdata): Likewise.
14737         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14738         (re_string_wchar_at): Likewise.
14739         (bitset_not, bitset_merge, bitset_mask): Likewise.
14740         [!(__GNUC__ > 3)] (inline): Remove macro.
14741         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14742         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14743         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14744         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14745         * string/memcmp.c (memcmp_bytes): Likewise.
14746         * locale/programs/locarchive.c (compute_hashval): Likewise.
14747         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14748         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14749         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14750         * nss/getent.c (print_rpc, print_protocols): Likewise.
14751         (print_passwd, print_group, print_aliases): Likewise.
14752         * nis/nss-nisplus.h (niserr2nss): Likewise.
14753         * nscd/connections.c (restart_p): Likewise.
14754         Change return type to bool.
14756 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14758         * Makeconfig (all-Depend-files): Add existing
14759         $(sorted-subdirs:=/Depend) files.
14760         (all-subdirs): Remove nss.
14761         * sysdeps/unix/inet/Subdirs: Add it here instead.
14762         * hesiod/Depend: New file.
14764         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14765         instead of calling alloca.
14767         * io/lseek.c (__lseek): Rename to __libc_lseek.
14768         Define __lseek as an alias.
14770         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14772 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14774         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14775         else clause and remove check for non-standard endianness.
14777 2013-02-04  David S. Miller  <davem@davemloft.net>
14779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14781 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14783         [BZ #13550]
14784         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14785         (__ubp_memchr): Remove prototype.
14786         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14787         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14788         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14789         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14790         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14791         Remove alias.
14792         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14793         (__ubp_memchr): Likewise.
14794         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14795         (__ubp_memchr): Likewise.
14796         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14797         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14798         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14799         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14800         CHECK_STRING.
14801         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14802         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14803         (__getcwd): Do not use CHECK_STRING.
14804         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14805         <bp-checks.h>.
14806         (__real_chown): Do not use CHECK_STRING.
14807         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14808         <bp-checks.h>.
14809         (fchownat): Do not use CHECK_STRING.
14810         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14811         CHECK_STRING.
14812         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14813         <bp-checks.h>.
14814         (__lchown): Do not use CHECK_STRING.
14815         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14816         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14817         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14818         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14820         include <bp-checks.h>.
14821         (truncate64): Do not use CHECK_STRING.
14822         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14823         <bp-checks.h>.
14824         (__real_chown): Do not use CHECK_STRING.
14825         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14826         <bp-checks.h>.
14827         (__lchown): Do not use CHECK_STRING.
14828         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14829         <bp-checks.h>.
14830         (__chown): Do not use CHECK_STRING.
14831         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14832         <bp-checks.h>.
14833         (truncate64): Do not use CHECK_STRING.
14834         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14835         Likewise.
14836         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14837         (__xmknod): Do not use CHECK_STRING.
14838         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14839         <bp-checks.h>.
14840         (__xmknodat): Do not use CHECK_STRING.
14841         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14842         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14844 2013-02-04  Andreas Schwab  <schwab@suse.de>
14846         [BZ #14142]
14847         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14848         * include/netdb.h: Likewise for h_errno.
14849         * elf/tst-stackguard1.c: Include <tls.h>.
14851 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14853         * elf/link.h (struct link_map): Extend the l_addr comment.
14854         * include/link.h (struct link_map): Likewise.
14856 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14858         [BZ #13550]
14859         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14860         (BOUNDED_1): Remove macro.
14861         * debug/backtrace.c: Don't include <bp-checks.h>.
14862         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14863         (__backtrace): Likewise.
14864         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14865         <bp-checks.h>.
14866         (__backtrace): Don't use BOUNDED_1.
14867         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14868         <bp-checks.h>.
14869         (__backtrace): Don't use BOUNDED_1.
14870         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14871         (__backtrace): Don't use BOUNDED_1.
14872         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14873         (shmat): Don't use BOUNDED_N.
14875 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14877         [BZ #13550]
14878         * sysdeps/generic/bp-start.h: Remove file.
14879         * csu/libc-start.c: Don't include <bp-start.h>.
14880         (LIBC_START_MAIN): Set up __environ directly instead of using
14881         INIT_ARGV_and_ENVIRON.
14882         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14883         <bp-start.h>.
14885         [BZ #13550]
14886         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14887         definitions.
14888         (CHECK_FCNTL): Likewise.
14889         (CHECK_N_PAGES): Likewise.
14891         [BZ #13550]
14892         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14893         definitions.
14894         (CHECK_SIGSET_NULL_OK): Likewise.
14895         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14896         <bp-checks.h>.
14897         (sigpending): Don't use CHECK_SIGSET.
14898         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14899         <bp-checks.h>.
14900         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14901         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14902         <bp-checks.h>.
14903         (do_sigsuspend): Don't use CHECK_SIGSET.
14904         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14905         use CHECK_SIGSET.
14906         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14907         (do_sigwait): Don't use CHECK_SIGSET.
14908         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14909         use CHECK_SIGSET.
14910         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14911         include <bp-checks.h>.
14912         (sigpending): Don't use CHECK_SIGSET.
14913         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14914         include <bp-checks.h>.
14915         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14916         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14917         <bp-checks.h>.
14918         (sigpending): Don't use CHECK_SIGSET.
14919         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14920         <bp-checks.h>.
14921         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14923         [BZ #13550]
14924         * sysdeps/generic/bp-semctl.h: Remove file.
14925         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14926         <bp-checks.h> and <bp-semctl.h>.
14927         (__old_semctl): Don't use CHECK_SEMCTL.
14928         (__new_semctl): Likewise.
14929         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14930         and <bp-semctl.h>.
14931         (__old_semctl): Don't use CHECK_SEMCTL.
14932         (__new_semctl): Likewise.
14933         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14934         <bp-checks.h> and <bp-semctl.h>.
14935         (__old_semctl): Don't use CHECK_SEMCTL.
14936         (__new_semctl): Likewise.
14937         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14938         <bp-checks.h> and <bp-semctl.h>.
14939         (semctl): Don't use CHECK_SEMCTL.
14941         [BZ #13550]
14942         * Makerules (elide-bp-thunks): Remove variable.
14943         (elide-routines.oS): Don't use $(elide-bp-thunks).
14944         (elide-routines.os): Likewise.
14945         (elide-routines.o): Likewise.
14946         (elide-routines.op): Likewise.
14947         (elide-routines.og): Likewise.
14948         (objects): Don't use $(bp-thunks).
14949         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14950         include.
14951         (common-generated): Do not add s-proto-bp.d.
14952         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14953         (int): Likewise.
14954         (typ): Likewise.
14955         Do not generate makefile rules for bounded-pointer thunks.
14956         * sysdeps/generic/bp-thunks.h: Remove file.
14957         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14958         * sysdeps/unix/s-proto-bp.S: Likewise.
14960         [BZ #15062]
14961         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14962         parts of result separately when argument is not close to line from
14963         -i to i and one part of argument is small.
14964         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14965         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14966         * math/libm-test.inc (cacos_test): Add more tests.
14967         (casin_test): Likewise.
14968         (casinh_test): Likewise.
14969         * sysdeps/i386/fpu/libm-test-ulps: Update.
14970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972 2013-01-31  David S. Miller  <davem@davemloft.net>
14974         * po/de.po: Update from translation team.
14976 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14978         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14980 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14982         * configure.in (_AC_PROG_CC_C89): New definition.
14983         * configure: Regenerate.
14985         * configure.in (AC_PROG_CPP): New definition.
14986         * configure: Regenerate.
14988 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14990         * debug/tst-backtrace.h: New file.
14991         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14992         (ret): Remove variable.
14993         (x): Likewise.
14994         (FAIL): Remove macro.
14995         (NO_INLINE): Likewise.
14996         (fn1): Use match function instead of strstr.
14997         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14998         (ret): Remove variable.
14999         (x): Likewise.
15000         (FAIL): Remove macro.
15001         (NO_INLINE): Likewise.
15002         (fn): Use match function instead of strstr.
15003         * debug/tst-backtrace4.c: Include tst-backtrace.h.
15004         (ret): Remove variable.
15005         (x): Likewise.
15006         (FAIL): Remove macro.
15007         (NO_INLINE): Likewise.
15008         (handle_signal): Use match function instead of strstr.
15009         * debug/tst-backtrace5.c: Include tst-backtrace.h.
15010         (ret): Remove variable.
15011         (x): Likewise.
15012         (FAIL): Remove macro.
15013         (NO_INLINE): Likewise.
15014         (handle_signal): Use match function instead of strstr.
15016 2013-01-23  Roland McGrath  <roland@hack.frob.com>
15018         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15020 2013-01-23  David S. Miller  <davem@davemloft.net>
15022         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15023         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15024         argument of CAS if possible.
15025         * sysdeps/sparc/sparc64/bits/atomic.h
15026         (__arch_compare_and_exchange_val_32_acq): Likewise.
15027         (__arch_compare_and_exchange_val_64_acq): Likewise.
15029 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
15031         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15032         * sysdeps/posix/ulimit.c: ... this.
15033         Include <limits.h>.
15034         * sysdeps/unix/bsd/ulimit.c: Remove file.
15036 2013-01-23  Adam Conrad  <adconrad@0c3.net>
15038         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15039         (LDFLAGS-tst-array5): Likewise.
15041 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
15043         [BZ #15036]
15044         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15045         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15046         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15047         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15049 2013-01-21  David S. Miller  <davem@davemloft.net>
15051         * sysdeps/sparc/backtrace.c: New file.
15052         * sysdeps/sparc/sparc32/backtrace.h: New file.
15053         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15054         * sysdeps/sparc/sparc64/backtrace.h: New file.
15055         * sysdeps/sparc/sparc64/backtrace.c: Delete.
15056         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15057         -funwind-tables.
15059 2013-01-21  Andreas Schwab  <schwab@suse.de>
15061         [BZ #15020]
15062         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15063         closed its stdout.
15065 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
15067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15068         "mpa2.h".
15069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15071 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
15072             Mark Mitchell  <mark@codesourcery.com>
15073             Tom de Vries  <tom@codesourcery.com>
15074             Paul Pluzhnikov  <ppluzhnikov@google.com>
15076         * debug/tst-backtrace2.c: New file.
15077         * debug/tst-backtrace3.c: Likewise.
15078         * debug/tst-backtrace4.c: Likewise.
15079         * debug/tst-backtrace5.c: Likewise.
15080         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15081         (CFLAGS-tst-backtrace3.c): Likewise.
15082         (CFLAGS-tst-backtrace4.c): Likewise.
15083         (CFLAGS-tst-backtrace5.c): Likewise.
15084         (LDFLAGS-tst-backtrace2): Likewise.
15085         (LDFLAGS-tst-backtrace3): Likewise.
15086         (LDFLAGS-tst-backtrace4): Likewise.
15087         (LDFLAGS-tst-backtrace5): Likewise.
15088         (tests): Add new tests tst-backtrace2, tst-backtrace3,
15089         tst-backtrace4 and tst-backtrace5.
15091 2013-01-18  Anton Blanchard  <anton@samba.org>
15092             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15094         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15095         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15096         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15097         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15099         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15100         "+r" and remove output regs list as redundant.  Add explicit inline
15101         asm to specify register of return val to work around compiler codegen
15102         bug.  Remove (int) cast on return value.  Add return type parameter to
15103         use in macro so that this macro does not truncate return value for
15104         64-bit values.
15105         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15106         pass to INTERNAL_VSYSCALL_NCS.
15107         (INLINE_VSYSCALL): Add 'long int' as return type to
15108         INTERNAL_VSYSCALL_NCS macro invocation.
15109         (INTERNAL_VSYSCALL): Add 'long int' as return type to
15110         INTERNAL_VSYSCALL_NCS macro invocation.
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15113 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15115         [BZ #14496]
15116         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15117         Fix application of SIMD FP exception mask.
15119         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15120         mp_no from a power of two.
15121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15122         __mpexp_twomm1.  Use __pow_mp.
15124         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15125         multiplication.
15127 2013-01-17  David S. Miller  <davem@davemloft.net>
15129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15131 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15133         [BZ #15023]
15134         * include/complex.h: Condition contents on [!_COMPLEX_H].
15135         (__kernel_casinhf): New prototype.
15136         (__kernel_casinh): Likewise.
15137         (__kernel_casinhl): Likewise.
15138         * math/Makefile (libm_calls): Add k_casinh.
15139         * math/k_casinh.c: New file.
15140         * math/k_casinhf.c: Likewise.
15141         * math/k_casinhl.c: Likewise.
15142         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15143         finite nonzero arguments.
15144         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15145         finite nonzero arguments.
15146         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15147         finite nonzero arguments.
15148         * math/s_casinh.c: Do not include <float.h>.
15149         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15150         * math/s_casinhf.c: Do not include <float.h>.
15151         (__casinhf): Move code for finite nonzero arguments to
15152         k_casinhf.c.
15153         * math/s_casinhl.c: Do not include <float.h>.
15154         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15155         redefine.
15156         (__casinhl): Move code for finite nonzero arguments to
15157         k_casinhl.c.
15158         * math/libm-test.inc (cacos_test): Add more tests.
15159         * sysdeps/i386/fpu/libm-test-ulps: Update.
15160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15162 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
15164         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15165         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15166         [!HAVE_MREMAP]: Remove [defined linux] case.
15167         * malloc/arena.c: Do not include <malloc-sysdep.h>.
15169 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15171         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15173 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
15175         * elf/elf.h (R_386_SIZE32): New relocation.
15176         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15177         R_386_SIZE32.
15178         (elf_machine_rela): Likewise.
15179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15180         R_X86_64_SIZE64 and R_X86_64_SIZE32.
15182 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
15184         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15185         (FP_FAST_FMA): Do not define.
15186         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15187         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15188         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15189         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15190         !_SOFT_FLOAT]: Likewise.
15191         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15192         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15193         value.
15194         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15195         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15196         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15197         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15198         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15199         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15200         file.
15202 2013-01-16  Andreas Schwab  <schwab@suse.de>
15204         [BZ #14327]
15205         * include/stdlib.h (__mktemp): Add declaration.
15206         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15207         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15209 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15211         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15212         definitions.
15213         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15214         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15215         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15216         definitions here.
15217         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15218         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15219         definitions.
15220         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15221         and ONE.
15222         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15223         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15224         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15225         definitions.
15226         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15227         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15228         definitions.
15229         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15231         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15233 2013-01-15  David S. Miller  <davem@davemloft.net>
15235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15236         trunc{,f} to libm-sysdep_routes.
15237         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15239         file.
15240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15242         file.
15243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15244         file.
15245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15247         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15248         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15249         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15250         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15251         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15252         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15255         nearbyint{,f} to libm-sysdep_routes.
15256         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15258         New file.
15259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15260         file.
15261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15262         New file.
15263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15264         file.
15265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15267         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15268         file.
15269         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15270         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15271         file.
15272         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15273         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15274         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15276         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15277         libc_feholdexcept and libc_fesetenv.
15279 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
15281         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15283 2013-01-14  David S. Miller  <davem@davemloft.net>
15285         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15286         (SPARC_ASM_VIS2_IFUNC): Likewise.
15287         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15289         use of 'siam' instruction.
15290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15291         Likewise.
15292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15293         Likewise.
15294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15295         Likewise.
15296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15301         file.
15302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15303         file.
15304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15305         file.
15306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15307         file.
15308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15313         new VIS2 routines.
15314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15317         Likewise.
15318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15323         routines to libm-sysdep_routines.
15324         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15327         fdim/fdimf to libm-sysdep_routines.
15328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15329         file.
15330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15332         file.
15333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15336         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15337         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15338         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15339         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15341 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15343         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15344         to optimize copies.
15346         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15351         local variable MPTWO.
15352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15353         Likewise.
15355 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15357         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15358         GLOB_NOESCAPE.
15360 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15362         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15364 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15366         * manual/pattern.texi (glob_t): Document gl_flags.
15367         (glob64_t): Likewise.
15369 2013-01-11  David S. Miller  <davem@davemloft.net>
15371         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15372         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15373         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15374         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15375         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15376         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15377         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15378         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15379         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15380         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15381         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15382         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15383         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15385         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15386         sparc V9 rather than using V8 code.
15387         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15388         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15390         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15391         Move to...
15392         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15393         Here.
15395 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15397         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15398         not in the main loop.
15399         * configure: Regenerated.
15401 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15403         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15404         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15405         to just #else.
15406         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15407         [!__GLIBC_HAVE_LONG_LONG] case.
15408         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15409         condition to just #else.
15410         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15411         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15412         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15413         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15414         unconditional.
15415         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15416         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15417         #elif condition to just #else.
15418         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15419         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15420         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15421         #elif condition to just #else.
15423 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15425         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15426         (EF_MIPS_ARCH_64): Fix value.
15427         (EF_MIPS_ARCH_32R2): New.
15428         (EF_MIPS_ARCH_64R2): New.
15430 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15432         * Makeconfig (+link-pie-before-libc): New.
15433         (+link-pie-after-libc): Likewise.
15434         (+link-pie-tests): Likewise.
15435         (+link-pie): Rewritten.
15436         (link-before-libc): Remove $(config-LDFLAGS).
15437         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15438         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15439         (config-LDFLAGS): Renamed to ...
15440         (rtld-LDFLAGS): This.
15441         (rtld-tests-LDFLAGS): New macro.
15442         (link-libc-rpath-link): Likewise.
15443         (link-libc-tests-rpath-link): Likewise.
15444         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15445         (link-libc): Prepand $(link-libc-rpath-link).
15446         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15447         (test-program-prefix): New macro.
15448         (test-via-rtld-prefix): Likewise.
15449         (test-program-cmd): Likewise.
15450         (host-test-program-cmd): Likewise.
15451         * Makefile ($(common-objpfx)testrun.sh): Replace
15452         $(run-program-prefix) with $(test-program-prefix).
15453         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15454         $(rtld-LDFLAGS).
15455         ($(common-objpfx)shlib.lds): Likewise.
15456         (build-module-helper): Likewise.
15457         ($(common-objpfx)format.lds): Likewise.
15458         * Rules (binaries-pie-tests): New.
15459         (binaries-pie-notests): Likewise.
15460         (binaries-pie): Rewritten.
15461         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15462         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15463         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15464         (make-test-out): Replace $(host-built-program-cmd) with
15465         $(host-test-program-cmd).
15466         * config.make.in (build-hardcoded-path-in-tests): New variable.
15467         * configure.in (--enable-hardcoded-path-in-tests): New configure
15468         option.
15469         (hardcoded_path_in_tests): New AC_SUBST.
15470         * configure: Regenerated.
15471         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15472         $(built-program-cmd) with $(test-program-cmd).
15473         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15474         (test_program_cmd): This.
15475         * elf/Makefile ($(objpfx)order.out): Run test with
15476         $(test-program-prefix).
15477         ($(objpfx)order2.out): Likewise.
15478         ($(objpfx)tst-initorder.out): Likewise.
15479         ($(objpfx)tst-initorder2.out): Likewise.
15480         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15481         $(test-program-cmd).
15482         ($(objpfx)tst-array1-static.out): Likewise.
15483         ($(objpfx)tst-array2.out): Likewise.
15484         ($(objpfx)tst-array3.out): Likewise.
15485         ($(objpfx)tst-array4.out): Likewise.
15486         ($(objpfx)tst-array5.out): Likewise.
15487         ($(objpfx)tst-array5-static.out): Likewise.
15488         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15489         $(test-program-cmd).
15490         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15491         $(run-program-prefix) with $(test-program-prefix).
15492         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15493         (test_program_prefix): This.
15494         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15495         $(run-program-prefix) with $(test-program-prefix).
15496         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15497         (test_program_prefix): This.
15498         * iconvdata/tst-tables.sh: Likewise.
15499         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15500         $(run-program-prefix) with $(test-program-prefix).
15501         ($(objpfx)tst-translit.out): Likewise.
15502         ($(objpfx)tst-gettext2.out): Likewise.
15503         ($(objpfx)tst-gettext4.out): Likewise.
15504         ($(objpfx)tst-gettext6.out): Likewise.
15505         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15506         (test_program_prefix): This.
15507         * intl/tst-gettext2.sh: Likewise.
15508         * intl/tst-gettext4.sh  Likewise.
15509         * intl/tst-gettext6.sh: Likewise.
15510         * intl/tst-translit.sh: Likewise.
15511         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15512         with $(test-program-cmd).
15513         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15514         $(run-program-prefix) with $(test-program-prefix).
15515         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15516         (test_program_prefix): This.
15517         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15518         $(run-program-prefix) with $(test-program-prefix).
15519         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15520         (test_program_prefix): This.
15521         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15522         * posix/Makefile ($(objpfx)globtest.out): Replace
15523         $(run-via-rtld-prefix) and $(test-wrapper) with
15524         $(test-program-prefix) and $(test-via-rtld-prefix).
15525         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15526         $(test-program-prefix).
15527         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15528         $(host-test-program-cmd).
15529         (tst-spawn-ARGS): Likewise.
15530         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15531         $(test-program-prefix).
15532         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15533         (test_via_rtld_prefix): This.
15534         (test_wrapper): Renamed to ...
15535         (test_program_prefix): This.
15536         (run_program_prefix): Replaced by test_program_prefix.
15537         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15538         (test_program_prefix): This.
15539         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15540         with $(host-test-program-cmd).
15541         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15542         $(run-program-prefix) with $(test-program-prefix).
15543         ($(objpfx)tst-printf.out): Likewise.
15544         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15545         $(test-program-cmd).
15546         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15547         (test_program_prefix): This.
15548         * stdio-common/tst-unbputc.sh: Likewise.
15549         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15550         $(run-program-prefix) with $(test-program-prefix).
15551         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15552         (test_program_prefix): This.
15553         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15554         $(built-program-cmd) with $(test-program-cmd).
15556 2013-01-11  Andreas Jaeger  <aj@suse.de>
15558         [BZ #15003]
15559         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15560         value. Sync with Linux 3.7.
15562 2013-01-10  David S. Miller  <davem@davemloft.net>
15564         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15565         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15566         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15568 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15570         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15571         never set.
15572         * configure: Regenerated.
15574 2013-01-10  David S. Miller  <davem@davemloft.net>
15576         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15577         sparc V9 rather than using V8 code.
15578         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15579         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15581 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15583         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15584         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15585         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15586         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15587         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15588         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15589         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15590         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15591         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15592         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15593         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15594         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15595         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15596         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15597         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15598         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15599         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15600         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15601         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15602         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15603         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15604         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15605         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15606         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15607         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15608         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15609         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15611 2013-01-10  David S. Miller  <davem@davemloft.net>
15613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15615 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15617         * posix/Makefile (tests-static): New variable.
15618         (tests): Add $(tests-static).
15619         (tst-exec-static-ARGS): New variable.
15620         (tst-spawn-static-ARGS): Likewise.
15621         * posix/tst-exec-static.c: New file.
15622         * posix/tst-spawn-static.c: Likewise.
15623         * posix/tst-exec.c: Support run directly.
15624         * posix/tst-spawn.c: Likewise.
15626 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15628         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15629         long.
15630         * math/bits/mathcalls.h (llrint): Likewise.
15631         (llround): Likewise.
15632         * stdlib/stdlib.h (struct drand48_data): Likewise.
15633         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15634         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15635         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15636         Likewise.
15637         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15638         Likewise.
15639         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15640         (elf_greg_t): Likewise.
15641         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15642         (__jmp_buf): Likewise.
15643         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15644         definitions.
15645         (llrint): Likewise, for all definitions.
15646         (llrintl): Likewise.
15648         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15649         Remove [__GNUC__] condition.
15650         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15651         condition to just [__USE_ISOC99].
15652         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15654 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15656         [BZ #14200]
15657         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15658         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15659         defined.
15660         (_POSIX_V6_ILP32_OFF32): Likewise.
15661         (_XBS5_ILP32_OFF32): Likewise.
15662         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15663         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15665 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15667         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15670         doubles __mpexp_twomm1.  Adjust usage.
15671         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15672         Remove.
15674 2013-01-10  Andreas Schwab  <schwab@suse.de>
15676         [BZ #14964]
15677         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15678         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15680 2013-01-09  David S. Miller  <davem@davemloft.net>
15682         [BZ #15003]
15683         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15684         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15685         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15686         TCP_FASTOPEN): Define.
15687         (tcp_repair_opt): New structure.
15688         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15689         enum values.
15690         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15691         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15692         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15693         (tcp_cookie_transactions): New structure.
15695 2013-01-09  Anton Blanchard  <anton@samba.org>
15697         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15698         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15699         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15700         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15702 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15704         * include/features.h (__USE_ANSI): Remove.
15706 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15708         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15710         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15712 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15714         * sysdeps/s390/fpu/libm-test-ulps: Update.
15716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15718         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15719         (__acr): Likewise.
15720         (__cpy): Likewise.
15721         (norm): Likewise.
15722         (denorm): Likewise.
15723         (__mp_dbl): Likewise.
15724         (__dbl_mp): Likewise.
15725         (add_magnitudes): Likewise.
15726         (sub_magnitudes): Likewise.
15727         (__add): Likewise.
15728         (__sub): Likewise.
15729         (__mul): Likewise.
15730         (__inv): Likewise.
15731         (__dvd): Likewise.
15732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15733         (__acr): Likewise.
15734         (__cpy): Likewise.
15735         (norm): Likewise.
15736         (denorm): Likewise.
15737         (__mp_dbl): Likewise.
15738         (__dbl_mp): Likewise.
15739         (add_magnitudes): Likewise.
15740         (sub_magnitudes): Likewise.
15741         (__add): Likewise.
15742         (__sub): Likewise.
15743         (__mul): Likewise.
15744         (__inv): Likewise.
15745         (__dvd): Likewise.
15746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15747         (__acr): Likewise.
15748         (__cpy): Likewise.
15749         (norm): Likewise.
15750         (denorm): Likewise.
15751         (__mp_dbl): Likewise.
15752         (__dbl_mp): Likewise.
15753         (add_magnitudes): Likewise.
15754         (sub_magnitudes): Likewise.
15755         (__add): Likewise.
15756         (__sub): Likewise.
15757         (__mul): Likewise.
15758         (__inv): Likewise.
15759         (__dvd): Likewise.
15761 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15763         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15764         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15765         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15766         2 && __USE_EXTERN_INLINES]: Likewise.
15768 2013-01-08  Andreas Jaeger  <aj@suse.de>
15770         [BZ# 14985]
15771         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15772         Remove.
15773         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15774         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15776 2013-01-07  Anton Blanchard  <anton@samba.org>
15778         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15779         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15780         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15781         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15782         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15783         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15784         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15785         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15787         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15788         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15789         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15790         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15791         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15792         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15793         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15794         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15795         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15796         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15797         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15798         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15799         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15800         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15801         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15802         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15803         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15804         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15805         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15807         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15808         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15810         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15811         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15812         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15813         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15814         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15815         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15816         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15817         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15818         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15819         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15820         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15822 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15824         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15825         (__MALLOC_PMT): Likewise.
15826         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15827         [__GNUC__], only on [_LIBC].
15828         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15829         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15830         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15831         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15832         forward declaration.
15833         (realloc_hook_ini): Likewise.
15834         (memalign_hook_ini): Likewise.
15835         (__libc_memalign): Do not use __MALLOC_PMT in variable
15836         declaration.
15837         (__libc_valloc): Likewise.
15838         (__libc_pvalloc): Likewise.
15839         (__libc_calloc): Likewise.
15840         (__posix_memalign): Likewise.
15842         [BZ #14996]
15843         * math/s_casinh.c: Include <float.h>.
15844         (__casinh): Do not do computation with squaring and square root
15845         for large arguments.
15846         * math/s_casinhf.c: Include <float.h>.
15847         (__casinhf): Do not do computation with squaring and square root
15848         for large arguments.
15849         * math/s_casinhl.c: Include <float.h>.
15850         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15851         (__casinhl): Do not do computation with squaring and square root
15852         for large arguments.
15853         * math/libm-test.inc (casin_test): Add more tests.
15854         (casinh_test): Likewise.
15855         * sysdeps/i386/fpu/libm-test-ulps: Update.
15856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15858 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15860         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15861         (__x86_64_raw_data_cache_size): Likewise.
15862         (__x86_64_data_cache_size_half): Likewise.
15863         (__x86_64_raw_data_cache_size_half): Likewise.
15864         (__x86_64_shared_cache_size): Likewise.
15865         (__x86_64_raw_shared_cache_size): Likewise.
15866         (__x86_64_shared_cache_size_half): Likewise.
15867         (__x86_64_raw_shared_cache_size_half): Likewise.
15868         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15869         to ...
15870         (__x86_data_cache_size): This.
15871         (__x86_64_raw_data_cache_size): Renamed to ...
15872         (__x86_raw_data_cache_size): This.
15873         (__x86_64_data_cache_size_half): Renamed to ...
15874         (__x86_data_cache_size_half): This.
15875         (__x86_64_raw_data_cache_size_half): Renamed to ...
15876         (__x86_raw_data_cache_size_half): This.
15877         (__x86_64_shared_cache_size): Renamed to ...
15878         (__x86_shared_cache_size): This.
15879         (__x86_64_raw_shared_cache_size): Renamed to ...
15880         (__x86_raw_shared_cache_size): This.
15881         (__x86_64_shared_cache_size_half): Renamed to ...
15882         (__x86_shared_cache_size_half): This.
15883         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15884         (__x86_raw_shared_cache_size_half): This.
15885         * sysdeps/x86_64/memcpy.S: Updated.
15886         * sysdeps/x86_64/memset.S: Likewise.
15887         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15888         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15889         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15891 2013-01-04  David S. Miller  <davem@davemloft.net>
15893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15895 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15897         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15898         1 to avoid redefinition warning.
15899         (__USE_GNU): Don't define.
15900         (init_signaling_nan): Protoize.
15902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15904 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15906         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15908         (__cpymn): Likewise.
15909         (norm): Remove commented code.
15910         (denorm): Likewise.
15911         (__mp_dbl): Likewise.
15912         (__inv): Likewise.
15913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15914         (__cpymn): Likewise.
15915         (norm): Remove commented code.
15916         (denorm): Likewise.
15917         (__mp_dbl): Likewise.
15918         (__inv): Likewise.
15920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15921         mp_no value for 1.0 and 2.0.
15922         (norm): Use RADIXI instead of radixi.d.
15923         (denorm): Likewise.
15924         (__mul): Use 0.0 instead of zero.d.
15925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15926         mp_no value for 1.0 and 2.0.
15927         (norm): Use RADIXI instead of radixi.d.
15928         (denorm): Likewise.
15929         (__mul): Use 0.0 instead of zero.d.
15931 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15933         [BZ #14994]
15934         * math/s_casinh.c (__casinh): Reduce finite argument to first
15935         quadrant then set signs of results at the end.
15936         * math/s_casinhf.c (__casinhf): Likewise.
15937         * math/s_casinhl.c (__casinhl): Likewise.
15938         * math/libm-test.inc (casin_test): Add more tests.
15939         (casinh_test): Likewise.
15940         * sysdeps/i386/fpu/libm-test-ulps: Update.
15941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15943 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15945         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15947         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15949         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15950         declarations.
15951         (denorm): Likewise.
15952         (__mp_dbl): Likewise.
15953         (__inv): Likewise.
15955         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15956         and adjust the header comment.
15958         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15959         variable name from declaration.
15961 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15964         Initialize COMMON_CPUID_INDEX_7 element.
15965         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15966         (CPUID_RTM): Likewise.
15967         (HAS_RTM): Likewise.
15968         (COMMON_CPUID_INDEX_7): New enum.
15970 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15972         [BZ #14981]
15973         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15974         size is zero, record memory as freed.
15976 2013-01-03  Andreas Jaeger  <aj@suse.de>
15978         * po/ia.po: Add new Interlingua translation.
15980 2012-01-03  Allan McRae  <allan@archlinux.org>
15982         * locale/programs/localedef.c: Fix description of '--posix' flag.
15984 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15986         * NEWS: Update dates in second copyright notice.
15987         * README: Update copyright dates in example.
15988         * manual/libc.texinfo: Update copyright dates.
15989         * scripts/test-installation.pl: Update copyright date in --version
15990         output.
15992         * hurd/ctty-input.c: Fix copyright notice formatting.
15993         * hurd/ctty-output.c: Likewise.
15994         * hurd/dtable.c: Likewise.
15995         * hurd/hurd-raise.c: Likewise.
15996         * hurd/hurdprio.c: Likewise.
15997         * hurd/msgportdemux.c: Likewise.
15998         * misc/sys/file.h: Likewise.
15999         * misc/sys/ioctl.h: Likewise.
16000         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16001         * sysdeps/mach/hurd/chdir.c: Likewise.
16002         * sysdeps/mach/hurd/fchdir.c: Likewise.
16003         * sysdeps/mach/hurd/rename.c: Likewise.
16004         * sysdeps/mach/hurd/rmdir.c: Likewise.
16005         * sysdeps/mach/hurd/seekdir.c: Likewise.
16006         * sysdeps/mach/hurd/setsid.c: Likewise.
16007         * sysdeps/posix/wait3.c: Likewise.
16009         * All files with FSF copyright notices: Update copyright dates
16010         using scripts/update-copyrights.
16011         * intl/plural.c: Regenerated.
16012         * locale/programs/charmap-kw.h: Likewise.
16013         * locale/programs/locfile-kw.h: Likewise.
16015 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16017         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16018         four values.
16020         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16021         calculation loop and add branch prediction.
16023         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16024         check access beyond bounds of m1np.
16026         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16027         MPTWO.
16028         (__inv): Remove local variable MPTWO to use the global
16029         constant.
16030         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16031         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16032         variable MPTWO.
16033         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16034         MP3HALFS static const.
16036 2013-01-01  David S. Miller  <davem@davemloft.net>
16038         * po/ca.po: Update from translation team.
16040 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
16042         * scripts/update-copyrights: New file.
16043         * Makeconfig: Reformat copyright notice.
16044         * ctype/ctype.h: Likewise.
16045         * debug/swprintf_chk.c: Likewise.
16046         * elf/dl-cache.c: Likewise.
16047         * elf/dl-debug.c: Likewise.
16048         * elf/dl-object.c: Likewise.
16049         * grp/initgroups.c: Likewise.
16050         * hurd/Makefile: Likewise.
16051         * hurd/hurd/signal.h: Likewise.
16052         * hurd/hurdfault.c: Likewise.
16053         * hurd/hurdioctl.c: Likewise.
16054         * hurd/hurdlookup.c: Likewise.
16055         * hurd/intr-msg.c: Likewise.
16056         * iconv/gconv_open.c: Likewise.
16057         * libio/swprintf.c: Likewise.
16058         * locale/lc-ctype.c: Likewise.
16059         * locale/nl_langinfo.c: Likewise.
16060         * mach/Machrules: Likewise.
16061         * mach/Makefile: Likewise.
16062         * malloc/obstack.h: Likewise.
16063         * manual/Makefile: Likewise.
16064         * manual/tsort.awk: Likewise.
16065         * misc/bits/stab.def: Likewise.
16066         * nis/nis_print_group_entry.c: Likewise.
16067         * nis/nis_table.c: Likewise.
16068         * nis/nss_compat/compat-pwd.c: Likewise.
16069         * nis/nss_compat/compat-spwd.c: Likewise.
16070         * po/Makefile: Likewise.
16071         * posix/fnmatch.c: Likewise.
16072         * posix/regex.h: Likewise.
16073         * resolv/Makefile: Likewise.
16074         * resolv/nss_dns/dns-network.c: Likewise.
16075         * resolv/res_hconf.c: Likewise.
16076         * scripts/gen-sorted.awk: Likewise.
16077         * soft-fp/soft-fp.h: Likewise.
16078         * stdio-common/printf.h: Likewise.
16079         * stdlib/monetary.h: Likewise.
16080         * stdlib/random.c: Likewise.
16081         * stdlib/random_r.c: Likewise.
16082         * sysdeps/generic/Makefile: Likewise.
16083         * sysdeps/gnu/Makefile: Likewise.
16084         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16085         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16086         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16087         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16088         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16089         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16090         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16091         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16092         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16093         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16094         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16095         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16096         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16097         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16098         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16099         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16100         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16101         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16102         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16103         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16104         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16105         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16106         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16107         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16108         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16109         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16110         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16111         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16112         * sysdeps/mach/hurd/errnos.awk: Likewise.
16113         * sysdeps/mach/hurd/fork.c: Likewise.
16114         * sysdeps/mach/hurd/getcwd.c: Likewise.
16115         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16116         * sysdeps/mach/hurd/mmap.c: Likewise.
16117         * sysdeps/mach/hurd/utimes.c: Likewise.
16118         * sysdeps/mach/hurd/xmknod.c: Likewise.
16119         * sysdeps/posix/profil.c: Likewise.
16120         * sysdeps/posix/readdir_r.c: Likewise.
16121         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16122         * sysdeps/powerpc/bits/setjmp.h: Likewise.
16123         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16124         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16126         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16127         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16128         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16130         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16131         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16132         * sysdeps/pthread/lio_listio.c: Likewise.
16133         * sysdeps/sparc/dl-procinfo.h: Likewise.
16134         * sysdeps/unix/i386/sysdep.S: Likewise.
16135         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16136         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16137         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16138         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16140         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16141         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16142         * sysdeps/unix/sysv/linux/speed.c: Likewise.
16143         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16144         * sysdeps/wordsize-32/divdi3.c: Likewise.
16145         * time/sys/time.h: Likewise.
16146         * wcsmbs/Makefile: Likewise.
16148 2013-01-01  David S. Miller  <davem@davemloft.net>
16150         * po/fr.po: Update from translation team.
16152         * catgets/gencat.c: Update copyright year.
16153         * csu/version.c: Likewise.
16154         * debug/catchsegv.sh: Likewise.
16155         * debug/pcprofiledump.c: Likewise.
16156         * debug/xtrace.sh: Likewise.
16157         * elf/ldconfig.c: Likewise.
16158         * elf/ldd.bash.in: Likewise.
16159         * elf/pldd.c: Likewise.
16160         * elf/sotruss.ksh: Likewise.
16161         * elf/sprof.c: Likewise.
16162         * iconv/iconv_prog.c: Likewise.
16163         * iconv/iconvconfig.c: Likewise.
16164         * locale/programs/locale.c: Likewise.
16165         * locale/programs/localedef.c: Likewise.
16166         * login/programs/pt_chown.c: Likewise.
16167         * malloc/memusage.sh: Likewise.
16168         * malloc/memusagestat.c: Likewise.
16169         * malloc/mtrace.pl: Likewise.
16170         * nscd/nscd.c: Likewise.
16171         * nss/getent.c: Likewise.
16172         * nss/makedb.c: Likewise.
16173         * posix/getconf.c: Likewise.
16175 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16177         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16178         numbers.
16180 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
16182         * math/bits/mathcalls.h (modf): Use __nonnull.
16184 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16186         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16187         (split): Use macro CN instead of the bare value.
16188         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16189         could be used.
16190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16191         instead of the bare value.
16192         (power1): Likewise.
16194 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16196         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16197         __ATAN_TWOM.
16198         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16200         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16201         their values.
16202         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16203         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16204         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16205         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16207 2012-12-28  Andreas Jaeger  <aj@suse.de>
16209         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
16210         values are from Linux 3.7.
16212         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16213         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
16215 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16217         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16218         TRUE case.
16220         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16221         (norm): Likewise.
16222         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16223         variables with preprocessor constants.
16224         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16225         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16226         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16228 2012-12-27  Bruno Haible  <bruno@clisp.org>
16230         [BZ #14317]
16231         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16232         only if needed.
16234 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16236         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16237         and use variable directly.
16238         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16240         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16241         MPONE.
16242         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16243         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16244         variable MPONE.
16245         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16247         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16248         include directive.  Remove local variable MPONE.
16249         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16250         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16251         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16253 2012-12-25  David S. Miller  <davem@davemloft.net>
16255         * version.h (RELEASE): Set to "development".
16256         (VERSION): Set to "2.17.90".
16257         * NEWS: Add 2.18 section.
16259 2012-12-21  David S. Miller  <davem@davemloft.net>
16261         * po/hr.po: Update from translation team.
16263 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16265         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16267 2012-12-19  Steve Ellcey  <sellcey@mips.com>
16269         * NEWS:  Mention new memcpy for MIPS.
16271 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16273         * manual/contrib.texi (Contributors): Spelling correction.
16275 2012-12-15  David S. Miller  <davem@davemloft.net>
16277         * po/ru.po: Update from translation team.
16279 2012-12-13  David S. Miller  <davem@davemloft.net>
16281         * NEWS: Mention IFUNC testsuite enhancements.
16283         * po/pl.po: Update from translation team.
16284         * po/bg.po: Likewise.
16286         * manual/contrib.texi (Contributors): Update entries for Hongjiu
16287         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
16289 2012-12-11  David S. Miller  <davem@davemloft.net>
16291         * po/sv.po: Update from translation team.
16293         * po/vi.po: Update from translation team.
16295         * po/cs.po: Update from translation team.
16297         * po/de.po: Update from translation team.
16298         * po/eo.po: Likewise.
16299         * po/nl.po: Likewise.
16301 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16303         [BZ #14246]
16304         * manual/argp.texi (Argp Helper Functions): Move node to follow
16305         Argp Parsing State.
16307         [BZ #14872]
16308         * manual/conf.texi (Limits on File System Capacity): Mention if
16309         terminating null is included in the max size.
16311 2012-12-10  Andreas Jaeger  <aj@suse.de>
16313         * po/cs.po: Update from translation team.
16315 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16317         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16318         void pointer and cast to uintptr_t.
16319         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16320         path.
16321         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16322         * sysdeps/s390/s390-64/memset.S: Likewise.
16324 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
16326         [BZ #14833]
16327         * menual/message.texi (Message Translation): Fix typos.
16328         (Helper programs for gettext): Likewise.
16330 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
16332         [BZ #14898]
16333         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16334         Change to -1.
16336 2012-12-07  David S. Miller  <davem@davemloft.net>
16338         * po/libc.pot: Update.
16340 2012-12-07  Richard Henderson  <rth@redhat.com>
16342         [BZ #10114]
16343         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16344         normal/normal case to before the switch.
16345         (_FP_DIV): Likewise.
16347 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
16348             Mike Frysinger  <vapier@gentoo.org>
16350         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16351         check for __NR_fadvise64_64.
16353 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
16355         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16356         0, not just to plain "0" as a statement.
16357         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16358         with cw.
16360 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
16362         * NEWS: Use sourceware.org in Bugzilla URL.
16364 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16367         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16369         * stdio-common/tst-put-error.c (do_test): Add newline to the
16370         padded test to ensure flush.
16372 2012-12-05  Jeff Law  <law@redhat.com>
16374         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16376 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16378         * README: Don't refer to ports add-on as distributed separately.
16379         Mention AArch64 in list of systems supported in the ports add-on.
16381         * LICENSES: Add more non-FSF copyright and license notices.
16383         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16384         ((unused)).
16386         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16388         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16389         10000 as width of padded output.
16391 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16393         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16395         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16396         variable LX with __attribute__ ((unused)).
16397         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16398         Likewise.
16399         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16400         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16401         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16402         with __attribute__ ((unused)).
16404 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16406         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16408 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16410         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16411         (CFLAGS-nldbl-acos.c): New variable.
16412         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16413         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16414         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16415         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16416         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16417         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16418         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16419         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16420         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16421         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16422         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16423         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16424         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16425         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16426         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16427         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16428         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16429         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16430         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16431         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16432         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16433         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16434         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16435         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16436         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16437         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16438         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16439         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16440         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16441         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16442         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16443         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16444         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16445         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16446         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16447         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16448         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16449         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16450         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16451         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16452         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16453         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16454         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16455         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16456         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16457         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16458         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16459         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16460         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16461         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16462         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16463         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16464         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16465         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16466         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16467         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16468         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16469         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16470         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16471         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16472         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16473         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16474         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16475         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16476         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16477         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16478         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16479         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16480         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16481         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16482         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16483         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16484         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16485         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16486         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16487         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16488         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16489         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16490         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16491         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16492         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16493         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16494         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16495         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16496         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16497         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16498         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16499         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16500         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16501         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16502         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16503         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16504         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16505         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16506         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16507         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16508         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16511         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16513         [BZ #14914]
16514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16515         whole low double instead of just low 47 bits when splitting values
16516         into two parts.
16518 2012-12-03  Allan McRae  <allan@archlinux.org>
16520         * manual/stdio.texi (Predefined Printf Handlers): Remove
16521         @hsep and @vsep usage.
16523 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16525         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16526         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16528 2012-12-03  Jeff Law  <law@redhat.com>
16530         * time/sys/time.h (settimeofday): Do not mark TV argument
16531         as __nonnull.
16533 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16535         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16536         when currently writing and seek to current position when not.
16537         * libio/Makefile (tests): Remove bug-fclose1.
16538         * libio/bug-fclose1.c: Delete.
16540 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16542         * manual/arith.texi (feenableexcept): Fix typo.
16543         (fedisableexcept): Likewise.
16545 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16547         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16548         second, differently-typed declaration, rather than a cast.
16550 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16552         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16553         * include/rpc/svc.h: ... here.
16555 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16557         [BZ #13013]
16558         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16559         depending n and resplen2 to catch cases where answer
16560         equals answerp2.
16562 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16564         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16565         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16567 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16569         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16571 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16573         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16575 2012-11-28  Jeff Law  <law@redhat.com>
16577         [BZ #13761]
16578         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16579         dataset_temporary.  Track alloca usage into alloca_used.
16580         If dataset is large allocate and release it via malloc/free.
16582 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16584         [BZ #14197]
16585         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16587 2012-11-28  David S. Miller  <davem@davemloft.net>
16589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16591 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16593         [BZ #14803]
16594         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16595         of pi/2 rounded to nearest to 64 bits.
16596         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16597         nearest to 64 bits.
16598         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16599         bits.
16601 2012-11-28  Jeff Law <law@redhat.com>
16602             Martin Osvald <mosvald@redhat.com>
16604         [BZ #14889]
16605         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16606         * sunrpc/svc.c: Include time.h.
16607         (__svc_accept_failed): New function.
16608         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16609         any reason other than EINTR, call __svc_accept_failed.
16610         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16611         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16613 2012-11-28  Andreas Schwab  <schwab@suse.de>
16615         * scripts/abilist.awk: Also handle indirect functions in .opd
16616         section.
16618 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16620         [BZ #13881]
16621         * sysdeps/x86/fpu/powl_helper.c: New file.
16622         * sysdeps/x86/fpu/Makefile: Likewise.
16623         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16624         (p3): New object.
16625         (__ieee754_powl): Use __powl_helper for finite arguments except
16626         integer exponents below 8.
16627         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16628         (p3): New object.
16629         (__ieee754_powl): Use __powl_helper for finite arguments except
16630         integer exponents below 8.
16631         * math/libm-test.inc (pow_test): Add more tests and enable some
16632         previously disabled tests.
16633         * sysdeps/i386/fpu/libm-test-ulps: Update.
16634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16636 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16637             Carlos O'Donell  <carlos_odonell@mentor.com>
16639         * nss/makedb.c (is_prime): Assert that input is odd and greater
16640         than 4.  Note that fact in a comment too.
16641         (next_prime): Add 4 to input.
16643 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16645         [BZ #11741]
16646         * libio/Makefile (tests): Add test case tst-fwrite-error.
16647         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16648         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16649         * libio/tst-fwrite-error.c: New test case.
16651 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16653         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16654         before casting to void *.
16655         * include/libc-internal.h (__pointer_type): New macro.
16656         (__integer_if_pointer_type_sub): Likewise.
16657         (__integer_if_pointer_type): Likewise.
16658         (cast_to_integer): Likewise.
16659         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16660         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16661         before casting to atomic64_t.
16662         (atomic_exchange_acq): Likewise.
16663         (__arch_exchange_and_add_body): Likewise.
16664         (__arch_add_body): Likewise.
16665         (atomic_add_negative): Likewise.
16666         (atomic_add_zero): Likewise.
16668 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16670         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16671         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16672         (add_fdes): Likewise.
16673         (linear_search_fdes): Likewise.
16674         (binary_search_unencoded_fdes): Likewise.
16676 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16678         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16680 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16682         * configure.in: Autodetect C++ header directories.
16683         * configure: Regenerated.
16685 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16687         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16689 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16693 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16695         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16696         LDBL_MANT_DIG == 106]: Disable some tests.
16697         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16698         Likewise.
16699         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16700         Likewise.
16702         [BZ #14871]
16703         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16704         input for small inputs.  Return +/- pi/2 for large inputs.
16705         * math/libm-test.inc (atan_test): Add more tests.
16707         * sysdeps/generic/unwind-dw2-fde-glibc.c
16708         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16709         __attribute__ ((unused)).
16711         [BZ #14645]
16712         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16713         x * y if x and y are nonzero and z is zero.
16715         [BZ #14811]
16716         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16717         nonzero exponents with absolute value below 0x1p-117 to +/-
16718         0x1p-117.
16720         [BZ #14869]
16721         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16722         up arguments below 2**-450, not just those below 2**-500.
16723         * math/libm-test.inc (hypot_test): Add another test.
16725         [BZ #14868]
16726         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16727         Return a+b for ratio over 2**120, not 2**60.
16728         * math/libm-test.inc (hypot_test): Add another test.
16730         * math/libm-test.inc (clog_test): Use
16731         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16732         (clog10_test): Likewise.
16734         [BZ #6778]
16735         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16737 2012-11-22  Andreas Schwab  <schwab@suse.de>
16739         * sysdeps/i386/fpu/libm-test-ulps: Update.
16741 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16743         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16744         printf output with newline.
16746 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16748         [BZ #14865]
16749         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16750         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16751         -z nodlopen, -z initfirst and -z execstack support.
16752         * configure: Regenerated.
16754         * elf/elf.h (DF_1_NODIRECT): New macro.
16755         (DF_1_IGNMULDEF): Likewise.
16756         (DF_1_NOKSYMS): Likewise.
16757         (DF_1_NOHDR): Likewise.
16758         (DF_1_EDITED): Likewise.
16759         (DF_1_NORELOC): Likewise.
16760         (DF_1_SYMINTPOSE): Likewise.
16761         (DF_1_GLOBAUDIT): Likewise.
16762         (DF_1_SINGLETON): Likewise.
16763         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16764         DT_1_SUPPORTED_MASK bits.
16765         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16767 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16769         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16771 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16773         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16774         macro.
16776         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16777         (sendmmsg): Move declarations...
16778         * socket/sys/socket.h: ... here.
16779         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16780         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16781         include it from...
16782         * socket/recvmmsg.c: ... this new file.
16783         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16784         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16785         definition of __sendmmsg hidden.
16786         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16787         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16788         Move ENOSYS stub into and include it from...
16789         * socket/sendmmsg.c: ... this new file.
16790         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16791         (sysdep_routines): Move recvmmsg and sendmmsg...
16792         * socket/Makefile (routines): ... here.
16793         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16794         (GLIBC_PRIVATE): Add __sendmmsg.
16795         * include/sys/socket.h (__sendmmsg): Add declarations.
16796         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16797         sendmmsg.
16799 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16801         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16802         variable I1 with __attribute__ ((unused)).
16803         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16805 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16807         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16808         DUMMY variables with __attribute__ ((unused)).
16810         * bits/byteswap.h: Include <bits/types.h>.
16811         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16813 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16815         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16816         string_t.  Do not manually set errno.
16817         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16818         length with __strnlen.  Make sure to both set errno and return it on
16819         failure.
16821 2012-11-19  David S. Miller  <davem@davemloft.net>
16823         With help from Joseph Myers.
16824         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16825         very large arguments properly.
16826         * math/libm-test.inc (atan_test): New tests.
16827         (atan2_test): New tests.
16828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16831 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16833         [BZ #14856]
16834         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16835         Define to 3.
16837         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16838         [POSIX] (EADDRNOTAVAIL): Likewise.
16839         [POSIX] (EAFNOSUPPORT): Likewise.
16840         [POSIX] (EALREADY): Likewise.
16841         [POSIX] (ECONNABORTED): Likewise.
16842         [POSIX] (ECONNREFUSED): Likewise.
16843         [POSIX] (ECONNRESET): Likewise.
16844         [POSIX] (EDESTADDRREQ): Likewise.
16845         [POSIX] (EDQUOT): Likewise.
16846         [POSIX] (EHOSTUNREACH): Likewise.
16847         [POSIX] (EIDRM): Likewise.
16848         [POSIX] (EISCONN): Likewise.
16849         [POSIX] (ELOOP): Likewise.
16850         [POSIX] (EMULTIHOP): Likewise.
16851         [POSIX] (ENETDOWN): Likewise.
16852         [POSIX] (ENETUNREACH): Likewise.
16853         [POSIX] (ENOBUFS): Likewise.
16854         [POSIX] (ENODATA): Likewise.
16855         [POSIX] (ENOLINK): Likewise.
16856         [POSIX] (ENOMSG): Likewise.
16857         [POSIX] (ENOPROTOOPT): Likewise.
16858         [POSIX] (ENOSR): Likewise.
16859         [POSIX] (ENOSTR): Likewise.
16860         [POSIX] (ENOTCONN): Likewise.
16861         [POSIX] (ENOTSOCK): Likewise.
16862         [POSIX] (EOPNOTSUPP): Likewise.
16863         [POSIX] (EOVERFLOW): Likewise.
16864         [POSIX] (EPROTO): Likewise.
16865         [POSIX] (EPROTONOSUPPORT): Likewise.
16866         [POSIX] (EPROTOTYPE): Likewise.
16867         [POSIX] (ESTALE): Likewise.
16868         [POSIX] (ETIME): Likewise.
16869         [POSIX] (ETXTBSY): Likewise.
16870         [POSIX] (EWOULDBLOCK): Likewise.
16871         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16872         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16873         [POSIX] (SEEK_CUR): Likewise.
16874         [POSIX] (SEEK_END): Likewise.
16875         [POSIX || UNIX98] (mode_t): Do not require.
16876         [POSIX] (off_t): Likewise.
16877         [POSIX] (pid_t): Likewise.
16878         [POSIX] (sys/stat.h): Do not allow header.
16879         [POSIX] (unistd.h): Likewise.
16880         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16881         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16882         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16883         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16884         require.
16885         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16886         sigevent): Specify elements.
16887         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16888         entry.
16889         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16890         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16892         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16893         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16894         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16895         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16896         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16897         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16898         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16899         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16900         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16901         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16902         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16903         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16904         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16905         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16906         Likewise.
16907         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16908         Likewise.
16909         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16910         Likewise.
16911         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16912         Likewise.
16913         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16914         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16915         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16916         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16917         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16918         Specify lower bound on value.
16919         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16920         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16921         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16922         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16923         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16924         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16925         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16926         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16927         value.
16928         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16929         as optional.
16930         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16931         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16932         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16933         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16934         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16935         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16936         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16937         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16938         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16939         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16940         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16941         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16942         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16943         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16944         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16945         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16946         entry.
16947         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16948         optional.
16949         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16950         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16951         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16952         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16953         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16954         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16955         Likewise.
16956         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16957         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16958         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16959         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16960         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16961         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16962         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16963         as optional.
16964         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16965         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16966         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16967         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16968         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16969         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16970         specify as optional.
16971         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16972         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16973         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16974         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16975         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16976         [XPG3] (NL_LANGMAX): Likewise.
16977         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16978         [POSIX || XPG3] (NL_NMAX): Likewise.
16979         [POSIX || XPG3] (NL_SETMAX): Likewise.
16980         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16981         [XPG3] (NZERO): Likewise.
16982         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16983         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16984         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16985         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16986         (REG_ERANGE): Expect.
16987         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16988         optional-constant.
16989         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16990         Use (void) in prototype.
16991         [POSIX] (*_t): Allow.
16992         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16993         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16994         (WRDE_BADVAL): Expect.
16996         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16997         expect.
16998         [XPG3 || XPG4] (O_RSYNC): Likewise.
16999         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17000         Likewise.
17001         [XPG3 || XPG4] (pthread_sigmask): Likewise.
17002         [XPG3 || XPG4] (sigqueue): Likewise.
17003         [XPG3 || XPG4] (sigtimedwait): Likewise.
17004         [XPG3 || XPG4] (sigwaitinfo): Likewise.
17005         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17006         [XPG3 || XPG4] (vsnprintf): Likewise.
17007         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17008         Likewise.
17009         [XPG3 || XPG4] (blksize_t): Likewise.
17010         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17011         Likewise.
17012         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17013         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17014         [XPG3 || XPG4] (struct itimerspec): Likewise.
17015         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17016         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17017         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17018         [XPG3 || XPG4] (clockid_t): Likewise.
17019         [XPG3 || XPG4] (timer_t): Likewise.
17020         [XPG3 || XPG4] (clock_getres): Likewise.
17021         [XPG3 || XPG4] (clock_gettime): Likewise.
17022         [XPG3 || XPG4] (clock_settime): Likewise.
17023         [XPG3 || XPG4] (nanosleep): Likewise.
17024         [XPG3 || XPG4] (timer_create): Likewise.
17025         [XPG3 || XPG4] (timer_delete): Likewise.
17026         [XPG3 || XPG4] (timer_gettime): Likewise.
17027         [XPG3 || XPG4] (timer_getoverrun): Likewise.
17028         [XPG3 || XPG4] (timer_settime): Likewise.
17029         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17030         [XPG3 || XPG4] (getlogin_r): Likewise.
17031         [XPG3 || XPG4] (pread): Likewise.
17032         [XPG3 || XPG4] (pthread_atfork): Likewise.
17033         [XPG3 || XPG4] (pwrite): Likewise.
17035         [BZ #14835]
17036         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17037         <bits/siginfo.h>.
17039 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
17041         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17042         finalizing MALLSTREAM.
17044         * sysdeps/mach/hurd/syncfs.c: New file.
17046 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17048         [BZ #14719]
17049         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17050         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17051         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17052         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17053         (_nss_dns_gethostbyname4_r): Likewise.
17054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17055         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17057 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
17059         [BZ #13763]
17060         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17062 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
17064         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17065         * elf/cache.c (print_entry): Print ",AArch64" for
17066         FLAG_AARCH64_LIB64
17068         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17069         * elf/cache.c (print_entry): Print ",hard-float" for
17070         FLAG_ARM_LIBHF.
17072 2012-11-18  David S. Miller  <davem@davemloft.net>
17074         With help from Joseph Myers.
17075         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17076         cutoff to 2**-13.
17077         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17078         cutoff to 2**-25.
17079         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17080         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17081         small.
17082         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17083         * math/libm-test.inc (y0_test): New tests.
17084         (y1_test): New tests.
17085         * sysdeps/i386/fpu/libm-test-ulps: Update.
17086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17089 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
17091         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17092         64-bit targets.
17093         * configure: Regenerated.
17095 2012-11-17  David S. Miller  <davem@davemloft.net>
17097         [BZ #14811]
17098         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17099         nonzero exponents with absolute value below 0x1p-128 to +/-
17100         0x1p-128.
17102 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
17104         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17106         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17108         * posix/getconf-speclist.c: New file.
17109         * posix/posix-envs.def: Likewise.
17110         * posix/confstr.c (START_ENV_GROUP): New macro.
17111         (END_ENV_GROUP): Likewise.
17112         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17113         (KNOWN_PRESENT_ENV_STRING): Likewise.
17114         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17115         (UNKNOWN_ENVIRONMENT): Likewise.
17116         (confstr): Include posix-envs.def instead of handling
17117         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17118         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17119         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17120         (END_ENV_GROUP): Likewise.
17121         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17122         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17123         (UNKNOWN_ENVIRONMENT): Likewise.
17124         (__sysconf): Include posix-envs.def instead of handling associated
17125         cases directly here.
17126         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17127         preprocessing getconf-speclist.c rather than running getconf or
17128         generating empty file.
17130 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
17132         * scripts/check-local-headers.sh: Ignore 'mach' headers.
17134 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
17136         [BZ #14672]
17137         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17139 2012-11-16  David S. Miller  <davem@davemloft.net>
17141         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17142         smaller than LDBL_EPSILON/2.0L, just return xm1.
17144 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
17146         * elf/tst-array1.c (init): Set constructor priority to 1000.
17147         (fini): Set destructor priority to 1000.
17148         * elf/tst-array2dep.c: Likewise.
17150 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17152         [BZ #11741]
17153         * libio/fileops.c (_IO_new_file_write): Correctly return error.
17154         (_IO_new_file_xsputn): Also return EOF if none of the input
17155         data was written when overflow failed.
17156         * libio/iopadn.c (_IO_padn): Likewise.
17157         * libio/iowpadn.c (_IO_wpadn): Likewise.
17158         * stdio-common/tst-put-error.c: Add copyright notice.
17159         (do_test): Add case for printing padded string.
17160         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17161         _IO_padn returned error.
17162         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17163         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17164         return EOF.
17166 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17168         * libio/libioP.h: Add comment note that the references to C++
17169         bits are now obsolete.
17171 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17173         * math/libm-test.inc (check_complex): Use asprintf.
17175 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
17177         * debug/pcprofiledump.c (print_version): Update copyright year.
17178         * malloc/memusagestat.c (print_version): Likewise.
17180 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17182         [BZ #14831]
17183         * elf/Makefile (tests): Add tst-audit8.
17184         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17185         ($(objpfx)tst-audit8.out): New target.
17186         (tst-audit8-ENV): New variable.
17187         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17188         audit if l_reloc_result is NULL.
17189         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17190         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17191         * elf/tst-audit8.c: New file.
17193 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17195         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17196         * misc/Makefile (CFLAGS-select.c): Define.
17197         * posix/Makefile (CFLAGS-pause.c): Define.
17199 2012-11-13  David S. Miller  <davem@davemloft.net>
17201         * crypt/Makefile: Move test targets after toplevel Rules
17202         inclusion.  Grab any necessary sysdep routines when linking.
17203         * crypt/md5.c (md5_process_block): Remove define, we will always
17204         name it __md5_process_block.
17205         (md5_finish_ctx): Update md5_process_block call.
17206         (md5_stream): Likewise.
17207         (md5_process_bytes): Likewise.
17208         (md5_process_block): Rename to __md5_process_block and move to ...
17209         * crypt/md5-block.c: ... here.
17210         * crypt/sha256.c (sha256_process_block): Move to ...
17211         * crypt/sha256-block.c: ... here.
17212         * crypt/sha512.c (sha512_process_block): Move to ...
17213         * crypt/sha512-block.c: ... here.
17214         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17215         path.
17216         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17217         * sysdeps/sparc/sparc64/multiarch/Makefile
17218         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17219         crypt subdir.
17220         (localedef-aux): Add md5 crypto assembler when in locale subdir.
17221         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17222         multiarch changes.
17223         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17224         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17225         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17226         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17227         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17228         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17229         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17230         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17231         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17232         file.
17233         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17234         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17235         file.
17236         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17238 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
17240         * timezone/tzselect.ksh: Update from tzcode git revision
17241         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17242         * timezone/zdump.c: Likewise.
17243         * timezone/zic.c: Likewise.
17244         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17245         in TZVERSION setting, not $(PKGVERSION).
17246         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
17247         REPORT_BUGS_TO settings.
17249         [BZ #14838]
17250         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17251         macro.
17253 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17255         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17256         detection to immediately after _FP_ROUND().
17257         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17258         bits are 0.
17260 2012-11-11  David S. Miller  <davem@davemloft.net>
17262         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17263         inttypes.h
17264         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17265         __close rather than their public counterparts.
17267 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
17269         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17270         file.
17271         [UNIX98] (sem_timedwait): Do not expect.
17272         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17273         [XPG4 || UNIX98] (sockatmark): Do not expect.
17274         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17275         (clock_getcpuclockid): Do not expect.
17276         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17277         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17278         Do not expect.
17279         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17280         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17281         [UNIX98] (vwscanf): Likewise.
17282         [UNIX98] (vswscanf): Likewise.
17284 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
17286         * timezone/version.h: Remove file.
17287         * timezone/README: Do not refer to version.h.
17288         * timezone/Makefile ($(objpfx)zic.o): New dependency on
17289         $(objpfx)version.h.
17290         ($(objpfx)zdump.o): Likewise.
17291         ($(objpfx)version.h): New target.
17293         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17294         2012i.
17295         * timezone/README: Don't mention modification to tzselect.ksh.
17296         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17297         work on unmodified tzselect.ksh.  Substitute version numbers in
17298         tzselect.ksh.
17300         * Makefile (format-me): Remove.
17301         (INSTALL): Adjust indentation.  Use commands directly instead of
17302         using $(format-me).
17304         * aclocal.m4 (ACX_PKGVERSION): New macro.
17305         (ACX_BUGURL): Likewise.
17306         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17307         (PKGVERSION): New AC_DEFINE_UNQUOTED.
17308         (REPORT_BUGS_TO): Likewise.
17309         * configure: Regenerated.
17310         * config.h.in (PKGVERSION): New macro.
17311         (REPORT_BUGS_TO): Likewise.
17312         * config.make.in (PKGVERSION): New variable.
17313         (PKGVERSION_TEXI): Likewise.
17314         (REPORT_BUGS_TO): Likewise.
17315         (REPORT_BUGS_TEXI): Likewise.
17316         * Makefile (format-me): Use -I$(common-objpfx)manual.
17317         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17318         ($(common-objpfx)manual/%): New target.
17319         (manual/%): Remove target.
17320         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17321         (print_version): Use PKGVERSION.
17322         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17323         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17324         and REPORT_BUGS_TO.
17325         ($(objpfx)xtrace): Likewise.
17326         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17327         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17328         (print_version): Use PKGVERSION.
17329         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17330         (do_version): Use PKGVERSION.
17331         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17332         REPORT_BUGS_TO.
17333         (common-ldd-rewrite): Likewise.
17334         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17335         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17336         (print_version): Use PKGVERSION.
17337         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17338         * elf/pldd.c (argp_program_bug_address): Remove variable.
17339         (more_help): New function.
17340         (argp): Use more_help.
17341         (print_version): Use PKGVERSION.
17342         * elf/sln.c (main): Use PKGVERSION.
17343         (usage): Use REPORT_BUGS_TO.
17344         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17345         (top level): Use PKGVERSION.
17346         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17347         (print_version): Use PKGVERSION.
17348         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17349         (print_version): Use PKGVERSION.
17350         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17351         (print_version): Use PKGVERSION.
17352         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17353         (print_version): Use PKGVERSION.
17354         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17355         (print_version): Use PKGVERSION.
17356         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17357         (print_version): Use PKGVERSION.
17358         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17359         and BUGURL.
17360         ($(objpfx)memusage): Likewise.
17361         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17362         (do_version): Use PKGVERSION.
17363         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17364         (print_version): Use PKGVERSION.
17365         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17366         ($PKGVERSION): New variable.
17367         ($REPORT_BUGS_TO): Likewise.
17368         (usage): Use $REPORT_BUGS_TO.
17369         (top level): Use $PKGVERSION.
17370         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17371         ($(objpfx)pkgvers.texi): New rule.
17372         ($(objpfx)stamp-pkgvers): Likewise.
17373         * manual/install.texi: Include pkgvers.texi.
17374         (--with-pkgversion): Document new configure option.
17375         (--with-bugurl): Likewise.
17376         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17377         than necessarily for this particular distribution.  Use
17378         REPORT_BUGS_TO for where to report bugs.
17379         * INSTALL: Regenerated.
17380         * manual/libc.texinfo: Include pkgvers.texi.
17381         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17382         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17383         (print_version): Use PKGVERSION.
17384         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17385         (print_version): Use PKGVERSION.
17386         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17387         (print_version): Use PKGVERSION.
17388         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17389         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17390         macro.
17391         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17392         (print_version): Use PKGVERSION.
17393         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17394         (print_version): Use PKGVERSION.
17395         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17396         and PKGVERSION.
17398         * timezone/checktab.awk: Update from tzcode 2012i.
17399         * timezone/ialloc.c: Likewise.
17400         * timezone/private.h: Likewise.
17401         * timezone/scheck.c: Likewise.
17402         * timezone/tzfile.h: Likewise.
17403         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17404         (TZVERSION): Hardcode tzcode version number.
17405         * timezone/zdump.c: Update from tzcode 2012i.
17406         * timezone/zic.c: Likewise.
17407         * timezone/version.h: New file.
17408         * timezone/README: Describe version.h.  Update upstream location.
17410         [BZ #14824]
17411         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17412         (mktemp): Enable declaration.
17413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17414         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17416         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17417         Likewise.
17418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17419         Likewise.
17420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17421         Likewise.
17422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17423         Likewise.
17424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17425         Likewise.
17426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17427         Likewise.
17429         [BZ #14821]
17430         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17431         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17432         for copies of such integer values.
17433         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17434         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17436 2012-11-09  Andreas Jaeger  <aj@suse.de>
17438         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17439         definitions and declarations that are provided by
17440         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17442 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17444         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17445         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17446         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17447         definition.
17449 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17451         * elf/elf.h: Update comment before AArch64 relocations.
17453 2012-11-07  David S. Miller  <davem@davemloft.net>
17455         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17456         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17457         (__start_context): Declare.
17458         (__makecontext_ret): Delete.
17459         (__makecontext): Hook up __start_context instead of
17460         __makecontext_ret.
17461         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17462         (sysdep_routines): Add __start_context when in stdlib.
17464 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17466         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17467         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17468         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17469         hardcoded "nm".
17470         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17471         (READELF): New variable.  Use it instead of hardcoded "readelf".
17473 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17475         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17476         * sysdeps/x86/Makefile: Here.
17477         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17478         * sysdeps/x86/tst-xmmymm.sh: This.
17480 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17482         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17483         expectations.
17484         [UNIX98] (pthread_barrier_t): Do not expect.
17485         [UNIX98] (pthread_barrierattr_t): Likewise.
17486         [UNIX98] (pthread_spinlock_t): Likewise.
17487         [UNIX98] (pthread_barrier_destroy): Likewise.
17488         [UNIX98] (pthread_barrier_init): Likewise.
17489         [UNIX98] (pthread_barrier_wait): Likewise.
17490         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17491         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17492         [UNIX98] (pthread_barrierattr_init): Likewise.
17493         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17494         [UNIX98] (pthread_getcpuclockid): Likewise.
17495         [UNIX98] (pthread_mutex_timedlock): Likewise.
17496         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17497         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17498         [UNIX98] (pthread_sigmask): Likewise.
17499         [UNIX98] (pthread_spin_destroy): Likewise.
17500         [UNIX98] (pthread_spin_init): Likewise.
17501         [UNIX98] (pthread_spin_lock): Likewise.
17502         [UNIX98] (pthread_spin_trylock): Likewise.
17503         [UNIX98] (pthread_spin_unlock): Likewise.
17504         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17505         Do not expect.
17506         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17507         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17508         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17509         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17510         [XPG3 || XPG4] (pthread_key_t): Likewise.
17511         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17512         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17513         [XPG3 || XPG4] (pthread_once_t): Likewise.
17514         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17515         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17516         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17517         [XPG3 || XPG4] (pthread_t): Likewise.
17519         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17520         not expect.
17521         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17523         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17524         Change function return type to int.
17526         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17527         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17528         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17529         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17530         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17531         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17532         [!POSIX] (posix_madvise): Likewise.
17533         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17534         && !UNIX98].
17535         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17536         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17537         (mode_t): Likewise.
17538         (posix_mem_offset): Likewise.
17539         (posix_typed_mem_get_info): Likewise.
17540         (posix_typed_mem_open): Likewise.
17542         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17543         Change condition to [XOPEN2K8].
17545         * conform/conformtest.pl: Preprocess allow-header data with -x c
17546         instead of from stdin.
17547         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17548         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17549         [C99-based standards] (cerfc): Likewise.
17550         [C99-based standards] (cexp2): Likewise.
17551         [C99-based standards] (cexpm1): Likewise.
17552         [C99-based standards] (clog10): Likewise.
17553         [C99-based standards] (clog1p): Likewise.
17554         [C99-based standards] (clog2): Likewise.
17555         [C99-based standards] (clgamma): Likewise.
17556         [C99-based standards] (ctgamma): Likewise.
17557         [C99-based standards] (cerff): Likewise.
17558         [C99-based standards] (cerfcf): Likewise.
17559         [C99-based standards] (cexp2f): Likewise.
17560         [C99-based standards] (cexpm1f): Likewise.
17561         [C99-based standards] (clog10f): Likewise.
17562         [C99-based standards] (clog1pf): Likewise.
17563         [C99-based standards] (clog2f): Likewise.
17564         [C99-based standards] (clgammaf): Likewise.
17565         [C99-based standards] (ctgammaf): Likewise.
17566         [C99-based standards] (cerfl): Likewise.
17567         [C99-based standards] (cerfcl): Likewise.
17568         [C99-based standards] (cexp2l): Likewise.
17569         [C99-based standards] (cexpm1l): Likewise.
17570         [C99-based standards] (clog10l): Likewise.
17571         [C99-based standards] (clog1pl): Likewise.
17572         [C99-based standards] (clog2l): Likewise.
17573         [C99-based standards] (clgammal): Likewise.
17574         [C99-based standards] (ctgammal): Likewise.
17575         * conform/data/inttypes.h-data [C99-based standards]: Include
17576         stdint.h-data.  Remove all expectations for stdint.h contents.
17577         [C99-based standards] (PRI*): Do not allow.
17578         [C99-based standards] (SCN*): Likewise.
17579         [C99-based standards] (*_t): Likewise.
17580         [C99-based-standards] (PRId8): Expect macro.
17581         [C99-based-standards] (PRIi8): Likewise.
17582         [C99-based-standards] (PRIo8): Likewise.
17583         [C99-based-standards] (PRIu8): Likewise.
17584         [C99-based-standards] (PRIx8): Likewise.
17585         [C99-based-standards] (PRIX8): Likewise.
17586         [C99-based-standards] (SCNd8): Likewise.
17587         [C99-based-standards] (SCNi8): Likewise.
17588         [C99-based-standards] (SCNo8): Likewise.
17589         [C99-based-standards] (SCNu8): Likewise.
17590         [C99-based-standards] (SCNx8): Likewise.
17591         [C99-based-standards] (PRIdLEAST8): Likewise.
17592         [C99-based-standards] (PRIiLEAST8): Likewise.
17593         [C99-based-standards] (PRIoLEAST8): Likewise.
17594         [C99-based-standards] (PRIuLEAST8): Likewise.
17595         [C99-based-standards] (PRIxLEAST8): Likewise.
17596         [C99-based-standards] (PRIXLEAST8): Likewise.
17597         [C99-based-standards] (SCNdLEAST8): Likewise.
17598         [C99-based-standards] (SCNiLEAST8): Likewise.
17599         [C99-based-standards] (SCNoLEAST8): Likewise.
17600         [C99-based-standards] (SCNuLEAST8): Likewise.
17601         [C99-based-standards] (SCNxLEAST8): Likewise.
17602         [C99-based-standards] (PRIdFAST8): Likewise.
17603         [C99-based-standards] (PRIiFAST8): Likewise.
17604         [C99-based-standards] (PRIoFAST8): Likewise.
17605         [C99-based-standards] (PRIuFAST8): Likewise.
17606         [C99-based-standards] (PRIxFAST8): Likewise.
17607         [C99-based-standards] (PRIXFAST8): Likewise.
17608         [C99-based-standards] (SCNdFAST8): Likewise.
17609         [C99-based-standards] (SCNiFAST8): Likewise.
17610         [C99-based-standards] (SCNoFAST8): Likewise.
17611         [C99-based-standards] (SCNuFAST8): Likewise.
17612         [C99-based-standards] (SCNxFAST8): Likewise.
17613         [C99-based-standards] (PRId16): Likewise.
17614         [C99-based-standards] (PRIi16): Likewise.
17615         [C99-based-standards] (PRIo16): Likewise.
17616         [C99-based-standards] (PRIu16): Likewise.
17617         [C99-based-standards] (PRIx16): Likewise.
17618         [C99-based-standards] (PRIX16): Likewise.
17619         [C99-based-standards] (SCNd16): Likewise.
17620         [C99-based-standards] (SCNi16): Likewise.
17621         [C99-based-standards] (SCNo16): Likewise.
17622         [C99-based-standards] (SCNu16): Likewise.
17623         [C99-based-standards] (SCNx16): Likewise.
17624         [C99-based-standards] (PRIdLEAST16): Likewise.
17625         [C99-based-standards] (PRIiLEAST16): Likewise.
17626         [C99-based-standards] (PRIoLEAST16): Likewise.
17627         [C99-based-standards] (PRIuLEAST16): Likewise.
17628         [C99-based-standards] (PRIxLEAST16): Likewise.
17629         [C99-based-standards] (PRIXLEAST16): Likewise.
17630         [C99-based-standards] (SCNdLEAST16): Likewise.
17631         [C99-based-standards] (SCNiLEAST16): Likewise.
17632         [C99-based-standards] (SCNoLEAST16): Likewise.
17633         [C99-based-standards] (SCNuLEAST16): Likewise.
17634         [C99-based-standards] (SCNxLEAST16): Likewise.
17635         [C99-based-standards] (PRIdFAST16): Likewise.
17636         [C99-based-standards] (PRIiFAST16): Likewise.
17637         [C99-based-standards] (PRIoFAST16): Likewise.
17638         [C99-based-standards] (PRIuFAST16): Likewise.
17639         [C99-based-standards] (PRIxFAST16): Likewise.
17640         [C99-based-standards] (PRIXFAST16): Likewise.
17641         [C99-based-standards] (SCNdFAST16): Likewise.
17642         [C99-based-standards] (SCNiFAST16): Likewise.
17643         [C99-based-standards] (SCNoFAST16): Likewise.
17644         [C99-based-standards] (SCNuFAST16): Likewise.
17645         [C99-based-standards] (SCNxFAST16): Likewise.
17646         [C99-based-standards] (PRId32): Likewise.
17647         [C99-based-standards] (PRIi32): Likewise.
17648         [C99-based-standards] (PRIo32): Likewise.
17649         [C99-based-standards] (PRIu32): Likewise.
17650         [C99-based-standards] (PRIx32): Likewise.
17651         [C99-based-standards] (PRIX32): Likewise.
17652         [C99-based-standards] (SCNd32): Likewise.
17653         [C99-based-standards] (SCNi32): Likewise.
17654         [C99-based-standards] (SCNo32): Likewise.
17655         [C99-based-standards] (SCNu32): Likewise.
17656         [C99-based-standards] (SCNx32): Likewise.
17657         [C99-based-standards] (PRIdLEAST32): Likewise.
17658         [C99-based-standards] (PRIiLEAST32): Likewise.
17659         [C99-based-standards] (PRIoLEAST32): Likewise.
17660         [C99-based-standards] (PRIuLEAST32): Likewise.
17661         [C99-based-standards] (PRIxLEAST32): Likewise.
17662         [C99-based-standards] (PRIXLEAST32): Likewise.
17663         [C99-based-standards] (SCNdLEAST32): Likewise.
17664         [C99-based-standards] (SCNiLEAST32): Likewise.
17665         [C99-based-standards] (SCNoLEAST32): Likewise.
17666         [C99-based-standards] (SCNuLEAST32): Likewise.
17667         [C99-based-standards] (SCNxLEAST32): Likewise.
17668         [C99-based-standards] (PRIdFAST32): Likewise.
17669         [C99-based-standards] (PRIiFAST32): Likewise.
17670         [C99-based-standards] (PRIoFAST32): Likewise.
17671         [C99-based-standards] (PRIuFAST32): Likewise.
17672         [C99-based-standards] (PRIxFAST32): Likewise.
17673         [C99-based-standards] (PRIXFAST32): Likewise.
17674         [C99-based-standards] (SCNdFAST32): Likewise.
17675         [C99-based-standards] (SCNiFAST32): Likewise.
17676         [C99-based-standards] (SCNoFAST32): Likewise.
17677         [C99-based-standards] (SCNuFAST32): Likewise.
17678         [C99-based-standards] (SCNxFAST32): Likewise.
17679         [C99-based-standards] (PRId64): Likewise.
17680         [C99-based-standards] (PRIi64): Likewise.
17681         [C99-based-standards] (PRIo64): Likewise.
17682         [C99-based-standards] (PRIu64): Likewise.
17683         [C99-based-standards] (PRIx64): Likewise.
17684         [C99-based-standards] (PRIX64): Likewise.
17685         [C99-based-standards] (SCNd64): Likewise.
17686         [C99-based-standards] (SCNi64): Likewise.
17687         [C99-based-standards] (SCNo64): Likewise.
17688         [C99-based-standards] (SCNu64): Likewise.
17689         [C99-based-standards] (SCNx64): Likewise.
17690         [C99-based-standards] (PRIdLEAST64): Likewise.
17691         [C99-based-standards] (PRIiLEAST64): Likewise.
17692         [C99-based-standards] (PRIoLEAST64): Likewise.
17693         [C99-based-standards] (PRIuLEAST64): Likewise.
17694         [C99-based-standards] (PRIxLEAST64): Likewise.
17695         [C99-based-standards] (PRIXLEAST64): Likewise.
17696         [C99-based-standards] (SCNdLEAST64): Likewise.
17697         [C99-based-standards] (SCNiLEAST64): Likewise.
17698         [C99-based-standards] (SCNoLEAST64): Likewise.
17699         [C99-based-standards] (SCNuLEAST64): Likewise.
17700         [C99-based-standards] (SCNxLEAST64): Likewise.
17701         [C99-based-standards] (PRIdFAST64): Likewise.
17702         [C99-based-standards] (PRIiFAST64): Likewise.
17703         [C99-based-standards] (PRIoFAST64): Likewise.
17704         [C99-based-standards] (PRIuFAST64): Likewise.
17705         [C99-based-standards] (PRIxFAST64): Likewise.
17706         [C99-based-standards] (PRIXFAST64): Likewise.
17707         [C99-based-standards] (SCNdFAST64): Likewise.
17708         [C99-based-standards] (SCNiFAST64): Likewise.
17709         [C99-based-standards] (SCNoFAST64): Likewise.
17710         [C99-based-standards] (SCNuFAST64): Likewise.
17711         [C99-based-standards] (SCNxFAST64): Likewise.
17712         [C99-based-standards] (PRIdMAX): Likewise.
17713         [C99-based-standards] (PRIiMAX): Likewise.
17714         [C99-based-standards] (PRIoMAX): Likewise.
17715         [C99-based-standards] (PRIuMAX): Likewise.
17716         [C99-based-standards] (PRIxMAX): Likewise.
17717         [C99-based-standards] (PRIXMAX): Likewise.
17718         [C99-based-standards] (SCNdMAX): Likewise.
17719         [C99-based-standards] (SCNiMAX): Likewise.
17720         [C99-based-standards] (SCNoMAX): Likewise.
17721         [C99-based-standards] (SCNuMAX): Likewise.
17722         [C99-based-standards] (SCNxMAX): Likewise.
17723         [C99-based-standards] (PRIdPTR): Likewise.
17724         [C99-based-standards] (PRIiPTR): Likewise.
17725         [C99-based-standards] (PRIoPTR): Likewise.
17726         [C99-based-standards] (PRIuPTR): Likewise.
17727         [C99-based-standards] (PRIxPTR): Likewise.
17728         [C99-based-standards] (PRIXPTR): Likewise.
17729         [C99-based-standards] (SCNdPTR): Likewise.
17730         [C99-based-standards] (SCNiPTR): Likewise.
17731         [C99-based-standards] (SCNoPTR): Likewise.
17732         [C99-based-standards] (SCNuPTR): Likewise.
17733         [C99-based-standards] (SCNxPTR): Likewise.
17734         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17735         allow.
17736         * conform/data/stdint.h-data: Update comments to clarify
17737         requirements.
17738         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17739         type.
17740         [C99-based standards] (INT8_MAX): Likewise.
17741         [C99-based standards] (INT16_MIN): Likewise.
17742         [C99-based standards] (INT16_MAX): Likewise.
17743         [C99-based standards] (INT32_MIN): Likewise.
17744         [C99-based standards] (INT32_MAX): Likewise.
17745         [C99-based standards] (INT64_MIN): Likewise.
17746         [C99-based standards] (INT64_MAX): Likewise.
17747         [C99-based standards] (UINT8_MAX): Likewise.
17748         [C99-based standards] (UINT16_MAX): Likewise.
17749         [C99-based standards] (UINT32_MAX): Likewise.
17750         [C99-based standards] (UINT64_MAX): Likewise.
17751         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17752         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17753         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17754         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17755         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17756         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17757         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17758         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17759         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17760         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17761         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17762         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17763         [C99-based standards] (INT_FAST8_MIN): Likewise.
17764         [C99-based standards] (INT_FAST8_MAX): Likewise.
17765         [C99-based standards] (INT_FAST16_MIN): Likewise.
17766         [C99-based standards] (INT_FAST16_MAX): Likewise.
17767         [C99-based standards] (INT_FAST32_MIN): Likewise.
17768         [C99-based standards] (INT_FAST32_MAX): Likewise.
17769         [C99-based standards] (INT_FAST64_MIN): Likewise.
17770         [C99-based standards] (INT_FAST64_MAX): Likewise.
17771         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17772         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17773         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17774         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17775         [C99-based standards] (INTPTR_MIN): Likewise.
17776         [C99-based standards] (INTPTR_MAX): Likewise.
17777         [C99-based standards] (UINTPTR_MAX): Likewise.
17778         [C99-based standards] (INTMAX_MIN): Likewise.
17779         [C99-based standards] (INTMAX_MAX): Likewise.
17780         [C99-based standards] (UINTMAX_MAX): Likewise.
17781         [C99-based standards] (PTRDIFF_MIN): Likewise.
17782         [C99-based standards] (PTRDIFF_MAX): Likewise.
17783         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17784         [C99-based standards] (SIZE_MAX): Likewise.
17785         [C99-based standards] (WCHAR_MAX): Likewise.
17786         [C99-based standards] (WINT_MAX): Likewise.
17787         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17788         constraint on value.
17789         [C99-based standards] (WCHAR_MIN): Likewise.
17790         [C99-based standards] (WINT_MIN): Likewise.
17791         [C99-based standards] (*_t): Allow.
17792         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17793         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17794         Include math.h-data and complex.h-data.  Remove all expectations
17795         of math.h and complex.h contents.
17796         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17797         at end of line.
17798         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17799         (struct tm): Expect tag.
17800         [C99-based-standards] (wcstof): Expect function.
17801         [C99-based-standards] (wcstold): Likewise.
17802         [C99-based-standards] (wcstoll): Likewise.
17803         [C99-based-standards] (wcstoull): Likewise.
17804         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17805         macro-int-constant.  Specify type.
17806         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17807         constraint on value.
17808         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17809         Specify type.
17810         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17811         Specify value.
17812         [ISO C standards]: Do not allow headers.
17813         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17814         wcs[abcdefghijklmnopqrstuvwxyz]*.
17815         [ISO C standards] (*_t): Do not allow.
17816         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17817         Expect function.
17818         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17819         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17820         Specify type.
17821         [ISO C standards]: Do not allow headers.
17822         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17823         is[abcdefghijklmnopqrstuvwxyz]*.
17824         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17825         to[abcdefghijklmnopqrstuvwxyz]*.
17826         [ISO C standards] (*_t): Do not allow.
17827         * conform/data/stdalign.h-data: New file.
17828         * conform/data/stdbool.h-data: Likewise.
17829         * conform/data/stdnoreturn.h-data: Likewise.
17831 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17833         [BZ #14815]
17834         * manual/filesys.texi (Directory Entries): Typo fix.
17835         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17837 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17839         * elf/elf.h (EM_AARCH64): New macro.
17840         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17841         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17842         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17843         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17844         (R_AARCH64_TLSDESC): Likewise.
17845         (NT_ARM_TLS): Likewise.
17846         (NT_ARM_HW_BREAK): Likewise.
17847         (NT_ARM_HW_WATCH): Likewise.
17849 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17851         [BZ #14811]
17852         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17853         (__ieee754_powl): Saturate nonzero exponents with absolute value
17854         below 0x1p-79 to +/- 0x1p-79.
17855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17856         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17857         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17858         nonzero exponents with absolute value below 0x1p-32 to +/-
17859         0x1p-32.
17860         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17861         (__ieee754_powl): Saturate nonzero exponents with absolute value
17862         below 0x1p-79 to +/- 0x1p-79.
17863         * math/libm-test.inc (pow_test): Add more tests.
17865 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17867         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17868         _dl_s390_cap_flags with kernel. Increase string length.
17869         (_dl_s390_platforms): Add z196 and zEC12.
17871 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17873         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17874         Change XOPEN21K to XOPEN2K.
17876 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17878         * string/memmove.c: Use memcpy when possible.
17880 2012-11-06  Andreas Jaeger  <aj@suse.de>
17882         * po/eo.po: Update from translation team.
17884 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17886         [BZ #14793]
17887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17888         exponent and small x and y exponents, scale x or y up.  Increase
17889         by 2 the exponent used in scaling up.
17890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17892         * math/libm-test.inc (fma_test): Add more tests.
17893         (fma_test_towardzero): Likewise.
17894         (fma_test_downward): Likewise.
17895         (fma_test_upward): Likewise.
17897 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17899         [BZ #14805]
17900         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17901         fenv_t *.
17903         [BZ #14801]
17904         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17905         namespace for names of struct fields.
17906         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17907         fenv_t fields.
17908         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17909         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17911 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17913         [BZ #3665]
17914         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17916 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17918         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17919         PTR_DEMANGLE.
17921         [BZ #5246]
17922         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17923         PTR_DEMANGLE.
17925 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17927         [BZ #14797]
17928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17929         definitely overflow as x * y not x * y + z.
17930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17931         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17932         * math/libm-test.inc (fma_test): Add more tests.
17933         (fma_test_towardzero): Likewise.
17934         (fma_test_downward): Likewise.
17935         (fma_test_upward): Likewise.
17937 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17939         [BZ #157]
17941         * include/stub-tag.h: Remove file.
17942         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17943         '#include' of it.
17944         * manual/maint.texi (Porting): Don't reference it.
17945         * Makerules ($(objpfx)stubs): Likewise.
17946         * dirent/closedir.c: Don't include <stub-tag.h>.
17947         * dirent/dirfd.c: Likewise.
17948         * dirent/fdopendir.c: Likewise.
17949         * dirent/getdents.c: Likewise.
17950         * dirent/getdents64.c: Likewise.
17951         * dirent/opendir.c: Likewise.
17952         * dirent/readdir.c: Likewise.
17953         * dirent/readdir64.c: Likewise.
17954         * dirent/readdir64_r.c: Likewise.
17955         * dirent/readdir_r.c: Likewise.
17956         * dirent/rewinddir.c: Likewise.
17957         * dirent/seekdir.c: Likewise.
17958         * dirent/telldir.c: Likewise.
17959         * gmon/profil.c: Likewise.
17960         * grp/setgroups.c: Likewise.
17961         * inet/if_index.c: Likewise.
17962         * io/access.c: Likewise.
17963         * io/chdir.c: Likewise.
17964         * io/chmod.c: Likewise.
17965         * io/chown.c: Likewise.
17966         * io/close.c: Likewise.
17967         * io/dup.c: Likewise.
17968         * io/dup2.c: Likewise.
17969         * io/dup3.c: Likewise.
17970         * io/euidaccess.c: Likewise.
17971         * io/faccessat.c: Likewise.
17972         * io/fchdir.c: Likewise.
17973         * io/fchmod.c: Likewise.
17974         * io/fchmodat.c: Likewise.
17975         * io/fchown.c: Likewise.
17976         * io/fchownat.c: Likewise.
17977         * io/fcntl.c: Likewise.
17978         * io/flock.c: Likewise.
17979         * io/fstatfs.c: Likewise.
17980         * io/fstatfs64.c: Likewise.
17981         * io/fstatvfs.c: Likewise.
17982         * io/fstatvfs64.c: Likewise.
17983         * io/futimens.c: Likewise.
17984         * io/fxstat.c: Likewise.
17985         * io/fxstat64.c: Likewise.
17986         * io/fxstatat.c: Likewise.
17987         * io/fxstatat64.c: Likewise.
17988         * io/getcwd.c: Likewise.
17989         * io/isatty.c: Likewise.
17990         * io/lchmod.c: Likewise.
17991         * io/lchown.c: Likewise.
17992         * io/link.c: Likewise.
17993         * io/linkat.c: Likewise.
17994         * io/lseek.c: Likewise.
17995         * io/lseek64.c: Likewise.
17996         * io/lxstat64.c: Likewise.
17997         * io/mkdir.c: Likewise.
17998         * io/mkdirat.c: Likewise.
17999         * io/mkfifo.c: Likewise.
18000         * io/mkfifoat.c: Likewise.
18001         * io/open.c: Likewise.
18002         * io/open64.c: Likewise.
18003         * io/openat.c: Likewise.
18004         * io/openat64.c: Likewise.
18005         * io/pipe.c: Likewise.
18006         * io/pipe2.c: Likewise.
18007         * io/poll.c: Likewise.
18008         * io/posix_fadvise.c: Likewise.
18009         * io/posix_fadvise64.c: Likewise.
18010         * io/posix_fallocate.c: Likewise.
18011         * io/posix_fallocate64.c: Likewise.
18012         * io/read.c: Likewise.
18013         * io/readlink.c: Likewise.
18014         * io/readlinkat.c: Likewise.
18015         * io/rmdir.c: Likewise.
18016         * io/sendfile.c: Likewise.
18017         * io/sendfile64.c: Likewise.
18018         * io/statfs.c: Likewise.
18019         * io/statfs64.c: Likewise.
18020         * io/statvfs.c: Likewise.
18021         * io/statvfs64.c: Likewise.
18022         * io/symlink.c: Likewise.
18023         * io/symlinkat.c: Likewise.
18024         * io/ttyname.c: Likewise.
18025         * io/ttyname_r.c: Likewise.
18026         * io/umask.c: Likewise.
18027         * io/unlink.c: Likewise.
18028         * io/unlinkat.c: Likewise.
18029         * io/utime.c: Likewise.
18030         * io/utimensat.c: Likewise.
18031         * io/write.c: Likewise.
18032         * io/xmknod.c: Likewise.
18033         * io/xmknodat.c: Likewise.
18034         * io/xstat.c: Likewise.
18035         * io/xstat64.c: Likewise.
18036         * login/getpt.c: Likewise.
18037         * login/grantpt.c: Likewise.
18038         * login/unlockpt.c: Likewise.
18039         * math/e_acoshl.c: Likewise.
18040         * math/e_acosl.c: Likewise.
18041         * math/e_asinl.c: Likewise.
18042         * math/e_atan2l.c: Likewise.
18043         * math/e_atanhl.c: Likewise.
18044         * math/e_coshl.c: Likewise.
18045         * math/e_expl.c: Likewise.
18046         * math/e_fmodl.c: Likewise.
18047         * math/e_gammal_r.c: Likewise.
18048         * math/e_hypotl.c: Likewise.
18049         * math/e_j0l.c: Likewise.
18050         * math/e_j1l.c: Likewise.
18051         * math/e_jnl.c: Likewise.
18052         * math/e_lgammal_r.c: Likewise.
18053         * math/e_log10l.c: Likewise.
18054         * math/e_log2l.c: Likewise.
18055         * math/e_logl.c: Likewise.
18056         * math/e_powl.c: Likewise.
18057         * math/e_rem_pio2l.c: Likewise.
18058         * math/e_sinhl.c: Likewise.
18059         * math/e_sqrtl.c: Likewise.
18060         * math/fclrexcpt.c: Likewise.
18061         * math/fedisblxcpt.c: Likewise.
18062         * math/feenablxcpt.c: Likewise.
18063         * math/fegetenv.c: Likewise.
18064         * math/fegetexcept.c: Likewise.
18065         * math/fegetround.c: Likewise.
18066         * math/feholdexcpt.c: Likewise.
18067         * math/fesetenv.c: Likewise.
18068         * math/fesetround.c: Likewise.
18069         * math/feupdateenv.c: Likewise.
18070         * math/fgetexcptflg.c: Likewise.
18071         * math/fraiseexcpt.c: Likewise.
18072         * math/fsetexcptflg.c: Likewise.
18073         * math/ftestexcept.c: Likewise.
18074         * math/k_cosl.c: Likewise.
18075         * math/k_rem_pio2l.c: Likewise.
18076         * math/k_sinl.c: Likewise.
18077         * math/k_tanl.c: Likewise.
18078         * math/s_asinhl.c: Likewise.
18079         * math/s_atanl.c: Likewise.
18080         * math/s_cbrtl.c: Likewise.
18081         * math/s_erfl.c: Likewise.
18082         * math/s_expm1l.c: Likewise.
18083         * math/s_log1pl.c: Likewise.
18084         * math/s_tanhl.c: Likewise.
18085         * misc/acct.c: Likewise.
18086         * misc/brk.c: Likewise.
18087         * misc/chflags.c: Likewise.
18088         * misc/chroot.c: Likewise.
18089         * misc/fchflags.c: Likewise.
18090         * misc/fgetxattr.c: Likewise.
18091         * misc/flistxattr.c: Likewise.
18092         * misc/fremovexattr.c: Likewise.
18093         * misc/fsetxattr.c: Likewise.
18094         * misc/fsync.c: Likewise.
18095         * misc/ftruncate.c: Likewise.
18096         * misc/futimes.c: Likewise.
18097         * misc/futimesat.c: Likewise.
18098         * misc/getdomain.c: Likewise.
18099         * misc/getdtsz.c: Likewise.
18100         * misc/gethostid.c: Likewise.
18101         * misc/gethostname.c: Likewise.
18102         * misc/getloadavg.c: Likewise.
18103         * misc/getpagesize.c: Likewise.
18104         * misc/getsysstats.c: Likewise.
18105         * misc/getxattr.c: Likewise.
18106         * misc/gtty.c: Likewise.
18107         * misc/ioctl.c: Likewise.
18108         * misc/lgetxattr.c: Likewise.
18109         * misc/listxattr.c: Likewise.
18110         * misc/llistxattr.c: Likewise.
18111         * misc/lremovexattr.c: Likewise.
18112         * misc/lsetxattr.c: Likewise.
18113         * misc/lutimes.c: Likewise.
18114         * misc/madvise.c: Likewise.
18115         * misc/mincore.c: Likewise.
18116         * misc/mlock.c: Likewise.
18117         * misc/mlockall.c: Likewise.
18118         * misc/mmap.c: Likewise.
18119         * misc/mprotect.c: Likewise.
18120         * misc/msync.c: Likewise.
18121         * misc/munlock.c: Likewise.
18122         * misc/munlockall.c: Likewise.
18123         * misc/munmap.c: Likewise.
18124         * misc/preadv.c: Likewise.
18125         * misc/preadv64.c: Likewise.
18126         * misc/ptrace.c: Likewise.
18127         * misc/pwritev.c: Likewise.
18128         * misc/pwritev64.c: Likewise.
18129         * misc/readv.c: Likewise.
18130         * misc/reboot.c: Likewise.
18131         * misc/remap_file_pages.c: Likewise.
18132         * misc/removexattr.c: Likewise.
18133         * misc/revoke.c: Likewise.
18134         * misc/select.c: Likewise.
18135         * misc/setdomain.c: Likewise.
18136         * misc/setegid.c: Likewise.
18137         * misc/seteuid.c: Likewise.
18138         * misc/sethostid.c: Likewise.
18139         * misc/sethostname.c: Likewise.
18140         * misc/setregid.c: Likewise.
18141         * misc/setreuid.c: Likewise.
18142         * misc/setxattr.c: Likewise.
18143         * misc/sstk.c: Likewise.
18144         * misc/stty.c: Likewise.
18145         * misc/swapoff.c: Likewise.
18146         * misc/swapon.c: Likewise.
18147         * misc/sync.c: Likewise.
18148         * misc/syncfs.c: Likewise.
18149         * misc/syscall.c: Likewise.
18150         * misc/truncate.c: Likewise.
18151         * misc/ualarm.c: Likewise.
18152         * misc/usleep.c: Likewise.
18153         * misc/ustat.c: Likewise.
18154         * misc/utimes.c: Likewise.
18155         * misc/vhangup.c: Likewise.
18156         * misc/writev.c: Likewise.
18157         * posix/_exit.c: Likewise.
18158         * posix/alarm.c: Likewise.
18159         * posix/execve.c: Likewise.
18160         * posix/fexecve.c: Likewise.
18161         * posix/fork.c: Likewise.
18162         * posix/fpathconf.c: Likewise.
18163         * posix/getaddrinfo.c: Likewise.
18164         * posix/getegid.c: Likewise.
18165         * posix/geteuid.c: Likewise.
18166         * posix/getgid.c: Likewise.
18167         * posix/getgroups.c: Likewise.
18168         * posix/getlogin.c: Likewise.
18169         * posix/getlogin_r.c: Likewise.
18170         * posix/getpgid.c: Likewise.
18171         * posix/getpid.c: Likewise.
18172         * posix/getppid.c: Likewise.
18173         * posix/getresgid.c: Likewise.
18174         * posix/getresuid.c: Likewise.
18175         * posix/getsid.c: Likewise.
18176         * posix/getuid.c: Likewise.
18177         * posix/glob64.c: Likewise.
18178         * posix/nanosleep.c: Likewise.
18179         * posix/pathconf.c: Likewise.
18180         * posix/pause.c: Likewise.
18181         * posix/posix_madvise.c: Likewise.
18182         * posix/pread.c: Likewise.
18183         * posix/pread64.c: Likewise.
18184         * posix/pwrite.c: Likewise.
18185         * posix/pwrite64.c: Likewise.
18186         * posix/sched_getaffinity.c: Likewise.
18187         * posix/sched_getp.c: Likewise.
18188         * posix/sched_gets.c: Likewise.
18189         * posix/sched_primax.c: Likewise.
18190         * posix/sched_primin.c: Likewise.
18191         * posix/sched_rr_gi.c: Likewise.
18192         * posix/sched_setaffinity.c: Likewise.
18193         * posix/sched_setp.c: Likewise.
18194         * posix/sched_sets.c: Likewise.
18195         * posix/sched_yield.c: Likewise.
18196         * posix/setgid.c: Likewise.
18197         * posix/setlogin.c: Likewise.
18198         * posix/setpgid.c: Likewise.
18199         * posix/setresgid.c: Likewise.
18200         * posix/setresuid.c: Likewise.
18201         * posix/setsid.c: Likewise.
18202         * posix/setuid.c: Likewise.
18203         * posix/sleep.c: Likewise.
18204         * posix/spawni.c: Likewise.
18205         * posix/sysconf.c: Likewise.
18206         * posix/times.c: Likewise.
18207         * posix/wait.c: Likewise.
18208         * posix/wait3.c: Likewise.
18209         * posix/wait4.c: Likewise.
18210         * posix/waitpid.c: Likewise.
18211         * resolv/gai_sigqueue.c: Likewise.
18212         * resource/getpriority.c: Likewise.
18213         * resource/getrlimit.c: Likewise.
18214         * resource/getrusage.c: Likewise.
18215         * resource/nice.c: Likewise.
18216         * resource/setpriority.c: Likewise.
18217         * resource/setrlimit.c: Likewise.
18218         * resource/ulimit.c: Likewise.
18219         * rt/aio_cancel.c: Likewise.
18220         * rt/aio_fsync.c: Likewise.
18221         * rt/aio_read.c: Likewise.
18222         * rt/aio_sigqueue.c: Likewise.
18223         * rt/aio_suspend.c: Likewise.
18224         * rt/aio_write.c: Likewise.
18225         * rt/clock_getres.c: Likewise.
18226         * rt/clock_gettime.c: Likewise.
18227         * rt/clock_nanosleep.c: Likewise.
18228         * rt/clock_settime.c: Likewise.
18229         * rt/lio_listio.c: Likewise.
18230         * rt/mq_close.c: Likewise.
18231         * rt/mq_getattr.c: Likewise.
18232         * rt/mq_notify.c: Likewise.
18233         * rt/mq_open.c: Likewise.
18234         * rt/mq_receive.c: Likewise.
18235         * rt/mq_send.c: Likewise.
18236         * rt/mq_setattr.c: Likewise.
18237         * rt/mq_timedreceive.c: Likewise.
18238         * rt/mq_timedsend.c: Likewise.
18239         * rt/mq_unlink.c: Likewise.
18240         * rt/shm_open.c: Likewise.
18241         * rt/shm_unlink.c: Likewise.
18242         * rt/timer_create.c: Likewise.
18243         * rt/timer_delete.c: Likewise.
18244         * rt/timer_getoverr.c: Likewise.
18245         * rt/timer_gettime.c: Likewise.
18246         * rt/timer_settime.c: Likewise.
18247         * setjmp/__longjmp.c: Likewise.
18248         * setjmp/setjmp.c: Likewise.
18249         * signal/kill.c: Likewise.
18250         * signal/killpg.c: Likewise.
18251         * signal/raise.c: Likewise.
18252         * signal/sigaction.c: Likewise.
18253         * signal/sigaltstack.c: Likewise.
18254         * signal/sigblock.c: Likewise.
18255         * signal/sigignore.c: Likewise.
18256         * signal/sigintr.c: Likewise.
18257         * signal/signal.c: Likewise.
18258         * signal/sigpause.c: Likewise.
18259         * signal/sigpending.c: Likewise.
18260         * signal/sigqueue.c: Likewise.
18261         * signal/sigreturn.c: Likewise.
18262         * signal/sigset.c: Likewise.
18263         * signal/sigsetmask.c: Likewise.
18264         * signal/sigstack.c: Likewise.
18265         * signal/sigsuspend.c: Likewise.
18266         * signal/sigtimedwait.c: Likewise.
18267         * signal/sigvec.c: Likewise.
18268         * signal/sigwait.c: Likewise.
18269         * signal/sigwaitinfo.c: Likewise.
18270         * signal/sysv_signal.c: Likewise.
18271         * socket/accept.c: Likewise.
18272         * socket/accept4.c: Likewise.
18273         * socket/bind.c: Likewise.
18274         * socket/connect.c: Likewise.
18275         * socket/getpeername.c: Likewise.
18276         * socket/getsockname.c: Likewise.
18277         * socket/getsockopt.c: Likewise.
18278         * socket/isfdtype.c: Likewise.
18279         * socket/listen.c: Likewise.
18280         * socket/recv.c: Likewise.
18281         * socket/recvfrom.c: Likewise.
18282         * socket/recvmsg.c: Likewise.
18283         * socket/send.c: Likewise.
18284         * socket/sendmsg.c: Likewise.
18285         * socket/sendto.c: Likewise.
18286         * socket/setsockopt.c: Likewise.
18287         * socket/shutdown.c: Likewise.
18288         * socket/sockatmark.c: Likewise.
18289         * socket/socket.c: Likewise.
18290         * socket/socketpair.c: Likewise.
18291         * stdio-common/ctermid.c: Likewise.
18292         * stdio-common/cuserid.c: Likewise.
18293         * stdio-common/remove.c: Likewise.
18294         * stdio-common/rename.c: Likewise.
18295         * stdio-common/renameat.c: Likewise.
18296         * stdio-common/tempname.c: Likewise.
18297         * stdlib/getcontext.c: Likewise.
18298         * stdlib/makecontext.c: Likewise.
18299         * stdlib/setcontext.c: Likewise.
18300         * stdlib/swapcontext.c: Likewise.
18301         * stdlib/system.c: Likewise.
18302         * streams/fattach.c: Likewise.
18303         * streams/fdetach.c: Likewise.
18304         * streams/getmsg.c: Likewise.
18305         * streams/getpmsg.c: Likewise.
18306         * streams/putmsg.c: Likewise.
18307         * streams/putpmsg.c: Likewise.
18308         * sysdeps/unix/bsd/getpt.c: Likewise.
18309         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18310         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18311         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18313         Likewise.
18314         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18315         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18316         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18317         * sysvipc/msgctl.c: Likewise.
18318         * sysvipc/msgget.c: Likewise.
18319         * sysvipc/msgrcv.c: Likewise.
18320         * sysvipc/msgsnd.c: Likewise.
18321         * sysvipc/semctl.c: Likewise.
18322         * sysvipc/semget.c: Likewise.
18323         * sysvipc/semop.c: Likewise.
18324         * sysvipc/semtimedop.c: Likewise.
18325         * sysvipc/shmat.c: Likewise.
18326         * sysvipc/shmctl.c: Likewise.
18327         * sysvipc/shmdt.c: Likewise.
18328         * sysvipc/shmget.c: Likewise.
18329         * termios/tcdrain.c: Likewise.
18330         * termios/tcflow.c: Likewise.
18331         * termios/tcflush.c: Likewise.
18332         * termios/tcgetattr.c: Likewise.
18333         * termios/tcgetpgrp.c: Likewise.
18334         * termios/tcsendbrk.c: Likewise.
18335         * termios/tcsetattr.c: Likewise.
18336         * termios/tcsetpgrp.c: Likewise.
18337         * time/adjtime.c: Likewise.
18338         * time/clock.c: Likewise.
18339         * time/getitimer.c: Likewise.
18340         * time/gettimeofday.c: Likewise.
18341         * time/setitimer.c: Likewise.
18342         * time/settimeofday.c: Likewise.
18343         * time/stime.c: Likewise.
18344         * time/time.c: Likewise.
18346 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
18348         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18349         /usr/old/bin.
18351         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18352         instead of spaces.
18353         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18355 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
18357         [BZ #14796]
18358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18359         FE_TONEAREST before applying Dekker multiplication and Knuth
18360         addition.  Clear inexact exceptions and check for exact zero
18361         results afterwards.
18362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18363         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18365         * math/libm-test.inc (fma_test): Add more tests.
18366         (fma_test_towardzero): Likewise.
18367         (fma_test_downward): Likewise.
18368         (fma_test_upward): Likewise.
18369         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18370         function.
18371         (libc_fesetround): New macro.
18372         (libc_fesetroundf): Likewise.
18373         (libc_fesetroundl): Likewise.
18374         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18375         function.
18376         (libc_fesetround_387): Likewise.
18377         (libc_fesetroundf): New macro.
18378         (libc_fesetround): Likewise.
18379         (libc_fesetroundl): Likewise.
18380         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18381         function.
18382         (libc_fesetroundf): New macro.
18383         (libc_fesetround): Likewise.
18384         (libc_fesetroundl): Likewise.
18385         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18386         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18387         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18388         libm_hidden_ver.
18389         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18390         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18391         libm_hidden_def.
18392         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18393         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18394         libm_hidden_ver.
18395         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18396         libm_hidden_def.
18398         [BZ #3439]
18399         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18400         integer constant usable in #if and use that to give value to enum
18401         constant.
18402         (FE_DIVBYZERO): Likewise.
18403         (FE_UNDERFLOW): Likewise.
18404         (FE_OVERFLOW): Likewise.
18405         (FE_INVALID): Likewise.
18406         (FE_INVALID_SNAN): Likewise.
18407         (FE_INVALID_ISI): Likewise.
18408         (FE_INVALID_IDI): Likewise.
18409         (FE_INVALID_ZDZ): Likewise.
18410         (FE_INVALID_IMZ): Likewise.
18411         (FE_INVALID_COMPARE): Likewise.
18412         (FE_INVALID_SOFTWARE): Likewise.
18413         (FE_INVALID_SQRT): Likewise.
18414         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18415         (FE_TONEAREST): Likewise.
18416         (FE_TOWARDZERO): Likewise.
18417         (FE_UPWARD): Likewise.
18418         (FE_DOWNWARD): Likewise.
18419         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18420         (FE_DIVBYZERO): Likewise.
18421         (FE_OVERFLOW): Likewise.
18422         (FE_UNDERFLOW): Likewise.
18423         (FE_INEXACT): Likewise.
18424         (FE_TONEAREST): Likewise.
18425         (FE_DOWNWARD): Likewise.
18426         (FE_UPWARD): Likewise.
18427         (FE_TOWARDZERO): Likewise.
18428         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18429         (FE_UNDERFLOW): Likewise.
18430         (FE_OVERFLOW): Likewise.
18431         (FE_DIVBYZERO): Likewise.
18432         (FE_INVALID): Likewise.
18433         (FE_TONEAREST): Likewise.
18434         (FE_TOWARDZERO): Likewise.
18435         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18436         (FE_OVERFLOW): Likewise.
18437         (FE_UNDERFLOW): Likewise.
18438         (FE_DIVBYZERO): Likewise.
18439         (FE_INEXACT): Likewise.
18440         (FE_TONEAREST): Likewise.
18441         (FE_TOWARDZERO): Likewise.
18442         (FE_UPWARD): Likewise.
18443         (FE_DOWNWARD): Likewise.
18444         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18445         (FE_DIVBYZERO): Likewise.
18446         (FE_OVERFLOW): Likewise.
18447         (FE_UNDERFLOW): Likewise.
18448         (FE_INEXACT): Likewise.
18449         (FE_TONEAREST): Likewise.
18450         (FE_DOWNWARD): Likewise.
18451         (FE_UPWARD): Likewise.
18452         (FE_TOWARDZERO): Likewise.
18454 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18456         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18458 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18460         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18461         commands.  Quote $PWD.
18462         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18463         -x" by "export".
18464         (remove_newlines): Remove.
18466 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18468         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18469         * stdlib/stdlib.h (atof): Moved to ...
18470         * include/bits/stdlib-float.h: Here.  New file.
18471         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18472         * stdlib/bits/stdlib-float.h: New file.
18473         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18474         -mno-sse -mno-mmx.
18475         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18476         <xmmintrin.h>.
18478 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18480         * conform/conformtest.pl (@headers): Add fenv.h.
18481         * conform/data/fenv.h-data: New file.
18482         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18483         include of <math/fenv.h>.
18485         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18486         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18487         && !UNIX98].  Enables tests for XOPEN2K8.
18488         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18489         POSIX2008]: Likewise.
18491         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18492         (struct rusage): Do not expect type or its members.
18494         [BZ #3439]
18495         * math/math.h (FP_NAN): Define macro to integer constant usable in
18496         #if and use that to give value to enum constant.
18497         (FP_INFINITE): Likewise.
18498         (FP_ZERO): Likewise.
18499         (FP_SUBNORMAL): Likewise.
18500         (FP_NORMAL): Likewise.
18502 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18504         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18505         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18506         arguments.
18508 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18510         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18511         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18512         autoconf-time if not.
18513         * configure.in: Remove AC_PREREQ.
18515 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18517         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18518         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18519         of the internal implementation.
18521 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18523         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18524         except include of <misc/sys/syslog.h>.
18526 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18529         function returns with a NULL context exit with zero.
18531 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18533         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18535 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18537         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18538         (run_program_cmd): This.
18539         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18540         (tst_langinfo): New variable.  Use it.
18542 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18544         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18545         floating point opcodes.
18547 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18549         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18550         variable.
18552         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18554         * sysdeps/mach/hurd/powerpc: Remove directory.
18555         * sysdeps/mach/powerpc: Likewise.
18557 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18559         * scripts/check-local-headers.sh: Ignore c++ headers.
18561 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18563         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18564         __libc_cleanup_region_start argument.
18566 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18568         [BZ #14784]
18569         [BZ #14785]
18570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18571         x * y using scaling, not as x * y + z.
18572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18574         * math/libm-test.inc (fma_test): Add more tests.
18575         (fma_test_towardzero): Likewise.
18576         (fma_test_downward): Likewise.
18577         (fma_test_upward): Likewise.
18579 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18581         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18583 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18585         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18586         New variable.
18588 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18590         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18592 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18595         Fix sort order.
18596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18597         Likewise.
18599 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18602         Fix the order of the list for glibc 2.17.
18603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18604         Likewise.
18606 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18610 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18612         [BZ #14610]
18613         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18614         for low part of x being zero before using __atanl (y).
18615         * math/libm-test.inc (atan2_test): Add another test.
18617         * manual/install.texi (Configuring and compiling): Document
18618         general use of test-wrapper and test-wrapper-env.
18619         * INSTALL: Regenerated.
18621         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18622         (__fma): Do not extract and scale down low bits on after-rounding
18623         systems when result rounded to normal precision would have normal
18624         exponent.
18625         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18626         (__fmal): Do not extract and scale down low bits on after-rounding
18627         systems when result rounded to normal precision would have normal
18628         exponent.
18629         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18630         (__fmal): Do not extract and scale down low bits on after-rounding
18631         systems when result rounded to normal precision would have normal
18632         exponent.
18633         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18634         macro.
18635         (fma_test): Add more tests.
18636         (fma_test_towardzero): Likewise.
18637         (fma_test_downward): Likewise.
18638         (fma_test_upward): Likewise.
18640 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18642         * sysdeps/i386/tininess.h: Renamed to ...
18643         * sysdeps/x86/tininess.h: This.
18644         * sysdeps/x86_64/tininess.h: Removed.
18646 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18648         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18649         input.  Use $(build-program-cmd).
18650         ($(objpfx)tst-array1-static.out): Likewise.
18651         ($(objpfx)tst-array2.out): Likewise.
18652         ($(objpfx)tst-array3.out): Likewise.
18653         ($(objpfx)tst-array4.out): Likewise.
18654         ($(objpfx)tst-array5.out): Likewise.
18655         ($(objpfx)tst-array5-static.out): Likewise.
18657 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18659         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18660         if defined.
18662         * nss/nsswitch.h (nss_interface_function): Provide new
18663         macro for use with NSS functions.
18664         * grp/initgroups.c: Use new macro.
18665         * nss/getXXbyYY.c: Likewise.
18666         * nss/getXXbyYY_r.c: Likewise.
18667         * nss/getXXent.c: Likewise.
18668         * nss/getXXent_r.c: Likewise.
18669         * sysdeps/posix/getaddrinfo.c: Likewise.
18671 2012-10-30  Andreas Jaeger  <aj@suse.de>
18673         * po/ru.po: Update Russion translation from translation project.
18675 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18677         [BZ #14152]
18678         [BZ #14783]
18679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18680         result and shift together with sticky bit instead of replicating
18681         round-to-nearest rounding.
18682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18684         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18685         missing underflow exceptions.
18686         (fma_test_towardzero): Add more tests.
18687         (fma_test_downward): Likewise.
18688         (fma_test_upward): Likewise.
18690         [BZ #14047]
18691         * sysdeps/generic/tininess.h: New file.
18692         * sysdeps/i386/tininess.h: Likewise.
18693         * sysdeps/sh/tininess.h: Likewise.
18694         * sysdeps/x86_64/tininess.h: Likewise.
18695         * stdlib/tst-strtod-underflow.c: Likewise.
18696         * stdlib/tst-tininess.c: Likewise.
18697         * stdlib/strtod_l.c: Include <tininess.h>.
18698         (round_and_return): Do not set errno for exact underflow cases.
18699         Force an underflow exception when setting errno for underflow.
18700         Determine underflow based on rounding to normal precision if
18701         TININESS_AFTER_ROUNDING.
18702         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18703         ERANGE for exact underflow cases.
18704         * stdlib/Makefile (tests): Add tst-tininess and
18705         tst-strtod-underflow.
18706         ($(objpfx)tst-tininess): Use $(link-libm).
18707         ($(objpfx)tst-strtod-underflow): Likewise.
18709 2012-10-30  Andreas Jaeger  <aj@suse.de>
18711         [BZ#14767]
18712         * elf/Makefile (tests): Remove conditional for have-initfini-array
18713         since this is now always required and the variable does not exist
18714         anymore.
18715         (tests-static): Likewise.
18716         (modules-names): Likewise.
18718         * po/eo.po: Add Esperanto translation from translation project.
18720         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18721         merged with constructor/destructor.
18722         (init_array): Likewise.
18723         * elf/tst-array2dep.c (fini_array): Likewise.
18724         (init_array): Likewise.
18726 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18728         * manual/message.texi: Delete @cartouche tags.
18730 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18732         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18733         EOPNOTSUPP.
18734         * sysdeps/mach/hurd/fsync.c: Likewise.
18736         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18737         [_POSIX_REALTIME_SIGNALS]: Change condition to
18738         [_POSIX_REALTIME_SIGNALS > 0].
18740 2012-10-27  Andreas Jaeger  <aj@suse.de>
18742         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18743         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18745         [__WORDSIZE != 64]: Likewise.
18747 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18749         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18750         *  iconvdata/tst-tables.sh: Likewise.
18752 2012-10-25  David S. Miller  <davem@davemloft.net>
18754         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18755         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18756         of strtoull.
18758         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18759         ifunc-impl-list.c
18760         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18761         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18762         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18763         file.
18765 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18767         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18768         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18769         __getdirentries.
18771 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18772             Jim Blandy  <jimb@codesourcery.com>
18774         * scripts/cross-test-ssh.sh: New file.
18775         * manual/install.texi (Configuring and compiling): Document use of
18776         cross-test-ssh.sh.
18777         * INSTALL: Regenerated.
18779 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18781         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18782         EOPNOTSUPP.
18784 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18786         * Makeconfig (run-program-prefix): Fix comment.
18788 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18789             Jim Blandy  <jimb@codesourcery.com>
18791         * Makeconfig (test-wrapper): New variable,
18792         (test-wrapper-env): Likewise.
18793         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18794         (run-built-tests): Define to yes.
18795         (run-program-prefix): Use $(test-wrapper).
18796         (built-program-cmd): Likewise.
18797         * Rules (make-test-out): Use $(test-wrapper-env) and
18798         $(host-built-program-cmd).
18799         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18800         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18801         tst-pathopt.sh.
18802         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18803         $(test-wrapper-env) to tst-rtld-load-self.sh.
18804         ($(objpfx)order2.out): Use $(test-wrapper).
18805         ($(objpfx)tst-initorder.out): Likewise.
18806         ($(objpfx)tst-initorder2.out): Likewise.
18807         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18808         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18809         (test_wrapper_env): New variable.  Use it to run ld.so.
18810         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18811         Use it to run ld.so.
18812         (test_wrapper_env): Likewise.
18813         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18814         $(test-wrapper) to run-iconv-test.sh.
18815         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18816         (ICONV): Use $test_wrapper.
18817         * posix/Makefile ($(objpfx)globtest.out): Pass
18818         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18819         globtest.sh, not $(run-program-prefix).
18820         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18821         (test_wrapper): Likewise.
18822         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18823         set together with run_via_rtld_prefix.
18824         (run_program_prefix): Define in terms of test_wrapper and
18825         run_via_rtld_prefix.
18827 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18829         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18830         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18831         Targets removed.
18833         [BZ #14743]
18834         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18835         Declare __clock_getres, __clock_gettime, __clock_settime,
18836         __clock_nanosleep, and __clock_getcpuclockid.
18837         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18838         Remove librt_hidden_def (clock_gettime).
18839         * sysdeps/unix/clock_gettime.c: Likewise.
18840         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18841         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18842         * rt/clock_getres.c: Define __clock_getres as an alias.
18843         * sysdeps/posix/clock_getres.c: Likewise.
18844         * rt/clock_settime.c: Define __clock_settime as an alias.
18845         * sysdeps/unix/clock_settime.c: Likewise.
18846         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18847         * sysdeps/unix/clock_nanosleep.c: Likewise.
18848         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18849         * rt/clock-compat.c: New file.
18850         * rt/Makefile (librt-routines): Add clock-compat and move
18851         $(clock-routines) to ...
18852         (routines): ... here, new variable.
18853         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18854         Don't add get_clockfreq here.
18855         * rt/Versions (libc: GLIBC_2.17): New version set.
18856         Add clock_* symbols here.
18857         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18858         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18859         (GLIBC_2.17): Add clock_* symbols.
18860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18862         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18864         Likewise.
18865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18866         Likewise.
18867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18871         * NEWS: Mention the move.
18873         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18874         Use __open, __read, __close rather than their public counterparts.
18875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18876         (__get_clockfreq_via_cpuinfo): Likewise.
18877         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18878         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18880         * config.h.in (HAVE_IFUNC): New #undef.
18881         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18882         was successful.
18883         * configure: Regenerated.
18885 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18887         * configure.in: Move READELF check to start of file.
18888         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18889         libc_cv_asm_gnu_indirect_function in the process.
18890         * configure: Regenerated.
18892 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18894         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18895         send the output to /dev/null.
18896         (libc_cv_cc_with_libunwind): Likewise.
18897         (libc_cv_as_noexecstack): Likewise.
18898         * configure: Regenerate.
18900 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18902         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18904         * posix/globtest.sh (TMPDIR): Do not set.
18905         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18906         (testout): Likewise.
18908 2012-10-24  Andreas Jaeger  <aj@suse.de>
18910         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18911         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18912         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18913         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18914         posix_fadvise64, posix_fallocate64.
18916         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18917         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18918         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18919         Likewise.
18920         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18921         Likewise.
18922         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18925         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18926         <bits/fcntl-linux.h>.
18927         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18930         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18931         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18932         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18933         [__WORDSIZE != 64]: Likewise.
18935 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18937         * Makeconfig (run-built-tests): New variable.
18938         * Rules [$(cross-compiling) = yes]: Change condition to
18939         [$(run-built-tests) = no].
18940         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18941         to [$(run-built-tests) = yes].
18942         * elf/Makefile [$(cross-compiling) = no]: Likewise
18943         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18944         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18945         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18946         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18947         * io/Makefile [$(cross-compiling) = no]: Likewise.
18948         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18949         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18950         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18951         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18952         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18953         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18954         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18955         * string/Makefile [$(cross-compiling) = no]: Likewise.
18957         * posix/Makefile ($(objpfx)globtest.out): Pass
18958         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18959         $(rtld-installed-name).
18960         * posix/globtest.sh (elf_objpfx): Remove variable.
18961         (rtld_installed_name): Likewise.
18962         (library_path): Likewise.
18963         (run_program_prefix): New variable.  Use for running globtest
18964         binary.
18966 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18967             Joseph Myers  <joseph@codesourcery.com>
18969         * Makeconfig (host-built-program-cmd): New variable.
18970         * elf/Makefile (tst-stackguard1-ARGS): Use
18971         $(host-built-program-cmd).
18972         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18973         (tst-spawn-ARGS): Likewise.
18974         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18976 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18977             Jim Blandy  <jimb@codesourcery.com>
18979         * Makeconfig (run-via-rtld-prefix): New variable.
18980         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18981         (built-program-cmd): Likewise.
18983 2012-10-22  Andreas Jaeger  <aj@suse.de>
18985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18986         __O_RSYNC if it exists, otherwise to O_SYNC.
18988 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18989             Joseph Myers  <joseph@codesourcery.com>
18991         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18992         /dev/null.
18993         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18994         from /dev/null
18995         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18996         /dev/null.
18998 2012-10-22  Andreas Jaeger  <aj@suse.de>
19000         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19001         Define always.
19002         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19005         bits/fcntl-linux.h.
19007         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19008         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19010         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19011         to __O_LARGEFILE.
19012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19013         to __O_LARGEFILE.
19015 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
19016             Joseph Myers  <joseph@codesourcery.com>
19018         * config.make.in (NM): New variable.
19020 2012-10-21  Andreas Jaeger  <aj@suse.de>
19022         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19023         definitions and declarations that are provided by
19024         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19026 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19028         [BZ #14683]
19029         * elf/Makefile (tests-static): Add tst-leaks1-static.
19030         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19031         ($(objpfx)tst-leaks1-static): New rule.
19032         ($(objpfx)tst-leaks1-static-mem): Likewise.
19033         (tst-leaks1-static-ENV): New macro.
19034         * elf/dl-open.c (dl_open_worker): Check the main application
19035         only if SHARED is defined.
19036         * elf/tst-leaks1-static.c: New file.
19038 2012-10-20  Andreas Jaeger  <aj@suse.de>
19040         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19041         generic values for Linux.
19042         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19043         and declarations that are provided by <bits/fcntl-linux.h> and
19044         include <bits/fcntl-linux.h>.
19045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19048 2012-10-20  Roland McGrath  <roland@hack.frob.com>
19050         * io/fcntl.h: Move include of <bits/types.h> to the top and
19051         include it unconditionally.
19053 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
19055         * wcsmbs/Makefile (tests-ifunc): New variable.
19056         (tests): Add $(tests-ifunc).
19057         * wcsmbs/test-wcschr-ifunc.c: New file.
19058         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19059         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19060         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19061         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19062         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19064         * string/Makefile (tests-ifunc): New variable.
19065         (tests): Add $(tests-ifunc).
19066         * string/test-memccpy.c (TEST_NAME): New macro.
19067         * string/test-memchr.c (TEST_NAME): Likewise.
19068         * string/test-memcmp.c (TEST_NAME): Likewise.
19069         * string/test-memcpy.c (TEST_NAME): Likewise.
19070         * string/test-memmem.c (TEST_NAME): Likewise.
19071         * string/test-memmove.c (TEST_NAME): Likewise.
19072         * string/test-memset.c (TEST_NAME): Likewise.
19073         * string/test-rawmemchr.c (TEST_NAME): Likewise.
19074         * string/test-stpcpy.c (TEST_NAME): Likewise.
19075         * string/test-stpncpy.c (TEST_NAME): Likewise.
19076         * string/test-strcasecmp.c (TEST_NAME): Likewise.
19077         * string/test-strcasestr.c (TEST_NAME): Likewise.
19078         * string/test-strcat.c (TEST_NAME): Likewise.
19079         * string/test-strchr.c (TEST_NAME): Likewise.
19080         * string/test-strcmp.c(TEST_NAME): Likewise.
19081         * string/test-strcpy.c (TEST_NAME): Likewise.
19082         * string/test-strcspn.c (TEST_NAME): Likewise.
19083         * string/test-strlen.c (TEST_NAME): Likewise.
19084         * string/test-strncasecmp.c (TEST_NAME): Likewise.
19085         * string/test-strncmp.c (TEST_NAME): Likewise.
19086         * string/test-strncpy.c (TEST_NAME): Likewise.
19087         * string/test-strnlen.c (TEST_NAME): Likewise.
19088         * string/test-strpbrk.c (TEST_NAME): Likewise.
19089         * string/test-strrchr.c (TEST_NAME): Likewise.
19090         * string/test-strspn.c (TEST_NAME): Likewise.
19091         * string/test-strstr.c (TEST_NAME): Likewise.
19092         * string/test-bcopy-ifunc.c: New file.
19093         * string/test-bzero-ifunc.c: Likewise.
19094         * string/test-memccpy-ifunc.c: Likewise.
19095         * string/test-memchr-ifunc.c: Likewise.
19096         * string/test-memcmp-ifunc.c: Likewise.
19097         * string/test-memcpy-ifunc.c: Likewise.
19098         * string/test-memmem-ifunc.c: Likewise.
19099         * string/test-memmove-ifunc.c: Likewise.
19100         * string/test-mempcpy-ifunc.c: Likewise.
19101         * string/test-memset-ifunc.c: Likewise.
19102         * string/test-rawmemchr-ifunc.c: Likewise.
19103         * string/test-stpcpy-ifunc.c: Likewise.
19104         * string/test-stpncpy-ifunc.c: Likewise.
19105         * string/test-strcasecmp-ifunc.c: Likewise.
19106         * string/test-strcasestr-ifunc.c: Likewise.
19107         * string/test-strcat-ifunc.c: Likewise.
19108         * string/test-strchr-ifunc.c: Likewise.
19109         * string/test-strchrnul-ifunc.c: Likewise.
19110         * string/test-strcmp-ifunc.c: Likewise.
19111         * string/test-strcpy-ifunc.c: Likewise.
19112         * string/test-strcspn-ifunc.c: Likewise.
19113         * string/test-strlen-ifunc.c: Likewise.
19114         * string/test-strncasecmp-ifunc.c: Likewise.
19115         * string/test-strncat-ifunc.c: Likewise.
19116         * string/test-strncmp-ifunc.c: Likewise.
19117         * string/test-strncpy-ifunc.c: Likewise.
19118         * string/test-strnlen-ifunc.c: Likewise.
19119         * string/test-strpbrk-ifunc.c: Likewise.
19120         * string/test-strrchr-ifunc.c: Likewise.
19121         * string/test-strspn-ifunc.c: Likewise.
19122         * string/test-strstr-ifunc.c: Likewise.
19124         * debug/Makefile (tests-ifunc): New variable.
19125         (tests): Add $(tests-ifunc).
19126         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19127         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19128         * debug/test-stpcpy_chk-ifunc.c: New file.
19129         * debug/test-strcpy_chk-ifunc.c: Likewise.
19131 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19133         [BZ #13601]
19134         * elf/dl-load.c (open_verify): Retry read if the entire ELF
19135         header is not read in.
19137 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
19139         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
19140         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
19141         directly.  Pass built executable to script as
19142         $(built-program-cmd).
19143         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
19144         $testprogram without using LD_LIBRARY_PATH and $ldso.
19146         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19147         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19148         $(rtld-installed-name).
19149         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19150         (rtld_installed_name): Likewise.
19151         (library_path): Likewise.
19152         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
19153         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19154         $(run-program-prefix) to tst-tables.sh.
19155         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
19156         it to run tst-table-from and tst-table-to.
19157         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19158         Pass it to tst-table.sh.
19159         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19160         $(run-program-prefix) to tst-gettext.sh.
19161         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19162         tst-translit.sh.
19163         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19164         tst-gettext2.sh.
19165         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
19166         to run tst-gettext.
19167         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
19168         to run tst-gettext2.
19169         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
19170         to run tst-translit.
19171         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19172         $(run-program-prefix) to tst-mtrace.sh.
19173         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
19174         to run tst-mtrace.
19175         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19176         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19177         $(rtld-installed-name).
19178         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19179         (rtld_installed_name): Likewise.
19180         (run_program_prefix): New variable.  Use it to run wordexp-test.
19182         * Makeconfig (ARCH): Remove all definitions.
19183         (machine): Likewise.
19184         [ARCH]: Remove conditional code.
19185         [!objdir]: Give error.
19186         [!objdir] (objpfx): Remove.
19187         [!objdir] (common-objpfx): Likewise.
19188         [!objdir] (common-objdir): Likewise.
19189         * configure.in (config_makefile): Remove.  Hardcode Makefile in
19190         AC_CONFIG_FILES call.
19191         * configure: Regenerated.
19193         [BZ #13888]
19194         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19195         or TMPDIR.
19196         (testout): Likewise.
19198         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19199         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19200         $(rtld-installed-name).
19201         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19202         (rtld_installed_name): Likwise.
19203         (runit): Remove function.
19204         (run_getconf): New variable,  Use it for running getconf binary.
19206 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
19208         [BZ #14716]
19209         * string/test-memmem.c (check_result): New function.
19210         (do_one_test): Use it.
19211         (check1): New function.
19212         (test_main): Use it.
19214 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
19216         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19218 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
19220         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19221         (_G_LSEEK64): Likewise.
19222         (_G_MMAP64): Likewise.
19223         (_G_FSTAT64): Likewise.
19224         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19225         (_G_LSEEK64): Likewise.
19226         (_G_MMAP64): Likewise.
19227         (_G_FSTAT64): Likewise.
19228         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19229         unconditional.  Call __mmap64 directly.
19230         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19231         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
19232         __lseek64 directly.
19233         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19234         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
19235         __mmap64 directly.
19236         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19237         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19238         __lseek64 directly.
19239         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19240         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
19241         __lseek64 directly.
19242         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19243         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
19244         __lseek64 directly.
19245         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19246         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
19247         __fxstat64 directly.
19248         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19249         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19250         unconditional.
19251         (freopen64) [!_G_OPEN64]: Remove conditional code.
19252         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19253         unconditional.
19254         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19255         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19256         unconditional.
19257         (ftello64) [!_G_LSEEK64]: Remove conditional code.
19258         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19259         unconditional.
19260         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19261         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19262         unconditional.
19263         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19264         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19265         unconditional.
19266         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19267         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19268         unconditional.
19269         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19270         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19271         unconditional.
19272         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19274 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19276         [BZ #12140]
19277         * manual/memory.texi (Malloc Tunable Parameters): Add note
19278         about free list pointers overwriting some perturb bytes.
19279         Wording suggested by Roland McGrath.
19281 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
19283         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19284         (lgamma_test): Likewise.
19285         (tgamma_test): Likewise.
19287 2012-10-16  Florian Weimer  <fweimer@redhat.com>
19289         [BZ #14700]
19290         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19291         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19293 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
19295         * NEWS: Mention BZ #14716.
19296         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19297         when removing AVAILABLE1_USES_J macro.
19299 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
19301         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19302         (__bswap_64): __uint64_t for unsigned 64-bit int.
19304 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
19306         * include/string.h (memmem): Declare libc hidden alias.
19307         * string/memmem.c (memmem): Define libc hidden alias.
19308         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19309         __read, __close instead of open, read, close.
19311 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
19313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19314         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19315         global and hidden.
19316         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19317         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19318         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19319         Likewise.
19320         (__rawmemchr_sse2): Likewise.
19321         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19322         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19323         (__strchr_sse2): Likewise.
19324         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19325         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19326         (__strcasecmp_sse2): Likewise.
19327         (__strncasecmp_sse2): Likewise.
19328         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19329         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19330         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19331         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19332         (__strrchr_sse2): Likewise.
19333         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19334         ifunc-impl-list.c.
19335         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19336         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19337         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19338         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19339         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19340         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19341         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19342         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19343         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19344         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19345         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19346         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19347         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19348         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19349         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19350         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19351         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19352         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19353         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19354         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19355         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19356         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19357         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19358         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19359         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19360         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19361         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19362         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19363         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19364         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19366         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19367         global and hidden.
19368         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19369         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19370         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19371         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19372         Likewise.
19373         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19374         Likewise.
19375         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19376         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19377         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19378         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19379         ifunc-impl-list.c.
19380         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19381         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19382         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19383         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19384         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19385         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19386         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19387         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19388         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19389         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19390         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19391         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19392         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19393         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19394         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19395         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19396         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19397         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19398         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19399         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19400         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19401         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19402         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19403         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19404         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19405         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19406         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19407         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19408         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19409         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19410         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19411         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19412         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19413         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19414         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19415         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19416         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19417         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19418         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19419         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19420         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19422         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19423         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19424         * include/ifunc-impl-list.h: New file.
19425         * misc/ifunc-impl-list.c: Likewise.
19426         * misc/Makefile (routines): Add ifunc-impl-list.
19427         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19428         * string/test-string.h: Include <ifunc-impl-list.h>.
19429         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19430         impl_array): New variables.
19431         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19432         are defined.
19433         (test_init): Call __libc_ifunc_impl_list to initialize
19434         func_list if TEST_IFUNC and TEST_NAME are defined.
19436         * string/Makefile (strop-tests): Add bcopy and bzero.
19437         * string/test-bcopy.c: New file.
19438         * string/test-bzero.c: Likewise.
19439         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19440         defined.
19441         * string/test-memset.c: Support bzero test if TEST_BZERO is
19442         defined.
19443         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19444         __libc_memmove.
19445         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19446         __libc_memset.
19447         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19448         of memset.
19450 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19452         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19453         * configure: Regenerated.
19455         * Makeconfig (+link-static-before-libc): Don't include
19456         $(link-static-libc).
19458         * libio/libio.h (_IO_pos_t): Remove.
19460 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19462         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19463         McGrath.
19465 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19467         * crypt/crypt-entry.c: Include fips-private.h.
19468         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19469         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19470         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19471         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19473 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19475         * crypt/crypt-private.h: Include stdbool.h.
19476         (_ufc_setup_salt_r): Return bool.
19477         * crypt/crypt-entry.c: Include errno.h.
19478         (__crypt_r): Return NULL with EINVAL for bad salt.
19479         * crypt/crypt_util.c (bad_for_salt): New.
19480         (_ufc_setup_salt_r): Check that salt is long enough and within
19481         the specified alphabet.
19482         * crypt/badsalttest.c: New file.
19483         * crypt/Makefile (tests): Add it.
19484         ($(objpfx)badsalttest): New.
19486 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19488         * NEWS: Add entry for BZ #14602.
19490 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19492         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19493         type-generic.
19494         * math/libm-test.inc: Update comment listing what functions and
19495         macros are tested.
19496         (isgreater_test): New function.
19497         (isgreaterequal_test): Likewise.
19498         (isless_test): Likewise.
19499         (islessequal_test): Likewise.
19500         (islessgreater_test): Likewise.
19501         (isunordered_test): Likewise.
19502         (main): Call the new functions.
19504 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19506         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19507         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19508         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19509         * sysdeps/i386/configure: Regenerated.
19510         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19511         * sysdeps/mach/configure: Regenerated.
19512         * sysdeps/mach/hurd/configure: Regenerated.
19513         * sysdeps/powerpc/configure: Regenerated.
19514         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19515         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19516         * sysdeps/s390/s390-32/configure: Regenerated.
19517         * sysdeps/s390/s390-64/configure: Regenerated.
19518         * sysdeps/sh/configure: Regenerated.
19519         * sysdeps/sparc/configure: Regenerated.
19520         * sysdeps/unix/sysv/linux/configure: Regenerated.
19521         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19522         * sysdeps/x86_64/configure: Regenerated.
19524         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19525         defined.  Don't check if MAP is NULL.
19527 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19529         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19530         (_G_stat64): Likewise.
19531         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19532         (_G_stat64): Likewise.
19533         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19534         instead of struct _G_stat64.
19535         * libio/fileops.c (mmap_remap_check): Likewise.
19536         (decide_maybe_mmap): Likewise.
19537         (_IO_new_file_seekoff): Likewise.
19538         (_IO_file_stat): Likewise.
19539         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19540         _G_off64_t.
19541         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19542         instead of struct _G_stat64.
19543         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19545 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19547         [BZ #14602]
19548         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19549         Replace with ...
19550         (CHECK_EOL): New macro.
19551         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19552         CHECK_EOL.
19553         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19554         Replace with CHECK_EOL.
19555         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19556         Replace with CHECK_EOL.
19558 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19560         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19561         type-generic.
19562         * math/libm-test.inc: Update comment listing what functions and
19563         macros are tested.
19564         (finite_test): New function.
19565         (isinf_test): Likewise.
19566         (isnan_test): Likewise.
19567         (fpclassify_test): Test subnormal input.
19568         (isfinite_test): Likewise.
19569         (isnormal_test): Likewise.
19570         (main): Call the new functions.
19572 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19574         [BZ #14660]
19575         * Makerules (%.dynsym): Force C locale when running
19576         $(OBJDUMP) --dynamic-syms.
19578 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19580         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19581         <stdint.h>.
19583 2012-10-06  David S. Miller  <davem@davemloft.net>
19585         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19586         upper 32-bits of the length value in %o2 since we use branch-on-register
19587         tests which consider the entire 64-bit register.
19589 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19591         * string/test-strstr.c (check2): Add a test for page boundary.
19593 2012-10-05  David S. Miller  <davem@davemloft.net>
19595         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19596         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19597         file.
19598         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19599         sysdep_routines.
19600         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19601         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19602         and bzero when HWCAP_SPARC_CRYPTO is present.
19604 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19606         [BZ #14602]
19607         * string/test-strstr.c (check2): New function.
19608         (test_main): Call check2.
19610         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19611         and bug-strchr1.
19612         * string/bug-strcasestr1.c (do_test): Moved to ...
19613         * string/test-strcasestr.c (check1): Here.  New function.
19614         (do_one_test): Break out result checking code into ...
19615         (check_result): This.  New function.
19616         (do_one_test): Call check_result.
19617         (test_main): Call check1.
19618         * string/bug-strchr1.c (do_test): Moved to ...
19619         * string/test-strchr.c (check1): Here.  New function.
19620         (do_one_test): Break out result checking code into ...
19621         (check_result): This.  New function.
19622         (do_one_test): Call check_result.
19623         (test_main): Call check1.
19624         * string/bug-strstr1.c (main): Moved to ...
19625         * string/test-strstr.c (check1): Here.  New function.
19626         (do_one_test): Break out result checking code into ...
19627         (check_result): This.  New function.
19628         (do_one_test): Call check_result.
19629         (test_main): Call check1.
19630         * string/bug-strcasestr1.c: Removed.
19631         * string/bug-strchr1.c: Likewise.
19632         * string/bug-strstr1.c: Likewise.
19634         * elf/Makefile (dl-routines): Add hwcaps.
19635         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19636         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19637         (_dl_important_hwcaps): Moved to ...
19638         * elf/dl-hwcaps.c: Here.  New file.
19639         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19641         [BZ #14557]
19642         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19643         if IS_IN_rtld isn't defined.
19645         * elf/dl-support.c (_dl_sysinfo_map): New.
19646         Include "get-dynamic-info.h" and "setup-vdso.h".
19647         (_dl_non_dynamic_init): Call setup_vdso.
19648         * elf/dynamic-link.h: Don't include <assert.h>.
19649         (elf_get_dynamic_info): Moved to ...
19650         * elf/get-dynamic-info.h: Here.  New file.
19651         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19652         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19653         * elf/setup-vdso.h: Here.  New file.
19654         * elf/rtld.c: Include "setup-vdso.h".
19655         (dl_main): Call setup_vdso.
19657 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19659         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19660         creal in comment listing functions tested.  List finite, isinf,
19661         isnan, isless, islessequal, isgreater, isgreaterequal,
19662         islessgreater, isunordered, lgamma_r and pow10 as functions and
19663         macros not tested.  Mention which functions not tested are aliases
19664         for other functions.  Fix typo.  Note that signs of NaNs are not
19665         tested.
19667         * scripts/config.guess: Update from config.git.
19668         * scripts/config.sub: Likewise.
19670 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19672         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19673         * misc/madvise.c (madvise): Renamed to __madvise.
19674         Make madvise a weak alias.
19675         * include/sys/mman.h: Declare __madvise.
19676         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19677         * sysdeps/unix/syscalls.list
19678         (madvise): Make __madvise the strong name, and madvise a weak alias.
19679         * sysdeps/unix/sysv/linux/syscalls.list
19680         (madvise, mmap): Remove redundant entries.
19681         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19682         * malloc/malloc.c (mtrim): Likewise.
19683         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19685 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19687         * sysdeps/mach/hurd/dl-cache.c: File removed.
19688         * config.h.in (USE_LDCONFIG): New #undef.
19689         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19690         * configure: Regenerated.
19691         * elf/Makefile (dl-routines): Add dl-cache only under
19692         [$(use-ldconfig) = yes].
19693         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19694         cache on [USE_LDCONFIG].
19695         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19696         [USE_LDCONFIG].
19697         * elf/rtld.c (dl_main): Likewise.
19699 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19701         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19702         _SC_LEVEL4_CACHE_LINESIZE.
19704 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19706         * sysdeps/unix/bsd/confstr.h: File removed.
19708 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19710         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19711         sys/sdt-config.h.
19713 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19715         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19716         Make 'mapoff' field ElfW(Off) rather than off_t.
19718 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19720         * nscd/Makefile: Remove nscd-cflags and all its users.
19721         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19722         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19724         [BZ #10631]
19725         * malloc.c (malloc_printerr): Clarify error message.
19727 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19729         [BZ #14648]
19730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19731         Set bit_FMA_Usable if FMA is supported.
19732         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19733         macro.
19734         (bit_FMA4_Usable): Updated.
19735         (index_FMA_Usable): New macro.
19736         (CPUID_FMA): Likewise
19737         (HAS_FMA): Defined with bit_FMA_Usable.
19739 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19741         * bits/types.h (__swblk_t): Type removed.
19742         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19743         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19744         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19745         (__SWBLK_T_TYPE): Likewise.
19746         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19747         (__SWBLK_T_TYPE): Likewise.
19748         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19749         (__SWBLK_T_TYPE): Likewise.
19750         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19751         (__SWBLK_T_TYPE): Likewise.
19753 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19754             Honza Horak <hhorak@redhat.com>
19756         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19757         (xdr_mapname): Use YPMAXMAP as maxsize.
19758         (xdr_peername): Use YPMAXPEER as maxsize.
19759         (xdr_keydat): Use YPAXRECORD as maxsize.
19760         (xdr_valdat): Use YPMAXRECORD as maxsize.
19762 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19764         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19766         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19767         * csu/init-first.c: ... here.
19768         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19769         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19770         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19771         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19772         * sysdeps/i386/init-first.c: File removed.
19773         * sysdeps/sh/init-first.c: File removed.
19775 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19777         [BZ #14645]
19778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19779         if x * y might underflow to zero and z is zero.
19780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19782         * math/libm-test.inc (min_subnorm_value): New variable.
19783         (fma_test): Add more tests.
19784         (fma_test_towardzero): Likewise.
19785         (fma_test_downward): Likewise
19786         (fma_test_upward): Likewise.
19787         (initialize): Set min_subnorm_value.
19789 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19791         [BZ #14638]
19792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19793         0 + 0.
19794         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19795         mode for addition resulting in exact zero.
19796         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19798         exact 0 + 0.
19799         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19801         * math/libm-test.inc (fma_test): Add more tests.
19802         (fma_test_towardzero): New function.
19803         (fma_test_downward): Likewise.
19804         (fma_test_upward): Likewise.
19805         (main): Call the new functions.
19807 2012-09-28  David S. Miller  <davem@davemloft.net>
19809         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19811 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19813         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19814         instead of SIGALRM.
19816         * sysdeps/gnu/_G_config.h: Moved to ...
19817         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19818         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19819         * sysdeps/generic/_G_config.h: ... here.
19821         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19823         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19825         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19826         Conditionalize target on [libnss_test1.so-version].
19828         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19830         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19831         (elfobjdir): Move out of conditionals.
19833         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19834         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19835         (__nss_lookup_function): Conditionalize label remove_from_tree on
19836         [!DO_STATIC_NSS || SHARED], matching its only use.
19838 2012-09-28  David S. Miller  <davem@davemloft.net>
19840         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19841         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19842         file.
19843         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19844         sysdep_routines.
19845         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19846         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19847         when HWCAP_SPARC_CRYPTO is present.
19849 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19851         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19853 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19855         [BZ #6530]
19856         * stdio-common/vfprintf.c (process_string_arg): Revert
19857         2000-07-22 change.
19859 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19861         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19862         for testcase.
19863         * stdio-common/tst-sprintf.c: Include <locale.h>
19864         (main): Test sprintf's handling of incomplete multibyte
19865         characters.
19867 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19869         * elf/dl-runtime.c (VERSYMIDX): Removed.
19870         * elf/dl-version.c (VERSYMIDX): Likewise.
19871         * elf/do-rel.h (VERSYMIDX): Likewise.
19872         (VALIDX): Likewise.
19873         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19874         * elf/rtld.c (VALIDX): Likewise.
19875         (ADDRIDX): Likewise.
19876         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19877         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19878         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19879         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19880         (VALIDX): Likewise.
19881         (ADDRIDX): Likewise.
19883 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19885         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19887 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19889         [BZ #11438]
19890         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19891         to global scope.
19892         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19893         addresses are in the same scope as 192.0.2/24.
19894         * posix/gai.conf: Document new scope table defaults.
19896 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19898         [BZ #5298]
19899         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19900         for ftell.  Compute offsets from write pointers instead.
19901         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19903 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19905         [BZ #14543]
19906         * libio/Makefile (tests): New test case tst-fseek.
19907         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19908         combination works in wide mode.
19909         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19910         state when the external buffer state changes.
19912 2012-09-27  David S. Miller  <davem@davemloft.net>
19914         [BZ #14376]
19915         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19916         pass reloc->r_addend in as the 'high' argument to
19917         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19921 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19923         * rt/tst-aio2.c: Include <pthread.h>.
19924         * rt/tst-aio3.c: Likewise.
19926 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19928         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19930 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19932         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19933         contents on [SHARED].
19935 2012-09-26  Marek Polacek  <polacek@redhat.com>
19937         [BZ #14530]
19938         [BZ #13741]
19939         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19940         for C++ and GCC <4.3 as well as for non GCC compilers.
19942 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19946 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19948         * Makefile.in (all, install): Declare with .PHONY.
19949         Reported by Michael Hope <michael.hope@linaro.org>.
19951 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19953         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19954         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19955         system header.
19956         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19957         Likewise.
19958         (sydep_routines): Add the new and the internal functions.
19959         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19960         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19962         (GLIBC_2.17): Add the new function.
19963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19964         (GLIBC_2.17): Likewise.
19965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19966         (GLIBC_2.17): Likewise.
19967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19968         (GLIBC_2.17): Likewise.
19969         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19971 2012-09-25  Alan Modra  <amodra@gmail.com>
19973         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19974         Add release barrier before setting once_control to say
19975         initialisation is done.  Add hints on lwarx.  Use macro in
19976         place of isync.
19977         (clear_once_control): Add release barrier.
19979 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19981         [BZ #13629]
19982         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19983         specially.
19984         * math/s_clog10.c (__clog10): Likewise.
19985         * math/s_clog10f.c (__clog10f): Likewise.
19986         * math/s_clog10l.c (__clog10l): Likewise.
19987         * math/s_clogf.c (__clogf): Likewise.
19988         * math/s_clogl.c (__clogl): Likewise.
19989         * math/Makefile (libm-calls): Add x2y2m1.
19990         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19991         (__x2y2m1): Likewise.
19992         (__x2y2m1l): Likewise.
19993         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19994         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19995         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19996         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19997         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19998         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19999         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20000         * sysdeps/i386/fpu/libm-test-ulps: Update.
20001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20003         [BZ #14621]
20004         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20005         int as type of variable DEPTH.
20006         (glob): Use size_t instead of int as type of variables NEWCOUNT
20007         and OLD_PATHC.
20009 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20011         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20012         Add s_sincosf-sse2.
20013         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20014         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20015         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20016         macros for using routine as __sincosf_ia32.
20017         Use macro for function declaration and weak_alias.
20018         * sysdeps/i386/fpu/libm-test-ulps: Update.
20020         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20023         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20024         subnormal argument.
20025         * math/s_cexpf.c (__cexpf): Likewise.
20026         * math/s_csinf.c (__csinf): Likewise.
20027         * math/s_csinhf.c (__csinhf): Likewise.
20028         * math/s_ctanf.c (__ctanf): Likewise.
20029         * math/s_ctanhf.c (__ctanhf): Likewise.
20030         * math/s_ccosh.c (__ccoshf): Likewise.
20031         * math/s_cexp.c (__cexpl): Likewise.
20032         * math/s_csin.c (__csin): Likewise.
20033         * math/s_csinh.c (__csinh): Likewise.
20034         * math/s_ctan.c (__ctan): Likewise.
20035         * math/s_ctanh.c (ctanh): Likewise.
20036         * math/s_ccoshl.c (__ccoshl): Likewise.
20037         * math/s_cexpl.c (__cexpl): Likewise.
20038         * math/s_csinl.c (__csinl): Likewise.
20039         * math/s_csinhl.c (__csinhl): Likewise.
20040         * math/s_ctanl.c (__ctanl): Likewise.
20041         * math/s_ctanhl.c (__ctanhl): Likewise.
20043 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
20045         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20046         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20047         (_IO_off_t): Define to __off_t, not _G_off_t.
20048         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20049         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20050         (_IO_wint_t): Define to wint_t, not _G_wint_t.
20051         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20052         type of __dummy and __dummy2 fields.
20053         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20054         (_G_ssize_t): Likewise.
20055         (_G_off_t): Likewise.
20056         (_G_pid_t): Likewise.
20057         (_G_uid_t): Likewise.
20058         (_G_wchar_t): Likewise.
20059         (_G_wint_t): Likewise.
20060         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20061         (_G_ssize_t): Likewise.
20062         (_G_off_t): Likewise.
20063         (_G_pid_t): Likewise.
20064         (_G_uid_t): Likewise.
20065         (_G_wchar_t): Likewise.
20066         (_G_wint_t): Likewise.
20067         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20068         (_G_ssize_t): Likewise.
20069         (_G_off_t): Likewise.
20070         (_G_pid_t): Likewise.
20071         (_G_uid_t): Likewise.
20072         (_G_wchar_t): Likewise.
20073         (_G_wint_t): Likewise.
20075 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20077         * malloc/arena.c: Include malloc-sysdep.h.
20078         (shrink_heap): Use check_may_shrink_heap to decide if madvise
20079         is sufficient to shrink the heap or an unmap is needed.
20080         * sysdeps/generic/malloc-sysdep.h: New file.  Define
20081         new function check_may_shrink_heap.
20082         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
20083         new function check_may_shrink_heap.
20085 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20087         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20088         comments.
20090 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
20092         * catgets/test-gencat.sh: Add "set -e".
20093         * elf/tst-pathopt.sh: Likewise.
20094         * grp/tst_fgetgrent.sh: Likewise.
20095         * iconvdata/run-iconv-test.sh: Likewise.
20096         * intl/tst-gettext.sh: Likewise.
20097         * intl/tst-gettext2.sh: Likewise.
20098         * intl/tst-gettext4.sh: Likewise.
20099         * intl/tst-gettext6.sh: Likewise.
20100         * intl/tst-translit.sh: Likewise.
20101         * io/ftwtest-sh: Likewise.
20102         * libio/test-freopen.sh: Likewise.
20103         * malloc/tst-mtrace.sh: Likewise.
20104         * posix/globtest.sh: Likewise.
20105         * posix/tst-getconf.sh: Likewise.
20106         * posix/wordexp-tst.sh: Likewise.
20107         * stdio-common/tst-printf.sh: Likewise.
20108         * stdio-common/tst-unbputc.sh: Likewise.
20109         * stdlib/tst-fmtmsg.sh: Likewise.
20110         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20111         * catgets/Makefile: Do not specify -e option when running
20112         testsuite shell scripts.
20113         * elf/Makefile: Likewise.
20114         * grp/Makefile: Likewise.
20115         * iconvdata/Makefile: Likewise.
20116         * intl/Makefile: Likewise.
20117         * io/Makefile: Likewise.
20118         * libio/Makefile: Likewise.
20119         * malloc/Makefile: Likewise.
20120         * posix/Makefile: Likewise.
20121         * stdio-common/Makefile: Likewise.
20122         * stdlib/Makefile: Likewise.
20123         * sysdeps/x86_64/Makefile: Likewise.
20125         * io/ftwtest-sh: Add copyright header.
20126         * posix/globtest.sh: Likewise.
20127         * posix/tst-getconf.sh: Likewise.
20128         * posix/wordexp-tst.sh: Likewise.
20129         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20131 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
20133         [BZ #13679]
20134         * Makeconfig (+link): Defined as $(+link-static) if
20135         $(build-shared) isn't yes.
20136         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20137         isn't yes.
20138         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20140         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20142         [BZ #14562]
20143         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20144         new chunk size with MALLOC_ALIGN_MASK.
20146 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
20148         [BZ #5044]
20149         * stdio-common/printf_fphex.c: Include <stdbool.h> and
20150         <rounding-mode.h>.
20151         (__printf_fphex): Determine rounding using get_rounding_mode and
20152         round_away.
20153         * stdio-common/tst-printf-round.c (struct hex_test): New
20154         structure.
20155         (hex_tests): New variable.
20156         (test_hex_in_one_mode): New function.
20157         (do_test): Also run tests for hex float output.
20159 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
20161         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20162         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20163         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20164         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20165         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20166         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20167         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20168         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20170 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
20172         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20173         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20174         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20175         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20177 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
20179         [BZ #14579]
20180         * elf/rtld.c (dl_main): Limit the check for self loading to normal
20181         mode only.
20182         * elf/tst-rtld-load-self.sh: New test.
20183         * elf/Makefile: Run it.
20185 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
20187         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20188         (tst-writev-ENV): Remove.
20189         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20191 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
20193         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20195 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
20197         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20198         unconditional.
20199         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20200         Likewise.
20201         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20202         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20203         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20204         Likewise.
20206 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
20208         [BZ #14587]
20209         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20210         * config.make.in (have-cpp-asm-debuginfo): Removed.
20211         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20212         * configure: Regenerated.
20214 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
20216         [BZ #5044]
20217         * stdio-common/printf_fp.c: Include <stdbool.h> and
20218         <rounding-mode.h>.
20219         (___printf_fp): Determine rounding using get_rounding_mode and
20220         round_away.
20221         * stdio-common/tst-printf-round.c: New file.
20222         * stdio-common/Makefile (tests): Add tst-printf-round.
20223         (link-libm): New variable.
20224         ($(objpfx)tst-printf-round): Depend in $(link-libm).
20226 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
20228         [BZ #14576]
20229         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20230         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20231         Likewise.
20232         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20233         Likewise.
20235 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
20237         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20238         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20239         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20240         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20242 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
20244         [BZ #14518]
20245         * include/rounding-mode.h: New file.
20246         * sysdeps/generic/get-rounding-mode.h: Likewise.
20247         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20248         * stdlib/strtod_l.c: Include <rounding-mode.h>.
20249         (MAX_VALUE): New macro.
20250         (MIN_VALUE): Likewise.
20251         (overflow_value): New function.
20252         (underflow_value): Likewise.
20253         (round_and_return): Use overflow_value and underflow_value to
20254         determine return values in overflow and underflow cases.  Use
20255         round_away to determine rounding depending on rounding mode.
20256         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20257         determine return values in overflow and underflow cases.
20258         * stdlib/tst-strtod-round.c: Include <fenv.h>.
20259         (struct test_results): New structure.
20260         (struct test): Use struct test_results to store expected results
20261         for all rounding modes.
20262         (TEST): Include expected results for all rounding modes.
20263         (test_in_one_mode): New function.
20264         (do_test): Use test_in_one_mode to compute and check results.
20265         Check results for all rounding modes.
20266         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20267         $(link-libm).
20269 2012-12-09  Allan McRae  <allan@archlinux.org>
20271         * sysdeps/i386/fpu/libm-test-ulps: Update
20273 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
20275         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20276         (_G_int32_t): Likewise.
20277         (_G_uint16_t): Likewise.
20278         (_G_uint32_t): Likewise.
20279         (_G_HAVE_BOOL): Likewise.
20280         (_G_HAVE_ATEXIT): Likewise.
20281         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20282         (_G_HAVE_IO_FILE_OPEN): Likewise.
20283         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20284         (_G_int32_t): Likewise.
20285         (_G_uint16_t): Likewise.
20286         (_G_uint32_t): Likewise.
20287         (_G_HAVE_BOOL): Likewise.
20288         (_G_HAVE_ATEXIT): Likewise.
20289         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20290         (_G_HAVE_IO_FILE_OPEN): Likewise.
20291         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20292         (_G_int32_t): Likewise.
20293         (_G_uint16_t): Likewise.
20294         (_G_uint32_t): Likewise.
20295         (_G_HAVE_BOOL): Likewise.
20296         (_G_HAVE_ATEXIT): Likewise.
20297         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20298         (_G_HAVE_IO_FILE_OPEN): Likewise.
20300 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
20302         * csu/libc-tls.c: Update copyright years.
20304 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
20306         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20307         [!_G_USING_THUNKS]: Remove conditional code.
20308         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20309         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20311         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20312         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20313         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20314         (_G_VTABLE_LABEL_PREFIX): Likewise.
20315         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20316         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20317         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20318         (_G_VTABLE_LABEL_PREFIX): Likewise.
20319         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20320         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20321         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20322         (_G_VTABLE_LABEL_PREFIX): Likewise.
20323         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20325 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
20327         * libio/Makefile: Include ../Makeconfig before tests.
20328         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20329         only if $(build-shared) is yes.
20331         * iconv/gconv_db.c: Update copyright years.
20333 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20335         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20336         unwind info if defined PIC. Fix special cases description.
20337         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20339         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20340         DP_HI_MASK entry.
20341         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20343 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
20345         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20347         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20348         is NULL.
20350         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20351         (LDLIBS-tst-chk4): This.
20352         (LDFLAGS-tst-chk5): Renamed to ...
20353         (LDLIBS-tst-chk5): This.
20354         (LDFLAGS-tst-chk6): Renamed to ...
20355         (LDLIBS-tst-chk6): This.
20356         (LDFLAGS-tst-lfschk4): Renamed to ...
20357         (LDLIBS-tst-lfschk4): This.
20358         (LDFLAGS-tst-lfschk5): Renamed to ...
20359         (LDLIBS-tst-lfschk5): This.
20360         (LDFLAGS-tst-lfschk6): Renamed to ...
20361         (LDLIBS-tst-lfschk6): This.
20363         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20364         on $(common-objpfx)soversions.mk.
20366 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20368         [BZ #10014]
20369         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20370         example host name.
20372 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20374         * malloc/arena.c (arena_get_retry): New function that gets
20375         another arena for the caller to try its request on.
20376         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20377         current arena cannot fulfill the request.
20378         (__libc_memalign): Likewise.
20379         (__libc_memalign): Likewise.
20380         (__libc_pvalloc): Likewise.
20381         (__libc_calloc): Likewise.
20383 2012-09-05  John Tobey  <john.tobey@gmail.com>
20385         [BZ #13542]
20386         * manual/arith.texi (Operations on Complex): Fix description
20387         of carg branch cut.
20389 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20391         [BZ #10014]
20392         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20393         host name.
20395         [BZ #10038]
20396         * manual/memory.texi (Memory): Make order of menu items match
20397         order of sections.
20399 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20401         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20402         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20403         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20405 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20407         * csu/libc-tls.c (static_dtv): Renamed to ...
20408         (_dl_static_dtv): This.  Make it global.
20409         (_dl_initial_dtv): Removed.
20410         (__libc_setup_tls): Updated.
20411         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20412         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20413         DL_INITIAL_DTV.
20415 2012-09-06  Petr Machata  <pmachata@redhat.com>
20417         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20418         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20419         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20420         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20422 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20424         [BZ #14545]
20425         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20426         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20427         freeing dtv[-1].
20429 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20431         [BZ #14544]
20432         * Makeconfig (link-static-before-libc): Replace $(+prector)
20433         with $(+prectorT).
20434         (link-static-after-libc): Replace $(+postctor) with
20435         $(+postctorT).
20436         (link-bounded): Replace $(+prector)/$(+postctor) with
20437         $(+prectorT)/$(+postctorT).
20438         (+prectorT): New macro.
20439         (+postctorT): Likewise.
20441 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20443         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20444         (round_str): Handle values above the maximum for IBM long double
20445         as inexact.
20446         * stdlib/tst-strtod-round.c (tests): Regenerated.
20448 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20450         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20451         assembler flag.
20452         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20453         zarch_nohighgprs around the zarch optimized routines.
20454         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20455         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20456         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20457         for zarch.
20459 2012-09-05  David S. Miller  <davem@davemloft.net>
20461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20463         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20464         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20465         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20466         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20467         entries.
20469 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20471         * malloc/arena.c: Fold copyright years.
20472         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20474 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20476         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20478 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20480         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20482 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20484         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20485         change internal state upon failure.
20487 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20489         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20490         * malloc/memusage.c (mmap): Likewise.
20491         (mmap64, mremap): Likewise.  Adjust name in comment.
20493 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20495         * libio/fileops.c: Fix typos in comments.
20496         * libio/oldfileops.c: Likewise.
20497         * libio/wfileops.c: Likewise.
20499 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20501         [BZ #1349]
20502         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20503         (tst-malloc-usable-ENV): Set environment for test case.
20504         * malloc/hooks.c (malloc_check_get_size): New function to get
20505         requested size.
20506         * malloc/malloc.c (musable): Use malloc_check_get_size.
20507         * malloc/tst-malloc-usable.c: New test case.
20509 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20511         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20513 2012-09-05  Allan McRae  <allan@archlinux.org>
20515         [BZ #13966]
20516         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20517         determine header location.
20518         * configure: Regenerated.
20520 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20522         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20523         float format.
20524         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20525         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20526         format.
20527         (test): Regenerate.
20529 2012-09-04  David S. Miller  <davem@davemloft.net>
20531         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20532         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20533         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20535 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20537         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20538         failures.
20540         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20542 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20544         [BZ #9914]
20545         * libio/iogetdelim.c: Include <limits.h>.
20546         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20547         + len + 1 would overflow.
20549 2012-09-03  Andreas Jaeger  <aj@suse.de>
20551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20552         * sysdeps/i386/fpu/libm-test-ulps: Update.
20554 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20556         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20557         Add s_sinf-sse2, s_conf-sse2.
20559         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20560         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20561         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20562         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20564         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20565         for using routine as __sinf_ia32.
20566         Use macro for function declaration and weak_alias.
20567         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20568         for using routine as __cosf_ia32.
20569         Use macro for function declaration and weak_alias.
20571         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20572         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20574         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20575         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20578         * math/libm-test.inc (cos_test): Add more test cases.
20579         (sin_test): Likewise.
20580         (sincos_test): Likewise.
20582 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20584         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20585         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20586         hidden.
20587         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20589 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20591         [BZ #14538]
20592         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20593         first element of the GOT.
20594         (elf_machine_load_address): Return the difference between
20595         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20597 2012-09-01  Allan McRae  <allan@archlinux.org>
20599         [BZ #13412]
20600         * configure.in (AWK): Require gawk version 3.0 or later.
20601         * configure: Regenerated.
20603 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20605         * sysdeps/unix/sysv/linux/kernel-features.h
20606         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20607         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20608         [__NR_clock_getres]: Make code unconditional.
20609         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20610         (clock_getcpuclockid): Remove code left unreachable by removal of
20611         conditionals.
20612         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20613         code unconditional.
20614         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20615         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20616         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20617         Make code unconditional.
20618         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20619         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20620         * sysdeps/unix/sysv/linux/clock_settime.c
20621         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20622         conditional code.
20623         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20624         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20626 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20628         [BZ #14476]
20629         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20630         scripts/test-installation.pl.
20632         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20633         and $ld_so_version if it is set.
20635 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20637         [BZ #14516]
20638         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20639         failure if reading from procfs failed.
20640         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20642 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20644         * sysdeps/unix/sysv/linux/kernel-features.h
20645         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20646         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20647         Remove conditional code.
20648         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20649         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20650         Remove conditional code.
20651         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20652         * sysdeps/unix/sysv/linux/i386/fxstat.c
20653         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20654         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20655         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20656         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20657         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20658         * sysdeps/unix/sysv/linux/i386/lxstat.c
20659         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20660         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20661         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20662         Remove conditional code.
20663         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20664         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20665         Remove conditional code.
20666         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20667         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20668         <kernel-features.h>.
20669         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20670         Remove.
20671         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20672         Remove conditional code.
20673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20674         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20675         Remove conditional.
20677 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20679         [BZ #5400]
20680         * NEWS: Add fixed bug number.
20682 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20684         [BZ #14519]
20685         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20686         underflowing exponent in case of negative sign.
20687         * stdlib/tst-strtod-round-data: Add more tests.
20688         * stdlib/tst-strtod-round.c (tests): Regenerated.
20690         [BZ #3479]
20691         * stdlib/strtod_l.c (NDIG): Remove.
20692         (HEXNDIG): Likewise.
20693         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20694         smallest representable value.
20695         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20696         lie within an exact representation of 1/2 ulp of the result.
20697         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20698         unconditionally.
20699         (TENS_P9_IDX): Define unconditionally.
20700         (TENS_P9_SIZE): Likewise.
20701         (TENS_P10_IDX): Likewise.
20702         (TENS_P10_SIZE): Likewise.
20703         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20704         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20705         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20706         entries for 10^2^13 and 10^2^14.
20707         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20708         (TENS_P13_IDX): Define.
20709         (TENS_P13_SIZE): Likewise.
20710         (TENS_P14_IDX): Likewise.
20711         (TENS_P14_SIZE): Likewise.
20712         (_fpioconst_pow10): Change array size to
20713         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20714         unconditional.
20715         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20716         1024]: Add entries for 10^2^13 and 10^2^14.
20717         [LAST_POW10 > _LAST_POW10]: Remove #error.
20718         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20719         (_fpioconst_pow10): Change array size to
20720         FPIOCONST_POW10_ARRAY_SIZE.
20721         * stdlib/gen-fpioconst.c: New file.
20722         * stdlib/gen-tst-strtod-round.c: Likewise.
20723         * stdlib/tst-strtod-round-data: Likewise.
20724         * stdlib/tst-strtod-round.c: Likewise.
20725         * stdlib/Makefile (tests): Add tst-strtod-round.
20727         [BZ #14459]
20728         * stdlib/strtod_l.c: Include <stdint.h>.
20729         (NDEBUG): Do not define.
20730         (round_and_return): Change EXPONENT parameter to type intmax_t.
20731         Rearrange calculations to avoid internal overflow possibilities.
20732         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20733         Rearrange calculations to avoid internal overflow possibilities.
20734         Assert that number fits inside MPNSIZE limbs.
20735         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20736         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20737         calculations and add assertions to avoid internal overflow
20738         possibilities.  Add casts to avoid signed/unsigned operations.
20739         * stdlib/tst-strtod-overflow.c: New file.
20740         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20742 2012-08-25  Marek Polacek  <polacek@redhat.com>
20744         * time/time.h: Fix some typos in comments.
20746 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20748         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20749         * posix/tst-rfc3484-2.c: Likewise.
20750         * posix/tst-rfc3484-3.c: Likewise.
20752 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20754         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20755         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20757 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20759         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20760         #include of fxstatat64.c.
20762 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20764         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20765         * shadow/getspent_r.c: Likewise.
20766         * shadow/getspnam.c: Likewise.
20767         * shadow/getspnam_r.c: Likewise.
20768         * gshadow/getsgent.c: Likewise.
20769         * gshadow/getsgent_r.c: Likewise.
20770         * gshadow/getsgnam.c: Likewise.
20771         * gshadow/getsgnam_r.c: Likewise.
20772         * inet/getnetbyad.c: Likewise.
20773         * inet/getnetbyad_r.c: Likewise.
20774         * inet/getnetbynm.c: Likewise.
20775         * inet/getnetbynm_r.c: Likewise.
20776         * inet/getnetent.c: Likewise.
20777         * inet/getnetent_r.c: Likewise.
20778         * inet/getproto.c: Likewise.
20779         * inet/getproto_r.c: Likewise.
20780         * inet/getprtent.c: Likewise.
20781         * inet/getprtent_r.c: Likewise.
20782         * inet/getprtname.c: Likewise.
20783         * inet/getprtname_r.c: Likewise.
20784         * inet/getrpcbyname.c: Likewise.
20785         * inet/getrpcbyname_r.c: Likewise.
20786         * inet/getrpcbynumber.c: Likewise.
20787         * inet/getrpcbynumber_r.c: Likewise.
20788         * inet/getrpcent.c: Likewise.
20789         * inet/getrpcent_r.c: Likewise.
20790         * inet/getaliasent.c: Likewise.
20791         * inet/getaliasent_r.c: Likewise.
20792         * inet/getaliasname.c: Likewise.
20793         * inet/getaliasname_r.c: Likewise.
20794         * nscd/getgrgid_r.c: Likewise.
20795         * nscd/getgrnam_r.c: Likewise.
20796         * nscd/gethstbyad_r.c: Likewise.
20797         * nscd/gethstbynm3_r.c: Likewise.
20798         * nscd/getpwnam_r.c: Likewise.
20799         * nscd/getpwuid_r.c: Likewise.
20800         * nscd/getsrvbynm_r.c: Likewise.
20801         * nscd/getsrvbypt_r.c: Likewise.
20802         * nscd/gai.c: Likewise.
20804         * configure.in (build_nscd): New substituted variable, set
20805         by --disable-build-nscd and defaults to $use_nscd.
20806         * configure: Regenerated.
20807         * config.make.in (build-nscd): New substituted variable.
20808         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20809         Change conditional to require [$(build-nscd) = yes] as well.
20810         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20812         [BZ# 13696]
20813         * configure.in (use_nscd): New substituted variable, set by
20814         --disable-nscd.  If enabled, define USE_NSCD.
20815         * configure: Regenerated.
20816         * config.h.in: Add USE_NSCD.
20817         * config.make.in (use-nscd): New substituted variable.
20818         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20819         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20820         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20821         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20822         (CFLAGS-getgrnam_r.c): Likewise.
20823         (CFLAGS-initgroups.c): Likewise.
20824         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20825         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20826         Variables removed.
20827         * inet/getnetgrent_r.c
20828         (nscd_setnetgrent): New function, broken out of ...
20829         (setnetgrent): ... here.  Call it.
20830         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20831         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20832         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20833         * nscd/Makefile (routines, aux): Move definitions after include of
20834         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20835         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20836         Conditionalize on [USE_NSCD].
20837         (is_nscd, nscd_init_cb): Likewise.
20838         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20839         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20840         * nss/nss_db/db-init.c: Likewise.
20841         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20842         [USE_NSCD].
20843         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20844         (make_request): Use it.
20845         (cache_valid_p): New function.
20846         (__check_pf): Use it.
20847         * NEWS: Add item for --disable-nscd.
20849 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20851         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20852         to support sed >= 4.2.1-20-ga9bf076.
20853         * configure: Regenerated.
20855 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20857         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20858         Conditionalize whole body on [IREL].
20860 2012-08-22  Jeff Law <law@redhat.com>
20862         [BZ #14505]
20863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20864         if the family is PF_UNSPEC.
20866 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20868         * Makerules (lib-version): Rename from V.
20869         (install-lib-nosubdir): Change V to lib-version.
20871 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20873         [BZ #14252]
20874         * powerpc32/power6/wcschr.c: New file.
20875         * powerpc32/power6/wcscpy.c: New file.
20876         * powerpc32/power6/wcsrchr.c: New file.
20877         * powerpc64/power6/wcschr.c: New file.
20878         * powerpc64/power6/wcscpy.c: New file.
20879         * powerpc64/power6/wcsrchr.c: New file.
20881 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20883         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20884         (two_way_short_needle): Use it.
20885         * string/strstr.c (AVAILABLE1_USES_J): Define.
20886         * string/strcasestr.c: Likewise.
20888         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20889         array references.
20890         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20892         [BZ #11607]
20893         * NEWS: Add an entry.
20894         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20895         define their defaults.
20896         (two_way_short_needle): Detect end-of-string on-the-fly.
20897         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20898         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20899         * string/bug-strcasestr1.c: New test.
20900         * string/Makefile: Run it.
20902 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20904         [BZ #11607]
20905         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20906         the first character.
20908 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20910         * csu/elf-init.c (__libc_csu_irel): Function removed.
20911         * csu/libc-start.c (apply_irel): New function.
20912         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20914 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20916         * sysdeps/unix/sysv/linux/kernel-features.h
20917         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20918         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20919         <kernel-features.h>.
20920         [__NR_fadvise64_64]: Make code unconditional.
20921         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20922         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20923         !__NR_fadvise64_64)]: Likewise.
20924         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20925         !__NR_fadvise64_64))]: Likewise.
20926         [__NR_fadvise64]: Make code unconditional.
20927         [!__NR_fadvise64]: Remove conditional code.
20928         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20929         <kernel-features.h>.
20930         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20931         unconditional.
20932         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20933         conditional code.
20934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20935         not include <kernel-features.h>.
20936         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20937         unconditional.
20938         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20939         conditional code.
20940         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20941         include <kernel-features.h>.
20942         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20943         unconditional.
20944         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20945         conditional code.
20947 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20949         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20950         slight instruction rearrangements per scrollpipe analysis.
20951         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20953 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20955         * manual/syslog.texi (syslog; vsyslog, closelog):
20956         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20957         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20959         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20960         DSOCAPS to match condition on defining it.
20962 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20964         * sysdeps/unix/sysv/linux/kernel-features.h
20965         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20967         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20968         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20970         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20971         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20973         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20974         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20976         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20977         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20979         * sysdeps/unix/sysv/linux/kernel-features.h
20980         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20981         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20982         unconditional.
20983         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20984         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20985         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20986         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20987         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20988         Make code unconditional.
20989         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20990         (__mmap64) [!__NR_mmap2]: Likewise.
20991         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20992         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20993         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20994         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20995         [__NR_mmap2]: Make code unconditional.
20996         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20997         (__mmap64) [!__NR_mmap2]: Likewise.
20999 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21001         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21003 2012-08-18  Andreas Jaeger  <aj@suse.de>
21005         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21007 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21009         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21010         * include/unistd.h (__have_sock_cloexec): Likewise.
21011         (__have_pipe2): Likewise.
21012         (__have_dup3): Likewise.
21014 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
21016         [BZ #9685]
21017         * include/unistd.h (__have_pipe2): Change define into an extern int.
21018         (__have_dup3): Likewise.
21019         * socket/have_sock_cloexec.c: Include fcntl.h.
21020         (__have_pipe2): New variable.
21021         (__have_dup3): Likewise.
21023 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
21025         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21027 2012-08-17  Marek Polacek  <polacek@redhat.com>
21029         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21030         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21032 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21034         * configure.in: Add AC_SUBST for sysheaders.
21035         * configure: Regenerated.
21036         * config.make.in (sysheaders): New substituted variable.
21038         * sysdeps/unix/mkfifo.c: Moved ...
21039         * sysdeps/posix/mkfifo.c: ... here.
21040         * sysdeps/unix/mkfifoat.c: Moved ...
21041         * sysdeps/posix/mkfifoat.c: ... here.
21043         * sysdeps/unix/utime.c: Moved ...
21044         * sysdeps/posix/utime.c: ... here.
21046         * sysdeps/unix/time.c: Moved ...
21047         * sysdeps/posix/time.c: ... here.
21048         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21049         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21051         * sysdeps/unix/nice.c: Moved ...
21052         * sysdeps/posix/nice.c: ... here.
21054         * sysdeps/unix/alarm.c: Moved ...
21055         * sysdeps/posix/alarm.c: ... here.
21057         * intl/Makefile ($(codeset_mo)): Depend on the input file.
21059 2012-08-17  Jeff Law <law@redhat.com>
21061         * intl/Makefile (codeset_mo): New variable.
21062         ($(codeset_mo)): New target.
21063         (tst-codeset.out): Depend on that.  Remove explicit rule.
21064         (tst-gettext3.out, tst-gettext5.out): Likewise.
21065         (LOCPATH-ENV, tst-codeset-ENV): New variables.
21066         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21067         * intl/tst-codeset.sh: Remove.
21068         * intl/tst-gettext3.sh: Likewise.
21069         * intl/tst-gettext5.sh: Likewise.
21071 2012-08-17  Roland McGrath  <roland@hack.frob.com>
21073         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
21074         * sysdeps/unix/syscalls.list: ... here.
21076         * sysdeps/posix/getaddrinfo.c
21077         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21078         (gaiconf_init, gaiconf_reload): Use them.
21079         [!_STATBUF_ST_NSEC]
21080         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21081         Define using time_t rather than struct timespec.
21083         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21084         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21085         Macros removed.
21086         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21087         [!NO_THREADS].
21088         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21089         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21090         Likewise.
21092         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21093         __libc_cleanup_push argument.
21095         * bits/param.h: New file.
21096         * misc/sys/param.h: New file.
21097         * include/sys/param.h: New file.
21098         * misc/Makefile (headers): Add bits/param.h.
21099         * sysdeps/generic/sys/param.h: File removed.
21100         * sysdeps/unix/sysv/linux/bits/param.h: New file.
21101         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21102         * sysdeps/mach/hurd/bits/param.h: New file.
21103         * sysdeps/mach/hurd/sys/param.h: File removed.
21105         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21106         last change.
21108         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21109         [_IO_MTSAFE_IO].
21110         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21111         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21112         New macros.
21114         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21115         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21116         rather than -D_IO_MTSAFE_IO conditionally.
21117         * stdio-common/Makefile (CPPFLAGS): Likewise.
21118         * wcsmbs/Makefile (CPPFLAGS): Likewise.
21119         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21120         Use $(libio-mtsafe).
21121         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21122         of -D_IO_MTSAFE_IO.
21123         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21124         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21125         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21126         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21127         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21128         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21129         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21130         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21131         (CFLAGS-fread_u_chk.c): Likewise.
21132         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21133         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21134         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21135         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21136         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21137         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21138         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21139         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21140         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21142         * libio/Makefile: Test [$(libc-reentrant) = yes]
21143         instead of [$(filter %REENTRANT, $(defines)) nonempty].
21145         * Makeconfig
21146         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21147         * sysdeps/pthread/configure: File removed.
21148         * sysdeps/pthread/Makeconfig: New file.
21149         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21150         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21152 2012-08-16  Gary Benson  <gbenson@redhat.com>
21154         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21155         unmapping the first object in a namespace.
21157 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21159         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21160         (__internal_setnetgrent): ... this.  Add internal_function to
21161         definition.  Add libc_hidden_def.
21162         (setnetgrent): Update caller.
21163         (internal_endnetgrent): Renamed to ...
21164         (__internal_endnetgrent): ... this.  Add internal_function to
21165         definition.  Add libc_hidden_def.
21166         (endnetgrent): Update caller.
21167         (internal_getnetgrent_r): Renamed to ...
21168         (__internal_getnetgrent_r): ... this.  Add internal_function to
21169         definition.  Add libc_hidden_def.
21170         (__getnetgrent_r): Update caller.
21171         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
21173 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21175         * stdlib/longlong.h: Update from GCC.
21177 2012-08-16  Roland McGrath  <roland@hack.frob.com>
21179         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21180         on _QL, which is set by umul_ppmm but never used.
21181         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21182         variables, which are set by GMP macros but never used.
21183         * stdio-common/_itowa.c (_itowa): Likewise.
21184         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21185         * stdlib/mod_1.c (mpn_mod_1): Likewise.
21187 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
21189         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21190         struct La_sh_regs is not constant.
21191         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21192         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21193         and struct La_sparc64_regs are not constant.
21195 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
21197         * sysdeps/unix/sysv/linux/kernel-features.h
21198         (__ASSUME_POSIX_TIMERS): Remove.
21199         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21200         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21201         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21202         Make code unconditional.
21203         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21204         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21205         Make code unconditional.
21206         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21207         * sysdeps/unix/sysv/linux/clock_nanosleep.c
21208         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21209         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21210         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21211         Make code unconditional.
21212         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21213         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21214         (__libc_missing_posix_timers): Remove.
21216 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21218         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21219         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21221         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21223         * elf/dl-sym.c: Include <stdlib.h>.
21225         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21226         constants, which avoids warnings in 32-bit builds.
21228         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21229         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21231         * misc/lseek.c: File moved to ...
21232         * io/lseek.c: ... here.
21234         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21236         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21237         shifting LEN more than 31 bits at once.
21239 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21241         [BZ #14195]
21242         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21243         segmentation fault for a case of two empty input strings.
21244         * string/test-strncasecmp.c (check1): Renamed to...
21245         (bz12205): ...this.
21246         (bz14195): Add new testcase for two empty input strings and N > 0.
21247         (test_main): Call new testcase, adapt for renamed function.
21249 2012-08-15  Andreas Jaeger  <aj@suse.de>
21251         [BZ #14090]
21252         * crypt/md5test2.c: New test, based on test supplied by Serge
21253         Belyshev <belyshev@depni.sinp.msu.ru>.
21254         * crypt/Makefile (xtests): Add md5test-giant..
21255         * crypt/Makefile ($(objpfx)md5test-giant): Add.
21257 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
21259         [BZ #14090]
21260         * crypt/md5.c (md5_process_block): Don't assume the buffer
21261         length is less than 2**32.
21262         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21263         length is less than 2**64.
21265 2012-08-15  Roland McGrath  <roland@hack.frob.com>
21267         * string/str-two-way.h: Include <sys/param.h>.
21268         (MAX): Macro removed.
21270         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21271         Move #define and #undef of memmove to just before and after
21272         including <string.h>.
21274         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21275         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21276         and after including <string.h>.  Move declarations of
21277         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21278         to before #include "string/memmove.c".
21280         * include/dirent.h: Declare __getdirentries.
21282         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21283         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21285 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
21287         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21288         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21289         * sysdeps/i386/configure: Regenerated.
21290         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21291         STABS_CURRENT_FILE, and STABS_FUN.
21292         (END): Remove call to STABS_FUN_END.
21293         (STABS_CURRENT_FILE1): Delete.
21294         (STABS_CURRENT_FILE): Likewise.
21295         (STABS_FUN): Likewise.
21296         (STABS_FUN_END): Likewise.
21297         (STABS_FUN2): Likewise.
21298         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21299         * sysdeps/x86_64/configure: Regenerated.
21301 2012-08-14  Roland McGrath  <roland@hack.frob.com>
21303         * elf/dl-open.c: Include <atomic.h>.
21304         * elf/dl-lookup.c: Likewise.
21306 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
21308         * sysdeps/unix/sysv/linux/kernel-features.h
21309         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21310         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21311         unconditionally.
21312         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21313         unconditionally.
21314         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21315         condition on __ASSUME_CLONE_THREAD_FLAGS.
21317 2012-08-14  Andreas Jaeger  <aj@suse.de>
21319         * sysdeps/i386/fpu/libm-test-ulps: Update.
21321 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
21323         * include/atomic.h (atomic_exchange_and_add): Split into ...
21324         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21325         New atomic macros.
21327 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
21329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21331 2012-08-13  Jeff Law <law@redhat.com>
21333         * manual/stdio.texi (snprintf): Clarify handling of the trailing
21334         null byte in the output string.
21336 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
21338         * sysdeps/unix/sysv/linux/kernel-features.h
21339         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21340         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21341         (__ASSUME_ARG_MAX_STACK_BASED): Define.
21342         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21343         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21344         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
21345         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21347 2012-08-09  Jeff Law <law@redhat.com>
21349         [BZ #13939]
21350         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21351         When avoid_arena is set, don't retry in the that arena.  Pick the
21352         next one, whatever it might be.
21353         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21354         (arena_lock): Pass in new parameter to arena_get2.
21355         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21356         arena_get2.
21357         (__libc_malloc): Unify retrying after main arena failure with
21358         __libc_memalign version.
21359         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21361 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21363         [BZ #14166]
21364         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21365         to __redirect_strstr.
21366         (__strstr_sse42): Use typeof __redirect_strstr.
21367         (__strstr_ia32): Likewise.
21368         (__libc_strstr): New prototype.
21369         (strstr): Renamed to ...
21370         (__libc_strstr): This.
21371         (strstr): New strong alias of __libc_strstr.
21372         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21373         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21374         __redirect_time.
21375         Include <time.h>.
21376         (__libc_time): New prototype.
21377         (time_ifunc): Replace time with __libc_time.
21378         (time): New strong alias and hidden definition of __libc_time.
21379         (__GI_time): Remove strong alias.
21380         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21381         Include <stddef.h>.
21382         (memmove): Redefined to __redirect_memmove.
21383         (__memmove_sse2): Use typeof __redirect_memmove.
21384         (__memmove_ssse3): Likewise.
21385         (__memmove_ssse3_back): Likewise.
21386         (__libc_memmove): New prototype.
21387         (memmove): Renamed to ...
21388         (__libc_memmove): This.
21389         (memmove): New strong alias of __libc_memmove.
21391 2012-08-08  Mark Salter  <msalter@redhat.com>
21393         * elf/elf.h
21394         (R_MN10300_TLS_GD): Define.
21395         (R_MN10300_TLS_LD): Likewise.
21396         (R_MN10300_TLS_LDO): Likewise.
21397         (R_MN10300_TLS_GOTIE): Likewise.
21398         (R_MN10300_TLS_IE): Likewise.
21399         (R_MN10300_TLS_LE): Likewise.
21400         (R_MN10300_TLS_DTPMOD): Likewise.
21401         (R_MN10300_TLS_DTPOFF): Likewise.
21402         (R_MN10300_TLS_TPOFF): Likewise.
21403         (R_MN10300_SYM_DIFF): Likewise.
21404         (R_MN10300_ALIGN): Likewise.
21405         (R_MN10300_NUM): Update.
21407 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21409         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21410         Remove.
21412 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21414         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21416         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21417         sysdeps/unix -> sysdeps/posix move.
21418         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21420 2012-08-07      Allan McRae     <allan@archlinux.org>
21422         [BZ #14303]
21423         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21424         (SUNOS_CPP): Likewise.
21425         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21426         not found.
21427         (open_input): Call CPP using execvp.
21429 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21431         * sysdeps/unix/sysv/linux/kernel-features.h
21432         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21433         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21434         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21435         (__ASSUME_WAITID_SYSCALL): Likewise.
21436         * sysdeps/unix/sysv/linux/dl-execstack.c
21437         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21438         code unconditional.
21439         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21440         conditional code.
21441         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21442         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21443         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21444         code.
21445         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21446         unconditional.
21447         [__ASSUME_WAITID_SYSCALL]: Likewise.
21448         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21450 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21452         * sysdeps/unix/closedir.c: Renamed to ...
21453         * sysdeps/posix/closedir.c: ... here.
21454         * sysdeps/unix/dirfd.c: Renamed to ...
21455         * sysdeps/posix/dirfd.c: ... here.
21456         * sysdeps/unix/dirstream.h: Renamed to ...
21457         * sysdeps/posix/dirstream.h: ... here.
21458         * sysdeps/unix/fdopendir.c: Renamed to ...
21459         * sysdeps/posix/fdopendir.c: ... here.
21460         * sysdeps/unix/opendir.c: Renamed to ...
21461         * sysdeps/posix/opendir.c: ... here.
21462         * sysdeps/unix/readdir.c: Renamed to ...
21463         * sysdeps/posix/readdir.c: ... here.
21464         * sysdeps/unix/readdir_r.c: Renamed to ...
21465         * sysdeps/posix/readdir_r.c: ... here.
21466         * sysdeps/unix/rewinddir.c: Renamed to ...
21467         * sysdeps/posix/rewinddir.c: ... here.
21468         * sysdeps/unix/seekdir.c: Renamed to ...
21469         * sysdeps/posix/seekdir.c: ... here.
21470         * sysdeps/unix/telldir.c: Renamed to ...
21471         * sysdeps/posix/telldir.c: ... here.
21472         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21473         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21474         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21475         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21477         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21478         * bits/fcntl.h: ... here.
21480         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21481         not 0.
21482         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21483         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21484         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21485         (struct flock): Move l_start, l_len to the beginning.
21486         Use __pid_t for l_pid.
21487         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21488         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21489         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21490         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21491         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21492         [__USE_LARGEFILE64] (struct flock64): New type.
21493         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21495         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21496         * bits/dirent.h: ... here.
21498         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21499         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21501 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21503         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21504         Change from 2.6.0 to 2.6.16.
21505         * sysdeps/unix/sysv/linux/configure: Regenerated.
21506         * sysdeps/unix/sysv/linux/kernel-features.h
21507         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21508         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21509         version.
21510         (__ASSUME_UTIMES): Likewise.
21511         (__ASSUME_CLONE_STOPPED): Remove.
21512         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21513         architectures, not kernel version.
21514         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21515         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21516         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21517         (__ASSUME_WAITID_SYSCALL): Likewise.
21518         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21519         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21520         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21521         refer to older versions.
21523 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21525         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21526         Define alphasort64 as an alias.
21527         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21528         Define versionsort64 as an alias.
21529         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21530         Define scandir64 as an alias.
21531         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21532         Define scandirat64 as an alias.
21533         * dirent/alphasort64.c (alphasort64):
21534         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21535         * dirent/versionsort64.c: Likewise.
21536         * dirent/scandir64.c: Likewise.
21537         * dirent/scandirat64.c: Likewise.
21538         * sysdeps/wordsize-64/alphasort.c: File removed.
21539         * sysdeps/wordsize-64/alphasort64.c: File removed.
21540         * sysdeps/wordsize-64/scandir.c: File removed.
21541         * sysdeps/wordsize-64/scandir64.c: File removed.
21542         * sysdeps/wordsize-64/scandirat.c: File removed.
21543         * sysdeps/wordsize-64/scandirat64.c: File removed.
21544         * sysdeps/wordsize-64/versionsort.c: File removed.
21545         * sysdeps/wordsize-64/versionsort64.c: File removed.
21546         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21547         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21548         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21549         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21550         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21551         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21552         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21553         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21555         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21556         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21557         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21558         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21559         [defined __arch64__ || defined __sparcv9]
21560         (__INO_T_MATCHES_INO64_T): New macro.
21561         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21562         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21563         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21564         * sysdeps/unix/sysv/linux/bits/dirent.h
21565         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21566         (_DIRENT_MATCHES_DIRENT64): New macro.
21568         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21569         Define lockf64 as an alias.
21570         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21571         Define fseeko64 as an alias.
21572         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21573         Define ftello64 as an alias.
21574         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21575         Define _IO_fgetpos64 and fgetpos64 as aliases.
21576         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21577         Define _IO_fsetpos64 and fsetpos64 as aliases.
21578         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21579         Conditionalize body on this.
21580         * libio/fseeko64.c: Likewise.
21581         * libio/ftello64.c: Likewise.
21582         * libio/iofgetpos64.c: Likewise.
21583         * libio/iofsetpos64.c: Likewise.
21584         * sysdeps/wordsize-64/lockf.c: File removed.
21585         * sysdeps/wordsize-64/lockf64.c: File removed.
21586         * sysdeps/wordsize-64/fseeko.c: File removed.
21587         * sysdeps/wordsize-64/fseeko64.c: File removed.
21588         * sysdeps/wordsize-64/ftello.c: File removed.
21589         * sysdeps/wordsize-64/ftello64.c: File removed.
21590         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21591         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21592         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21593         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21594         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21595         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21596         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21597         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21598         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21599         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21600         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21601         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21602         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21603         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21605         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21607         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21609         [defined __arch64__ || defined __sparcv9]
21610         (__OFF_T_MATCHES_OFF64_T): New macro.
21611         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21612         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21613         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21614         (__OFF_T_MATCHES_OFF64_T): New macro.
21616 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21618         * stdlib/secure-getenv.c (__secure_getenv): Replace
21619         GLIBC_2_16 with GLIBC_2_17.
21621 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21623         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21624         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21626 2012-08-03  David S. Miller  <davem@davemloft.net>
21628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21630 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21632         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21633         Remove.
21634         (__ASSUME_CORRECT_SI_PID): Likewise.
21635         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21636         (__ASSUME_TMPFS_NAME): Likewise.
21637         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21638         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21639         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21640         (HAVE_AUX_SECURE): Make definition unconditional.
21641         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21642         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21644 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21646         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21647         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21648         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21649         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21650         __eloop_threshold instead of SYMLOOP_MAX.
21652         * sysdeps/generic/eloop-threshold.h: New file.
21653         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21654         of MAXSYMLINKS.
21655         * elf/chroot_canon.c (chroot_canon): Likewise.
21657 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21659         [BZ #13717]
21660         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21661         Change to 2.6.0 everywhere.
21662         * sysdeps/unix/sysv/linux/configure: Regenerated.
21663         * sysdeps/unix/sysv/linux/kernel-features.h
21664         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21665         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21666         kernel versions.
21667         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21668         (__ASSUME_FUTEX_REQUEUE): Remove.
21669         (__ASSUME_STATFS64): Define unconditionally.
21670         (__ASSUME_AT_SECURE): Likewise.
21671         (__ASSUME_CORRECT_SI_PID): Likewise.
21672         (__ASSUME_TGKILL): Define without depending on kernel version for
21673         i386.
21674         (__ASSUME_UTIMES): Likewise.
21675         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21676         kernel version.
21677         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21678         (__ASSUME_TMPFS_NAME): Likewise.
21679         * README: Update reference to Linux kernel versions.
21681 2012-08-02  Marek Polacek  <polacek@redhat.com>
21683         [BZ# 14150]
21684         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21685         libc_cv_asm_type_prefix with %.
21686         * configure: Regenerated.
21687         * include/libc-symbols.h: Remove comment about
21688         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21689         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21690         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21691         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21692         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21693         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21694         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21695         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21696         * elf/tst-unique2mod1.c: Likewise.
21697         * elf/tst-unique1mod2.c: Likewise.
21698         * elf/tst-unique1mod1.c: Likewise.
21699         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21700         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21701         Replace ASM_TYPE_DIRECTIVE with .type.
21702         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21703         * sysdeps/i386/sysdep.h: Likewise.
21704         * sysdeps/x86_64/sysdep.h: Likewise.
21705         * sysdeps/sh/sysdep.h: Likewise.
21706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21707         Do not define ASM_TYPE_DIRECTIVE.
21708         * sysdeps/powerpc/sysdep.h: Likewise.
21709         * sysdeps/powerpc/powerpc32/sysdep.h:
21710         Replace ASM_TYPE_DIRECTIVE with .type.
21711         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21712         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21713         * sysdeps/i386/fpu/e_powf.S: Likewise.
21714         * sysdeps/i386/fpu/e_expl.S: Likewise.
21715         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21716         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21717         * sysdeps/i386/fpu/e_pow.S: Likewise.
21718         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21719         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21720         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21721         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21722         * sysdeps/i386/fpu/e_log2.S: Likewise.
21723         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21724         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21725         * sysdeps/i386/fpu/e_powl.S: Likewise.
21726         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21727         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21728         * sysdeps/i386/fpu/e_logl.S: Likewise.
21729         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21730         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21731         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21732         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21733         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21734         * sysdeps/i386/fpu/e_log.S: Likewise.
21735         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21736         * sysdeps/i386/fpu/e_logf.S: Likewise.
21737         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21738         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21739         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21740         * sysdeps/i386/fpu/e_log10.S: Likewise.
21741         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21742         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21743         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21744         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21745         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21746         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21747         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21748         * sysdeps/i386/i686/strtok.S: Likewise.
21749         * sysdeps/i386/i386-mcount.S: Likewise.
21750         * sysdeps/i386/strtok.S: Likewise.
21751         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21752         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21753         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21754         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21755         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21756         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21757         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21758         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21759         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21760         * sysdeps/x86_64/_mcount.S: Likewise.
21761         * sysdeps/x86_64/strtok.S: Likewise.
21762         * sysdeps/sh/_mcount.S: Likewise.
21764 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21766         * libio/iofopen.c: Include <fcntl.h>.
21767         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21768         (_IO_fopen64, fopen64): Define as aliases.
21769         * libio/iofopen64.c: Include <fcntl.h>.
21770         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21771         Conditionalize body on this.
21772         * sysdeps/wordsize-64/iofopen.c: File removed.
21773         * sysdeps/wordsize-64/iofopen64.c: File removed.
21775 2012-08-01  Marek Polacek  <polacek@redhat.com>
21777         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21778         Use dlfcn directly instead of a variable.
21779         (binfmt-subdir): Do not define.
21780         (dlfcn): Likewise.
21782 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21784         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21785         Remove all definitions.
21786         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21787         <kernel-features.h>.
21788         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21789         (miss_F_GETOWN_EX): Remove all definitions.
21790         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21791         macro definition.
21792         [!__ASSUME_FCNTL64]: Remove conditional code.
21793         [__ASSUME_FCNTL64]: Make code unconditional.
21794         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21795         <kernel-features.h>.
21796         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21797         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21798         (lockf64) [__NR_fcntl64]: Make code unconditional.
21799         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21801         * sysdeps/unix/sysv/linux/kernel-features.h
21802         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21803         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21804         Make code unconditional.
21805         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21806         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21808         [__NR_vfork]: Make code unconditional.
21809         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21810         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21812         [__NR_vfork]: Make code unconditional.
21813         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21814         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21816 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21818         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21819         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21821         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21822         Define mkstemp64 as an alias.
21823         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21824         Define mkstemps64 as an alias.
21825         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21826         Define mkostemp64 as an alias.
21827         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21828         Define mkostemps64 as an alias.
21829         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21830         Conditionalize body on this.
21831         * misc/mkostemp64.c: Likewise.
21832         * misc/mkostemps64.c: Likewise.
21833         * misc/mkstemps64.c: Likewise.
21834         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21835         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21836         * sysdeps/wordsize-64/mkostemp.c: File removed.
21837         * sysdeps/wordsize-64/mkstemp.c: File removed.
21838         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21839         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21840         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21841         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21843         [BZ #14138]
21844         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21845         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21846         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21847         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21849         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21850         compat_symbol macros from <shlib-compat.h> rather than the underlying
21851         default_symbol_version and symbol_version macros, so that DEFAULT
21852         lines in shlib-versions are respected.
21853         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21855 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21857         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21858         Declare with warn_unused_result.
21859         (setgid, setregid, setegid, setresgid): Likewise.
21860         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21861         Likewise.
21862         * WUR-REPORT: Remove set*id functions.
21864 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21866         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21868 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21870         [BZ #10191]
21871         * include/sys/socket.h (__libc_accept, __libc_accept4):
21872         Add attribute_hidden.
21873         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21875         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21876         use of PTR_MANGLE.
21877         * inet/getnetgrent_r.c (setup): Likewise.
21879         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21881 2012-07-31  David S. Miller  <davem@davemloft.net>
21883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21885 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21887         [BZ #13629]
21888         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21889         value between 1.0 and 2.0 and smaller part has absolute value less
21890         than 1.0.
21891         * math/s_clog10.c (__clog10): Likewise.
21892         * math/s_clog10f.c (__clog10f): Likewise.
21893         * math/s_clog10l.c (__clog10l): Likewise.
21894         * math/s_clogf.c (__clogf): Likewise.
21895         * math/s_clogl.c (__clogl): Likewise.
21896         * math/libm-test.inc (clog_test): Add more tests.
21897         (clog10_test): Likewise.
21898         * sysdeps/i386/fpu/libm-test-ulps: Update.
21899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21901 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21903         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21904         Exit with zero in case no suitable GID is found, and write a
21905         message to standard error.
21907 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21909         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21910         rather than to 1.
21911         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21912         (MAXPATHLEN): Removed.
21913         (NOGROUP, NODEV): New macros.
21914         (setbit, clrbit, isset, isclr): New macros.
21915         (howmany, roundup, powerof2): New macros.
21916         (DEV_BSIZE): New macro.
21918         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21919         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21921         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21922         definition on [!__NO_LONG_DOUBLE_MATH].
21924         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21925         PTR_MANGLE and PTR_DEMANGLE.
21927         * socket/accept4.c (accept4): Rename to __libc_accept4.
21928         Define accept4 as a weak alias.
21930         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21931         on [_DIRENT_HAVE_D_TYPE].
21932         * io/ftw.c (ftw_dir): Likewise.
21934         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21936         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21938         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21939         Use the BSD numbers rather than the arbitrary ones we had.
21940         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21941         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21942         (SIGXCPU, SIGXFSZ): New macros.
21943         (_NSIG): Now 32.
21945         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21946         initializer on [_LIBC_REENTRANT].
21948         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21949         definitions inside [_POSIX_MAPPED_FILES].
21951         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21953         * dirent/opendir.c: Include <fcntl.h>.
21955         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21956         (__libc_getspecific): Likewise.
21957         (__libc_key_create): Likewise.
21959         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21960         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21961         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21962         (tmpfile64): Define as alias.
21963         * sysdeps/wordsize-64/tmpfile.c: File removed.
21964         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21965         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21966         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21968         * stdio-common/vfscanf.c: Include <stdbool.h>.
21969         * nss/makedb.c: Likewise.
21970         * stdio-common/_i18n_number.h: Likewise.
21971         * argp/argp-help.c: Likewise.
21972         * posix/wordexp.c: Likewise.
21973         * sysdeps/posix/spawni.c: Likewise.
21974         * nss/nss_files/files-initgroups.c: Likewise.
21975         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21976         * nss/nss_files/files-initgroups.c: Likewise.
21977         * nss/nss_db/db-netgrp.c: Likewise.
21978         * nss/nss_db/db-initgroups.c: Likewise.
21979         * io/fchmodat.c: Include <sys/stat.h>.
21981         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21982         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21984         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21985         [HAVE_MMAP].
21987         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21988         Add multiple inclusion protection.
21990 2012-07-27  David S. Miller  <davem@davemloft.net>
21992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21994 2012-07-27  Gary Benson  <gbenson@redhat.com>
21996         [BZ #14298]
21997         * elf/rtld.c: Include <stap-probe.h>.
21998         (dl_main): Added static probes "init_start" and "init_complete".
21999         * elf/dl-load.c: Include <stap-probe.h>.
22000         (lose): Take new parameter "nsid".
22001         Added static probe "map_failed".
22002         (_dl_map_object_from_fd): Pass namespace id to lose.
22003         Added static probe "map_start".
22004         (open_verify): Pass namespace id to lose.
22005         * elf/dl-open.c: Include <stap-probe.h>.
22006         (dl_open_worker) Added static probes "map_complete", "reloc_start"
22007         and "reloc_complete".
22008         * elf/dl-close.c: Include <stap-probe.h>.
22009         (_dl_close_worker): Added static probes "unmap_start" and
22010         "unmap_complete".
22011         * elf/rtld-debugger-interface.txt: New file documenting the above.
22013 2012-07-26  Roland McGrath  <roland@hack.frob.com>
22015         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22016         rather than a string variable.
22017         * sunrpc/rpc_main.c (h_output): Likewise.
22018         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22020 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
22022         * inet/check_native.c: New file.
22024 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
22026         [BZ #13629]
22027         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22028         if larger part has absolute value 1.0.
22029         * math/s_clog10.c (__clog10): Likewise.
22030         * math/s_clog10f.c (__clog10f): Likewise.
22031         * math/s_clog10l.c (__clog10l): Likewise.
22032         * math/s_clogf.c (__clogf): Likewise.
22033         * math/s_clogl.c (__clogl): Likewise.
22034         * math/libm-test.inc (clog_test): Add more tests.
22035         (clog10_test): Likewise.
22036         * sysdeps/i386/fpu/libm-test-ulps: Update.
22037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22039         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22040         (pltexit): Likewise.
22041         (La_regs): Likewise.
22042         (La_retval): Likewise.
22043         (int_retval): Likewise.
22044         Update #error for removed macros to refer only to definitions in
22045         tst-audit.h.
22046         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22047         macro.
22048         (pltexit): Likewise.
22049         (La_regs): Likewise.
22050         (La_retval): Likewise.
22051         (int_retval): Likewise.
22052         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22053         macro.
22054         (pltexit): Likewise.
22055         (La_regs): Likewise.
22056         (La_retval): Likewise.
22057         (int_retval): Likewise.
22058         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22059         macro.
22060         (pltexit): Likewise.
22061         (La_regs): Likewise.
22062         (La_retval): Likewise.
22063         (int_retval): Likewise.
22064         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22065         macro.
22066         (pltexit): Likewise.
22067         (La_regs): Likewise.
22068         (La_retval): Likewise.
22069         (int_retval): Likewise.
22070         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22071         macro.
22072         (pltexit): Likewise.
22073         (La_regs): Likewise.
22074         (La_retval): Likewise.
22075         (int_retval): Likewise.
22076         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22077         macro.
22078         (pltexit): Likewise.
22079         (La_regs): Likewise.
22080         (La_retval): Likewise.
22081         (int_retval): Likewise.
22082         * sysdeps/generic/tst-audit.h: Update comment to refer only to
22083         macro definitions in tst-audit.h.
22084         * sysdeps/i386/tst-audit.h: New file.
22085         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22086         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22087         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22088         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22089         * sysdeps/sh/tst-audit.h: Likewise.
22090         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22091         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22092         * sysdeps/x86_64/tst-audit.h: Likewise.
22094 2012-07-26  Andreas Jaeger  <aj@suse.de>
22096         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22097         ptrace.
22099         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22100         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22101         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22102         PTRACE_O_MASK.
22103         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22104         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22105         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22107         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22108         value.
22110         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22111         _sigsys.
22112         (si_call_addr, si_syscall, si_arch): Define new macro.
22113         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22114         _sigsys.
22115         (si_call_addr, si_syscall, si_arch): Define new marcro.
22116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22117         _sigsys.
22118         (si_call_addr, si_syscall, si_arch): Define new macro.
22119         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22120         _sigsys.
22121         (si_call_addr, si_syscall, si_arch): Define new macro.
22123 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22125         [BZ #13717]
22126         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22127         Change to 2.4.21 where previously 2.4.1.
22128         * sysdeps/unix/sysv/linux/configure: Regenerated.
22129         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22130         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22131         Linux kernel version.
22132         (__ASSUME_STD_AUXV): Remove.
22133         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22134         kernel version.
22135         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22136         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22137         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22138         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22139         (__ASSUME_NETLINK_SUPPORT): Likewise.
22140         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22141         (__no_netlink_support): Remove conditional definition.
22142         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22143         Remove.
22144         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22145         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22146         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22147         (if_nameindex_ioctl): Remove.
22148         (if_nameindex_netlink): Do not handle __no_netlink_support.
22149         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22150         code.
22151         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22152         Remove conditional code.
22153         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22154         code.
22155         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22156         unconditional.
22157         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22158         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22159         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22160         Remove.
22161         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22162         [!__ASSUME_STD_AUXV]: Remove conditional code.
22163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22164         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22165         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22167         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22168         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22169         code.
22170         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22172         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22173         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22174         conditional code.
22175         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22177         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22178         code.
22179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22180         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22181         conditional code.
22182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22183         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22184         code unconditional.
22185         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22186         conditional code.
22187         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22188         unconditional.
22189         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22190         conditional code.
22191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22192         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22193         unconditional.
22194         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22195         conditional code.
22196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22197         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22198         code unconditional.
22199         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22200         conditional code.
22201         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22202         unconditional.
22203         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22204         conditional code.
22205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22206         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22207         code unconditional.
22208         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22209         conditional code.
22210         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22211         unconditional.
22212         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22213         conditional code.
22215 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
22217         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22218         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22219         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22220         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22221         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22222         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22223         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22224         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22225         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22226         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22227         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22228         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22229         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22230         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22231         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22232         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22233         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22234         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22235         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22237         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22238         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22239         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22241 2012-07-25  Florian Weimer  <fweimer@redhat.com>
22243         * Versions.def: Add GLIBC_2.17.
22244         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22245         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22246         Introduce __libc_secure_getenv.
22247         * stdlib/Versions (2.17): Add secure_getenv
22248         (GLIBC_PRIVATE): Add __libc_secure_getenv.
22249         * stdlib/secure-getenv.c: Rename __secure_getenv to
22250         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
22251         symbol __secure_getenv for GLIBC_2.0.
22252         * stdlib/tst-secure-getenv.c: New.
22253         * stdlib/Makefile (tests): Add testcase.
22254         * manual/startup.texi (Environment Access): Document
22255         secure_getenv.
22256         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22257         __libc_secure_getenv.
22258         * inet/ruserpass.c (ruserpass): Likewise.
22259         * malloc/mtrace.c (mtrace): Likewise.
22260         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22261         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22262         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22263         * sysdeps/posix/tempname.c: Likewise.  Evaluate
22264         HAVE_SECURE_GETENV.
22265         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22266         __secure_getenv to __libc_secure_getenv.
22267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22269         Likewise.
22270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22271         Likewise.
22272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22274         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22280 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
22282         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22283         (struct La_i86_retval): Likewise.
22284         (struct La_x86_64_regs): Likewise.
22285         (struct La_x86_64_retval): Likewise.
22286         (struct La_x32_regs): Likewise.
22287         (struct La_x32_retval): Likewise.
22288         (struct La_ppc32_regs): Likewise.
22289         (struct La_ppc32_retval): Likewise.
22290         (struct La_ppc64_regs): Likewise.
22291         (struct La_ppc64_retval): Likewise.
22292         (struct La_sh_regs): Likewise.
22293         (struct La_sh_retval): Likewise.
22294         (struct La_s390_32_regs): Likewise.
22295         (struct La_s390_32_retval): Likewise.
22296         (struct La_s390_64_regs): Likewise.
22297         (struct La_s390_64_retval): Likewise.
22298         (struct La_sparc32_regs): Likewise.
22299         (struct La_sparc32_retval): Likewise.
22300         (struct La_sparc64_regs): Likewise.
22301         (struct La_sparc64_retval): Likewise.
22302         (struct audit_ifaces): Remove architecture-specific pltenter and
22303         pltexit members.
22304         * sysdeps/i386/ldsodefs.h: New file.
22305         * sysdeps/powerpc/ldsodefs.h: Likewise.
22306         * sysdeps/s390/ldsodefs.h: Likewise.
22307         * sysdeps/sh/ldsodefs.h: Likewise.
22308         * sysdeps/sparc/ldsodefs.h: Likewise.
22309         * sysdeps/x86_64/ldsodefs.h: Likewise.
22311 2012-07-25  Marek Polacek  <polacek@redhat.com>
22313         [BZ #6808]
22314         * math/libm-test.inc (yn_test): Add another test.
22315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22316         to ERANGE when the result is +-Inf.
22317         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22318         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22319         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22320         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22322 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
22324         * conform/data/time.h-data (NULL): Use macro-constant.  Require
22325         equal to 0.
22326         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
22327         clock_t.
22328         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
22330 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
22332         * configure.in <sysdeps resolving>: Correct printing
22333         Implies_before.
22334         * configure: Regenerate.
22336 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
22338         * math/w_ilogb.c: Include <limits.h>.
22339         * math/w_ilogbl.c: Likewise.
22341 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22343         * manual/lang.texi (__va_copy): Document primarily as ISO C99
22344         va_copy.  Document allowing for unavailable va_copy only as
22345         pre-C99 compatibility.
22346         * manual/string.texi (Copying and Concatenation): Use va_copy
22347         instead of __va_copy in concat example.
22349 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
22351         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22352         (__sendto): Use create_address_port.  Initialize APORT and deallocate
22353         it if not null.
22355         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22356         with O_NOLINK passed to __file_name_lookup.
22358         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22359         with O_NOLINK passed to __file_name_lookup.
22361         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22362         negative N or less than NGIDS.
22364         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22365         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22366         enough.  Use memcpy instead of strncpy.
22368 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22370         * elf/Makefile (check-data): Remove.
22371         (localplt.data): New vpath directive.
22372         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22373         instead of $(check-data).
22374         * scripts/data/localplt-generic.data: Move to ...
22375         * sysdeps/generic/localplt.data: ... here.
22376         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22377         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22378         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22380         ... here.
22381         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22383         ... here.
22384         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22386         ... here.
22387         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22389         ... here.
22390         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22392         ... here.
22393         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22395         ... here.
22397 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22399         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22400         PPC32 and PPC64 files.
22401         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22402         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22404 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22406         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22407         __makecontext_ret to ...
22408         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22409         ... here and call exit if uc_link is NULL.  New file.
22410         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22411         __makecontext_ret.S.
22412         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22413         __makecontext_ret to ...
22414         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22415         ... here and call exit if uc_link is NULL.  New file.
22416         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22417         __makecontext_ret.S.
22419 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22421         * elf/elf.h (R_390_IRELATIVE): New definition.
22422         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22423         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22424         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22425         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22426         (elf_machine_lazy_rel): Likewise.
22427         * sysdeps/s390/dl-irel.h: New file.
22428         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22429         * sysdeps/s390/s390-64/memset.S: New asm code.
22430         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22431         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22432         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22433         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22434         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22435         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22436         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22437         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22438         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22439         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22440         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22441         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22442         * sysdeps/s390/s390-32/memset.S: New asm code.
22443         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22445 2012-07-17  Marek Polacek  <polacek@redhat.com>
22447         [BZ #14349]
22448         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22449         * sysdeps/s390/s390-64/configure.in: Likewise.
22450         * sysdeps/sparc/configure.in: Likewise.
22451         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22452         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22453         * sysdeps/i386/configure.in: Likewise.
22454         * sysdeps/x86_64/configure.in: Likewise.
22455         * sysdeps/sh/configure.in: Likewise.
22456         * sysdeps/s390/s390-32/configure: Regenerated.
22457         * sysdeps/s390/s390-64/configure: Likewise.
22458         * sysdeps/x86_64/configure: Likewise.
22459         * sysdeps/sh/configure: Likewise.
22460         * sysdeps/powerpc/powerpc64/configure: Likewise.
22461         * sysdeps/powerpc/powerpc32/configure: Likewise.
22462         * sysdeps/sparc/configure: Likwise.
22463         * sysdeps/i386/configure: Likewise.
22465         * elf/dl-open.c: Comment fixes.
22467 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22469         * Makefile [CXX] (check-data): Remove.
22470         [CXX] (c++-types.data): New vpath directive.
22471         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22472         vpath.  Do not allow for C++ type data being missing.
22473         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22474         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22475         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22476         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22477         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22478         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22479         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22481         ... here.
22482         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22484         ... here.
22485         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22487         ... here.
22488         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22490         ... here.
22491         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22493         ... here.
22494         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22496         ... here.
22497         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22499         ... here.
22500         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22503         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22504         definitions to architecture-specific files.
22505         (TLS_IE): Likewise.
22506         (TLS_LD): Likewise.
22507         (TLS_GD): Likewise.
22508         * sysdeps/i386/tls-macros.h: New file.
22509         * sysdeps/powerpc/tls-macros.h: Likewise.
22510         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22511         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22512         * sysdeps/sh/tls-macros.h: Likewise.
22513         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22514         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22515         * sysdeps/x86_64/tls-macros.h: Likewise.
22517 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22519         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22520         zero value for regular exit case.
22522         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22523         (__start_context): Preserve zero value for regular exit case.
22525 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22526             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22528         * manual/setjmp.texi (setcontext): Clarify normal process
22529         termination when uc_link is the null pointer.
22530         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22531         exit call.
22533 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22535         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22536         preprocessor.  Test for each exception mask separately.
22538 2012-07-16  Andreas Jaeger  <aj@suse.de>
22540         * po/ru.po: Update from translation team.
22542 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22544         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22545         equal to 0.
22546         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22547         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22548         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22549         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22550         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22552 2012-07-13  Andreas Jaeger  <aj@suse.de>
22554         * po/fr.po: Update from translation team.
22556 2012-07-12  Marek Polacek  <polacek@redhat.com>
22558         [BZ #14173]
22559         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22560         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22561         loop condition.
22563 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22565         [BZ #13717]
22566         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22567         Change to 2.4.1 where previously 2.4.0.
22568         * sysdeps/unix/sysv/linux/configure: Regenerated.
22569         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22570         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22571         version.
22572         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22573         (__ASSUME_AT_CLKTCK): Remove.
22574         (__ASSUME_AT_PAGESIZE): Likewise.
22575         (__ASSUME_AT_XID): Likewise.
22576         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22577         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22578         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22579         unconditionally.
22580         (HAVE_AUX_PAGESIZE): Likewise.
22581         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22582         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22583         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22585 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22587         [BZ #14307]
22588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22589         the temporary buffer used to invoke __gethostbyname2_r,
22590         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22591         host_data / struct gaih_addrtuple.
22592         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22593         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22594         header file nss/nsswitch.h.
22595         * nss/nsswitch.h (global scope): Add definition of implementation
22596         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22597         resolv/nss_dns/dns-host.c).
22599 2012-07-11  Andreas Jaeger  <aj@suse.de>
22601         * po/fr.po: Update from translation team.
22603         * po/sv.po: Update from translation team
22604         * po/fr.po: Another update from translation team.
22606 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22608         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22609         for subnormals or multiply small sinh result by itself.
22610         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22613 2012-07-11  David S. Miller  <davem@davemloft.net>
22615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22617 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22619         [BZ #14347]
22620         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22621         (INTERNAL_MARK): Shift it here.
22623 2012-07-10  Marek Polacek  <polacek@redhat.com>
22625         [BZ #14151]
22626         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22627         libc_cv_asm_global_directive with .globl.
22628         * configure: Regenerated.
22629         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22630         with .globl.
22631         * sysdeps/i386/configure: Regenerated.
22632         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22633         with .globl.
22634         * sysdeps/x86_64/configure: Regenerated.
22635         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22636         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22637         * elf/tst-unique2mod2.c: Likewise.
22638         * elf/tst-unique2mod1.c: Likewise.
22639         * elf/tst-unique1mod2.c: Likewise.
22640         * elf/tst-unique1mod1.c: Likewise.
22641         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22642         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22643         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22644         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22645         * sysdeps/mach/sysdep.h: Likewise.
22646         * sysdeps/i386/sysdep.h: Likewise.
22647         * sysdeps/i386/i386-mcount.S: Likewise.
22648         * sysdeps/x86_64/_mcount.S: Likewise.
22649         * sysdeps/x86_64/sysdep.h: Likewise.
22650         * sysdeps/sh/_mcount.S: Likewise.
22651         * sysdeps/sh/sysdep.h: Likewise.
22652         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22653         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22654         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22655         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22656         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22657         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22658         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22659         * locale/localeinfo.h: Likewise.
22660         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22661         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22663 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22665         [BZ #14336]
22666         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22667         system".
22668         * manual/message.texi (The Uniforum approach): Likewise.
22669         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22670         (glibc iconv Implementation): Likewise.
22672 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22674         [BZ #14337]
22675         * math/s_clog.c (__clog): Avoid scaling a value down where that
22676         could result in underflow.
22677         * math/s_clog10.c (__clog10): Likewise.
22678         * math/s_clog10f.c (__clog10f): Likewise.
22679         * math/s_clog10l.c (__clog10l): Likewise.
22680         * math/s_clogf.c (__clogf): Likewise.
22681         * math/s_clogl.c (__clogl): Likewise.
22682         * math/libm-test.inc (clog_test): Add more tests.
22683         (clog10_test): Likewise.
22684         * sysdeps/i386/fpu/libm-test-ulps: Update.
22685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22687 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22689         [BZ #14283]
22690         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22691         by 7 not 8 to examine high bit of fractional part.
22693         [BZ #14042]
22694         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22695         for call to __mcount_internal.
22696         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22697         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22698         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22700 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22702         [BZ #14154]
22703         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22704         approximation for values within 0x1p-13f of an odd multiple of
22705         pi/4.
22706         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22707         exception.  Add more tests.
22708         * sysdeps/i386/fpu/libm-test-ulps: Update.
22710         [BZ #6778]
22711         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22712         inputs and return -1 for them.  Do not check for +Inf in case not
22713         reachable for +Inf.
22714         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22715         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22716         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22717         and return -1 for them.  Do not check for +Inf in case not
22718         reachable for +Inf.
22719         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22720         define.
22721         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22722         and return -1 for them.  Do not check for +Inf in case not
22723         reachable for +Inf.
22724         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22725         spurious underflow.
22726         * sysdeps/i386/fpu/libm-test-ulps: Update.
22727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22729 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22731         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22733 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22735         [BZ #14157]
22736         [BZ #14331]
22737         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22738         could result in spurious underflow.  Scale down values above
22739         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22740         * math/s_csqrtf.c (__csqrtf): Likewise.
22741         * math/s_csqrtl.c (__csqrtl): Likewise.
22742         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22743         spurious underflow.
22744         * sysdeps/i386/fpu/libm-test-ulps: Update.
22745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22747 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22749         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22750         xopen-msg.sed.
22751         * catgets/xopen-msg.awk: New file.
22752         * catgets/xopen-msg.sed: Removed.
22754         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22755         po2text.sed.
22756         * intl/po2test.awk: New file.
22757         * intl/po2test.sed: Removed.
22759 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22761         [BZ #14328]
22762         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22763         or multiply small sinh result by itself.
22764         * math/s_ctanf.c (__ctanf): Likewise.
22765         * math/s_ctanh.c (__ctanh): Likewise.
22766         * math/s_ctanhf.c (__ctanhf): Likewise.
22767         * math/s_ctanhl.c (__ctanhl): Likewise.
22768         * math/s_ctanl.c (__ctanl): Likewise.
22769         * math/libm-test.inc (ctan_test_tonearest): New function.
22770         (ctan_test_towardzero): Likewise.
22771         (ctan_test_downward): Likewise.
22772         (ctan_test_upward): Likewise.
22773         (ctanh_test_tonearest): Likewise.
22774         (ctanh_test_towardzero): Likewise.
22775         (ctanh_test_downward): Likewise.
22776         (ctanh_test_upward): Likewise.
22777         (main): Call these new functions.
22778         * sysdeps/i386/fpu/libm-test-ulps: Update.
22779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22781 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22783         * .gitignore: Delete /ports entry.
22785 2012-07-03  Andreas Jaeger  <aj@suse.de>
22787         * po/bg.po: Update from translation team.
22788         * po/cs.po: Likewise.
22789         * po/de.po: Likewise.
22790         * po/hr.po: Likewise.
22791         * po/nl.pl: Likewise.
22792         * po/pl.po: Likewise.
22793         * po/vi.po: Likewise.
22795 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22797         * Makeconfig [!+link] (+link-before-libc): New variable.
22798         [!+link] (+link-after-libc): Likewise.
22799         [!+link] (+link-tests): Likewise.
22800         [!+link] (+link): Define in terms of $(+link-before-libc) and
22801         $(+link-after-libc).
22802         [!+link-static] (+link-static-before-libc): New variable.
22803         [!+link-static] (+link-static-after-libc): Likewise.
22804         [!+link-static] (+link-static-tests): Likewise.
22805         [!+link-static] (+link-static): Define in terms of
22806         $(+link-static-before-libc) and $(+link-static-after-libc).
22807         [build-shared] (link-libc-before-gnulib): New variable.
22808         [build-shared] (link-libc-tests): Likewise.
22809         [build-shared] (link-libc): Define in terms of
22810         $(link-libc-before-gnulib).
22811         [!build-shared] (link-libc-tests): New variable.
22812         (link-libc-static-tests): New variable.
22813         [!gnulib] (gnulib-arch): New variable.
22814         [!gnulib] (gnulib-tests): Likewise.
22815         [!gnulib] (static-gnulib-arch): Likewise.
22816         [!gnulib] (static-gnulib-tests): Likewise.
22817         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22818         Define with "=" instead of ":=".
22819         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22820         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22821         * Rules (binaries-all-notests): New variable.
22822         (binaries-all-tests): Likewise.
22823         (binaries-static-notests): Likewise.
22824         (binaries-static-tests): Likewise.
22825         (binaries-all): Define using $(binaries-all-notests) and
22826         $(binaries-all-tests).
22827         (binaries-static): Define using $(binaries-static-notests) and
22828         $(binaries-static-tests).
22829         (binaries-shared-tests): New variable.
22830         (binaries-shared-notests): Likewise.
22831         (binaries-shared): Remove variable.
22832         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22833         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22834         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22835         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22836         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22837         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22838         * elf/Makefile (sln-modules): New variable.
22839         (extra-objs): Add $(sln-modules:=.o).
22840         (ldconfig-modules): Add static-stubs.
22841         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22842         * elf/static-stubs.c: New file.
22844         [BZ #14283]
22845         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22846         by 7 not 8 to examine high bit of fractional part.  Use volatile
22847         variables when splitting into final array of floats if
22848         __FLT_EVAL_METHOD__ != 0.
22849         * math/libm-test.inc (cos_test): Add another test.
22850         (sin_test): Likewise.
22851         * sysdeps/i386/fpu/libm-test-ulps: Update.
22853         [BZ #14273]
22854         * math/libm-test.inc (cosh_test): Add more tests.
22856         * version.h (RELEASE): Set to "development".
22857         (VERSION): Set to "2.16.90".
22859 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22861         * NEWS: Update copyright. Remove last-updated date.
22862         Mention math library bug fixes and timezone data changes.
22863         * README: Mention GNU/Hurd, x32, and HPPA support status.
22865 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22867         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22869 2012-06-27  Andreas Jaeger  <aj@suse.de>
22871         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22873 2012-06-25  Andreas Jaeger  <aj@suse.de>
22875         * sysdeps/s390/fpu/libm-test-ulps: Update.
22877 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22878             Thomas Schwinge  <thomas@codesourcery.com>
22880         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22881         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22882         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22883         fanotify_mark.
22885 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22887         * sysdeps/mach/start.c: Remove file.
22888         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22889         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22890         * sysdeps/sh/init-first.c: Likewise.
22892         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22893         registers for frame unwinding purposes, add CFI directives.
22894         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22895         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22896         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22897         Likewise.
22899         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22900         __fortify_fail returning.
22901         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22903         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22904         sysdeps/sh/____longjmp_chk.S.
22905         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22906         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22907         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22908         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22910         * sysdeps/sh/abort-instr.h: New file.
22911         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22912         process in case exit returns.
22914         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22915         initialize the GOT register before use.
22917         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22918         calculation of ARGC > 4.
22920         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22921         meaningful names to some local labels.
22923 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22924             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22926         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22927         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22928         (__arch_compare_and_exchange_val_16_acq): Likewise.
22929         (__arch_compare_and_exchange_val_32_acq): Likewise.
22930         (atomic_exchange_and_add): Fix gUSA sequence.
22931         (atomic_add): Likewise.
22932         (atomic_add_negative): Likewise.
22933         (atomic_add_zero): Likewise.
22934         (atomic_bit_test_set): Likewise.
22936 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22938         [BZ #13579]
22939         * include/link.h (struct link_map): Add l_free_initfini.
22940         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22941         l_initfini.
22942         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22943         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22944         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22945         set.
22947 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22949         * configure.in: Use AC_LANG_SOURCE.
22950         * configure: Regenerate.
22952 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22954         * configure.in (libc_cv_localstatedir): New substituted variable.
22955         * configure: Regenerated.
22956         * config.make.in (localstatedir): New variable, substituted from
22957         libc_cv_localstatedir.
22958         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22959         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22960         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22961         * sysdeps/gnu/configure: Regenerated.
22963 2012-06-21  Jeff Law  <law@redhat.com>
22965         [BZ #14277]
22966         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22967         free.  Simplify list management for _LIBC case.
22969 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22971         [BZ #14273]
22972         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22973         Clear sign bit of 64-bit integer value before comparing against
22974         overflow value.
22976         * sysdeps/mach/configure: Regenerated.
22978 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22980         [BZ #14278]
22981         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22983 2012-06-21  Jeff Law  <law@redhat.com>
22985         [BZ #13882]
22986         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22987         uint16_t for elements in the "seen" array to avoid char overflows.
22988         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22989         * elf/dl-open.c (dl_open_worker): Likewise.
22991 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22993         * scripts/list-sources.sh: Scan PORTS for translations.
22994         * po/libc.pot: Regenerated.
22996 2012-06-21  Andreas Jaeger  <aj@suse.de>
22998         [BZ #12194]
22999         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23000         warning.
23001         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23002         * bits/byteswap-16.h (__bswap_16): Likewise.
23003         * bits/byteswap.h (__bswap_constant_16): Likewise.
23005 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
23007         [BZ #14117]
23008         * sysdeps/i386/fpu_control.h: Removed.
23009         * sysdeps/x86_64/fpu_control.h: Moved to ...
23010         * sysdeps/x86/fpu_control.h: Here.
23012         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23013         (_FPU_SETCW): Likewise.
23015 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
23017         [BZ #14117]
23018         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23019         * sysdeps/x86/fpu/bits/mathinline.h: This.
23020         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23022         [BZ #14050]
23023         [BZ #14117]
23024         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23025         functions if __x86_64__ is defined.
23027 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
23029         * string/endian.h: Add !__ASSEMBLER__ condition for including
23030         conversion interfaces.
23032 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
23034         [BZ #14241]
23035         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23036         of ABS(x) in calculating zero to negative powers other than odd
23037         integers.
23038         * math/libm-test.inc (pow_test): Add more tests.
23040 2012-06-15  Andreas Jaeger  <aj@suse.de>
23042         * manual/contrib.texi (Contributors): Update entry of Liubov
23043         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23044         Machado Filho.
23046 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
23048         * string/string.h: Add __wur to GNU version of strerror_r.
23050 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
23052         [BZ #14229]
23053         * string/Makefile (tests): Add tst-strtok_r.
23054         * string/tst-strtok_r.c: New file.
23055         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23056         RAX_LP/RDX_LP on SAVE_PTR.
23058 2012-06-14  Roland McGrath  <roland@hack.frob.com>
23060         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23062 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
23064         * libm_test.inc (csqrt_test): Allow more spurious underflow
23065         exceptions.
23066         (j0_test): Likewise.
23067         (j1_test): Likewise.
23068         (y0_test): Likewise.
23069         (y1_test): Likewise.
23071 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
23073         * po/Makefile (libc.pot): Use UTF-8 charset.
23075 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
23077         [BZ #14210]
23078         Suppress sign-conversion warning from FD_SET.
23079         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23080         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23081         not unsigned long int.
23082         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23084 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
23086         [BZ #14050]
23087         [BZ #14117]
23088         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23089         __extern_always_inline instead of __extern_inline.
23090         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23091         (__signbit): Likewise.
23092         (__signbitl): Support C++ namespace.
23093         (lrintf): New inline function.
23094         (lrint): Likewise.
23095         (llrintf): Likewise.
23096         (llrint): Likewise.
23097         (fmaxf): Likewise.
23098         (fmax): Likewise.
23099         (fminf): Likewise.
23100         (fmin): Likewise.
23101         (rint): Likewise.
23102         (rintf): Likewise.
23103         (ceil): Likewise.
23104         (ceilf): Likewise.
23105         (floor): Likewise.
23106         (floorf): Likewise.
23107         (nearbyint): Likewise.
23108         (nearbyintf): Likewise.
23110 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
23112         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23113         non-default versions.
23115 2012-06-11  Roland McGrath  <roland@hack.frob.com>
23117         [BZ #14218]
23118         * manual/argp.texi (Argp): Reword argp_parse description slightly.
23120 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
23122         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23123         (FE_UPWARD, FE_DOWNWARD): Don't define.
23124         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23125         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23127         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23128         reading it.
23129         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23130         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23132 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23134         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23136         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23137         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23139 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
23141         [BZ #14117]
23142         * sysdeps/i386/fpu/bits/fenv.h: Removed.
23143         * sysdeps/i386/fpu/Implies: New file.
23144         * sysdeps/x86_64/fpu/Implies: Likewise.
23145         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23146         * sysdeps/x86/fpu/bits/fenv.h: This.
23148         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23149         __SSE_MATH__.
23151 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23153         [BZ #14134]
23154         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23155         character 0xffff that matches the last element of the
23156         conversion table.
23158 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23160         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23161         fmodl commit.
23163 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23165         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23166         values higher than 25.6283.
23168 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23170         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23171         subnormal exponent extraction and add some __builtin_expect.
23172         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23173         Fix for subnormal mantissa calculation.
23175 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
23177         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23178         cpu2 is -1 and errno is not ENOSYS.
23180 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
23182         [BZ #14117]
23183         * sysdeps/i386/i486/bits/string.h: Renamed to ...
23184         * sysdeps/x86/bits/string.h: This.
23185         * sysdeps/x86_64/bits/string.h: Removed.
23187         * sysdeps/i386/i486/bits/string.h: Define inline functions only
23188         if not compiling for x86-64, but compiling for >= i486.
23190         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23191         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23193         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23194         New macro from Linux kernel 3.4.0.
23195         (FP_XSTATE_MAGIC2): Likewise.
23196         (FP_XSTATE_MAGIC2_SIZE): Likewise.
23197         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23198         (struct _fpx_sw_bytes): New struct.
23199         (struct _xsave_hdr): Likewise.
23200         (struct _ymmh_state): Likewise.
23201         (struct _xstate): Likewise.
23203         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23204         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23205         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23206         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23207         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23208         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23210         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23211         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23212         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23213         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23214         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23215         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23217 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23219         [BZ #13743]
23220         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23221         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23222         (sysdep_headers): Include sys/platform/ppc.h.
23223         * sysdeps/powerpc/test-gettimebase.c: Test for
23224         __ppc_get_timebase() to catch future ISA opcode/insn changes.
23225         * manual/Makefile (appendices): Include platform.texi.
23226         * manual/contrib.texi (Contributors): Update @node pointers.
23227         * manual/maint.texi (Maintenance): Likewise.
23228         (Platform): New node.
23229         * manual/platform.texi: New file.  Document the new features.
23231 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23232             Jakub Jelinek  <jakub@redhat.com>
23234         [BZ #14188]
23235         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23236         where __builtin_expect is unavailable.
23238 2012-06-03  David S. Miller  <davem@davemloft.net>
23240         * stdlib/longlong.h: Updated from GCC.
23242 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
23244         [BZ #14042]
23245         * sysdeps/powerpc/powerpc32/mcount.c: New file.
23246         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23247         __mcount_internal.
23248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23249         (GLIBC_2.16): Likewise.
23251 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23253         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23255 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23258         (default-abi): New variable.
23259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23260         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23261         variable.
23262         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23263         Likewise.
23264         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23265         Likewise.
23266         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23267         Likewise.
23269         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23270         definition.  Document in comment.
23272 2012-06-01  David S. Miller  <davem@davemloft.net>
23274         * stdlib/longlong.h: Updated from GCC.
23276 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23278         [BZ #14117]
23279         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23280         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23281         sys/debugreg.h sys/io.h here.
23282         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23283         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23284         sys/io.h.
23285         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23286         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23287         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23288         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23289         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23290         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23292         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23293         Define only if __x86_64__ is defined.
23295 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
23297         [BZ #14048]
23298         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23299         Use int64_t for variable i.
23300         * math/libm-test.inc (fmod_test): Add more tests.
23302         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23303         z computation is not scheduled after fetestexcept.
23304         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23305         Use math_force_eval instead of asm to ensure calculation scheduled
23306         before exception test.
23307         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23308         Ensure a1 + u.d computation is not scheduled after fetestexcept.
23310 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
23312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23313         computation is not scheduled after fetestexcept.
23315 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
23317         [BZ #14117]
23318         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23319         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23321 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23323         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23324         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23326 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23328         [BZ #14117]
23329         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23330         <bits/wordsize.h>.
23331         (__WCHAR_MIN): Support __WORDSIZE == 64.
23332         (__WCHAR_MAX): Likewise.
23334         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23335         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23337         [BZ #14183]
23338         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23339         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23341         [BZ #14117]
23342         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23343         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23345         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23346         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23348         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23349         Defined to 1 if __x86_64__ isn't defined.
23350         (_STAT_VER_LINUX_OLD): New.
23351         (st_atime): Remove duplicate.
23352         (st_mtime): Likewise.
23353         (st_ctime): Likewise.
23355 2012-05-31  David S. Miller  <davem@davemloft.net>
23357         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23358         entries.
23360 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
23362         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23363         gen-libm-test.pl.
23365         [BZ #14132]
23366         * elf/dl-reloc.c: Include <_itoa.h>.
23367         (_dl_reloc_bad_type): Remove use of INTUSE.
23368         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23369         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23370         * stdio-common/psiginfo.c (psiginfo): Likewise.
23371         * stdio-common/psignal.c (psignal): Likewise.
23372         * string/strsignal.c (strsignal): Likewise.
23373         * include/signal.h (_sys_siglist): Declare hidden proto.
23374         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23375         INTVARDEF with libc_hidden_data_def.
23376         * stdio-common/itoa-udigits.c: Likewise.
23377         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23378         (_itoa_lower_digits_internal): Remove declaration.
23379         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23380         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23381         (_sys_sigabbrev_internal): Remove aliases.
23382         (_sys_siglist): Define hidden alias.
23384 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23387         bits/sysctl.h.
23389 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23391         [BZ #14117]
23392         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23393         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23395         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23396         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23397         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23398         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23400         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23402         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23403         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23404         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23406         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23407         with __addr.
23408         (insw): Likewise.
23409         (insl): Likewise.
23410         (outsb): Likewise.
23411         (outsw): Likewise.
23412         (outsl): Likewise.
23414         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23415         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23416         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23418         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23419         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23420         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23421         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23422         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23423         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23425         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23426         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23428         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23429         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23431         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23432         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23433         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23435         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23436         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23437         to ...
23438         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23440         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23441         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23442         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23444         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23445         for x86-64.
23446         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23448 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23450         * math/math.h (M_El): Use two more decimal places.
23451         (M_LOG2El): Likewise.
23452         (M_LOG10El): Likewise.
23453         (M_LN2l): Likewise.
23454         (M_LN10l): Likewise.
23455         (M_PIl): Likewise.
23456         (M_PI_2l): Likewise.
23457         (M_PI_4l): Likewise.
23458         (M_1_PIl): Likewise.
23459         (M_2_PIl): Likewise.
23460         (M_2_SQRTPIl): Likewise.
23461         (M_SQRT2l): Likewise.
23462         (M_SQRT1_2l): Likewise.
23464 2012-05-31  David S. Miller  <davem@davemloft.net>
23466         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23467         values between float registers.
23468         * sysdeps/sparc/sparc64/memset.S: Likewise.
23469         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23471 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23473         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23474         -D_FORTIFY_SOURCE=1.
23475         (CPPFLAGS-tst-longjmp_chk.c): Define.
23476         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23477         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23478         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23479         CFLAGS-tst-wchar-h.c.
23481 2012-05-31  Marek Polacek  <polacek@redhat.com>
23483         [BZ #14132]
23484         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23485         __endmntent_internal): Remove declaration.
23486         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23487         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23488         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23490 2012-05-30  David S. Miller  <davem@davemloft.net>
23492         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23493         (___Q_simulate_exceptions): Use real FP ops rather than writing
23494         into the %fsr.
23495         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23496         Likewise.
23498 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23500         [BZ #14117]
23501         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23502         * sysdeps/x86/bits/xtitypes.h: This.
23504         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23505         * sysdeps/x86/bits/wordsize.h: This.
23507         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23508         * sysdeps/x86/bits/huge_vall.h: This.
23510         * sysdeps/i386/bits/select.h: Removed.
23511         * sysdeps/x86_64/bits/select.h: Renamed to ...
23512         * sysdeps/x86/bits/select.h: This.
23514         * sysdeps/i386/bits/setjmp.h: Removed.
23515         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23516         * sysdeps/x86/bits/setjmp.h: This.
23518         * sysdeps/i386/bits/mathdef.h: Removed.
23519         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23520         * sysdeps/x86/bits/mathdef.h: This.
23522 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23524         [BZ #14132]
23525         * include/sys/socket.h (__connect_internal)
23526         (__libc_sa_len_internal): Remove declaration.
23527         (__connect, __libc_sa_len): Declare hidden_proto.
23528         (SA_LEN): Remove use of INTUSE.
23529         * socket/connect.c: Add libc_hidden_def.
23530         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23531         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23532         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23533         alias.
23534         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23535         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23536         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23537         of adding _internal alias.
23539 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23541         [BZ #14117]
23542         * sysdeps/i386/bits/link.h: Removed.
23543         * sysdeps/i386/bits/linkmap.h: Likewise.
23544         * sysdeps/x86_64/bits/link.h: Renamed to ...
23545         * sysdeps/x86/bits/link.h: This.
23546         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23547         * sysdeps/x86/bits/linkmap.h: This.
23549         * sysdeps/i386/bits/endian.h: Removed.
23550         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23551         * sysdeps/x86/bits/endian.h: This.
23553         * sysdeps/i386/bits/byteswap.h: Removed.
23554         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23555         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23556         * sysdeps/x86/bits/byteswap.h: This.
23557         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23558         * sysdeps/x86/bits/byteswap-16.h: This.
23559         * sysdeps/i386/Implies: Add x86.
23560         * sysdeps/x86_64/Implies: Likewise.
23562 2012-05-30  David S. Miller  <davem@davemloft.net>
23564         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23565         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23566         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23567         (FP_TRAPPING_EXCEPTIONS): Define.
23568         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23569         (FP_TRAPPING_EXCEPTIONS): Define.
23570         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23571         subnormals only when inexact has been signalled or underflow
23572         exceptions are enabled.
23573         (_FP_PACK_CANONICAL): Likewise.
23575 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23577         [BZ #14183]
23578         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23579         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23581 2012-05-30  Richard Henderson  <rth@twiddle.net>
23583         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23584         with #ifndef NOT_IN_libc.
23586         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23587         marked to avoid plt entry.
23589 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23591         [BZ #14112]
23592         * Makeconfig (default-abi): New macro.
23593         (abi-includes): Likewise.
23594         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23595         $(abi-$(default-abi)-lib-soname) for soname if defined.
23596         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23597         abi-variants.
23598         * Makefile (installed-stubs): Likewise.
23599         * include/stubs-biarch.h: Removed.
23600         * scripts/lib-names.awk: Only handle one library at a time.
23601         * scripts/soversions.awk: Remove WORDSIZE support.
23602         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23603         entries.
23604         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23605         Removed.
23606         (syscall-list-default-condition): Likewise.
23607         (syscall-list-default-condition): Likewise.
23608         (syscall-list-includes): Likewise.
23609         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23610         syscall-list-* with abi-*.  Handle undefined abi-variants.
23611         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23612         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23613         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23614         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23615         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23616         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23617         Removed.
23618         (syscall-list-32-options): Likewise.
23619         (syscall-list-32-condition): Likewise.
23620         (syscall-list-64-options): Likewise.
23621         (syscall-list-64-condition): Likewise.
23622         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23623         macro.
23624         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23625         Renamed to ...
23626         (abi-*): This.
23627         (abi-64-ld-soname): New macro.
23628         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23629         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23630         Renamed to ...
23631         (abi-*): This.
23632         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23633         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23635 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23637         * sysdeps/unix/sysv/linux/kernel-features.h
23638         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23639         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23640         include <kernel-features.h>.
23641         [!__NR_ftruncate64]: Remove conditional code.
23642         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23643         [__NR_ftruncate64]: Make code unconditional.
23644         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23645         * sysdeps/unix/sysv/linux/truncate64.c: Do not
23646         include <kernel-features.h>.
23647         [!__NR_ftruncate64]: Remove conditional code.
23648         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23649         [__NR_ftruncate64]: Make code unconditional.
23650         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23652         include <kernel-features.h>.
23653         [!__NR_ftruncate64]: Remove conditional code.
23654         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23655         [__NR_ftruncate64]: Make code unconditional.
23656         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23658         include <kernel-features.h>.
23659         [!__NR_ftruncate64]: Remove conditional code.
23660         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23661         [__NR_ftruncate64]: Make code unconditional.
23662         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23664         * configure.in (libc_cv_fpie): Weaken to a compile test using
23665         LIBC_TRY_CC_OPTION.
23666         * configure: Regenerated.
23668 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23674         Refreshed.
23675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23681         Refreshed.
23683 2012-05-27  David S. Miller  <davem@davemloft.net>
23685         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23686         (___Q_zero): New.
23687         (__Q_simulate_exceptions): Return void.  Change to simulate
23688         exceptions by writing into the %fsr.
23689         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23690         (__Qp_handle_exceptions): Likewise.
23691         (numbers): Delete.
23692         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23693         __Qp_handle_exceptions.
23694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23695         __Qp_handle_exceptions.
23696         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23697         as unused and give dummy FP_RND_NEAREST initializer.
23698         (FP_INHIBIT_RESULTS): Define.
23699         (___Q_simulate_exceptions): Update declaration.
23700         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23701         formatting.
23702         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23703         as unused and give dummy FP_RND_NEAREST initializer.
23704         (__Qp_handle_exceptions): Update declaration.
23705         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23706         formatting.
23708 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23710         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23711         the temporary FPU control word.
23712         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23713         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23714         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23715         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23716         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23717         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23718         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23719         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23720         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23721         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23722         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23724 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23726         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23727         fields.
23729 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23731         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23732         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23733         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23734         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23735         Likewise.
23736         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23737         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23738         Likewise.
23740 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23742         * po/h.po: Update from translation team.
23744 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23746         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23748         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23749         handling of denormals.
23750         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23751         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23752         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23753         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23754         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23755         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23756         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23757         Likewise.
23759 2012-05-26  Marek Polacek  <polacek@redhat.com>
23761         [BZ #14152]
23762         * math/libm-test.inc (fma_test): Don't always expect underflow
23763         exception.
23765 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23767         [BZ #12416]
23768         * elf/tst-execstack.c: Include stackinfo.h.
23769         (do_test): Adjust test case to ensure that pthread_getattr_np
23770         behaviour remains the same after marking stack executable.
23772 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23774         * sysdeps/unix/sysv/linux/kernel-features.h
23775         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23776         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23777         kernel-features.h.
23778         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23779         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23780         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23781         kernel-features.h.
23782         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23783         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23785 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23787         * configure.in: Define the default includes to being none.
23788         * configure: Regenerated.
23790 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23792         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23793         * sysdeps/x86_64/setjmp.S: Likewise.
23794         * sysdeps/i386/bsd-setjmp.S: Likewise.
23795         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23796         * sysdeps/i386/setjmp.S: Likewise.
23797         * sysdeps/i386/__longjmp.S: Likewise.
23798         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23799         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23801         * include/stap-probe.h: New file.
23802         * configure.in: Handle --enable-systemtap.
23803         * configure: Regenerated.
23804         * config.h.in (USE_STAP_PROBE): New #undef.
23805         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23806         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23807         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23809 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23811         [BZ #13717]
23812         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23813         to 2.4.0 where earlier.
23814         * sysdeps/unix/sysv/linux/configure: Regenerated.
23815         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23816         <kernel-features.h>.
23817         [__ASSUME_32BITUIDS]: Make code unconditional.
23818         [!__ASSUME_32BITUIDS]: Remove conditional code.
23819         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23820         <kernel-features.h>.
23821         [__ASSUME_32BITUIDS]: Make code unconditional.
23822         [!__ASSUME_32BITUIDS]: Remove conditional code.
23823         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23824         [__ASSUME_32BITUIDS]: Make code unconditional.
23825         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23826         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23827         <kernel-features.h>.
23828         [__ASSUME_32BITUIDS]: Make code unconditional.
23829         [!__ASSUME_32BITUIDS]: Remove conditional code.
23830         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23831         <kernel-features.h>.
23832         [__ASSUME_32BITUIDS]: Make code unconditional.
23833         [!__ASSUME_32BITUIDS]: Remove conditional code.
23834         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23835         <kernel-features.h>.
23836         [__ASSUME_32BITUIDS]: Make code unconditional.
23837         [!__ASSUME_32BITUIDS]: Remove conditional code.
23838         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23839         <kernel-features.h>.
23840         [__ASSUME_32BITUIDS]: Make code unconditional.
23841         [!__ASSUME_32BITUIDS]: Remove conditional code.
23842         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23843         <kernel-features.h>.
23844         [__ASSUME_32BITUIDS]: Make code unconditional.
23845         [!__ASSUME_32BITUIDS]: Remove conditional code.
23846         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23847         <kernel-features.h>.
23848         [__ASSUME_32BITUIDS]: Make code unconditional.
23849         [!__ASSUME_32BITUIDS]: Remove conditional code.
23850         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23851         <kernel-features.h>.
23852         [__ASSUME_32BITUIDS]: Make code unconditional.
23853         [!__ASSUME_32BITUIDS]: Remove conditional code.
23854         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23855         <kernel-features.h>.
23856         [__ASSUME_32BITUIDS]: Make code unconditional.
23857         [!__ASSUME_32BITUIDS]: Remove conditional code.
23858         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23859         <kernel-features.h>.
23860         [__ASSUME_32BITUIDS]: Make code unconditional.
23861         [!__ASSUME_32BITUIDS]: Remove conditional code.
23862         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23863         <kernel-features.h>.
23864         [__ASSUME_32BITUIDS]: Make code unconditional.
23865         [!__ASSUME_32BITUIDS]: Remove conditional code.
23866         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23867         <kernel-features.h>.
23868         [__NR_setresgid] (__setresgid): Do not declare.
23869         [__ASSUME_32BITUIDS]: Make code unconditional.
23870         [!__ASSUME_32BITUIDS]: Remove conditional code.
23871         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23872         <kernel-features.h>.
23873         [__NR_setresuid] (__setresuid): Do not declare.
23874         [__ASSUME_32BITUIDS]: Make code unconditional.
23875         [!__ASSUME_32BITUIDS]: Remove conditional code.
23876         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23877         <kernel-features.h>.
23878         [__ASSUME_32BITUIDS]: Make code unconditional.
23879         [!__ASSUME_32BITUIDS]: Remove conditional code.
23880         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23881         <kernel-features.h>.
23882         [__ASSUME_32BITUIDS]: Make code unconditional.
23883         [!__ASSUME_32BITUIDS]: Remove conditional code.
23884         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23885         <kernel-features.h>.
23886         [__ASSUME_32BITUIDS]: Make code unconditional.
23887         [!__ASSUME_32BITUIDS]: Remove conditional code.
23888         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23889         <kernel-features.h>.
23890         [__ASSUME_32BITUIDS]: Make code unconditional.
23891         [!__ASSUME_32BITUIDS]: Remove conditional code.
23892         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23893         <kernel-features.h>.
23894         [__ASSUME_32BITUIDS]: Make code unconditional.
23895         [!__ASSUME_32BITUIDS]: Remove conditional code.
23896         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23897         <kernel-features.h>.
23898         [__ASSUME_32BITUIDS]: Make code unconditional.
23899         [!__ASSUME_32BITUIDS]: Remove conditional code.
23900         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23901         <kernel-features.h>.
23902         [__ASSUME_32BITUIDS]: Make code unconditional.
23903         [!__ASSUME_32BITUIDS]: Remove conditional code.
23904         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23905         <kernel-features.h>.
23906         [__ASSUME_32BITUIDS]: Make code unconditional.
23907         [!__ASSUME_32BITUIDS]: Remove conditional code.
23908         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23909         <kernel-features.h>.
23910         [__ASSUME_32BITUIDS]: Make code unconditional.
23911         [!__ASSUME_32BITUIDS]: Remove conditional code.
23912         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23913         <kernel-features.h>.
23914         [__ASSUME_32BITUIDS]: Make code unconditional.
23915         [!__ASSUME_32BITUIDS]: Remove conditional code.
23916         * sysdeps/unix/sysv/linux/kernel-features.h
23917         (__ASSUME_SETRESUID_SYSCALL): Remove.
23918         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23919         (__ASSUME_32BITUIDS): Likewise.
23920         (__ASSUME_LDT_WORKS): Likewise.
23921         (__ASSUME_O_DIRECTORY): Likewise.
23922         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23923         architecture but not kernel version.
23924         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23925         (__ASSUME_MMAP2_SYSCALL): Likewise.
23926         (__ASSUME_STAT64_SYSCALL): Likewise.
23927         (__ASSUME_IPC64): Likewise.
23928         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23929         <kernel-features.h>.
23930         [__ASSUME_32BITUIDS]: Make code unconditional.
23931         [!__ASSUME_32BITUIDS]: Remove conditional code.
23932         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23933         <kernel-features.h>.
23934         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23935         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23936         132096]: Remove conditional code.
23937         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23938         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23939         <kernel-features.h>.
23940         [__ASSUME_32BITUIDS]: Make code unconditional.
23941         [!__ASSUME_32BITUIDS]: Remove conditional code.
23942         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23943         <kernel-features.h>.
23944         [__ASSUME_32BITUIDS]: Make code unconditional.
23945         [!__ASSUME_32BITUIDS]: Remove conditional code.
23946         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23947         <kernel-features.h>.
23948         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23949         unconditional.
23950         (__setresgid): Do not declare.
23951         [__ASSUME_32BITUIDS]: Make code unconditional.
23952         [!__ASSUME_32BITUIDS]: Remove conditional code.
23953         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23954         <kernel-features.h>.
23955         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23956         unconditional.
23957         (__setresuid): Do not declare.
23958         [__ASSUME_32BITUIDS]: Make code unconditional.
23959         [!__ASSUME_32BITUIDS]: Remove conditional code.
23960         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23961         <kernel-features.h>.
23962         [__ASSUME_32BITUIDS]: Make code unconditional.
23963         [!__ASSUME_32BITUIDS]: Remove conditional code.
23964         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23965         <kernel-features.h>.
23966         [__ASSUME_32BITUIDS]: Make code unconditional.
23967         [!__ASSUME_32BITUIDS]: Remove conditional code.
23969 2012-05-25  Richard Henderson  <rth@twiddle.net>
23971         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23972         dl_hwcap to ifunc resolver.
23973         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23974         elf_ifunc_invoke.
23975         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23976         dl_hwcap to ifunc resolver.
23977         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23979 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23981         [BZ #14153]
23982         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23983         for |x| <= 2**-26, not 2**-57.
23984         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23985         exception.
23987 2012-05-24  Jeff Law  <law@redhat.com>
23989         * stdio-common/Makefile (tests): Add bug25.
23990         * stdio-common/bug25.c: New test.
23992 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23994         [BZ #13576]
23995         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23996         multiple of MALLOC_ALIGNMENT in size.
23997         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23999 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24001         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24002         Require >= 256.
24003         (FILENAME_MAX): Use macro-int-constant.
24004         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
24005         (_IOFBF): Use macro-int-constant.
24006         (_IOLBF): Likewise.
24007         (_IONBF): Likewise.
24008         (SEEK_CUR): Likewise.
24009         (SEEK_END): Likewise.
24010         (SEEK_SET): Likewise.
24011         (TMP_MAX): Likewise.
24012         (EOF): Use macro-int-constant.  Require < 0.
24013         (NULL): Use macro-constant.  Require == 0.
24014         (stdin): Require type to be FILE *.
24015         (stdout): Likewise.
24016         (stderr): Likewise.
24017         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24018         macro-int-constant.
24019         (EXIT_SUCCESS): Likewise.
24020         (NULL): Use macro-constant.  Require == 0.
24021         (RAND_MAX): Use macro-int-constant.
24022         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24023         [C99-based standards] (strtof): Require function.
24024         [C99-based standards] (strtold): Likewise.
24025         [C99-based standards] (strtoll): Likewise.
24026         [C99-based standards] (strtoull): Likewise.
24027         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24028         [ISO || ISO99 || ISO11] (limits.h): Likewise.
24029         [ISO || ISO99 || ISO11] (math.h): Likewise.
24030         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24031         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24032         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24034 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
24036         [BZ #14132]
24037         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24038         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24039         * intl/dgettext.c (DCGETTEXT): Likewise.
24040         * intl/gettext.c (DCGETTEXT): Likewise.
24041         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24042         * posix/regex_internal.h (gettext): Likewise.
24043         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24044         Remove declaration.
24045         * include/argz.h (__argz_count_internal)
24046         (__argz_stringify_internal): Remove declaration.
24047         (__argz_count, __argz_stringify): Declare hidden proto.
24048         * intl/dcgettext.c: Remove use of INTDEF.
24049         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24050         * string/argz-stringify.c: Likewise.
24051         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24052         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24053         Declare hidden proto.
24054         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24055         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24056         Declare hidden proto.
24057         * include/stdio.h (__asprintf_internal): Don't declare.
24058         (__asprintf): Don't define as macro.  Declare hidden proto.
24059         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24060         (__fsetlocking): Declare hidden proto.
24061         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24062         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24063         hidden proto.
24064         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24065         (_IO_setlinebuf): Remove use of INTUSE.
24066         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24067         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24068         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24069         Remove declaration.
24070         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24071         (_IO_do_flush): Remove use of INTUSE.
24072         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24073         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24074         (_IO_adjust_column, _IO_least_wmarker)
24075         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24076         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24077         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24078         (_IO_default_doallocate, _IO_wdefault_doallocate)
24079         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24080         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24081         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24082         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24083         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24084         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24085         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24086         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24087         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24088         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24089         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24090         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24091         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24092         proto.
24093         (_IO_flush_all_internal, _IO_adjust_column_internal)
24094         (_IO_default_uflow_internal, _IO_default_finish_internal)
24095         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24096         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24097         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24098         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24099         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24100         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24101         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24102         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24103         (_IO_file_close_internal, _IO_file_close_it_internal)
24104         (_IO_file_underflow_internal, _IO_file_overflow_internal)
24105         (_IO_file_init_internal, _IO_file_attach_internal)
24106         (_IO_file_fopen_internal, _IO_file_read_internal)
24107         (_IO_file_sync_internal, _IO_file_seek_internal)
24108         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24109         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24110         (_IO_str_underflow_internal, _IO_str_overflow_internal)
24111         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24112         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24113         (_IO_list_all_internal, _IO_link_in_internal)
24114         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24115         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24116         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24117         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24118         (_IO_do_write_internal, _IO_padn_internal)
24119         (_IO_getline_info_internal, _IO_getline_internal)
24120         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24121         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24122         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24123         (_IO_vfscanf_internal, _IO_vfprintf_internal)
24124         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24125         (_IO_init_internal, _IO_un_link_internal): Don't declare.
24126         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24127         with libc_hidden_ver, remove use of INTUSE.
24128         * libio/genops.c: Likewise.
24129         * libio/freopen.c: Likewise.
24130         * libio/freopen64.c: Likewise.
24131         * libio/iofclose.c: Likewise.
24132         * libio/iofdopen.c: Likewise.
24133         * libio/iofflush.c: Likewise.
24134         * libio/iofflush_u.c: Likewise.
24135         * libio/iofgets.c: Likewise.
24136         * libio/iofgets_u.c: Likewise.
24137         * libio/iofopen.c: Likewise.
24138         * libio/iofopncook.c: Likewise.
24139         * libio/iofread.c: Likewise.
24140         * libio/iofread_u.c: Likewise.
24141         * libio/ioftell.c: Likewise.
24142         * libio/iofwrite.c: Likewise.
24143         * libio/iogetline.c: Likewise.
24144         * libio/iogets.c: Likewise.
24145         * libio/iogetwline.c: Likewise.
24146         * libio/iopadn.c: Likewise.
24147         * libio/iopopen.c: Likewise.
24148         * libio/ioseekoff.c: Likewise.
24149         * libio/ioseekpos.c: Likewise.
24150         * libio/iosetbuffer.c: Likewise.
24151         * libio/iosetvbuf.c: Likewise.
24152         * libio/ioungetc.c: Likewise.
24153         * libio/ioungetwc.c: Likewise.
24154         * libio/iovdprintf.c: Likewise.
24155         * libio/iovsprintf.c: Likewise.
24156         * libio/iovsscanf.c: Likewise.
24157         * libio/memstream.c: Likewise.
24158         * libio/obprintf.c: Likewise.
24159         * libio/oldfileops.c: Likewise.
24160         * libio/oldiofclose.c: Likewise.
24161         * libio/oldiofdopen.c: Likewise.
24162         * libio/oldiofopen.c: Likewise.
24163         * libio/oldiopopen.c: Likewise.
24164         * libio/oldstdfiles.c: Likewise.
24165         * libio/putc.c: Likewise.
24166         * libio/setbuf.c: Likewise.
24167         * libio/setlinebuf.c: Likewise.
24168         * libio/stdfiles.c: Likewise.
24169         * libio/strops.c: Likewise.
24170         * libio/vasprintf.c: Likewise.
24171         * libio/vscanf.c: Likewise.
24172         * libio/vsnprintf.c: Likewise.
24173         * libio/vswprintf.c: Likewise.
24174         * libio/wfiledoalloc.c: Likewise.
24175         * libio/wfileops.c: Likewise.
24176         * libio/wgenops.c: Likewise.
24177         * libio/wmemstream.c: Likewise.
24178         * libio/wstrops.c: Likewise.
24179         * libio/__fpurge.c: Likewise.
24180         * libio/__fsetlocking.c: Likewise.
24181         * assert/assert.c: Likewise.
24182         * debug/fgets_chk.c: Likewise.
24183         * debug/fgets_u_chk.c: Likewise.
24184         * debug/fread_chk.c: Likewise.
24185         * debug/fread_u_chk.c: Likewise.
24186         * debug/gets_chk.c: Likewise.
24187         * debug/obprintf_chk.c: Likewise.
24188         * debug/vasprintf_chk.c: Likewise.
24189         * debug/vdprintf_chk.c: Likewise.
24190         * debug/vsnprintf_chk.c: Likewise.
24191         * debug/vsprintf_chk.c: Likewise.
24192         * malloc/mtrace.c: Likewise.
24193         * misc/error.c: Likewise.
24194         * misc/syslog.c: Likewise.
24195         * stdio-common/asprintf.c: Likewise.
24196         * stdio-common/fxprintf.c: Likewise.
24197         * stdio-common/getw.c: Likewise.
24198         * stdio-common/isoc99_fscanf.c: Likewise.
24199         * stdio-common/isoc99_scanf.c: Likewise.
24200         * stdio-common/isoc99_vfscanf.c: Likewise.
24201         * stdio-common/isoc99_vscanf.c: Likewise.
24202         * stdio-common/isoc99_vsscanf.c: Likewise.
24203         * stdio-common/printf-prs.c: Likewise.
24204         * stdio-common/printf_fp.c: Likewise.
24205         * stdio-common/printf_fphex.c: Likewise.
24206         * stdio-common/printf_size.c: Likewise.
24207         * stdio-common/putw.c: Likewise.
24208         * stdio-common/scanf.c: Likewise.
24209         * stdio-common/sprintf.c: Likewise.
24210         * stdio-common/tmpfile.c: Likewise.
24211         * stdio-common/vfprintf.c: Likewise.
24212         * stdio-common/vfscanf.c: Likewise.
24213         * stdlib/strfmon_l.c: Likewise.
24214         * sunrpc/openchild.c: Likewise.
24215         * sunrpc/xdr_stdio.c: Likewise.
24216         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24217         * sysdeps/mach/hurd/tmpfile.c: Likewise.
24219 2012-05-24  Roland McGrath  <roland@hack.frob.com>
24221         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24223         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24224         in the third column, to generate for the shared library an IFUNC
24225         that uses _dl_vdso_vsym.
24226         * Makerules (COMPILE.c, compile-stdin.c): New variables.
24227         * Makeconfig (object-suffixes-noshared): New variable.
24229         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24230         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24231         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24232         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24234         [BZ #14132]
24235         * include/sys/time.h (__gettimeofday): Remove macro.
24236         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24237         * time/gettimeofday.c (__gettimeofday): Remove #undef.
24238         Remove INTDEF.
24239         (__gettimeofday): Add libc_hidden_def.
24240         (gettimeofday): Add libc_hidden_weak.
24241         * sysdeps/mach/gettimeofday.c: Likewise.
24242         * sysdeps/posix/gettimeofday.c: Likewise.
24243         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24244         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24245         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24246         (__gettimeofday_internal): Remove strong_alias.
24247         (__gettimeofday): Add libc_hidden_def.
24248         (gettimeofday): Add libc_hidden_weak.
24249         * sysdeps/unix/syscalls.list (gettimeofday):
24250         Remove __gettimeofday_internal alias.
24252 2012-05-24  Daniel Jacobowitz  <drow@false.org>
24253             H.J. Lu  <hongjiu.lu@intel.com>
24255         [BZ #12495]
24256         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24257         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24258         (largebin_index_32_big): New.
24259         (largebin_index): Use it for 16-byte alignment.
24260         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
24261         correction with front_misalign.
24263 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
24265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24267         Likewise.
24268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24269         Likewise.
24270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24271         Likewise.
24272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24273         Likewise.
24274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24275         Likewise.
24276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24277         Likewise.
24278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24279         Likewise.
24280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24281         Likewise.
24282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24283         Likewise.
24284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24285         Likewise.
24286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24287         Likewise.
24288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24289         Likewise.
24291         * scripts/data/c++-types-x32-linux-gnu.data: New file.
24292         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24294 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
24296         [BZ #10846]
24297         [BZ #14036]
24298         * math/libm-test.inc (exp_test): Add test from bug 14036.
24299         (pow_test): Add test from bug 10846.
24301         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24302         and other flags.
24303         (special_function): Do not include flags in test name.
24304         (parse_args): Likewise.
24305         * sysdeps/i386/fpu/libm-test-ulps: Update.
24306         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24307         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24308         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24311         * math/gen-libm-test.pl (%beautify): Add entries for underflow
24312         exceptions.
24313         * math/libm-test.inc ("Philosophy"): Update comment about
24314         exception testing.
24315         (UNDERFLOW_EXCEPTION): New macro.
24316         (UNDERFLOW_EXCEPTION_OK): Likewise.
24317         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24318         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24319         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24320         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24321         (INVALID_EXCEPTION_OK): Update value.
24322         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24323         (OVERFLOW_EXCEPTION_OK): Likewise.
24324         (IGNORE_ZERO_INF_SIGN): Likewise.
24325         (test_exceptions): Handle underflow exceptions.
24326         (acos_test): Update for underflow exception expectations.
24327         (cexp_test): Likewise.
24328         (clog_test): Likewise.
24329         (clog10_test): Likewise.
24330         (csqrt_test): Likewise.
24331         (ctan_test): Likewise.
24332         (ctanh_test): Likewise.
24333         (exp_test): Likewise.
24334         (exp10_test): Likewise.
24335         (exp2_test): Likewise.
24336         (expm1_test): Likewise.
24337         (fma_test): Likewise.
24338         (j0_test): Likewise.
24339         (jn_test): Likewise.
24340         (nexttoward_test): Likewise.
24341         (pow_test): Likewise.
24342         (scalbn_test): Likewise.
24343         (scalbln_test): Likewise.
24344         (tan_test): Likewise.
24345         (y1_test): Likewise.
24346         * sysdeps/i386/fpu/libm-test-ulps: Update.
24347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24349 2012-05-23  David S. Miller  <davem@davemloft.net>
24351         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24352         (__libc_sigaction): Remove unused local variables.
24354 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24356         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24358 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
24360         mktime: avoid signed integer overflow
24361         * time/mktime.c (__mktime_internal): Do not mishandle the case
24362         where diff == INT_MIN.
24364         mktime: simplify computation of average
24365         * time/mktime.c (ranged_convert): Use new time_t_avg function
24366         instead of rolling our own (probably-slower) code.
24368         mktime: do not assume signed right shift propagates sign bit
24369         * time/mktime.c (isdst_differ): New static function.
24370         (__mktime_internal): No need to normalize tm_isdst now.
24371         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24372         tm_isdst values.
24374         mktime: merge another wrapv change from gnulib
24375         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24376         from some compilers.
24378         mktime: remove incorrect attempt at unusual arithmetics
24379         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24380         The code didn't really work on such machines anyway.
24381         (TYPE_MINIMUM): Assume two's complement.
24382         (twos_complement_arithmetic): Verify that long_int and time_t
24383         are two's complement (or unsigned, in the latter case).
24385         mktime: check signed shifts on long_int and time_t, too
24386         * time/mktime.c (SHR): Check that shifts work as desired
24387         on the types long_int and time_t too, as SHR is used on
24388         such types.
24390         mktime: do not assume 'long' is wide enough
24391         * time/mktime.c (verify): Move decl up.
24392         (long_int): New type.
24393         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24394         to remove assumption in the code that 'long' is wide enough to
24395         store year values.  This assumption is not true on x32 and on
24396         some non-glibc platforms.
24398         mktime: merge wrapv change from gnulib
24399         * time/mktime.c (WRAPV): New macro.
24400         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24401         (guess_time_tm, __mktime_internal): Do not assume that signed
24402         integer overflow wraps around; modern compilers generate code
24403         where this assumption is no longer valid.
24405 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24407         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24408         Replace "jmp L(pseudo_end)" with "ret".
24409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24410         Likewise.
24412 2012-05-23  Andreas Jaeger  <aj@suse.de>
24414         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24415         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24417 2012-05-23  Andreas Jaeger  <aj@suse.de>
24418             Maximilian Attems  <max@stro.at>
24420         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24421         New macros.
24423 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24425         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24426         code so that pseudo_end is just ret and the stack pointer is
24427         correct also for static library in error case.
24429 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24431         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24432         move to syscalls.list.
24433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24438         * manual/install.texi (Running make install): Do not mention Linux
24439         kernel version for which pt_chown is not needed.
24440         (Linux): Do not mention problems with nscd with 2.0 kernels.
24441         * INSTALL: Regenerated.
24443 2012-05-23  Andreas Jaeger  <aj@suse.de>
24445         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24446         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24447         macro.
24448         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24449         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24450         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24451         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24452         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24453         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24454         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24455         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24456         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24457         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24458         * sysdeps/unix/sysv/linux/bits/in.h
24459         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24461 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24463         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24464         (PREPARE_VERSION): Just use assert instead, it will be elided
24465         under [NDEBUG] anyway.
24467 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24469         * sysdeps/unix/sysv/linux/Makefile: Include
24470         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24471         (sysdep_routines): Remove sysctl.
24472         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24473         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24474         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24475         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24476         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24478 2012-05-22  Andreas Jaeger  <aj@suse.de>
24480         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24481         that pseudo_end is just ret and the stack pointer is correct also
24482         for static library in error case.
24484 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24486         [BZ #14122]
24487         * nss/nsswitch.c (defconfig_entries): New variable.
24488         (__nss_database_lookup): Don't leak defconfig entries.
24489         (nss_parse_service_list): Don't leak on error paths.
24490         (free_database_entries): New function.
24491         (free_defconfig): New function.
24492         (free_mem): Move common code to free_database_entries.
24494 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24496         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24497         Add arch_prctl.
24498         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24500         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24501         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24503         New macro.
24504         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24505         (INTERNAL_SYSCALL_TYPES): Likewise.
24506         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24507         (LOAD_REGS_TYPES_[1-6]): Likewise.
24508         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24509         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24511 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24513         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24514         copysignl for GLIBC_2_0.
24515         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24516         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24518         logbl for GLIBC_2_0.
24519         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24520         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24522 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24525         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24527         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24528         Use "neg %eax".
24530         * time/mktime.c: Update copyright years.
24532 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24534         mktime: merge comment-quoting-style change from gnulib
24535         * time/mktime.c: Quote 'like this' in comments.
24536         The GNU coding standards suggest that we no longer quote `like this',
24537         as "`" and "'" are typically rendered asymmetrically nowadays.
24538         The typical gnulib style is to quote 'like this' when quoting
24539         code, and "like this" when quoting English.
24541         * time/mktime.c (compile-command): Add "-I.".
24543         mktime: merge mktime-internal.h change from gnulib
24544         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24546         mktime: merge time_r change from gnulib
24547         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24549         mktime: merge DEBUG change from gnulib
24550         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24551         case system <time.h> has a #define.
24553         mktime: merge <sys/types.h> change from gnulib
24554         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24555         since <time.t> is now guaranteed to define time_t.
24557         mktime: merge HAVE_CONFIG_H change from gnulib
24558         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24560 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24563         Use "neg %eax".
24565         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24566         __rlim_t cast.
24567         (struct rusage): Use anonymous union to pad each field to
24568         __syscall_slong_t.
24570 2012-05-21  David S. Miller  <davem@davemloft.net>
24572         * Makefules (o-iterator): Remove .s cases.
24573         (compile-command.s): Delete.
24574         (COMPILE.s): Delete.
24575         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24577 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24579         * configure.in (libc_cv_predef_stack_protector): Only consider
24580         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24581         * configure: Regenerated.
24583 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24585         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24586         New macro.  Use R*LP on int and pointer.
24587         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24588         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24589         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24590         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24592         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24593         [__WORDSIZE_TIME64_COMPAT32] instead of
24594         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24595         (struct utmp): Likewise.
24596         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24597         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24598         Renamed to ...
24599         (__WORDSIZE_TIME64_COMPAT32): This.
24600         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24601         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24602         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24603         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24604         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24605         (__WORDSIZE_TIME64_COMPAT32): New macro.
24607 2012-05-21  Andreas Jaeger  <aj@suse.de>
24609         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24610         only if [SHARED]. Add prototype for __wcschr_ia32.
24612 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24614         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24615         of %rbp unmolested in the jmp_buf while mangling the low bits.
24616         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24617         unmolested high bits of %rbp while demangling the low bits.
24618         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24620 2012-05-21  Andreas Jaeger  <aj@suse.de>
24622         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24623         * sunrpc/svc_simple.c: Use it for registerrpc.
24624         * sunrpc/xcrypt.c: Use it for passwd2des.
24626         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24628 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24630         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24631         Don't define if [__SYSCALL_WORDSIZE != 32].
24632         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24633         New macro.
24635 2012-05-21  Bruno Haible  <bruno@clisp.org>
24636             Andreas Jaeger  <aj@suse.de>
24638         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24639         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24640         inptr and inend for must_buffer_ch.
24641         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24642         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24643         * stdio-common/Makefile (tests): Remove bug15.
24644         (bug15-ENV): Remove macro.
24645         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24646         anymore.
24648 2012-05-19  Andreas Jaeger  <aj@suse.de>
24649             Roland McGrath  <roland@hack.frob.com>
24651         * manual/contrib.texi: Completely rewritten. It contains now an
24652         alphabetical list of contributors and their contributions.
24654 2012-05-21  Richard Henderson  <rth@twiddle.net>
24656         * misc/getauxval.c (__getauxval): Use unsigned long int.
24657         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24658         (getauxval): Use unsigned long int.
24660 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24662         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24664 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24666         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24667         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24668         __alignof__ (long double).
24670 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24674 2012-05-20  Richard Henderson  <rth@twiddle.net>
24676         * misc/getauxval.c: New file.
24677         * misc/sys/auxv.h: New file.
24678         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24679         (routines): Add getauxval.
24680         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24681         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24682         * elf/dl-sysdep.c (_dl_auxv): Remove.
24683         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24684         * elf/dl-support.c (_dl_auxv): New variable.
24685         (_dl_aux_init): Initialize it.
24686         * manual/startup.texi (Auxiliary Vector): New node.
24687         * sysdeps/generic/bits/hwcap.h: New file.
24688         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24689         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24690         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24691         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24692         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24693         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24695         Update.
24696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24705 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24709 2012-05-19  David S. Miller  <davem@davemloft.net>
24711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24713 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24715         [BZ #14123]
24716         * math/s_ccosh.c: Include <float.h>
24717         (__ccosh): Avoid internal overflow calculating sinh and cosh
24718         values before multiplying by sin and cos values.
24719         * math/s_ccoshf.c: Likewise.
24720         * math/s_ccoshl.c: Likewise.
24721         * math/s_csin.c: Likewise.
24722         * math/s_csinf.c: Likewise.
24723         * math/s_csinl.c: Likewise.
24724         * math/s_csinh.c: Likewise.
24725         * math/s_csinhf.c: Likewise.
24726         * math/s_csinhl.c: Likewise.
24727         * math/libm-test.inc (ccos_test): Add more tests.
24728         (ccosh_test): Likewise.
24729         (csin_test): Likewise.
24730         (csinh_test): Likewise.
24731         * sysdeps/i386/fpu/libm-test-ulps: Update.
24732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24734 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24736         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24737         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24739         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24741 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24743         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24744         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24745         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24746         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24747         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24748         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24749         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24750         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24751         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24752         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24753         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24754         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24755         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24756         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24757         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24758         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24759         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24760         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24761         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24762         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24763         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24764         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24765         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24766         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24767         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24768         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24769         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24770         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24771         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24772         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24773         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24775 2012-05-18  Andreas Jaeger  <aj@suse.de>
24777         * csu/.gitignore: Delete.
24779 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24781         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24782         (timex): Use __syscall_slong_t.
24784 2012-05-18  Andreas Jaeger  <aj@suse.de>
24785             Carlos O'Donell  <carlos_odonell@mentor.com>
24787         * manual/install.texi (Configuring and compiling): Update
24788         description about files modified in the source directory.
24789         * INSTALL: Regenerated.
24791 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24793         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24794         value.  Use "or" to set return value to -1.
24795         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24796         negate return value.
24798 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24800         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24801         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24802         failure if the compiler has Graphite support disabled.
24803         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24804         Likewise.
24805         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24806         CFLAGS-memmove.c): Likewise.
24807         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24808         Likewise.
24810 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24812         * sysdeps/x86_64/x32/_itoa.h: New file.
24814         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24815         getdents system call only if kernel and user dirents have the
24816         same d_ino and d_off.
24818         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24819         LLONG_MAX != LONG_MAX.
24820         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24821         (_fitoa_word): Likewise.
24823         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24824         years.
24825         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24826         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24827         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24829         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24830         include <bits/wordsize.h>.  Check __x86_64__ instead of
24831         __WORDSIZE.
24832         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24833         if __x86_64__ is defined.  Use anonymous union on fpstate.
24835         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24836         anonymous union.
24838 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24840         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24841         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24842         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24843         Refer to _rtld_local_ro instead of _rtld_global_ro.
24844         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24845         Likewise.
24846         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24847         Likewise.
24848         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24849         Likewise.
24850         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24851         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24852         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24854         * sysdeps/powerpc/powerpc32/dl-machine.c
24855         (__elf_machine_runtime_setup) [PROF]: Don't reference
24856         _dl_prof_resolve.
24858 2012-05-18  Andreas Jaeger  <aj@suse.de>
24860         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24861         function only available for GCCs before 3.4 since GCC 3.4
24862         introduced a builtin.
24863         (lrint): Likewise.
24864         (llrintf): Likewise.
24865         (llrint): Likewise.
24866         (fmaxf): Likewise.
24867         (fmax): Likewise.
24868         (fminf): Likewise.
24869         (fmin): Likewise.
24870         (rint): Likewise.
24871         (rintf): Likewise.
24872         (nearbyint): Likewise.
24873         (nearbyintf): Likewise.
24874         (ceil): Likewise.
24875         (ceilf): Likewise.
24876         (floor): Likewise.
24877         (floorf): Likewise.
24879 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24881         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24882         on both fields and cast pointer to __syscall_ulong_t.
24884         * bits/types.h (__fsword_t): New type.
24885         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24886         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24887         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24888         (__FSWORD_T_TYPE): Likewise.
24889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24890         (__FSWORD_T_TYPE): Likewise.
24891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24892         (__FSWORD_T_TYPE): Likewise.
24893         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24894         (__FSWORD_T_TYPE): Likewise.
24895         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24896         __SWORD_TYPE with __fsword_t.
24897         (statfs64): Likewise.
24899 2012-05-17  David S. Miller  <davem@davemloft.net>
24901         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24903 2012-05-17  Andreas Jaeger  <aj@suse.de>
24905         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24906         warning.
24908 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24910         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24912 2012-05-17  Andreas Jaeger  <aj@suse.de>
24914         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24915         when it is used.
24917 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24919         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24921 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24923         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24924         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24926 2012-05-17  Andreas Jaeger  <aj@suse.de>
24927             Carlos O'Donell  <carlos_odonell@mentor.com>
24929         [BZ #14059]
24930         * sysdeps/x86_64/multiarch/init-arch.h
24931         (bit_YMM_Usable): Rename to...
24932         (bit_AVX_Usable): ... this.
24933         (bit_FMA4_Usable): New macro.
24934         (bit_XMM_state): New macro.
24935         (bit_YMM_state): New macro.
24936         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24937         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24938         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24939         (CPUID_OSXSAVE): New macro.
24940         (CPUID_AVX): New macro.
24941         (CPUID_FMA4): New macro.
24942         (index_YMM_Usable): Rename to...
24943         (index_AVX_Usable): ... this.
24944         (HAS_AVX): Use HAS_ARCH_FEATURE.
24945         (HAS_FMA4): Likewise.
24946         (HAS_YMM_USABLE): Remove.
24947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24948         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24949         are present.
24950         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24951         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24952         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24953         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24954         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24956 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24958         * math/libm-test.c: Support platforms without multiple rounding modes.
24959         * math/bug-nextafter.c: Support platforms without FP exceptions.
24960         * math/bug-nexttoward.c: Likewise.
24961         * math/test-fenv.c: Likewise.
24962         * math/test-misc.c: Likewise.
24963         * stdlib/bug-getcontext.c: Likewise.
24965 2012-05-17  Andreas Jaeger  <aj@suse.de>
24967         * manual/examples/search.c (critter_cmp): Change signature to
24968         avoid warnings.
24969         * manual/string.texi (Collation Functions): Likewise.
24971 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24973         * bits/types.h: Fold copyright years.
24974         * bits/typesizes.h: Likewise.
24975         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24976         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24978         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24979         * time/time.h: Likewise.
24981 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24983         [BZ #208]
24984         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24985         in instead of returning them.  Return void.
24986         (__libc_mallinfo): Accumulate over all arenas.
24987         (__malloc_stats): Adjust for change in int_mallinfo interface.
24989 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24991         [BZ #10375]
24992         * configure.in (NM): Add AC_CHECK_TOOL for it.
24993         (libc_extra_cflags): New substituted variable.
24994         Check for -fstack-protector being used implicitly.
24995         * configure: Regenerated.
24996         * config.make.in (config-extra-cflags): New variable,
24997         gets @libc_extra_cflags@.
24998         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25000         [BZ #10375]
25001         * configure.in: Check for _FORTIFY_SOURCE being predefined.
25002         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25003         * configure: Regenerated.
25004         * config.make.in (CPPUNDEFS): New substituted variable.
25005         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25006         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25007         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25009 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25011         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25012         (mq_attr): Use __syscall_slong_t.
25014 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25016         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25017         Check __x86_64__ instead of __WORDSIZE.
25018         (_STAT_VER_LINUX): Likewise.
25019         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
25020         __syscall_ulong_t and __syscall_slong_t.
25021         (stat64): Likewise.
25023 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25025         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25027 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25029         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25033         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25034         __syscall_ulong_t.
25036         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25037         include <bits/wordsize.h>.  Check __x86_64__ instead of
25038         __WORDSIZE.
25039         (greg_t): Use "__extension__ long long int" if __x86_64__ is
25040         defined.
25041         (mcontext_t): Replace "unsigned long" with "unsigned long long".
25043         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25044         include <bits/wordsize.h>.  Check __x86_64__ instead of
25045         __WORDSIZE.
25046         (user_regs_struct): Use "__extension__ unsigned long long"
25047         instead of "unsigned long" if __x86_64__ is defined.
25048         (user): Likewise.  Pad after pointer field if __ILP32__ is
25049         defined.
25051 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
25053         * configure.in (makeinfo): Require version 4.5 or later.  Allow
25054         versions 5 to 9.
25055         * configure: Regenerated.
25056         * manual/install.texi (texinfo): Increase version requirement to
25057         4.5 or later.
25058         * INSTALL: Regenerated.
25060         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25062 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25064         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25066         * sysdeps/x86_64/x32/ffs.c: New file.
25068         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25069         __syscall_ulong_t.
25070         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25071         defined.  Use __syscall_ulong_t.
25072         (shminfo): Use __syscall_ulong_t.
25073         (shm_info): Likewise.
25075         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25076         __syscall_ulong_t.
25078         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25079         <bits/wordsize.h>.
25080         (msgqnum_t): Use __syscall_ulong_t.
25081         (msglen_t): Likewise.
25082         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
25083         __syscall_ulong_t.
25085         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25086         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25088         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25090         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25091         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25093         * sysvipc/sys/msg.h (msgbuf): Replace long int with
25094         __syscall_slong_t.
25096         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25097         include <bits/wordsize.h>.  Check __x86_64__ instead of
25098         __WORDSIZE.
25100         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25101         "unsigned long long int" if __x86_64__ is defined.
25102         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25104         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25105         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
25106         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25108         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25109         <stdint.h>.
25110         (GET_PC): Cast to uintptr_t first.
25111         (GET_FRAME): Likewise.
25112         (GET_STACK): Likewise.
25114         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25115         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25116         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25117         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25118         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25119         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25120         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25121         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25122         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25123         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25124         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25125         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25126         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25127         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25128         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25129         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25130         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25131         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25132         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25133         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25134         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25135         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25136         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25137         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25138         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25139         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25140         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25141         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25142         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25144 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
25146         * Makerules (+depfiles): Also collect depfiles from .oS in
25147         $(extra-objs).
25148         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25149         .oS, $(libnldbl-routines)).
25151         * Makerules (native-compile-mkdep-flags): Define.
25152         * sunrpc/Makefile (extra-objs): Add $(addprefix
25153         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25154         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25155         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
25156         calling $(make-target-directory).
25158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25160         * bits/types.h (__snseconds_t): Removed.
25161         * time/time.h (struct timespec): Replace __snseconds_t with
25162         __syscall_slong_t.
25163         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25164         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25165         Likewise.
25166         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25167         (__SNSECONDS_T_TYPE): Likewise.
25168         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25169         (__SNSECONDS_T_TYPE): Likewise.
25170         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25171         (__SNSECONDS_T_TYPE): Likewise.
25173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25175         * sysdeps/mach/hurd/bits/typesizes.h
25176         (__SYSCALL_SLONG_TYPE): New macro.
25177         (__SYSCALL_ULONG_TYPE): Likewise.
25179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25181         * bits/types.h (__syscall_slong_t): New type.
25182         (__syscall_ulong_t): Likewise.
25184         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25185         (__SYSCALL_ULONG_TYPE): Likewise.
25186         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25187         (__SYSCALL_SLONG_TYPE): Likewise.
25188         (__SYSCALL_ULONG_TYPE): Likewise.
25189         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25190         (__SYSCALL_SLONG_TYPE): Likewise.
25191         (__SYSCALL_ULONG_TYPE): Likewise.
25192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25193         (__SYSCALL_SLONG_TYPE): Likewise.
25194         (__SYSCALL_ULONG_TYPE): Likewise.
25196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25198         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25199         Add sigaltstack-offsets.sym.
25200         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25201         <sigaltstack-offsets.h>.
25202         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
25203         longjmp_msg pointer.
25204         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
25205         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25206         signal stack.
25207         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25209 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25211         * elf/stackguard-macros.h: Remove file.
25212         * sysdeps/generic/stackguard-macros.h: New file.
25213         * sysdeps/i386/stackguard-macros.h: Likewise.
25214         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25215         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25216         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25217         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25218         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25219         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25220         * sysdeps/x86_64/stackguard-macros.h: Likewise.
25221         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25222         <elf/stackguard-macros.h>.
25224         [BZ #14109]
25225         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25226         __aligned__ in attribute.
25227         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25228         (gregset_t): Likewise.
25230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25232         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25233         * sysdeps/x86_64/64/Implies-after: Here.  New file.
25234         * sysdeps/x86_64/x32/Implies-after: New file.
25236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25238         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25239         and access return value for _dl_profile_fixup.  Use R10_LP to
25240         load frame size.
25242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25244         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25248         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25249         * sysdeps/x86_64/x32/sysdep.h: New file.
25251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25253         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25254         * sysdeps/x86_64/setjmp.S: Likewise.
25256 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25258         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25259         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25260         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25261         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25262         remove unused global constant.
25264 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
25266         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25267         include of <not-cancel.h>.
25269 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25271         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25273 2012-05-15  Jeff Law  <law@redhat.com>
25274             Andreas Jaeger  <aj@suse.de>
25276         [BZ #13594]
25277         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25278         out from...
25279         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25280         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25281         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25282         code changing __hst_map_handle.map.
25284 2012-05-15  Roland McGrath  <roland@hack.frob.com>
25286         * configure.in (sysnames): Look for Implies-before and Implies-after
25287         files.
25288         * configure: Regenerated.
25290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25292         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25293         8-byte data alignment with LP_SIZE alignment.
25295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25297         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25298         into R10_LP.
25300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25302         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25306         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25307         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25308         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25309         Likewise.
25310         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25314         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25315         (stackinfo_sub_sp): Likewise.
25317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25319         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25320         RAX_LP.
25322 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25324         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25325         into R*_LP.
25327 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25329         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25330         sizes into R*_LP.
25332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25334         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25338         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25339         into R11_LP and load __x86_64_shared_cache_size_half into
25340         R8_LP.
25342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
25344         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25345         R8_LP.
25347 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25349         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25350         logb for POWER7.
25351         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25352         logbf for POWER7.
25353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25354         logbl for POWER7.
25355         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25356         powerpc32/power7/fpu/s_logb.c via #include.
25357         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25358         powerpc32/power7/fpu/s_logbf.c via #include.
25359         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25360         powerpc32/power7/fpu/s_logbl.c via #include.
25362 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
25364         * README.libm: Remove file.
25366 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25368         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25369         count for x32.  Use R*_LP and omit operand-size suffix.
25371 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25373         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25374         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25375         * sysdeps/x86_64/x32/shlib-versions: New file.
25377 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25379         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25380         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25381         Use _dl_fatal_printf instead.
25383 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25385         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25386         set if not set by the user.  Do not allow for being unset.
25387         * sysdeps/unix/sysv/linux/configure: Regenerated.
25389 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25391         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25392         the `q' suffix from lea and replace .quad with ASM_ADDR.
25394 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25397         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25398         instead of $17.
25399         (PTR_DEMANGLE): Likewise.
25401 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25403         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25404         (LP_OP): Likewise.
25405         (ASM_ADDR): Likewise.
25406         (RAX_LP): Likewise.
25407         (RBP_LP): Likewise.
25408         (RBX_LP): Likewise.
25409         (RCX_LP): Likewise.
25410         (RDI_LP): Likewise.
25411         (RSI_LP): Likewise.
25412         (RSP_LP): Likewise.
25413         (R8_LP): Likewise.
25414         (R9_LP): Likewise.
25415         (R10_LP): Likewise.
25416         (R10_LP): Likewise.
25417         (R11_LP): Likewise.
25418         (R12_LP): Likewise.
25419         (R13_LP): Likewise.
25420         (R14_LP): Likewise.
25421         (R15_LP): Likewise.
25423 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25425         * sysdeps/x86_64/x32/dl-machine.h: New file.
25427 2012-05-14  Andreas Jaeger  <aj@suse.de>
25429         * manual/Makefile (subdir): Remove export of subdir.
25430         (all): Remove target.
25431         (.PHONY): Remove all from list.
25432         (mkinstalldirs): Remove.
25433         (.PHONY): Remove installdirs from list.
25434         ($(inst_infodir)/libc.info): Use make-target-directory.
25435         (installdirs): Remove.
25436         (subdir_%): Remove.
25437         (glibc-targets): Remove.
25438         (lib): Remove.
25439         (stubs): Remove.
25440         ($(objpfx)stubs ../po/manual.pot): Remove.
25441         ($(objpfx)stamp%): Remove.
25442         (make-target-directory): Remove.
25443         (subdir_install): Remove.
25444         (routines): Remove.
25445         (aux): Remove.
25446         (sources): Remove.
25447         (objects): Remove.
25448         (headers): Remove.
25450         [BZ #13750]
25451         * manual/.gitignore: Remove, it's not needed anymore.
25452         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25453         all files in it.
25454         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25455         directory.
25456         (texis): Renamed to $(objpfx)texis.
25457         (texis-path): New, contains path to generated files.
25458         (chapters.%): Use texis-path for complete path, add extra argument
25459         libc-texinfo.sh.
25460         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25461         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25462         (summary,texi, stamp-summary): Use complete path of
25463         files. Generate files in build dir.
25464         (dir-add.texi): Build in build dir.
25465         (libm-err.texi,stamp-libm-err): Likewise.
25466         (version.texi, stamp-version): Likewise.
25467         (.%c.texi): Likewise.
25468         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25469         (mostlyclean): Remove target.
25470         (realclean): Remove target.
25471         (generated): Add new variable with contents from mostlyclean and
25472         realclean, remove entries duplicated in common-mostlyclean, add
25473         stamp-libm-err and stamp-version.
25474         (generated-dirs): Add libc directory.
25475         ($(inst_infodir)/libc.info): Install files from build dir.
25477         * manual/install.texi (Configuring and compiling): Adjust since
25478         the info files are not part of the tar ball anymore.
25480 2012-05-14  Andreas Jaeger  <aj@suse.de>
25482         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25483         variable.
25485 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25487         [BZ #13717]
25488         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25489         to 2.2.0 where earlier.
25490         * sysdeps/unix/sysv/linux/configure: Regenerated.
25491         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25492         Remove conditional code.
25493         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25494         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25495         Remove conditional code.
25496         [!__NR_lchown]: Likewise.
25497         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25498         [__NR_lchown]: Likewise.
25499         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25500         comment referencing __ASSUME_LCHOWN_SYSCALL.
25501         * sysdeps/unix/sysv/linux/i386/sigaction.c
25502         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25503         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25504         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25505         Remove conditional code.
25506         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25507         (__protocol_available): Remove #if 0 code.
25508         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25509         conditional code.
25510         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25511         * sysdeps/unix/sysv/linux/kernel-features.h
25512         (__ASSUME_GETCWD_SYSCALL): Don't define.
25513         (__ASSUME_REALTIME_SIGNALS): Likewise.
25514         (__ASSUME_PREAD_SYSCALL): Likewise.
25515         (__ASSUME_PWRITE_SYSCALL): Likewise.
25516         (__ASSUME_POLL_SYSCALL): Likewise.
25517         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25518         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25519         non-SPARC.
25520         (__ASSUME_SIOCGIFNAME): Don't define.
25521         (__ASSUME_MSG_NOSIGNAL): Likewise.
25522         (__ASSUME_SENDFILE): Define unconditionally.
25523         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25524         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25525         conditional code.
25526         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25527         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25528         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25529         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25530         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25531         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25532         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25534         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25535         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25537         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25538         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25540         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25541         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25543         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25544         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25546         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25547         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25549         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25550         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25552         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25553         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25555         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25557         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25558         Remove conditional code.
25559         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25560         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25561         Remove conditional code.
25562         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25563         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25564         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25565         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25566         Remove conditional code.
25567         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25568         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25569         Remove conditional code.
25570         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25571         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25572         Remove conditional code.
25573         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25574         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25575         Remove conditional code.
25576         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25577         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25578         Remove conditional code.
25579         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25580         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25581         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25582         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25583         * sysdeps/unix/sysv/linux/sigaction.c
25584         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25585         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25586         * sysdeps/unix/sysv/linux/sigpending.c
25587         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25588         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25589         * sysdeps/unix/sysv/linux/sigprocmask.c
25590         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25591         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25592         * sysdeps/unix/sysv/linux/sigsuspend.c
25593         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25594         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25595         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25596         (__libc_missing_rt_sigs): Remove.
25597         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25598         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25599         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25600         Remove conditional code.
25601         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25602         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25603         return 1.
25604         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25605         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25606         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25607         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25609 2012-05-14  Andreas Jaeger  <aj@suse.de>
25611         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25612         it's not used in glibc.
25613         (__coshm1): Likewise.
25614         (__acosh1p): Likewise.
25615         (__sgn): Likewise.
25617         * manual/string.texi (Copying and Concatenation): Add missing
25618         variable in concat example.
25619         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25621 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25623         [BZ #14103]
25624         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25625         __builtin_clzl with __builtin_clzll.
25627 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25629         [BZ #14104]
25630         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25631         libc_freeres_ptr.
25633 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25635         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25636         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25637         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25638         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25640 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25642         * NEWS: Update ia64 info.
25644 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25646         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25647         used as bcopy.
25649 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25651         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25652         * sysdeps/unix/syscalls.list (dup3): Likewise.
25653         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25654         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25656 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25658         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25659         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25661 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25663         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25664         thread pointer.
25665         (TLS_IE): Use mov/add instead of movq/addq to load thread
25666         pointer.
25667         (TLS_GD_PREFIX): New.
25668         (TLS_GD): Use it.
25670 2012-05-11  David S. Miller  <davem@davemloft.net>
25672         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25673         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25674         (_FPU_SETCW): Likewise.
25676 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25678         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25679         is 32-byte aligned.
25681 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25683         [BZ #11837]
25684         * iconvdata/gb18030.c: Update tables.
25685         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25686         characters specially.
25687         (BODY for TO_LOOP): Add encoding of missing ranges.
25689 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25691         [BZ #13673]
25692         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25693         * sysdeps/mach/hurd/dup3.c: Likewise.
25694         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25695         * sysdeps/powerpc/memmove.c:: Likewise.
25697 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25699         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25700         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25702 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25704         * elf/elf.h (R_X86_64_RELATIVE64): New.
25705         (R_X86_64_NUM): Updated.
25706         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25707         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25708         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25709         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25710         tst-quad1pie tst-quad2pie
25711         (modules-names): Add tst-quadmod1 tst-quadmod2.
25712         ($(objpfx)tst-quad1): New dependency.
25713         ($(objpfx)tst-quad2): Likewise.
25714         ($(objpfx)tst-quad1pie): Likewise.
25715         ($(objpfx)tst-quad2pie): Likewise.
25716         * sysdeps/x86_64/tst-quad1.c: New file.
25717         * sysdeps/x86_64/tst-quad1pie.c: New file.
25718         * sysdeps/x86_64/tst-quad2.c: Likewise.
25719         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25720         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25721         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25722         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25723         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25727         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25728         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25729         * streams/stropts.h (t_scalar_t): Define type.
25731         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25732         (_PATH_PRESERVE): Set to "/var/lib".
25733         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25735         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25736         instead of int.
25738         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25739         if __dir_mkfile succeeded.
25741         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25742         checking for _hurd_dtablesize.  Unlock it right after having
25743         finished _hurd_dtable allocation.
25745 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25747         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25748         * sysdeps/mach/hurd/configure: Regenerated.
25749         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25750         special-casing to...
25751         * sysdeps/gnu/configure.in: ... this new file.
25752         * sysdeps/unix/sysv/linux/configure: Regenerated.
25753         * sysdeps/gnu/configure: New generated file.
25755         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25756         for Linux: use nsec instead of usec, as well as:
25757         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25758         members of type struct timespec.
25759         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25760         New macros.
25761         (struct stat64): Likewise.
25762         (_STATBUF_ST_NSEC): New macro.
25763         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25765         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25766         __strtoul_internal rather than strtoul.
25768 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25770         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25771         and reject them.
25773 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25775         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25776         which preserves existing values.
25777         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25779 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25781         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25782         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25783         greater than FD_SETSIZE.
25785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25787         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25788         allocated, call __vm_protect to finish enabling the existing space, and
25789         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25790         allocate the remainder.
25792 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25794         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25795         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25799         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25800         sysdeps/mach/hurd/readlink.c.
25802         * posix/tst-sysconf.c (posix_options): Only use
25803         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25804         _POSIX_SYNCHRONIZED_IO when they are defined
25805         * sysdeps/mach/hurd/bits/posix_opt.h:
25806         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25807         (_XOPEN_REALTIME): Undefine macro.
25808         (_XOPEN_REALTIME_THREADS): Undefine macro.
25809         (_XOPEN_SHM): Undefine macro.
25810         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25811         macro to -1.
25812         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25813         macro to -1.
25814         (_POSIX_ASYNC_IO): Undefine macro.
25815         (_POSIX_PRIORITIZED_IO): Undefine macro.
25816         (_POSIX_SPIN_LOCKS): Define macro to -1.
25818         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25819         SA_NODEFER, SA_RESETHAND.
25820         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25821         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25822         F_DUPFD_CLOEXEC.
25824 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25826         * elf/Makefile (pldd-modules): Define unconditionally.
25828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25830         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25832 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25834         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25835         Return ENOENT when name is empty.
25836         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25838 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25840         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25842         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25844 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25846         Fix mlock in all cases except non-readable pages.
25847         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25848         instead of VM_PROT_ALL as parameter to __vm_wire function.
25850         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25851         (__mkdir): When path is `/', just fail with EEXIST.
25852         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25854 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25856         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25857         <sys/uio.h> (for writev).
25858         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25859         and <sys/param.h> (for MIN).
25861 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25863         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25864         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25865         if interrupted.
25867 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25869         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25870         Depend on against $(link-rpcuserlibs).
25872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25874         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25875         (__libc_stack_end): Do not use attribute_relro.
25876         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25877         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25878         to libthread-provided value.
25879         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25880         attribute_relro.
25882 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25884         [BZ #3748]
25885         * bits/libc-lock.h (__libc_once_get): New macro.
25886         * sysdeps/mach/bits/libc-lock.h: Likewise.
25887         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25888         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25889         instead of using implementation details.
25891         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25892         * libio/freopen.c: Likewise.
25893         * libio/freopen64.c: Likewise.
25894         * misc/syslog.c: Likewise.
25895         * nscd/connections.c: Likewise.
25896         * nscd/netgroupcache.c: Likewise.
25897         * sysdeps/posix/getcwd.c: Likewise.
25899 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25901         * math/w_ilogbf.c: Add #include <limits.h>.
25903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25905         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25906         path instead of returning without unlocking.
25908         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25909         immediate-write ioctls.
25910         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25914         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25915         __builtin_frame_address instead of making assumptions about the
25916         location of the return address relative to DATA.  Force early load of
25917         the return address.
25918         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25919         __builtin_frame_address.
25921         dup3 for GNU Hurd.
25922         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25923         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25924         implement dup3 and do some further code clean-ups.
25925         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25926         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25930         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25932         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25933         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25934         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25935         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25936         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25937         d->port.lock.
25939         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25940         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25941         when handler == SIG_ERR, not when handler != SIG_ERR.
25943 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25945         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25946         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25947         definitions.
25949         accept4 for GNU Hurd.
25950         * include/sys/socket.h (__libc_accept4): New prototype.
25951         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25952         to implement __libc_accept4.
25953         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25954         __libc_accept4.
25955         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25957         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25958         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25959         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25960         signal-defines.sym.
25962 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25964         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25968         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25969         assertion on O_CLOEXEC flag.
25970         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25971         * hurd/intern-fd.c: Likewise.
25972         * hurd/port2fd.c: Likewise.
25974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25976         [BZ #3906]
25977         * bits/in.h (IPV6_PKTINFO): Define new macro.
25978         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25980 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25982         [BZ #13954]
25983         [BZ #13955]
25984         [BZ #13956]
25985         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25986         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25987         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25988         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25989         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25990         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25991         * math/libm-test.inc (logb_test) : Additional logb tests.
25993 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25994             Andreas Jaeger  <aj@suse.de>
25996         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25997         * configure: Regenerated.
25998         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25999         * config.make.in (link-obsolete-rpc): New substituted variable.
26000         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26001         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26002         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26003         (shared-only-routines): Don't set it under [link-obsolete-rpc],
26004         so that libc.a contains the symbols.
26005         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26006         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26007         * sunrpc/auth_none.c: Likewise.
26008         * sunrpc/auth_unix.c: Likewise.
26009         * sunrpc/authdes_prot.c: Likewise.
26010         * sunrpc/authuxprot.c: Likewise.
26011         * sunrpc/clnt_gen.c: Likewise.
26012         * sunrpc/clnt_perr.c: Likewise.
26013         * sunrpc/clnt_raw.c: Likewise.
26014         * sunrpc/clnt_simp.c: Likewise.
26015         * sunrpc/clnt_tcp.c: Likewise.
26016         * sunrpc/clnt_udp.c: Likewise.
26017         * sunrpc/clnt_unix.c: Likewise.
26018         * sunrpc/des_crypt.c: Likewise.
26019         * sunrpc/des_soft.c: Likewise.
26020         * sunrpc/get_myaddr.c: Likewise.
26021         * sunrpc/key_call.c: Likewise.
26022         * sunrpc/key_prot.c: Likewise.
26023         * sunrpc/netname.c: Likewise.
26024         * sunrpc/pm_getmaps.c: Likewise.
26025         * sunrpc/pm_getport.c: Likewise.
26026         * sunrpc/pmap_clnt.c: Likewise.
26027         * sunrpc/pmap_prot.c: Likewise.
26028         * sunrpc/pmap_prot2.c: Likewise.
26029         * sunrpc/pmap_rmt.c: Likewise.
26030         * sunrpc/publickey.c: Likewise.
26031         * sunrpc/rpc_cmsg.c: Likewise.
26032         * sunrpc/rpc_common.c: Likewise.
26033         * sunrpc/rpc_dtable.c: Likewise.
26034         * sunrpc/rpc_prot.c: Likewise.
26035         * sunrpc/rpc_thread.c: Likewise.
26036         * sunrpc/rtime.c: Likewise.
26037         * sunrpc/svc.c: Likewise.
26038         * sunrpc/svc_auth.c: Likewise.
26039         * sunrpc/svc_raw.c: Likewise.
26040         * sunrpc/svc_run.c: Likewise.
26041         * sunrpc/svc_tcp.c: Likewise.
26042         * sunrpc/svc_udp.c: Likewise.
26043         * sunrpc/svc_unix.c: Likewise.
26044         * sunrpc/svcauth_des.c: Likewise.
26045         * sunrpc/xcrypt.c: Likewise.
26046         * sunrpc/xdr.c: Likewise.
26047         * sunrpc/xdr_array.c: Likewise.
26048         * sunrpc/xdr_float.c: Likewise.
26049         * sunrpc/xdr_intXX_t.c: Likewise.
26050         * sunrpc/xdr_mem.c: Likewise.
26051         * sunrpc/xdr_rec.c: Likewise.
26052         * sunrpc/xdr_ref.c: Likewise.
26053         * sunrpc/xdr_sizeof.c: Likewise.
26054         * sunrpc/xdr_stdio.c: Likewise.
26056 2012-05-10  Roland McGrath  <roland@hack.frob.com>
26058         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26059         change.  Update copyright years.
26061 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26063         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26065 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
26066             Joseph Myers  <joseph@codesourcery.com>
26067             Paul Pluzhnikov  <ppluzhnikov@google.com>
26069         [BZ #14012]
26070         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26071         requiring rpcgen.
26072         [cross-compiling] (extra-libs): Likewise.
26073         [cross-compiling] (extra-libs-others): Likewise.
26074         [cross-compiling] (librpcsvc-routines): Likewise.
26075         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26076         [cross-compiling] (omit-deps): Likewise.
26077         (sunrpc-CPPFLAGS): New variable.
26078         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26079         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26080         (cross-rpcgen-objs): New variable.
26081         (extra-objs): Append $(cross-rpcgen-objs).
26082         ($(cross-rpcgen-objs)): New rule.
26083         ($(objpfx)cross-rpcgen): Likewise.
26084         (rpcgen-cmd): Define to use $(built-program-file).  Expand
26085         comment.
26086         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26087         ($(objpfx)x%.stmp): Likewise.
26088         * sunrpc/proto.h [IS_IN_build] (_): Define.
26089         [IS_IN_build] (_libc_intl_domainname): Likewise.
26091 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
26093         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26094         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26095         and R_X86_64_TPOFF64.
26097 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
26099         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26100         sysdeps/unix/sysv/syscalls.list.
26101         (stime): Likewise.
26102         (utime): Likewise.
26103         * sysdeps/unix/sysv/syscalls.list: Remove file.
26105 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
26107         [BZ #3440]
26108         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26109         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26110         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26111         (__LC_IDENTIFICATION): Make these macros useful in #if
26112         expressions, as required by C99.
26114 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
26116         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26117         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
26118         after this.
26120 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
26122         * stdlib/longlong.h: Updated from GCC.
26124 2012-05-09  Andreas Jaeger  <aj@suse.de>
26126         * nscd/nscd.c (run_modes): Make named enum, reorder so that
26127         default is first entry.
26128         (run_mode): Set type.
26129         (main): Remove informal message about syslog.
26130         (options): Fix typo.
26132         [BZ #14053]
26133         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26134         to asm.
26135         (lrint): Likewise.
26136         (llrintf): Likewise.
26137         (llrint): Likewise.
26138         (rint): Likewise.
26139         (rintf): Likewise.
26140         (nearbyint): Likewise.
26141         (nearbyintf): Likewise.
26143 2012-05-09  Andreas Jaeger  <aj@suse.de>
26144             Pedro Alves  <palves@redhat.com>
26146         * nscd/nscd.c (run_mode): Use enum.
26147         (main): Cleanup coding style issue.
26149 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
26150             Andreas Jaeger  <aj@suse.de>
26152         * nscd/nscd.c (go_background): Replaced with...
26153         (run_mode): ... this.
26154         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26155         (options): Add -F --foreground.
26156         (main): Implement it.
26157         (parse_opt): Parse it.
26159 2012-05-09  Andreas Jaeger  <aj@suse.de>
26161         [BZ #14083]
26162         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26163         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26164         -Wconversion warning.
26165         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26166         Likewise.
26168 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
26170         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
26171         == 0.
26172         (LC_ALL): Use macro-int-constant.
26173         (LC_COLLATE): Likewise.
26174         (LC_CTYPE): Likewise.
26175         (LC_MESSAGES): Likewise.
26176         (LC_MONETARY): Likewise.
26177         (LC_NUMERIC): Likewise.
26178         (LC_TIME): Likewise.
26179         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26180         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26181         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26182         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26183         Specify type.
26184         [C99-based standards] (float_t): Expect type.
26185         [C99-based standards] (double_t): Expect type.
26186         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
26187         type.
26188         [C99-based standards] (HUGE_VALL): Likewise.
26189         [C99-based standards] (INFINITY): Likewise.
26190         [C99-based standards] (NAN): Likewise.
26191         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26192         [C99-based standards] (FP_NAN): Likewise.
26193         [C99-based standards] (FP_NORMAL): Likewise.
26194         [C99-based standards] (FP_SUBNORMAL): Likewise.
26195         [C99-based standards] (FP_ZERO): Likewise.
26196         [C99-based standards] (FP_FAST_FMA): Use
26197         optional-macro-int-constant.  Specify type.  Require == 1.
26198         [C99-based standards] (FP_FAST_FMAF): Likewise.
26199         [C99-based standards] (FP_FAST_FMAL): Likewise.
26200         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26201         [C99-based standards] (FP_ILOGBNAN): Likewise.
26202         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26203         Specify type.
26204         [C99-based standards] (MATH_ERREXCEPT): Likewise.
26205         [C99-based standards] (math_errhandling): Specify type.
26206         [ISO99 || ISO11] (signgam): Do not allow.
26207         [non-C99-based standards] (copysignf): Do not allow.
26208         [non-C99-based standards] (exp2f): Likewise.
26209         [non-C99-based standards] (log2f): Likewise.
26210         [non-C99-based standards] (modff): Allow.
26211         [non-C99-based standards] (erff): Do not allow.
26212         [non-C99-based standards] (erfcf): Likewise.
26213         [non-C99-based standards] (gammaf): Likewise.
26214         [non-C99-based standards] (hypotf): Likewise.
26215         [non-C99-based standards] (j0f): Likewise.
26216         [non-C99-based standards] (j1f): Likewise.
26217         [non-C99-based standards] (jnf): Likewise.
26218         [non-C99-based standards] (lgammaf): Likewise.
26219         [non-C99-based standards] (tgammaf): Likewise.
26220         [non-C99-based standards] (y0f): Likewise.
26221         [non-C99-based standards] (y1f): Likewise.
26222         [non-C99-based standards] (ynf): Likewise.
26223         [non-C99-based standards] (isnanf): Likewise.
26224         [non-C99-based standards] (acoshf): Likewise.
26225         [non-C99-based standards] (asinhf): Likewise.
26226         [non-C99-based standards] (atanhf): Likewise.
26227         [non-C99-based standards] (cbrtf): Likewise.
26228         [non-C99-based standards] (expm1f): Likewise.
26229         [non-C99-based standards] (ilogbf): Likewise.
26230         [non-C99-based standards] (log1pf): Likewise.
26231         [non-C99-based standards] (logbf): Likewise.
26232         [non-C99-based standards] (nextafterf): Likewise.
26233         [non-C99-based standards] (remainderf): Likewise.
26234         [non-C99-based standards] (rintf): Likewise.
26235         [non-C99-based standards] (scalbf): Likewise.
26236         [non-C99-based standards] (copysignl): Likewise.
26237         [non-C99-based standards] (exp2l): Likewise.
26238         [non-C99-based standards] (log2l): Likewise.
26239         [non-C99-based standards] (modfl): Allow.
26240         [non-C99-based standards] (erfl): Do not allow.
26241         [non-C99-based standards] (erfcl): Likewise.
26242         [non-C99-based standards] (gammal): Likewise.
26243         [non-C99-based standards] (hypotl): Likewise.
26244         [non-C99-based standards] (j0l): Likewise.
26245         [non-C99-based standards] (j1l): Likewise.
26246         [non-C99-based standards] (jnl): Likewise.
26247         [non-C99-based standards] (lgammal): Likewise.
26248         [non-C99-based standards] (tgammal): Likewise.
26249         [non-C99-based standards] (y0l): Likewise.
26250         [non-C99-based standards] (y1l): Likewise.
26251         [non-C99-based standards] (ynl): Likewise.
26252         [non-C99-based standards] (isnanl): Likewise.
26253         [non-C99-based standards] (acoshl): Likewise.
26254         [non-C99-based standards] (asinhl): Likewise.
26255         [non-C99-based standards] (atanhl): Likewise.
26256         [non-C99-based standards] (cbrtl): Likewise.
26257         [non-C99-based standards] (expm1l): Likewise.
26258         [non-C99-based standards] (ilogbl): Likewise.
26259         [non-C99-based standards] (log1pl): Likewise.
26260         [non-C99-based standards] (logbl): Likewise.
26261         [non-C99-based standards] (nextafterl): Likewise.
26262         [non-C99-based standards] (remainderl): Likewise.
26263         [non-C99-based standards] (rintl): Likewise.
26264         [non-C99-based standards] (scalbl): Likewise.
26265         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26266         [non-C99-based standards] (FP_*): Do not allow.
26267         [C99-based standards] (FP_*): Change to
26268         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26269         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26270         allow.
26271         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26272         (SIG_ERR): Likewise.
26273         [X/Open-based standards] (SIG_HOLD): Likewise.
26274         (SIG_IGN): Likewise.
26275         (SIGABRT): Use macro-int-constant.  Specify type.  Require
26276         positive value.
26277         (SIGFPE): Likewise.
26278         (SIGILL): Likewise.
26279         (SIGINT): Likewise.
26280         (SIGSEGV): Likewise.
26281         (SIGTER): Likewise.
26282         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26283         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26284         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26285         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26286         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26287         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26288         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26289         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26290         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26291         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26292         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26293         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26294         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26295         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26296         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26297         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26298         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26299         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26300         [X/Open-based standards] (SIGTRAP): Likewise.
26301         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26302         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26303         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26304         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26305         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26306         allow.
26308 2012-05-08  Ian Wienand  <ianw@vmware.com>
26310         [BZ #14080]
26311         * time/tzset.c (__tzset_parse_tz): Update default rules for
26312         daylight time changes in the Energy Policy Act of 2005.
26314 2012-05-09  Andreas Jaeger  <aj@suse.de>
26316         [BZ #13983]
26317         * elf/ldconfig.c (parse_conf): Change string to make clear that
26318         ldconfig only issued a warning if ld.so.conf does not exist.
26320 2012-05-08  David S. Miller  <davem@davemloft.net>
26322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26323         movxtod instead of popping the value on the stack.
26325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26327 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
26329         * config.h.in: Add HAVE_ARM_PCS_VFP.
26331 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
26333         [BZ #13979]
26334         * include/features.h: Warn if user requests __FORTIFY_SOURCE
26335         checking but the checks are disabled for any reason.
26337 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
26339         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26340         and ELF64_R_TYPE with ELFW(R_TYPE).
26342 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
26344         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26345         (ulimit): Likewise.
26347         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26348         (settimeofday): Likewise.
26350 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
26352         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
26353         a struct th_u2 inside the union, and move tu_block/tu_code into
26354         a new th_u3 union of tu_block/tu_code inside of that.  Move
26355         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
26356         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
26357         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26358         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26359         (th_stuff): Change to th_u1.tu_stuff.
26360         (th_data): Define.
26361         (th_msg): Change to th_u1.th_u2.tu_data.
26363 2012-05-07  David S. Miller  <davem@davemloft.net>
26365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26367         [BZ #14074]
26368         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26369         (SETUP_PIC_REG): Use it.
26370         (SETUP_PIC_REG_LEAF): Use it.
26372 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26374         [BZ #13885]
26375         [BZ #13923]
26376         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26377         USE_AS_EXPM1L.
26378         (EXPL_FINITE): Likewise.
26379         (FLDLOG): Likewise.
26380         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26381         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26382         e_expl.S.
26383         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26384         USE_AS_EXPM1L.
26385         (EXPL_FINITE): Likewise.
26386         (FLDLOG): Likewise.
26387         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26388         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26389         e_expl.S.
26390         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26391         test of -max_value argument for long double.
26392         * sysdeps/i386/fpu/libm-test-ulps: Update.
26393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26395 2012-05-06  David S. Miller  <davem@davemloft.net>
26397         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26398         quad soft-float symbols whose references which are compiler
26399         generated.
26400         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26402 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26404         [BZ #13884]
26405         [BZ #13914]
26406         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26407         USE_AS_EXP10L.
26408         (EXPL_FINITE): Likewise.
26409         (FLDLOG): Likewise.
26410         (c0): Likewise.
26411         (c1): Likewise.
26412         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26413         Adjust comments for base varying.
26414         (__expl_finite): Change alias to EXPL_FINITE.
26415         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26416         e_expl.S.
26417         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26418         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26419         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26420         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26421         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26422         USE_AS_EXP10L.
26423         (EXPL_FINITE): Likewise.
26424         (FLDLOG): Likewise.
26425         (c0): Likewise.
26426         (c1): Likewise.
26427         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26428         Adjust comments for base varying.
26429         (__expl_finite): Change alias to EXPL_FINITE.
26430         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26431         tests for bugs.
26432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26434         [BZ #14064]
26435         * math/libm-test.inc (check_float_internal): Correct ulp
26436         calculation for subnormal expected results.
26438 2012-05-06  Andreas Jaeger  <aj@suse.de>
26440         * Makeconfig (+math-flags): New, set to -frounding-math.
26441         (+cflags): Add +math-flags so that all of glibc gets compiled with
26442         it.
26444         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26446 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26448         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26449         Disable one test.
26451         [BZ #13787]
26452         [BZ #13922]
26453         [BZ #14036]
26454         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26455         (__ieee754_expl): Allow for and saturate large arguments.
26456         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26457         (u_threshold): Likewise.
26458         (__exp): Call __ieee754_exp before checking for overflow and
26459         underflow.
26460         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26461         (u_threshold): Likewise.
26462         (__expf): Call __ieee754_expf before checking for overflow and
26463         underflow.
26464         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26465         (u_threshold): Likewise.
26466         (__expl): Call __ieee754_expl before checking for overflow and
26467         underflow.
26468         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26469         (__ieee754_expl): Allow for and saturate large arguments.
26470         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26471         missing overflow exception on overflow.
26472         (expm1_test): Do not allow missing overflow exception on overflow.
26474         * sysdeps/i386/fpu/e_expl.c: Move to ...
26475         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26476         rather than using inline asm.
26477         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26478         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26479         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26481         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26482         (nice): Likewise.
26483         (poll): Likewise.
26484         (signal): Likewise.
26485         (time): Likewise.
26486         (times): Likewise.
26488 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26490         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26491         sysdeps/unix/common/syscalls.list.
26492         (fchmod): Likewise.
26493         (fchown): Likewise.
26494         (ftruncate): Likewise.
26495         (getrusage): Likewise.
26496         (gettimeofday): Likewise.
26497         (setpgid): Likewise.
26498         (setregid): Likewise.
26499         (setreuid): Likewise.
26500         (sigaction): Likewise.
26501         (truncate): Likewise.
26502         (vhangup): Likewise.
26503         * sysdeps/unix/common/syscalls.list: Remove file.
26504         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26505         * sysdeps/unix/sysv/linux/Implies: Likewise.
26507 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26509         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26511         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26512         Moved to ...
26513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26514         Here.
26515         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26516         to ...
26517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26518         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26519         to ...
26520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26521         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26522         to ...
26523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26524         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26525         to ...
26526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26527         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26528         to ...
26529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26530         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26531         to ...
26532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26533         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26534         to ...
26535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26536         Here.
26537         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26538         to ...
26539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26540         Here.
26541         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26542         to ...
26543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26544         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26545         Moved to ...
26546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26547         Here.
26548         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26549         to ...
26550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26552 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26554         * sysdeps/unix/common/bits/dirent.h: Remove file.
26555         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26557         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26558         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26559         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26560         * sysdeps/unix/bsd/isatty.c: Likewise.
26561         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26562         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26563         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26565 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26567         [BZ #13563]
26568         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26569         long double comparison inaccuracies.
26570         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26573 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26575         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26576         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26578 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26580         [BZ #14049]
26581         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26582         nonzero digits before rounding a hex value.
26583         * stdlib/tst-strtod.c (tests): Add another test.
26585 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26587         * sysdeps/s390/fpu/libm-test-ulps: Update.
26589 2012-05-03  Andreas Jaeger  <aj@suse.de>
26591         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26592         does not get optimized out.
26593         (malloc_opt_barrier): New.
26595 2012-05-03  Andreas Jaeger  <aj@suse.de>
26596             Roland McGrath  <roland@hack.frob.com>
26598         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26599         intermediate file deletion.
26600         (generated): Add .symlist files.
26602 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26604         [BZ #13775]
26605         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26606         Redirect under this condition.
26607         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26608         [__USE_GNU] (__dprintf_chk): Not under this condition.
26609         [__USE_GNU] (__vdprintf_chk): Likewise.
26610         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26611         under this condition.
26612         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26613         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26614         [__USE_XOPEN2K8] (vdprintf): Likewise.
26615         [__USE_GNU] (__dprintf_chk): Not under this condition.
26616         [__USE_GNU] (__vdprintf_chk): Likewise.
26617         [__USE_GNU] (dprintf): Likewise.
26618         [__USE_GNU] (vdprintf): Likewise.
26620 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26622         * elf/Makefile (common-generated): Set this instead of generated for
26623         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26624         $(all-built-dso)-derived lists.
26626 2012-05-03  Andreas Jaeger  <aj@suse.de>
26628         * sysdeps/i386/fpu/libm-test-ulps: Update.
26630         * FAQ: Removed.
26631         * FAQ.in: Likewise.
26632         * scripts/gen-FAQ.pl: Likewise.
26633         * manual/install.texi (Installation): Point to online location of
26634         FAQ.
26635         * Makefile (files-for-dist): Remove FAQ.
26636         (FAQ): Remove.
26638 2012-05-02  Allan McRae  <allan@archlinux.org>
26640         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26641         (LDFLAGS-reldepmod5.so): Likewise.
26642         (LDFLAGS-reldep6mod1.so): Likewise.
26643         (LDFLAGS-reldep6mod4.so): Likewise.
26644         (LDFLAGS-reldep8mod3.so): Likewise.
26645         (LDFLAGS-unload4mod1.so): Likewise.
26646         (LDFLAGS-unload4mod2.so): Likewise.
26647         (LDFLAGS-tst-initorder): Likewise.
26648         (LDFLAGS-tst-initordera2.so): Likewise.
26649         (LDFLAGS-tst-initordera3.so): Likewise.
26650         (LDFLAGS-tst-initordera4.so): Likewise.
26651         (LDFLAGS-tst-initorderb2.so): Likewise.
26652         (LDFLAGS-noload): Likewise.
26653         (LDFLAGS-next): Likewise.
26654         (LDFLAGS-order2mod1.so): Likewise.
26655         (LDFLAGS-order2mod2.so): Likewise.
26656         (LDFLAGS-tst-initorder2): Likewise.
26657         (LDFLAGS-tst-initorder2a.so): Likewise.
26658         (LDFLAGS-tst-initorder2b.so): Likewise.
26659         (LDFLAGS-tst-initorder2c.so): Likewise.
26660         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26662 2012-05-02  David S. Miller  <davem@davemloft.net>
26664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26666 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26668         [BZ #14055]
26669         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26671 2012-05-02  Andreas Jaeger  <aj@suse.de>
26673         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26674         since we manipulate rounding mode.
26675         (CPPFLAGS-test-idouble.c): Likewise.
26676         (CPPFLAGS-test-ifloat.c): Likewise.
26677         (CFLAGS-test-ldouble.c): Likewise.
26678         (CFLAGS-test-double.c): Likewise.
26679         (CFLAGS-test-float.c): Likewise.
26680         (CFLAGS-test-misc.c): Likewise.
26681         (CFLAGS-test-test-fenv.c): Likewise.
26683 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26685         [BZ #2550]
26686         [BZ #2570]
26687         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26688         comparisons to determine direction to adjust input.
26690 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26692         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26693         output to the target.
26695         * scripts/localplt.awk: New file.
26696         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26697         (check-localplt-CFLAGS): Variable removed.
26698         ($(all-built-dso:=.jmprel)): New static pattern rule.
26699         (generated): Add those targets.
26700         (localplt-built-dso): New variable.
26701         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26703         * elf/check-localplt.c: File removed.
26705         * scripts/check-execstack.awk: New file.
26706         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26707         (check-execstack-CFLAGS): Variable removed.
26708         ($(objpfx)check-execstack.h): Target removed.
26709         ($(objpfx)execstack-default): New target.
26710         (generated): Add that instead of check-execstack.h.
26711         ($(all-built-dso:=.phdr)): New static pattern rule.
26712         (generated): Add those targets.
26713         * elf/check-execstack.c: File removed.
26715         * scripts/check-textrel.awk: New file.
26716         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26717         (check-textrel-CFLAGS): Variable removed.
26718         (all-built-dso): Use := to define.o
26719         ($(all-built-dso:=.dyn)): New static pattern rule.
26720         (generated): Add those targets.
26721         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26722         * config.make.in (READELF): New substituted variable.
26723         * elf/check-textrel.c: File removed.
26725 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26727         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26728         allow.
26729         * conform/data/ctype.h-data [C99-based standards] (isblank):
26730         Expect function.
26731         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26732         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26733         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26734         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26735         Specify type.  Require positive value.
26736         (EILSEQ): Likewise.
26737         (ERANGE): Likewise.
26738         [ISO || POSIX] (EILSEQ): Do not expect.
26739         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26740         Specify type.  Require positive value.
26741         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26742         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26743         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26744         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26745         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26746         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26747         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26748         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26749         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26750         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26751         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26752         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26753         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26754         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26755         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26756         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26757         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26758         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26759         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26760         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26761         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26762         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26763         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26764         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26765         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26766         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26767         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26768         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26769         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26770         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26771         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26772         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26773         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26774         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26775         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26776         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26777         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26778         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26779         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26780         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26781         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26782         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26783         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26784         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26785         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26786         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26787         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26788         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26789         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26790         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26791         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26792         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26793         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26794         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26795         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26796         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26797         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26798         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26799         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26800         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26801         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26802         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26803         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26804         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26805         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26806         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26807         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26808         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26809         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26810         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26811         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26812         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26813         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26814         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26815         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26816         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26817         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26818         Require >= 2.
26819         (FLT_ROUNDS): Expect as macro, not constant.
26820         (FLT_MANT_DIG): Use macro-int-constant.
26821         (DBL_MANT_DIG): Likewise.
26822         (LDBL_MANT_DIG): Likewise.
26823         (FLT_DIG): Likewise.
26824         (DBL_DIG): Likewise.
26825         (LDBL_DIG): Likewise.
26826         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26827         (DBL_MIN_EXP): Likewise.
26828         (LDBL_MIN_EXP): Likewise.
26829         (FLT_MAX_EXP): Use macro-int-constant.
26830         (DBL_MAX_EXP): Likewise.
26831         (LDBL_MAX_EXP): Likewise.
26832         (FLT_MAX_10_EXP): Likewise.
26833         (DBL_MAX_10_EXP): Likewise.
26834         (LDBL_MAX_10_EXP): Likewise.
26835         (FLT_MAX): Use macro-constant.
26836         (DBL_MAX): Likewise.
26837         (LDBL_MAX): Likewise.
26838         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26839         (DBL_EPSILON): Likewise.
26840         (LDBL_EPSILON): Likewise.
26841         (FLT_MIN): Likewise.
26842         (DBL_MIN): Likewise.
26843         (LDBL_MIN): Likewise.
26844         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26845         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26846         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26847         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26848         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26849         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26850         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26851         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26852         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26853         [ISO11] (FLT_TRUE_MIN): Likewise.
26854         [ISO11] (LDBL_TRUE_MIN): Likewise.
26855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26856         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26857         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26858         (SCHAR_MAX): Likewise.
26859         (UCHAR_MAX): Likewise.
26860         (CHAR_MIN): Likewise.
26861         (CHAR_MAX): Likewise.
26862         (MB_LEN_MAX): Use macro-int-constant.
26863         (SHRT_MIN): Use macro-int-constant.  Specify type.
26864         (SHRT_MAX): Likewise.
26865         (USHRT_MAX): Likewise.
26866         (INT_MAX): Likewise.
26867         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26868         bound negative.
26869         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26870         bound with "U".
26871         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26872         bound with "L".
26873         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26874         bound negative.  Suffix upper bound with "L".
26875         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26876         bound with "UL".
26877         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26878         Specify type.
26879         [C99-based standards] (LLONG_MAX): Likewise.
26880         [C99-based standards] (ULLONG_MAX): Likewise.
26881         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26882         == 0.
26883         [ISO11] (max_align_t): Require type.
26884         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26886         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26887         from $CFLAGS, without defining away __attribute__ calls.
26888         (checknamespace): Use $CFLAGS_namespace.
26890         * conform/conformtest.pl (@keywords): Only include C99 keywords
26891         for standards based on C99 or C11.
26893         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26894         Disable tests.
26895         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26896         UNIX98]: Likewise.
26898         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26899         usability of symbols in #if.
26901         * conform/conformtest.pl: If macro or constant types start
26902         "promoted:", expect the symbol to be of the following type
26903         promoted by the integer promotions.
26905         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26906         in one place.  Also handle "macro-constant".
26908         * conform/conformtest.pl: Only accept expected macro values with
26909         "==".  Parse all "macro" lines in one place.
26910         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26912         * conform/conformtest.pl: Handle braced types on "constant" lines
26913         instead of handling "typed-constant".
26914         * conform/data/signal.h-data: Use "constant" instead of
26915         "typed-constant".
26917         * conform/conformtest.pl: Handle "optional-" at start of lines in
26918         one place rather than duplicating several cases.  Handle each
26919         format of "macro" line with initial "optional-".
26921         * conform/conformtest.pl: Only accept expected constant or
26922         optional-constant values with "==".  Parse all "constant" lines in
26923         one place.  Parse all "optional-constant" lines in one place.
26924         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26925         * conform/data/fmtmsg.h-data: Likewise.
26926         * conform/data/netinet/in.h-data: Likewise.
26927         * conform/data/tar.h-data: Likewise.
26928         * conform/data/limits.h-data: Use "==" form on "constant" and
26929         "optional-constant" lines.
26931         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26932         Use -std=c99 for XOPEN2K.
26933         (@knownproblems): Remove.
26934         (newtoken): Don't check %isknown.
26936         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26937         Do not expect macro.
26938         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26939         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26940         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26941         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26942         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26943         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26944         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26945         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26946         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26947         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26948         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26949         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26950         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26951         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26952         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26953         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26954         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26955         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26956         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26957         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26958         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26959         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26960         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26961         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26962         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26963         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26964         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26965         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26966         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26967         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26968         [XPG3] (acosh): Likewise.
26969         [XPG3] (asinh): Likewise.
26970         [XPG3] (atanh): Likewise.
26971         [XPG3] (cbrt): Likewise.
26972         [XPG3] (expm1): Likewise.
26973         [XPG3] (ilogb): Likewise.
26974         [XPG3] (log1p): Likewise.
26975         [XPG3] (logb): Likewise.
26976         [XPG3] (nextafter): Likewise.
26977         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26978         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26979         [XPG3] (remainder): Likewise.
26980         [XPG3] (rint): Likewise.
26981         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26982         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26983         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26984         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26985         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26986         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26987         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26988         [UNIX98 || XOPEN2K] (scalb): Expect.
26989         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26990         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26991         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26992         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26993         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26994         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26995         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26996         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26997         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26998         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26999         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27000         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27001         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27002         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27003         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27004         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27005         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27006         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27007         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27008         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27009         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27010         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27011         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27012         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27013         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27014         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27015         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27016         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27017         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27018         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27019         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27020         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27021         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27022         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27023         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27024         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27025         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27026         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27027         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27028         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27029         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27030         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27031         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27032         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27033         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27034         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27035         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27036         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27037         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27038         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27039         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27040         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27041         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27042         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27043         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27044         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27045         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27046         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27047         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27048         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27049         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27050         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27051         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27052         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27053         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27054         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27055         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27056         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27057         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27058         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27059         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27060         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27061         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27062         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27063         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27064         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27065         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27066         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27067         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27068         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27069         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27070         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27071         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27072         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27073         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27074         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27075         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27076         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27077         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27078         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27079         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27080         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27081         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27082         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27083         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27084         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27085         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27086         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27087         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27088         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27089         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27090         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27091         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27092         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27093         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27094         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27095         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27096         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27097         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27098         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27099         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27100         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27101         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27102         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27103         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27104         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27105         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27106         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27107         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27108         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27109         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27110         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27111         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27112         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27113         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27114         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27115         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27116         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27117         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27118         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27119         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27120         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27121         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27122         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27123         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27124         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27125         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27127         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27128         _XOPEN_SOURCE_EXTENDED for XPG4.
27130         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27132         * Makeconfig (localtime): Remove variable.
27133         (inst_localtime-file): Likewise.
27135 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27138         Update.
27139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27140         Update.
27141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27142         Update.
27143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27144         Update.
27145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27146         Update.
27147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27148         Update.
27149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27150         Update.
27151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27152         Update.
27153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27154         Update.
27156 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
27158         [BZ #2550]
27159         [BZ #2570]
27160         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27161         comparisons to determine direction to adjust input.
27162         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27163         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27164         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27165         Likewise.
27166         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27167         Likewise.
27168         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27169         Likewise.
27170         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27171         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27172         Likewise.
27173         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27174         Likewise.
27175         * math/libm-test.inc (nexttoward_test): Add more tests.
27177 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27179         [BZ #14040]
27180         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27181         in version GLIBC_2.1, not GLIBC_2.0.
27182         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27183         Likewise.
27185 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
27187         [BZ #13942]
27188         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27189         (1 - x) * (1 + x).
27190         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27191         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27192         * math/libm-test.inc (acos_test): Add more tests.
27193         (asin_test): Likewise.
27194         * sysdeps/i386/fpu/libm-test-ulps: Update.
27195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27197         [BZ #14034]
27198         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27199         of square root.
27200         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27201         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27202         * math/libm-test.inc (acos_test_tonearest): New function.
27203         (acos_test_towardzero): Likewise.
27204         (acos_test_downward): Likewise.
27205         (acos_test_upward): Likewise.
27206         (asin_test_tonearest): Likewise.
27207         (asin_test_towardzero): Likewise.
27208         (asin_test_downward): Likewise.
27209         (asin_test_upward): Likewise.
27210         (main): Call the new functions.
27211         * sysdeps/i386/fpu/libm-test-ulps: Update.
27212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27214         [BZ #13884]
27215         [BZ #13924]
27216         * math/e_exp10.c: Include <float.h>.
27217         (__ieee754_exp10): Handle underflow here rather than multiplying
27218         large negative argument by M_LN10.
27219         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27220         of __ieee754_expf.
27221         * math/e_exp10l.c: Include <float.h>.
27222         (__ieee754_exp10l): Handle underflow here rather than multiplying
27223         large negative argument by M_LN10l.
27224         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
27225         spurious overflow exception on underflow.
27227 2012-04-29  Marek Polacek  <polacek@redhat.com>
27229         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27230         (__fortify_function): New macro.
27231         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27232         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27233         __extern_always_inline.
27234         * libio/bits/stdio2.h: Likewise.
27235         * libio/bits/stdio.h: Likewise.
27236         * string/string.h: Likewise.
27237         * string/bits/string3.h: Likewise.
27238         * include/stdio.h: Likewise.
27239         * stdlib/bits/stdlib.h: Likewise.
27240         * stdlib/stdlib.h: Likewise.
27241         * rt/bits/mqueue2.h: Likewise.
27242         * rt/mqueue.h: Likewise.
27243         * posix/bits/unistd.h: Likewise.
27244         * posix/unistd.h: Likewise.
27245         * io/bits/poll2.h: Likewise.
27246         * io/bits/fcntl2.h: Likewise.
27247         * io/fcntl.h: Likewise.
27248         * io/sys/poll.h: Likewise.
27249         * misc/bits/syslog.h: Likewise.
27250         * misc/bits/syslog-ldbl.h: Likewise.
27251         * misc/sys/syslog.h: Likewise.
27252         * socket/bits/socket2.h: Likewise.
27253         * socket/sys/socket.h: Likewise.
27254         * debug/tst-chk1.c: Likewise.
27255         * wcsmbs/bits/wchar2.h: Likewise.
27256         * wcsmbs/bits/wchar-ldbl.h: Likewise.
27257         * wcsmbs/wchar.h: Likewise.
27259 2012-04-29  Andreas Jaeger  <aj@suse.de>
27261         * Makerules (tests): Remove enable-check-abi protection.
27262         (check-abi-warn): Remove.
27263         (check-abi-%): Remove check-abi-warn usage.
27265         * configure.in: Remove check-abi configure option.
27266         * configure: Regenerated.
27267         * config.make.in (enable-check-abi): Remove.
27269 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
27271         [BZ #14033]
27272         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27273         double functions to double *_finite functions.
27275         [BZ #13941]
27276         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27277         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27278         LDBL_MIN_EXP.
27279         * stdio-common/Makefile (tests): Add tst-sprintf3.
27280         * stdio-common/tst-sprintf3.c: New file.
27282         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27283         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27285 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27287         * conform/conformtest.pl: Remove duplicate typed-constant
27288         handling.
27290 2012-04-28  David S. Miller  <davem@davemloft.net>
27292         * Makerules (%.abilist): Add vpath on sysdep_dirs.
27293         (check-abi-%): Remove AWK script prerequisite and explicit
27294         abilist directory.
27295         (check-abi): Rewrite to just diff the symlist with the abilist.
27296         (config-tls, config-abi-config): Delete, no longer used.
27297         (update-abi-%): Remove AWK script and explicit abilist directory.
27298         (update-abi): Rewrite to simply compare and conditionally copy the
27299         symlist and the sysdep abilist file.  Remove update-abi-config
27300         checks.
27301         * abilist/ld.abilist: Remove.
27302         * abilist/libBrokenLocale.abilist: Remove.
27303         * abilist/libanl.abilist: Remove.
27304         * abilist/libcrypt.abilist: Remove.
27305         * abilist/libdl.abilist: Remove.
27306         * abilist/librt.abilist: Remove.
27307         * abilist/libthread_db.abilist: Remove.
27308         * abilist/libutil.abilist: Remove.
27309         * scripts/extract-abilist.awk: Remove.
27310         * scripts/merge-abilist.awk: Remove.
27311         * sysdeps/generic/libcidn.abilist: New file.
27312         * sysdeps/generic/libnss_compat.abilist: New file.
27313         * sysdeps/generic/libnss_db.abilist: New file.
27314         * sysdeps/generic/libnss_dns.abilist: New file.
27315         * sysdeps/generic/libnss_files.abilist: New file.
27316         * sysdeps/generic/libnss_hesiod.abilist: New file.
27317         * sysdeps/generic/libnss_nis.abilist: New file.
27318         * sysdeps/generic/libnss_nisplus.abilist: New file.
27319         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27320         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27321         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27322         file.
27323         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27324         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27325         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27326         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27327         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27328         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27329         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27330         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27331         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27332         file.
27333         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27334         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27335         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27336         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27337         file.
27338         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27339         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27340         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27341         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27342         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27343         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27344         file.
27345         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27346         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27347         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27348         file.
27349         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27351         New file.
27352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27353         New file.
27354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27355         New file.
27356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27357         New file.
27358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27359         New file.
27360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27361         New file.
27362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27363         New file.
27364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27365         New file.
27366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27367         New file.
27368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27369         New file.
27370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27371         New file.
27372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27373         New file.
27374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27375         New file.
27376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27377         file.
27378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27379         New file.
27380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27381         New file.
27382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27383         file.
27384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27385         New file.
27386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27387         New file.
27388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27389         file.
27390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27391         New file.
27392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27393         New file.
27394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27395         New file.
27396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27397         New file.
27398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27399         New file.
27400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27401         New file.
27402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27404         file.
27405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27406         New file.
27407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27408         file.
27409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27410         file.
27411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27412         file.
27413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27414         file.
27415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27416         file.
27417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27418         New file.
27419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27420         file.
27421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27422         file.
27423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27424         New file.
27425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27426         file.
27427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27429         file.
27430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27431         New file.
27432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27433         file.
27434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27435         file.
27436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27437         file.
27438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27439         file.
27440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27441         file.
27442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27443         New file.
27444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27445         file.
27446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27447         file.
27448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27449         New file.
27450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27451         file.
27452         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27453         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27454         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27455         file.
27456         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27457         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27458         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27459         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27460         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27461         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27462         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27463         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27464         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27465         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27468         file.
27469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27470         New file.
27471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27472         file.
27473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27474         file.
27475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27476         file.
27477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27478         file.
27479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27480         file.
27481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27482         New file.
27483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27484         New file.
27485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27486         file.
27487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27488         New file.
27489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27490         file.
27491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27493         file.
27494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27495         New file.
27496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27497         file.
27498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27499         file.
27500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27501         file.
27502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27503         file.
27504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27505         file.
27506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27507         New file.
27508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27509         New file.
27510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27511         file.
27512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27513         New file.
27514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27515         file.
27517 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27519         * conform/conformtest.pl: Fix typo in handling typed-constant from
27520         allow-header.
27522 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27524         * README: Cut down references to pre-2.6 Linux kernels and
27525         Linuxthreads.  Update lists of configurations in libc and ports
27526         and sort alphabetically.  Say "or newer" with Linux kernel version
27527         requirements.
27529         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27531 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27533         [BZ #887]
27534         * math/libm-test.inc (logb_test_downward): New test to expose
27535         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27536         rounding mode.
27538 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27540         [BZ #14027]
27541         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27542         to be done.
27543         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27544         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27546 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27548         * sysdeps/unix/i386/brk.S: Remove file.
27549         * sysdeps/unix/i386/dl-brk.S: Likewise.
27550         * sysdeps/unix/i386/pipe.S: Likewise.
27551         * sysdeps/unix/i386/sigreturn.S: Likewise.
27552         * sysdeps/unix/i386/syscall.S: Likewise.
27553         * sysdeps/unix/i386/vfork.S: Likewise.
27554         * sysdeps/unix/i386/wait.S: Likewise.
27556         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27557         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27559         * configure.in (arm*-none*): Do not allow without
27560         --enable-hacker-mode.
27561         (netbsd*): Remove case setting base_os.
27562         (386bsd*): Likewise.
27563         (freebsd*): Likewise.
27564         (bsdi*): Likewise.
27565         (osf*): Likewise.
27566         (sunos*): Likewise.
27567         (ultrix*): Likewise.
27568         (newsos*): Likewise.
27569         (dynix*): Likewise.
27570         (*bsd*): Likewise.
27571         (sysv*): Likewise.
27572         (isc*): Likewise.
27573         (esix*): Likewise.
27574         (sco*): Likewise.
27575         (minix*): Likewise.
27576         (irix4*): Likewise.
27577         (irix6*): Likewise.
27578         (solaris[2-9]*): Likewise.
27579         (none): Likewise.
27580         * configure: Regenerated.
27582 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27584         [BZ #11521]
27585         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27586         overflow or cancellation in calculating denominator.
27587         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27588         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27589         down expression to avoid unexpected rounding in newer GCCs.
27590         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27592 2012-04-26  David S. Miller  <davem@davemloft.net>
27594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27595         long-double compat symbols.
27596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27610 2012-04-25  David S. Miller  <davem@davemloft.net>
27612         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27613         HWCAP_* values only after the memory barriers have been defined.
27614         (atomic_full_barrier): Define.
27615         (atomic_read_barrier): Define.
27616         (atomic_write_barrier): Define.
27618 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27620         * shlib-versions: Add libgcc_s version information.
27621         * sysdeps/generic/libgcc_s.h: Remove.
27622         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27623         libgcc_s.h.
27624         * sysdeps/gnu/unwind-resume.c: Likewise.
27625         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27627 2012-04-25  David S. Miller  <davem@davemloft.net>
27629         * sysdeps/unix/sparc/brk.S: Delete.
27630         * sysdeps/unix/sparc/dl-brk.S: Delete.
27631         * sysdeps/unix/sparc/pipe.S: Delete.
27632         * sysdeps/unix/sparc/sysdep.S: Delete.
27633         * sysdeps/unix/sparc/sysdep.h: Delete.
27634         * sysdeps/unix/sparc/vfork.S: Delete.
27635         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27636         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27637         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27638         ret_ERRVAL, r0, r1, MOVE): Define.
27639         (JUMPTARGET): Remove.
27640         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27641         sysdeps/unix/sparc/sysdep.h
27642         (ENTRY, END): Remove.
27643         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27645 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27647         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27648         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27649         -DIS_IN_build.
27651         * timezone/README: Update upstream location and email address for
27652         tzcode and tzdata.
27653         * timezone/zdump.c: Update from tzcode 2012b.
27654         * timezone/zic.c: Likewise.
27656         * configure.in (libc_cv_as_needed): Remove test.
27657         * configure: Regenerated.
27658         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27659         conditional definition.
27660         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27661         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27662         * config.make.in (have-as-needed): Remove variable.
27664 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27665             Paul Pluzhnikov  <ppluzhnikov@google.com>
27667         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27668         strings correctly.
27670 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27672         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27673         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27674         * sysdeps/sh/strlen.S: Likewise.
27676 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27678         * sysdeps/unix/fork.S: Remove file.
27679         * sysdeps/unix/i386/fork.S: Likewise.
27680         * sysdeps/unix/sparc/fork.S: Likewise.
27682         * sysdeps/unix/system.c: Remove file.
27683         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27685         * sysdeps/unix/getegid.S: Remove file.
27686         * sysdeps/unix/geteuid.S: Likewise.
27688 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27690         * scripts/check-localplt.awk: New file.
27691         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27692         of diff.
27693         * scripts/data/localplt-generic.data: Add a comment.
27695         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27696         NODE when __dir_mkfile failed.
27697         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27698         Reported by Ludovic Courtès <ludo@gnu.org>.
27700 2012-04-24  Andreas Jaeger  <aj@suse.de>
27702         * Makerules (common-clean): Also remove gen-as-const-headers
27703         files.
27705 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27707         * Makerules (native-compile): Do not change working directory for
27708         build.  Use $(OUTPUT_OPTION) in command.
27709         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27711 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27713         [BZ #13886]
27714         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27715         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27716         * math/libm-test.inc (floor_test): Add more tests.
27717         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27719 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27721         * sysdeps/unix/getdents.c: Remove file.
27722         * sysdeps/unix/sysv/getdents.c: Likewise.
27723         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27725         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27726         sysdeps/unix/mman/syscalls.list.
27727         (mmap): Likewise.
27728         (mprotect): Likewise.
27729         (msync): Likewise.
27730         (munmap): Likewise.
27731         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27732         * sysdeps/unix/mman/syscalls.list: Remove.
27733         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27735         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27736         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27737         * configure: Regenerated.
27738         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27739         $(libgcc_s_suffix).
27740         * config.make.in (libgcc_s_suffix): Remove variable.
27742 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27744         * sysdeps/unix/sysv/gethostname.c: Move to ...
27745         * sysdeps/posix/gethostname.c: ... here.
27747         * sysdeps/unix/execve.S: Remove file.
27749         * sysdeps/unix/_exit.S: Remove file.
27751 2012-04-23  Andreas Jaeger  <aj@suse.de>
27753         [BZ #13739]
27754         * manual/Makefile: Remove make dist support, there's no
27755         need for a stand-alone documentation tar ball.
27756         (TEXI2DVI): Define always, it's not in Makeconfig.
27757         (dist): Removed.
27758         (tar-it): Removed.
27759         (edition): Removed.
27760         (glibc-doc-$(edition).tar): Removed
27761         (%.Z): Removed.
27762         (%.gz): Removed.
27763         (%.uu): Removed.
27764         (ETAGS): Remove, it's in Makeconfig.
27765         (move-if-change): Remove, it's in Makeconfig.
27767 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27769         [BZ #13970]
27770         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27771         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27772         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27773         (strtod_l, strtof_l, strtold_l): Remove __wur.
27774         It is not necessarily an error to ignore strtol's return value.
27775         One can reliably look at the stored endptr to decide whether
27776         the number had valid syntax.
27778 2012-04-21  Andreas Jaeger  <aj@suse.de>
27780         [BZ #13739]
27781         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27783 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27785         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27786         * sysdeps/unix/sysv/Versions: Remove file.
27788 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27790         [BZ #13927]
27791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27793 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27795         [BZ #7064]
27796         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27797         version from __vm86.
27799 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27801         * sysdeps/unix/common/lxstat.c: Remove file.
27802         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27804         * sysdeps/unix/sysv/Makefile: Remove file.
27806         * sysdeps/unix/sysv/direct.h: Remove file.
27808         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27809         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27810         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27811         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27812         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27813         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27814         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27816         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27818         * sysdeps/unix/xmknod.c: Remove file.
27819         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27821         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27823         * sysdeps/unix/sysv/i386/time.S: Remove file.
27825         * sysdeps/unix/fxstat.c: Remove file.
27826         * sysdeps/unix/xstat.c: Likewise.
27827         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27829         * sysdeps/unix/sysv/sigaction.c: Remove file.
27831         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27832         (sysdep_headers): Remove variable.
27833         [termio.h not in sysdep_headers] (generated): Likewise.
27834         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27835         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27836         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27837         * sysdeps/unix/sysv/tcflow.c: Likewise.
27838         * sysdeps/unix/sysv/tcflush.c: Likewise.
27839         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27840         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27841         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27842         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27843         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27845         * sysdeps/unix/siglist.c: Remove file.
27847         * sysdeps/unix/getppid.S: Remove file.
27849         * sysdeps/unix/mkdir.c: Remove file.
27850         * sysdeps/unix/rmdir.c: Likewise.
27852 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27854         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27855         ERR_MAX value.
27856         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27857         errlist-compat value.
27859 2012-04-18  David S. Miller  <davem@davemloft.net>
27861         * sysdeps/generic/memcopy.h (reg_char): Delete.
27862         * debug/strcat_chk.c: Use char, not reg_char.
27863         * debug/strcpy_chk.c: Likewise.
27864         * debug/strncat_chk.c: Likewise.
27865         * debug/strncpy_chk.c: Likewise.
27866         * string/memchr.c: Likewise.
27867         * string/memrchr.c: Likewise.
27868         * string/rawmemchr.c: Likewise.
27869         * string/strcat.c: Likewise.
27870         * string/strchr.c: Likewise.
27871         * string/strchrnul.c: Likewise.
27872         * string/strcmp.c: Likewise.
27873         * string/strcpy.c: Likewise.
27874         * string/strncat.c: Likewise.
27875         * string/strncmp.c: Likewise.
27876         * string/strncpy.c: Likewise.
27878 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27880         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27881         __builtin_memcopy is called when src and dest ranges are known to not
27882         overlap.
27884 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27886         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27887         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27888         fwd_align_merge macro call.
27889         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27890         bwd_align_merge macro call.
27891         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27893 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27895         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27896         bwd_align_merge macros.
27897         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27898         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27899         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27901 2012-04-18  David S. Miller  <davem@davemloft.net>
27903         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27905 2012-04-18  Andreas Jaeger  <aj@suse.de>
27907         [BZ# 6794]
27908         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27909         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27910         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27912         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27913         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27914         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27916         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27917         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27918         Adjust for changed ldbl-128 files.
27920         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27921         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27922         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27924 2012-04-17  David S. Miller  <davem@davemloft.net>
27926         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27928 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27930         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27931         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27932         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27933         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27934         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27935         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27937 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27939         [BZ #6794]
27940         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27941         * math/libm-test.inc: Add ilogb errno and exception tests.
27942         * math/w_ilogb.c: New file: ilogb wrapper.
27943         * math/w_ilogbf.c: New file: ilogbf wrapper.
27944         * math/w_ilogbl.c: New file: ilogbl wrapper.
27945         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27946         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27947         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27948         exception being thrown with 0.0 as argument.
27949         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27950         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27951         exception being thrown with 0.0 as argument.
27952         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27953         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27954         exception being thrown with 0.0 as argument.
27955         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27956         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27957         exception being thrown with 0.0 as argument.
27958         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27959         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27960         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27961         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27962         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27963         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27964         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27965         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27966         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27968 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27970         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27971         with altivec.
27973 2012-04-16  Marek Polacek  <polacek@redhat.com>
27975         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27977 2012-04-16  Marek Polacek  <polacek@redhat.com>
27979         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27980         operands of fdivp instruction.
27982 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27984         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27985         * elf/tst-auditmod3b.c: Likewise.
27986         * elf/tst-auditmod4b.c: Likewise.
27987         * elf/tst-auditmod5b.c: Likewise.
27988         * elf/tst-auditmod6b.c: Likewise.
27989         * elf/tst-auditmod6c.c: Likewise.
27990         * elf/tst-auditmod7b.c: Likewise.
27991         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27992         * sysdeps/x86_64/preconfigure.in: Likewise.
27993         * sysdeps/x86_64/preconfigure: Regenerated.
27995 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27997         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27998         __ILP32__.
28000 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
28002         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28003         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28005 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
28007         [BZ #13973]
28008         * locale/iso-639.def: Fix gl language name. Spotted by
28009         Yaron Shahrabani.
28011 2012-04-12  Roland McGrath  <roland@hack.frob.com>
28013         [BZ #2074]
28014         * libio/libio.h (__io_write_fn): Update comment.
28016 2012-04-12  Petr Baudis  <pasky@ucw.cz>
28018         [BZ #2074]
28019         * stdio.texi (Hook Functions): The user provided writer function
28020         is not allowed to return -1.
28022 2012-04-11  David S. Miller  <davem@davemloft.net>
28024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28026 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
28028         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28029         Add a leading slash to rtkaio.
28031 2012-04-11  Jim Meyering  <meyering@redhat.com>
28033         [BZ #11959]
28034         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28035         It is not necessarily an error to ignore fwrite's return
28036         value.  One can reliably use ferror to test for errors after
28037         the fact.
28039 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28041         * bits/types.h (__snseconds_t): New type.
28042         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28044         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28045         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28046         (__SNSECONDS_T_TYPE): Likewise.
28047         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28048         (__SNSECONDS_T_TYPE): Likewise.
28049         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28050         (__SNSECONDS_T_TYPE): Likewise.
28052 2012-04-10  Andreas Jaeger  <aj@suse.de>
28054         [BZ #2636]
28055         * manual/time.texi (Processor Time): Return type of times is
28056         elapsed real time since an arbitrary point in the past.
28057         (CPU Time): Move CLK_TCK from here...
28058         (Processor Time): ...to here.  Correct description.
28059         * manual/conf.texi (Constants for Sysconf): Correct description of
28060         _SC_CLK_TCK.
28062 2012-04-10  David S. Miller  <davem@davemloft.net>
28064         [BZ #13967]
28065         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28066         where the is a gap between DT_REL(A) and DT_JMPREL.
28068 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
28070         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28071         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28072         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28074 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28076         * elf/dl-support.c (_dl_inhibit_cache): New variable.
28077         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28078         (dl_main): Handle --inhibit-cache.
28079         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28080         _dl_inhibit_cache.
28081         * elf/dl-load.c (_dl_map_object): Use it.
28082         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28084 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28086         [BZ #13872]
28087         * sysdeps/i386/fpu/e_powl.S (p78): New object.
28088         (__ieee754_powl): Saturate large exponents rather than testing for
28089         overflow of y*log2(x).
28090         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28091         * math/libm-test.inc (pow_test): Do not permit spurious overflow
28092         exceptions.
28094         [BZ #11521]
28095         * math/s_ctan.c: Include <float.h>.
28096         (__ctan): Avoid internal overflow or cancellation in calculating
28097         denominator.
28098         * math/s_ctanf.c: Likewise.
28099         * math/s_ctanl.c: Likewise.
28100         * math/s_ctanh.c: Likewise.
28101         * math/s_ctanhf.c: Likewise.
28102         * math/s_ctanhl.c: Likewise.
28103         * math/libm-test.inc (ctan_test): Add more tests.
28104         (ctanh_test): Likewise.
28105         * sysdeps/i386/fpu/libm-test-ulps: Update.
28106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28108 2012-04-09  Andreas Jaeger  <aj@suse.de>
28110         [BZ #6894]
28111         * manual/filesys.texi (Directory Entries): Mention that d_namlen
28112         is an optional BSD extension.
28114         [BZ #10254]
28115         * manual/stdio.texi (Opening Streams): Document additional fopen
28116         parameters.
28118 2012-04-09  Roland McGrath  <roland@hack.frob.com>
28120         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28121         %eax without telling the compiler.
28123 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
28125         [BZ # 13963]
28126         * manual/install.texi: Use sourceware.org.
28128 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
28130         [BZ #13873]
28131         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28132         (__ieee754_pow): Generate overflow and underflow using huge*huge
28133         and tiny*tiny rather than just returning constant infinity or zero
28134         for large exponents.
28135         * math/libm-test.inc (pow_test): Require overflow exceptions for
28136         applicable cases of large exponents.
28138         [BZ #706]
28139         * sysdeps/i386/fpu/e_pow.S (p10): New object.
28140         (__ieee754_pow): Use iterative multiplication algorithm only for
28141         integer exponents with absolute value below 1024.  Check for odd
28142         integer exponents when using algorithm for real exponents.
28143         * math/libm-test.inc (pow_test): Add more tests.
28144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28146 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
28148         [BZ #13705]
28149         * math/libm-test.inc (exp_test): Do not allow overflow exception
28150         on underflow test.
28152 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
28154         [BZ #13705]
28155         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28156         instead of __kernel_standard_f.
28158 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
28160         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28161         * sysdeps/x86_64/memset_chk.S: Likewise.
28163 2012-04-08  Andreas Jaeger  <aj@suse.de>
28165         [BZ #10153]
28166         * manual/startup.texi (Environment Access): Describe return value
28167         for putenv and setenv.
28169         [BZ #6895]
28170         * manual/filesys.texi (Directory Entries): Add description for
28171         DT_LNK.
28173         [BZ #6890]
28174         * manual/filesys.texi (Directory Entries): Clarify that it's file
28175         system not operating system in the description of DT_UNKNOWN.
28177         [BZ #6578]
28178         * manual/syslog.texi (closelog): Fix reference, it's openlog.
28180 2012-04-08  Stephen Compall  <s11@member.fsf.org>
28182         [BZ #6649]
28183         * manual/llio.texi (Opening and Closing Files): Add cross
28184         reference to explain mode argument.
28186 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
28188         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28189         * sysdeps/x86_64/memset_chk.S: Likewise.
28191 2012-04-07  David S. Miller  <davem@davemloft.net>
28193         * elf/elf.h (R_SPARC_WDISP10): Define.
28194         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28195         R_SPARC_SIZE32.
28196         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28197         R_SPARC_SIZE64 and R_SPARC_H34.
28199 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
28201         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28202         conditions and remove no longer applicable assertion.
28204 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28206         * bits/byteswap.h: Include <features.h>.
28207         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28208         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28210 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
28212         * bits/byteswap.h (__bswap_16): Removed.
28213         Include <bits/byteswap-16.h> to get __bswap_16.
28214         * sysdeps/i386/bits/byteswap.h: Likewise.
28215         * sysdeps/s390/bits/byteswap.h: Likewise.
28216         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28217         * bits/byteswap-16.h: New file.
28218         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28219         * sysdeps/s390/bits/byteswap-16.h: Likewise.
28220         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28221         * string/Makefile (headers): Add bits/byteswap-16.h.
28223 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28225         [BZ #13895]
28226         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28227         extra indirection.
28228         * nss/Makefile (tests-static, tests): Add tst-nss-static.
28229         * nss/tst-nss-static.c: New.
28231 2012-04-06  Robert Millan  <rmh@gnu.org>
28233         [BZ #6486]
28234         * manual/llio.texi (File Position Primitive): lseek
28235         refers to WHENCE when it really means OFFSET.
28237 2012-04-06  Andreas Jaeger  <aj@suse.de>
28239         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28240         strncmp declarations.
28242         * abilist/libc.abilist: Add __poll and __ppoll.
28244 2012-04-05  David S. Miller  <davem@davemloft.net>
28246         * scripts/check-local-headers.sh: Accept a host triplet in the
28247         path matched by the exclude regexp.
28249         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28250         definition.
28251         * sysdeps/powerpc/powerpc32/dl-machine.h
28252         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28253         * sysdeps/s390/s390-32/dl-machine.h
28254         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28255         * sysdeps/sparc/sparc32/dl-machine.h
28256         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28257         * sysdeps/sparc/sparc64/dl-machine.h
28258         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28260         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28261         lazy binding.
28262         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28263         undefined symbol errors.
28265         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28266         DT_NEEDED entries.
28268 2012-04-05  Michael Matz  <matz@suse.de>
28270         [BZ #13592]
28271         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28273 2012-04-05  Andreas Jaeger  <aj@suse.de>
28275         [BZ #13908]
28276         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28277         comment.
28279 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28281         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28282         which ROUND is no valid rounding mode.
28284 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28286         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28287         read again.
28288         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28290 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28292         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28293         an exception using FPU order intentionally.
28295 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28297         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28298         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28299         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28300         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28302 2012-04-05  Simon Josefsson  <simon@josefsson.org>
28304         [BZ #12340]
28305         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28306         EINVAL when BUFLEN is too smal.
28308 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28310         [BZ #13553]
28311         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28312         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28314 2012-04-03  Andreas Jaeger  <aj@suse.de>
28316         [BZ #13938]
28317         * manual/setjmp.texi (System V contexts): Fix sentence.
28319         [BZ #13926]
28320         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28321         New macro for this case.
28322         [!__GNUC__] (__bswap_64): New inline function for this case.
28323         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28324         * bits/byteswap.h: Likewise.
28325         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28326         ull, guard with __GLIBC_HAVE_LONG_LONG.
28328         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28329         __GLIBC_HAVE_LONG_LONG.
28331         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28332         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28334 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28336         [BZ #13691]
28337         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28338         inptr and inend, rather than using last_ch.
28340 2012-04-02  David S. Miller  <davem@davemloft.net>
28342         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28343         * stdio-common/printf-parse.h (read_int): Change return type to
28344         'int', return -1 on INT_MAX overflow.
28345         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28346         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
28347         overflows INT_MAX.  Check for overflow of in-format-string precision
28348         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
28349         SIZE_MAX not INT_MAX for integer overflow test.
28350         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28351         skip the construct in the format string but do not record anything.
28352         * stdio-common/bug22.c: Adjust to test both width/prevision
28353         INT_MAX overflow as well as total length INT_MAX overflow.  Check
28354         explicitly for proper errno values.
28356 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28358         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28359         CHAR_MAX.
28360         * string/test-strcmp.c [! WIDE]: Likewise.
28361         * time/tst-mktime2.c: Likewise for INT_MAX.
28362         * string/test-string.h: #include <sys/param.h> for MIN.
28364         * csu/init-first.c (__libc_init_first): Call __ctype_init.
28365         * sysdeps/i386/init-first.c (init): Likewise.
28366         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28367         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28368         * sysdeps/sh/init-first.c (init): Likewise.
28370 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28372         * po/ru.po: Update from translation team.
28373         * po/vi.po: Likewise.
28375 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28377         * resolv/nss_dns/dns-host.c: Merge copyright years.
28379 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28381         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28382         Optimize memcpy with prefetch if
28383         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28384         src, dst pointers have unequal 16 byte alignments.
28386 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28388         [BZ #13928]
28389         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28390         from a CNAME entry and return the minimum ttl for the query.
28391         (gaih_getanswer_slice): Likewise.
28393 2012-03-30  Jeff Law  <law@redhat.com>
28395         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28396         due to long keys.
28397         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28398         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28400         * resolv/nss_dns/dns-host.c: Update copyright year.
28402 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28404         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28405         requests to save a system call.  Fix check that all bytes are sent.
28407         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28408         comments for sendmmsg.
28410 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28412         [BZ #13691]
28413         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28414         with only 1 character between 0x0041 and 0x01b0.
28415         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28416         * wcsmbs/tst-mbsnrtowcs.c: New file.
28418 2012-03-29  David S. Miller  <davem@davemloft.net>
28420         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28421         small copies by hand.
28423 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28425         [BZ #13761]
28426         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28427         _nss_compat_initgroups_dyn): Fall back to malloc/free
28428         for large group memberships.
28430 2012-03-28  David S. Miller  <davem@davemloft.net>
28432         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28433         that branches into memcpy.
28434         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28435         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28437         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28438         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28439         bits.
28440         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28441         implementation too.
28442         * sysdeps/sparc/mempcpy.S: New file.
28444         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28445         the IFUNC routine in the libc case.
28446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28448         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28449         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28450         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28451         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28452         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28453         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28454         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28455         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28457         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28458         loop to 256 bytes instead of 64 bytes and fix test signedness.
28460         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28461         * sysdeps/sparc/sparc32/Makefile: rather than here...
28462         * sysdeps/sparc/sparc64/Makefile: and here.
28464 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28466         * malloc/mallocbug.c: Avoid warnings about unused variables.
28468 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28470         [BZ #13760]
28471         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28472         in the right place. Discard and retry query if response is
28473         larger than input buffer size.
28475 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28477         [BZ #369]
28478         [BZ #2678]
28479         [BZ #3866]
28480         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28481         x for large integer exponent.
28482         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28483         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28484         sign of result as needed afterwards.
28485         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28486         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28487         result for underflowing pow the same as for overflow.
28488         (__kernel_standard_l): Handle powl overflow and underflow here
28489         rather than calling __kernel_standard.
28490         * math/libm-test.inc (pow_test): Add more tests.
28492         [BZ #3868]
28493         [BZ #13879]
28494         [BZ #13910]
28495         [BZ #13911]
28496         [BZ #13912]
28497         [BZ #13913]
28498         [BZ #13915]
28499         [BZ #13916]
28500         [BZ #13917]
28501         [BZ #13918]
28502         [BZ #13919]
28503         [BZ #13920]
28504         [BZ #13921]
28505         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28506         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28507         (__kernel_standard_l): New function.
28508         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28509         __kernel_standard.
28510         * math/w_acosl.c (__acosl): Likewise.
28511         * math/w_asinl.c (__asinl): Likewise.
28512         * math/w_atan2l.c (__atan2l): Likewise.
28513         * math/w_atanhl.c (__atanhl): Likewise.
28514         * math/w_coshl.c (__coshl): Likewise.
28515         * math/w_exp10l.c (__exp10l): Likewise.
28516         * math/w_exp2l.c (__exp2l): Likewise.
28517         * math/w_fmodl.c (__fmodl): Likewise.
28518         * math/w_hypotl.c (__hypotl): Likewise.
28519         * math/w_j0l.c (__j0l, __y0l): Likewise.
28520         * math/w_j1l.c (__j1l, __y1l): Likewise.
28521         * math/w_jnl.c (__jnl, __ynl): Likewise.
28522         * math/w_lgammal.c (__lgammal): Likewise.
28523         * math/w_log10l.c (__log10l): Likewise.
28524         * math/w_log2l.c (__log2l): Likewise.
28525         * math/w_logl.c (__logl): Likewise.
28526         * math/w_powl.c (__powl): Likewise.
28527         * math/w_remainderl.c (__remainderl): Likewise.
28528         * math/w_scalbl.c (sysv_scalbl): Likewise.
28529         * math/w_sinhl.c (__sinhl): Likewise.
28530         * math/w_sqrtl.c (__sqrtl): Likewise.
28531         * math/w_tgammal.c (__tgammal): Likewise.
28532         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28533         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28534         * math/libm-test.inc (acos_test): Add more tests.
28535         (acosh_test): Likewise.
28536         (asin_test): Likewise.
28537         (atanh_test): Likewise.
28538         (exp_test): Likewise.
28539         (exp10_test): Likewise.
28540         (exp2_test): Likewise.
28541         (expm1_test): Likewise.
28542         (lgamma_test): Likewise.
28543         (log_test): Likewise.
28544         (log10_test): Likewise.
28545         (log1p_test): Likewise.
28546         (log2_test): Likewise.
28547         (pow_test): Do not allow some spurious overflow exceptions.
28548         (sqrt_test): Add more tests.
28549         (tgamma_test): Likewise.
28550         (y0_test): Likewise.
28551         (y1_test): Likewise.
28552         (yn_test): Likewise.
28554 2012-03-27  Anton Blanchard  <anton@samba.org>
28556         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28557         MAP_HUGETLB.
28558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28559         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28560         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28562 2012-03-27  David S. Miller  <davem@davemloft.net>
28564         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28566         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28567         have-as-vis3 check.
28569 2012-03-27  Andreas Jaeger  <aj@suse.de>
28571         * sysdeps/x86_64/elf/configure.in: Moved to ...
28572         * sysdeps/x86_64/configure.in: ... here.
28573         * sysdeps/x86_64/elf/start.S: Moved to ...
28574         * sysdeps/x86_64/start.S: ... here.
28575         * sysdeps/x86_64/elf/configure: Delete.
28577         * sysdeps/x86_64/configure.in: Merge contents from
28578         sysdeps/i386/configure.in (without i686 check).
28580         * sysdeps/i386/elf/Versions: Merge into ...
28581         * sysdeps/i386/Versions: ... this.
28582         * sysdeps/i386/elf/Versions: Delete file.
28583         * sysdeps/i386/elf/start.S: Moved to ...
28584         * sysdeps/i386/start.S: ...here.
28585         * sysdeps/i386/elf/configure.in: Merge into...
28586         * sysdeps/i386/configure.in: ...here.
28587         * sysdeps/i386/elf/configure.in: Delete file.
28588         * sysdeps/i386/elf/configure: Delete file.
28590         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28591         * debug/backtracesyms.c: ... here.
28592         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28593         * debug/backtracesymsfd.c: ... here.
28594         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28595         * sysdeps/generic/ifunc-sel.h: ... here.
28597         * sysdeps/unix/i386/start.c: Delete file.
28598         * sysdeps/unix/sparc/start.c: Delete file.
28599         * sysdeps/unix/start.c: Delete file.
28601         * sysdeps/sh/elf/configure.in: Moved to ...
28602         * sysdeps/sh/configure.in: ... here.
28603         * sysdeps/sh/elf/start.S: Moved to ...
28604         * sysdeps/sh/start.S: ... here.
28605         * sysdeps/sh/elf/configure: Delete file.
28607         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28608         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28609         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28610         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28611         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28612         * sysdeps/powerpc/powerpc64/start.S: here.
28613         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28614         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28615         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28616         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28617         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28619         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28620         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28621         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28622         * sysdeps/powerpc/powerpc32/start.S: ... here.
28623         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28624         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28625         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28627         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28628         * sysdeps/powerpc/ifunc-sel.h: ... here.
28629         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28630         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28632         * sysdeps/sparc/elf/configure.in: Moved to ...
28633         * sysdeps/sparc/configure.in: ... here.
28634         * sysdeps/sparc/elf/configure: Delete file.
28635         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28636         * sysdeps/sparc/sparc32/start.S: ... here.
28637         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28638         * sysdeps/sparc/sparc64/start.S: ... here.
28639         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28640         * sysdeps/sparc/sparc32/Makefile: ... this.
28641         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28642         * sysdeps/sparc/sparc64/Makefile: ... this.
28644         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28645         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28646         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28647         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28648         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28649         * sysdeps/s390/s390-32/setjmp.S: ... here.
28650         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28651         * sysdeps/s390/s390-32/configure.in: ... here.
28652         * sysdeps/s390/s390-32/elf/configure: Delete file.
28653         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28654         * sysdeps/s390/s390-32/start.S: ... here.
28656         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28657         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28658         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28659         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28660         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28661         * sysdeps/s390/s390-64/setjmp.S: ... here.
28662         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28663         * sysdeps/s390/s390-64/configure.in: ... here
28664         * sysdeps/s390/s390-64/elf/configure: Delete file.
28665         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28666         * sysdeps/s390/s390-64/start.S: ... here.
28667         * sysdeps/s390/s390-64/elf/configure: Delete.
28669         * configure.in: Remove support for elf directories in sysdeps.
28671         * configure: Regenerated.
28672         * sysdeps/i386/configure: Regenerated.
28673         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28674         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28675         * sysdeps/s390/s390-32/configure: Regenerated.
28676         * sysdeps/s390/s390-64/configure: Regenerated.
28677         * sysdeps/sh/configure: Regenerated.
28678         * sysdeps/sparc/configure: Regenerated.
28679         * sysdeps/x86_64/configure: Regenerated.
28681 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28685         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28686         denormal result into account.
28688 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28690         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28691         Reported by Allan McRae <allan@archlinux.org>.
28693 2012-03-23  Jeff Law  <law@redhat.com>
28695         * nss/getnssent.c (__nss_getent): Fix typo.
28697 2012-03-23  David S. Miller  <davem@davemloft.net>
28699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28701 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28703         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28704         to pad to uint64_t for each field.
28705         (dl_tls_index): Replace unsigned long with uint64_t.
28707 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28708         Paul Pluzhnikov  <ppluzhnikov@google.com>
28710         [BZ #6528]
28711         * grp/Makefile (otherlibs): Don't set it.
28712         * inet/Makefile (otherlibs): Likewise.
28713         * login/Makefile (otherlibs): Likewise.
28714         * nscd/Makefile (otherlibs): Likewise.
28715         * posix/Makefile (otherlibs): Likewise.
28716         * pwd/Makefile (otherlibs): Likewise.
28717         * rt/Makefile (otherlibs): Likewise.
28718         * sunrpc/Makefile (otherlibs): Likewise.
28719         * nss/Makefile (otherlibs): Likewise.
28720         Add libnss_files to routines and static-only-routines.
28721         ($(objpfx)getent): Remove rule.
28722         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28723         static-only-routines.
28725 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28727         [BZ #13892]
28728         * math/s_cexp.c: Include <float.h>.
28729         (__cexp): Handle exp result overflowing not necessarily
28730         overflowing both real and imaginary parts of result.
28731         * math/s_cexpf.c: Likewise.
28732         * math/s_cexpl.c: Likewise.
28733         * math/libm-test.inc (cexp_test): Add more tests.
28734         * sysdeps/i386/fpu/libm-test-ulps: Update.
28735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28737 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28739         * include/link.h (ELFW): New macro.
28740         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28741         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28743 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28745         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28746         with uint64_t.
28748 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28750         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28751         declaration.
28752         (struct La_x32_retval): Likewise.
28754 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28756         * sysdeps/x86_64/preconfigure.in: New file.
28757         * sysdeps/x86_64/preconfigure: New generated file.
28759 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28761         [BZ #13824]
28762         * math/e_exp2l.c: Include <float.h>.
28763         (__ieee754_exp2l): Handle overflow and underflow cases
28764         separately.  Only pass fractional part of argument to
28765         __ieee754_expl.
28766         * math/libm-test.inc (exp2_test): Add more tests.
28768         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28769         negating x to take absolute value.
28770         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28771         Likewise.
28772         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28773         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28774         Likewise.
28775         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28776         computing low part if x was negated.
28777         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28779 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28781         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28782         la_x32_gnu_pltexit.
28783         (pltexit): Cast int_retval to ptrdiff_t.
28784         * elf/tst-auditmod3b.c: Likewise.
28785         * elf/tst-auditmod4b.c: Likewise.
28786         * elf/tst-auditmod5b.c: Likewise.
28787         * elf/tst-auditmod6b.c: Likewise.
28788         * elf/tst-auditmod6c.c: Likewise.
28789         * elf/tst-auditmod7b.c: Likewise.
28791         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28792         and x32_gnu_pltexit.
28794         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28795         __ELF_NATIVE_CLASS.
28796         (La_x32_regs): New macro.
28797         (La_x32_retval): Likewise.
28798         (la_x32_gnu_pltenter): New function prototype.
28799         (la_x32_gnu_pltexit): Likewise.
28801 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28803         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28804         exponent.
28806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28808         * configure.in (libc_cv_cc_nofma): Check for option to disable
28809         generation of FMA instructions.
28810         * configure: Regenerate.
28811         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28812         * sysdeps/ieee754/dbl-64/Makefile: New file.
28813         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28814         Remove brandred-fma4.
28815         (CFLAGS-brandred-fma4.c): Remove.
28816         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28817         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28818         define.
28819         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28820         define.
28822 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28824         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28825         LLONG_MAX != LONG_MAX.
28826         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28827         (_fitoa_word): Likewise.
28828         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28829         LLONG_MAX != LONG_MAX.
28830         * stdio-common/_itowa.h: Include <_itoa.h>.
28831         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28832         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28833         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28834         only if not defined.
28835         (_ITOA_WORD_TYPE): Likewise.
28836         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28837         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28839 2012-03-21  David S. Miller  <davem@davemloft.net>
28841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28843 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28845         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28846         of x86_64 when setting libc_cv_slibdir, libdir and
28847         libc_cv_localedir.
28848         * sysdeps/unix/sysv/linux/configure: Regenerated.
28850 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28852         * manual/lang.texi (Old Varargs): Remove section.
28853         (How Variadic): Update menu.
28854         (va_start): Do not mention varargs.h.
28856 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28857             Joseph Myers  <joseph@codesourcery.com>
28859         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28860         link test.
28861         * configure: Regenerated.
28863 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28865         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28866         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28867         conformtest.pl
28869 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28871         * NOTES: Remove.
28872         * Makefile (files-for-dist): Remove NOTES.
28873         (NOTES): Remove rule.
28874         * README: Don't refer to NOTES.
28875         * manual/creature.texi: Don't include macros.texi.
28876         * manual/intro.texi (creature.texi): Remove comment referring to
28877         NOTES.
28879         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28880         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28881         * configure: Regenerated.
28882         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28883         LIBC_TRY_CC_OPTION.
28884         (libc_cv_as_i686): Likewise.
28885         (libc_cv_cc_avx): Likewise.
28886         (libc_cv_cc_sse2avx): Likewise.
28887         (libc_cv_cc_fma4): Likewise.
28888         (libc_cv_cc_novzeroupper): Likewise.
28889         * sysdeps/i386/configure: Regenerated.
28891         [BZ #13883]
28892         * sysdeps/i386/fpu/s_cexp.S: Remove.
28893         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28894         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28895         * math/libm-test.inc (cexp_test): Add more tests.
28896         * sysdeps/i386/fpu/libm-test-ulps: Update.
28897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28899 2012-03-21  Allan McRae  <allan@archlinux.org>
28901         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28903 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28905         [BZ #13871]
28906         * math/w_exp2.c: Do not include <float.h>.
28907         (o_threshold, u_threshold): Remove.
28908         (__exp2): Calculate result before checking finiteness and calling
28909         __kernel_standard.
28910         * math/w_exp2f.c: Likewise.
28911         * math/w_exp2l.c: Likewise.
28912         * math/libm-test.inc (exp2_test): Require overflow exception for
28913         1e6 input.
28915         [BZ #3866]
28916         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28917         range of signed 64-bit integers before using fistpll.  Remove
28918         checks for whether integers fit in mantissa bits.
28919         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28920         the range of signed 32-bit integers before using fistpl.  Remove
28921         checks for whether integers fit in mantissa bits.
28922         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28923         (__ieee754_powl): Test for y outside the range of signed 64-bit
28924         integers before using fistpll.  Reduce 64-bit values to 63-bit
28925         ones as needed.
28926         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28927         divide-by-zero is raised for zero to large negative powers.
28928         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28929         (__ieee754_powl): Test for y outside the range of signed 64-bit
28930         integers before using fistpll.  Reduce 64-bit values to 63-bit
28931         ones as needed.
28932         * math/libm-test.inc (pow_test): Add more tests.
28934 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28936         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28937         <stdio-common/_itoa.h>.
28938         * debug/segfault.c: Likewise.
28939         * elf/dl-cache.c: Likewise.
28940         * elf/dl-minimal.c: Likewise.
28941         * elf/dl-misc.c: Likewise.
28942         * elf/dl-sysdep.c: Likewise.
28943         * elf/dl-version.c: Likewise.
28944         * elf/rtld.c: Likewise.
28945         * hurd/hurdsock.c: Likewise.
28946         * hurd/lookup-retry.c: Likewise.
28947         * malloc/malloc.c: Likewise.
28948         * malloc/mtrace.c: Likewise.
28949         * nscd/nscd_getgr_r.c: Likewise.
28950         * nscd/nscd_getpw_r.c: Likewise.
28951         * nscd/nscd_getserv_r.c: Likewise.
28952         * posix/getopt_init.c: Likewise.
28953         * posix/wordexp.c: Likewise.
28954         * stdio-common/_itoa.c: Likewise.
28955         * stdio-common/printf_fphex.c: Likewise.
28956         * stdio-common/vfprintf.c: Likewise.
28957         * string/_strerror.c: Likewise.
28958         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28959         * sysdeps/i386/i686/hp-timing.h: Likewise.
28960         * sysdeps/mach/_strerror.c: Likewise.
28961         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28962         * sysdeps/mach/hurd/sethostid.c: Likewise.
28963         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28964         * sysdeps/mach/xpg-strerror.c: Likewise.
28965         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28966         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28967         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28968         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28969         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28970         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28971         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28972         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28973         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28974         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28975         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28976         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28977         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28978         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28979         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28980         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28981         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28982         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28983         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28984         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28985         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28987         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28989         * stdio-common/_itoa.h: Moved to ...
28990         * sysdeps/generic/_itoa.h: Here.
28992         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28994         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28995         instead of "_itoa.h" and "_itowa.h".
28996         * stdio-common/vfprintf.: Likewise.
28998 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29000         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29001         <bits/wordsize.h>.
29002         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29003         (__signbit): Likwise.
29004         (llrintf): Likwise.
29005         (llrint): Likwise.
29007 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29009         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29010         __WORDSIZE != 64.
29012 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
29014         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29015         OVERFLOW_EXCEPTION_OK.
29016         * math/libm-test.inc ("Philosophy"): Update comment about
29017         exception testing.
29018         (OVERFLOW_EXCEPTION): Define.
29019         (OVERFLOW_EXCEPTION_OK): Likewise.
29020         (INVALID_EXCEPTION_OK): Renumber.
29021         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29022         (IGNORE_ZERO_INF_SIGN): Likewise.
29023         (test_exceptions): Handle FE_OVERFLOW.
29024         (exp10_test): Expect overflow exceptions.
29025         (exp2_test): Likewise.
29026         (expm1_test): Likewise.
29027         (nextafter_test): Likewise.
29028         (pow_test): Likewise.
29029         (scalbn_test): Likewise.
29030         (scalbln_test): Likewise.
29032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29034         * sysdeps/x86_64/bits/atomic.h
29035         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29036         64bit integer.
29037         (atomic_exchange_acq): Likewise.
29038         (__arch_exchange_and_add_body): Likewise.
29039         (__arch_add_body): Likewise.
29040         (atomic_add_negative): Likewise.
29041         (atomic_add_zero): Likewise.
29043 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29045         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29046         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29048 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29050         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29051         Check __x86_64__ instead of __WORDSIZE.
29053 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29055         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29057 2012-03-19  David S. Miller  <davem@davemloft.net>
29059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29061         * sysdeps/sparc/fpu/fenv_private.h: New file.
29062         * sysdeps/sparc/fpu/math_private.h: Use it.
29063         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29064         Remove.
29065         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29066         (libc_feholdexcept_setroundl): Remove.
29067         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29068         Remove.
29069         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29070         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29072 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29074         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29075         int64_t instead of long int.
29076         (INSERT_WORDS64): Likwise.
29078 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
29080         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29081         _Unwind_GetCFA return to _Unwind_Ptr first.
29083 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
29085         [BZ #13629]
29086         * math/s_clog.c: Include <float.h>.
29087         (__clog): Scale large or subnormal inputs.
29088         * math/s_clogf.c: Likewise.
29089         * math/s_clogl.c: Likewise.
29090         * math/s_clog10.c: Include <float.h>.
29091         (M_LOG10_2): Define.
29092         (__clog10): Scale large or subnormal inputs.
29093         * math/s_clog10f.c: Likewise.
29094         * math/s_clog10l.c: Likewise.
29095         * math/libm-test.inc (clog_test): Add more tests.
29096         (clog10_test): Likewise.
29097         * sysdeps/i386/fpu/libm-test-ulps: Update.
29098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29100         [BZ #11451]
29101         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29102         x and y.
29103         * math/libm-test.inc (atan2_test): Add another test.
29105         * Makerules (common-objdir-compile): Remove.
29106         * sysdeps/unix/Makefile (config-generated): Do not add
29107         $(unix-generated) to variable.
29108         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29109         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29110         Remove rule.
29111         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29112         Likewise.
29113         [generic bits/local_lim.h] (before-compile): Do not append to
29114         variable.
29115         [generic bits/local_lim.h] (common-generated): Likewise.
29116         [generic sys/param.h] (before-compile): Do not append to variable.
29117         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29118         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29119         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29120         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29121         include.
29122         [generic sys/param.h] (sys/param.h-includes): Remove variable.
29123         [generic sys/param.h] (sys/param.h-includes): Remove rule.
29124         [generic sys/param.h] ($(addprefix
29125         $(common-objpfx),$(sys/param.h-includes))): Likewise.
29126         [generic sys/param.h] (common-generated): Do not append to
29127         variable.
29128         [generic sys/param.h] (sysdep_headers): Likewise.
29129         [generic bits/errno.h] (before-compile): Do not append to
29130         variable.
29131         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29132         rule.
29133         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29134         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29135         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29136         [generic bits/errno.h] (common-generated): Do not append to
29137         variable.
29138         [generic bits/ioctls.h] (before-compile): Do not append to
29139         variable.
29140         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29141         rule.
29142         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29143         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29144         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29145         rule.
29146         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29147         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29148         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29149         [generic bits/ioctls.h] (common-generated): Do not append to
29150         variable.
29151         [generic sys/syscall.h] (syscall.h): Remove variable.
29152         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29153         rule.
29154         [generic sys/syscall.h] (before-compile): Do not append to
29155         variable.
29156         [generic sys/syscall.h] (common-generated): Likewise.
29157         * sysdeps/unix/errnos-tmpl.c: Remove file.
29158         * sysdeps/unix/errnos.awk: Likewise.
29159         * sysdeps/unix/ioctls-tmpl.c: Likewise.
29160         * sysdeps/unix/ioctls.awk: Likewise.
29161         * sysdeps/unix/mk-local_lim.c: Likewise.
29162         * sysdeps/unix/snarf-ioctls: Likewise.
29164 2012-03-19  Richard Henderson  <rth@twiddle.net>
29166         * sysdeps/i386/fpu/fenv_private.h: New file.
29167         * sysdeps/i386/fpu/math_private.h: Use it.
29168         (math_opt_barrier, math_force_eval): Remove.
29169         (libc_feholdexcept_setround_53bit): Remove.
29170         (libc_feupdateenv_53bit): Remove.
29171         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29172         (math_opt_barrier, math_force_eval): Remove.
29173         (libc_feholdexcept): Remove.
29174         (libc_feholdexcept_setround): Remove.
29175         (libc_fetestexcept, libc_fesetenv): Remove.
29176         (libc_feupdateenv_test): Remove.
29177         (libc_feupdateenv, libc_feholdsetround): Remove.
29178         (libc_feresetround): Remove.
29180         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29181         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29183         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29184         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29185         (libc_feupdateenv_testl): New.
29186         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29187         (libc_feupdateenv_testf): New.
29188         (libc_feupdateenv): Use libc_feupdateenv_test.
29189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29190         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29192         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29193         (libc_feholdsetroundf, libc_feholdsetroundl): New.
29194         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29195         (libc_feresetround_noex): New.
29196         (libc_feresetround_noexf): New.
29197         (libc_feresetround_noexl): New.
29198         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29199         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29200         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29201         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29202         SET_RESTORE_ROUND.
29203         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29205         (__cos): Likewise.
29206         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29207         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29208         SET_RESTORE_ROUND_NOEX.
29209         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29210         SET_RESTORE_ROUND_NOEXF.
29211         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29212         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29213         (libc_feholdsetroundf): New.
29214         (libc_feresetround, libc_feresetroundf): New.
29216         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29217         (libc_feholdexcept_setround_53bit): Convert from macro to function.
29218         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
29220         * sysdeps/generic/math_private.h: Include <fenv.h>.
29221         (default_libc_feholdexcept): New.
29222         (default_libc_feholdexcept_setround): New.
29223         (default_libc_fesetenv, default_libc_feupdateenv): New.
29224         (libc_feholdexcept): Only define if undefined.
29225         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29226         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29227         (libc_feholdexcept_setroundl): Likewise.
29228         (libc_feholdexcept_setround_53bit): Likewise.
29229         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29230         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29231         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29232         (libc_feupdateenv_53bit): Likewise.
29233         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29234         (libc_feholdexcept): Convert from macro to inline function.
29235         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29236         (libc_fesetenv, libc_feupdateenv): Likewise.
29238         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29239         not previously defined.
29240         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29241         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29242         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29243         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29244         * sysdeps/ieee754/flt-32/math_private.h: New file.
29245         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29246         math_private.h below SET_FLOAT_WORD.
29247         (__isnan, __isinf_ns, __finite): Remove.
29248         (__isnanf, __isinf_nsf, __finitef): Remove.
29250 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
29252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29254 2012-03-17  David S. Miller  <davem@davemloft.net>
29256         [BZ #6471]
29257         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29258         for 2.16.
29260 2012-03-16  David S. Miller  <davem@davemloft.net>
29262         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29263         warnings.
29265         [BZ #6471]
29266         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29267         properly.
29268         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29269         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29270         sysdep_routines when subdir is sysvipc.
29271         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29272         __getshmlba helper.
29274         * sysdeps/sparc/fpu/libm-test/ulps: Update.
29276 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29278         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29279         [__LP64__].
29281 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29283         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29284         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29285         (__lround): Renamed to ...
29286         (__llround): This.  Replace long int with long long int.
29287         Define lround functions as aliases of llround functions.
29288         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29290 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29292         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29293         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
29294         adresses to uintptr_t.  Replace "long int" and "unsigned long
29295         int" with "greg_t" on va_arg.
29297 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29299         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29300         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29302         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29303         Move e_machine check before EI_CLASS check.  Handle x32
29304         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29305         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29306         SKIP_EM_IA_64 and include
29307         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29309         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29310         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29311         (add_system_dir): New macro.
29313         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29314         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29316 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29318         [BZ #2551]
29319         [BZ #2552]
29320         [BZ #2553]
29321         [BZ #2554]
29322         [BZ #2562]
29323         [BZ #2563]
29324         [BZ #2565]
29325         [BZ #2566]
29326         [BZ #2576]
29327         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29328         (y0): Likewise.
29329         * math/w_j0f.c (j0f): Likewise.
29330         (y0f): Likewise.
29331         * math/w_j0l.c (__j0l): Likewise.
29332         (__y0l): Likewise.
29333         * math/w_j1.c (j1): Likewise.
29334         (y1): Likewise.
29335         * math/w_j1f.c (j1f): Likewise.
29336         (y1f): Likewise.
29337         * math/w_j1l.c (__j1l): Likewise.
29338         (__y1l): Likewise.
29339         * math/w_jn.c (jn): Likewise.
29340         (yn): Likewise.
29341         * math/w_jnf.c (jnf): Likewise.
29342         (ynf): Likewise.
29343         * math/w_jnl.c (__jnl): Likewise.
29344         (__ynl): Likewise.
29345         * math/libm-test.inc (j0_test): Add more tests.
29346         (j1_test): Likewise.
29347         (jn_test): Likewise.  Add trailing semicolon to existing test.
29348         (y0_test): Likewise.
29349         (y1_test): Likewise.
29350         * sysdeps/i386/fpu/libm-test-ulps: Update.
29351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29353         [BZ #13851]
29354         [BZ #13854]
29355         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29356         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29357         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29358         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29359         (__tanl): Set errno for infinite argument.
29360         * sysdeps/i386/fpu/mptan.c: Remove.
29361         * sysdeps/i386/fpu/s_tan.S: Likewise.
29362         * sysdeps/i386/fpu/s_tanl.S: Likewise.
29363         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29364         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29365         * math/libm-test.inc (tan_test): Add more tests and enable more
29366         tests for double and long double.
29367         * sysdeps/i386/fpu/libm-test-ulps: Update.
29368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29370 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29372         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29373         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29375 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29377         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29378         * configure.in: Use it for both main tree and add-ons.
29379         * configure: Regenerated.
29381 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29383         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29385 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29387         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29388         in comment.
29390         [BZ #13851]
29391         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29392         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29393         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29394         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29395         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29396         infinite argument.
29397         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29398         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29399         != 0 for prec == 2.
29400         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29401         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29402         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29403         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29404         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29405         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29406         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29407         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29408         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29409         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29410         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29411         * math/libm-test.inc (cos_test): Add more tests and enable more
29412         tests for long double.
29413         (sin_test): Likewise.
29414         (sincos_test): Likewise.
29415         * sysdeps/i386/fpu/libm-test-ulps: Update.
29416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29418 2012-03-16  David S. Miller  <davem@davemloft.net>
29420         * sysdeps/sparc/fpu/math_private.h: New file.
29422 2012-03-15  David S. Miller  <davem@davemloft.net>
29424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29425         file.
29426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29428         file.
29429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29435         sysdep routines.
29436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29438         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29439         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29441         * sysdeps/sparc/sparc-ifunc.h: New file.
29442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29443         sparc-ifunc.h
29444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29446         Likewise.
29447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29448         Likewise.
29449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29453         Likewise.
29454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29459         Likewise.
29460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29461         Likewise.
29462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29468         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29469         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29472         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29473         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29474         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29478         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29480         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29481         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29482         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29483         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29484         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29485         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29487 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29489         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29490         scaling.
29491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29493 2012-03-15  Andreas Jaeger  <aj@suse.de>
29495         [BZ #13852]
29496         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29497         ieee754/flt-32 implementation for sin, cos and sincos.
29498         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29499         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29500         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29501         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29502         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29503         ieee754/flt-32 implementation for tan.
29505         * math/libm-test.inc (cos_test): Enable some large input tests for
29506         float as well
29507         (sin_test): Likewise.
29508         (sincos_test): Likewise.
29509         (tan_test): Add tests for large input.
29511         * sysdeps/i386/fpu/libm-test-ulps: Update.
29513 2012-03-15  Andreas Jaeger  <aj@suse.de>
29515         [BZ #13658]
29516         * math/libm-test.inc (cos_test): Add more test cases.
29517         (sin_test): Likewise.
29518         (sincos_test): Likewise.
29520 2012-03-15  Andreas Jaeger  <aj@suse.de>
29522         [BZ #13837]
29523         * math/libm-test.inc (cos_test): Add a test case for large input
29524         value.
29525         (sin_test): Likewise.
29526         (sincos_test): Likewise.
29528 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29529         Joseph Myers  <joseph@codesourcery.com>
29531         [BZ #13658]
29532         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29533         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29534         * sysdeps/i386/fpu/branred.c: Likewise.
29535         * sysdeps/i386/fpu/dosincos.c: Likewise.
29536         * sysdeps/i386/fpu/mpa.c: Likewise.
29537         * sysdeps/i386/fpu/s_cos.S: Likewise.
29538         * sysdeps/i386/fpu/s_sin.S: Likewise.
29539         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29540         * sysdeps/i386/fpu/sincos32.c: Likewise.
29542         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29543         Define.
29544         (libc_feupdateenv_53bit): Define.
29545         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29546         Define.
29547         (libc_feupdateenv_53bit): Define.
29549         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29550         53 bit (without extend i386 double precision).
29552         * math/libm-test.inc (sincos_test): Add tests for large input.
29553         (sin): Likewise.
29554         (cos): Likewise.
29556         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29558 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29562 2012-03-15  David S. Miller  <davem@davemloft.net>
29564         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29565         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29566         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29567         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29580         file.
29581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29583         file.
29584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29586         file.
29587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29589         file.
29590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29591         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29592         fmin/fmax sysdep routines.
29593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29595 2012-03-14  David S. Miller  <davem@davemloft.net>
29597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29598         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29599         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29601         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29602         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29603         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29604         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29605         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29617         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29618         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29619         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29620         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29621         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29622         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29623         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29624         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29625         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29626         routines.
29627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29628         file.
29629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29631         file.
29632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29634         file.
29635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29637         file.
29638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29640         file.
29641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29643         file.
29644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29645         file.
29646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29647         file.
29648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29649         file.
29650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29651         New file.
29652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29653         file.
29654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29655         file.
29656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29658         file.
29659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29661         file.
29662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29664         file.
29665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29667         VIS3 routines.
29669         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29670         New file.
29672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29674         * sysdeps/sparc/configure.in: New file.
29675         * sysdeps/sparc/configure: Generate.
29676         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29677         * configure: Regenerate.
29678         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29679         * config.make.in (have-as-vis3): New.
29680         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29681         available use -Av9d instead of -Av9a.
29682         * sysdeps/sparc/sparc64/Makefile: Likewise.
29683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29685         New file.
29686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29687         file.
29688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29689         New file.
29690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29691         file.
29692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29693         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29694         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29695         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29696         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29698         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29699         fzeros/fnegs to load 0x80000000 into a float register instead of
29700         using the stack.
29701         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29703 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29706         bits/syscall.h.
29707         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29708         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29709         ($(inst_includedir)/bits/syscall.h): Remove rule.
29710         ($(objpfx)bits/syscall.d): Include instead of
29711         $(objpfx)syscall-list.d.
29712         (generated): Change syscall-list.h and syscall-list.d to
29713         bits/syscall.h and bits/syscall.d.
29715 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29717         [BZ #13846]
29718         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29720 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29722         [BZ #13841]
29723         * math/s_csqrt.c: Include <float.h>.
29724         (__csqrt): Scale large or subnormal inputs.
29725         * math/s_csqrtf.c: Likewise.
29726         * math/s_csqrtl.c: Likewise.
29727         * math/libm-test.inc (csqrt_test): Add more tests.
29728         * sysdeps/i386/fpu/libm-test-ulps: Update.
29729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29731         [BZ #13840]
29732         * math/libm-test.inc (hypot_test): Add more tests.
29734 2012-03-13  David S. Miller  <davem@davemloft.net>
29736         [BZ #13840]
29737         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29738         double-precision for the calculation instead of scaling.
29740 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29742         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29743         manipulate bits before adding and subtracting TWO52[sx].
29744         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29745         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29746         Likewise.
29747         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29749 2012-03-13  David S. Miller  <davem@davemloft.net>
29751         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29752         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29753         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29754         rtld-global-offsets.h
29755         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29757         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29758         large parameters.
29760         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29762         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29763         'err' in the ifdef scope in which it is actually used.
29765         * nss/nss_db/db-init.c: Include string.h
29767 2012-03-12  David S. Miller  <davem@davemloft.net>
29769         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29770         masking out of the most significant byte of random value used.
29771         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29772         Fix coding style in previous change.
29774         * sysdeps/unix/sysv/linux/kernel-features.h
29775         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29776         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29777         expression.
29778         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29779         later.
29781 2012-03-11  David S. Miller  <davem@davemloft.net>
29783         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29784         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29785         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29786         for 'resultvar' otherwise things get truncated on 64-bit.
29788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29789         Fix masking out of the most significant byte of random value used.
29791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29793 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29797 2012-03-09  David S. Miller  <davem@davemloft.net>
29799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29800         variables with appropriate CPP guards.
29801         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29802         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29803         on resulting framesize and the management of the outregs buffer for pltexit.
29804         Preserve floating point return values across _dl_call_pltexit call.
29805         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29806         framesize and the management of the outregs buffer for pltexit.
29807         Preserve floating point return values across _dl_call_pltexit
29808         call.
29809         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29810         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29811         (print_exit): Fix format string for return register value.
29813 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29815         * sunrpc/Makefile (others): Add rpcgen.
29816         ($(objpfx)rpcgen): Remove special build rule and dependency on
29817         libc.
29818         * sunrpc/rpcgen.c: New file.
29820 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29822         [BZ #13673]
29823         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29824         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29825         * sysdeps/i386/crti.S: Likewise.
29826         * sysdeps/i386/crtn.S: Likewise.
29827         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29828         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29829         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29830         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29831         * sysdeps/sh/crti.S: Likewise.
29832         * sysdeps/sh/crtn.S: Likewise.
29833         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29835         [BZ #13673]
29836         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29837         with URL.
29838         * locale/programs/locfile-kw.gperf: Likewise.
29839         * locale/programs/charmap-kw.h: Regenerated.
29840         * locale/programs/locfile-kw.h: Likewise.
29842         [BZ #13673]
29843         * intl/plural.y: Replace FSF snail mail address with URL.
29844         * intl/plural.c: Regenerated.
29846 2012-03-09  Richard Henderson  <rth@twiddle.net>
29848         * include/math_private.h: Remove file.
29849         * math/math_private.h: Move file ...
29850         * sysdeps/generic/math_private.h: ... here.
29852         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29853         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29854         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29856         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29857         and <math_private.h>.
29858         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29859         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29860         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29861         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29862         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29863         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29864         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29866         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29869         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29870         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29871         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29872         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29873         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29874         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29875         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29876         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29877         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29879         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29885         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29905         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29907         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29910         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29911         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29913         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29914         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29915         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29916         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29917         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29918         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29919         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29920         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29921         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29922         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29923         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29924         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29925         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29926         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29927         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29928         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29929         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29930         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29931         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29932         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29934         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29935         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29936         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29937         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29938         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29939         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29940         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29941         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29942         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29944         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29945         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29946         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29947         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29948         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29949         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29950         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29951         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29952         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29953         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29954         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29955         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29956         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29957         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29958         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29959         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29960         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29961         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29962         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29963         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29964         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29965         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29966         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29967         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29968         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29969         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29970         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29971         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29972         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29973         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29974         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29975         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29976         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29977         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29978         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29979         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29980         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29981         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29982         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29983         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29984         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29985         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29986         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29987         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29988         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29989         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29990         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29991         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29992         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29993         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29994         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29995         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29996         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29997         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29998         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29999         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30000         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30001         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30002         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30003         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30004         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30005         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30006         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30007         * sysdeps/ieee754/k_standard.c: Likewise.
30008         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30009         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30010         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30011         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30012         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30013         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30014         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30015         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30016         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30020         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30021         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30022         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30025         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30026         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30027         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30029         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30030         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30032         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30033         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30034         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30035         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30036         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30037         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30038         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30039         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30040         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30041         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30042         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30043         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30044         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30046         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30048         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30051         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30052         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30053         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30054         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30055         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30056         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30057         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30058         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30059         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30060         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30061         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30062         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30063         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30064         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30065         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30066         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30067         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30068         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30069         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30071         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30072         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30073         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30074         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30075         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30076         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30078         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30079         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30080         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30081         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30082         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30083         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30084         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30085         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30086         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30087         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30088         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30089         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30090         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30091         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30093         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30094         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30098         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30099         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30100         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30101         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30102         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30103         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30105         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30106         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30107         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30109         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30110         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30111         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30112         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30113         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30114         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30115         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30116         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30117         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30118         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30119         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30120         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30121         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30122         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30123         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30124         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30125         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30126         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30127         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30128         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30129         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30130         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30131         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30132         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30133         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30134         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30135         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30136         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30137         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30138         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30139         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30140         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30141         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30142         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30143         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30144         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30145         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30146         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30147         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30148         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30149         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30150         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30151         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30152         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30153         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30154         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30155         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30156         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30157         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30158         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30159         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30160         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30161         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30162         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30163         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30164         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30165         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30166         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30167         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30168         * sysdeps/ieee754/s_lib_version.c: Likewise.
30169         * sysdeps/ieee754/s_matherr.c: Likewise.
30170         * sysdeps/ieee754/s_signgam.c: Likewise.
30171         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30172         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30173         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30174         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30175         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30176         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30177         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30178         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30179         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30180         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30181         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30182         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30183         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30184         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30185         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30186         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30187         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30188         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30189         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30190         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30191         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30193 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30195         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30196         * sunrpc/rpc_main.c: Likewise.
30197         * sunrpc/rpc_svcout.c: Likewise.
30199 2012-03-09  David S. Miller  <davem@davemloft.net>
30201         * include/math_private.h: New file.
30203 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
30205         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30206         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30207         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30208         from <bits/socket_type.h>.
30209         (enum __socket_type): Don't define here.
30210         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30212         bits/socket_type.h.
30214         [BZ #13566]
30215         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30216         checking __USE_GNU.
30218         * Makerules ($(inst_includedir)/%.h): New rule.
30219         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30220         (install-others): Remove variable setting.
30221         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30223 2012-03-08  Richard Henderson  <rth@twiddle.net>
30225         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30226         from macro to inline function; merge with the
30227         !__LIBC_INTERNAL_MATH_INLINES version.
30228         (__ieee754_sqrtf): Likewise.
30230         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30231         to inline function.
30232         (__rintf, __floor, __floorf): Likewise.
30234         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30235         macro to inline function.
30236         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30238         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30239         not <math/math_private.h>.
30241 2012-03-08  David S. Miller  <davem@davemloft.net>
30243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30244         copyright year.
30245         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30247 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
30249         * resolv/gai_misc.c (handle_requests): Fix struct timespec
30250         normalization.
30251         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30252         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30254 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
30256         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
30257         be defined individually, they must be defined as a block.  Define
30258         S for printing a string instead of hidint the different by using a
30259         macro for adding the 'l'.
30260         * stdio-common/tst-fphex-wide.c: Adjust.
30262 2012-03-07  Marek Polacek  <polacek@redhat.com>
30264         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30266 2012-03-08  Marek Polacek  <polacek@redhat.com>
30268         [BZ #13806]
30269         * stdio-common/Makefile (tests): Add tst-fphex-wide.
30270         * stdio-common/tst-fphex.c: Define a few macros to make the
30271         test reusable.  Use them.
30272         * stdio-common/tst-fphex-wide.c: New file.
30274 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
30276         [BZ #6911]
30277         * manual/macros.texi (gnusystems): New macro.
30278         (nongnusystems): Likewise.
30279         (gnulinuxhurdsystems): Likewise.
30280         (gnuhurdsystems): Likewise..
30281         (gnulinuxsystems): Likewise.
30282         * manual/charset.texi: Use new macros or @theglibc{} to refer to
30283         variants of the GNU system, not "GNU system".
30284         * manual/conf.texi: Likewise.
30285         * manual/errno.texi: Likewise.  Update example of errno macro
30286         expansion.
30287         * manual/filesys.texi: Likewise.
30288         (getumask): Document as specific to GNU/Hurd.
30289         * manual/install.texi: Likewise.  Reword some references to
30290         GNU/Linux.
30291         * manual/intro.texi: Likewise.
30292         * manual/io.texi: Likewise.
30293         (File Name Portability): Detail which constraints are inapplicable
30294         to all GNU systems and which are only inapplicable to GNU/Hurd.
30295         * manual/job.texi: Likewise.
30296         * manual/llio.texi: Likewise.
30297         (O_NOCTTY): Document as present on GNU/Linux.
30298         * manual/maint.texi: Likewise.
30299         * manual/memory.texi: Likewise.
30300         * manual/pattern.texi: Likewise.
30301         * manual/pipe.texi: Likewise.
30302         * manual/process.texi: Likewise.
30303         * manual/resource.texi: Likewise.
30304         (RUSAGE_CHILDREN): Remove statement about specifying a particular
30305         child on GNU/Hurd.
30306         * manual/setjmp.texi: Likewise.
30307         * manual/signal.texi: Likewise.
30308         * manual/startup.texi: Likewise.
30309         * manual/stdio.texi: Likewise.
30310         * manual/terminal.texi: Likewise.
30311         (ONLCR): Document as POSIX.
30312         (OXTABS): Document availability on GNU/Linux as XTABS.
30313         (ONOEOT): Document availability separately from other bits.
30314         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30315         * manual/time.texi: Likewise.
30316         * manual/users.texi: Likewise.
30317         * INSTALL: Regenerated.
30318         * sysdeps/gnu/errlist.c: Regenerated.
30320         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30321         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30322         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
30323         puts.
30324         * configure: Regenerated.
30326 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
30328         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30329         default includes instead of AC_HEADER_CHECK.
30330         * sysdeps/i386/configure: Regenerated.
30332         [BZ #10716]
30333         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30334         * math/s_cacoshf.c (__cacoshf): Likewise.
30335         * math/s_cacoshl.c (__cacoshl): Likewise.
30336         * math/s_casinh.c (__casinh): Set signs of result from argument.
30337         * math/s_casinhf.c (__casinhf): Likewise.
30338         * math/s_casinhl.c (__casinhl): Likewise.
30339         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30340         (casinh_test): Add more tests.
30341         * sysdeps/i386/fpu/libm-test-ulps: Update.
30342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30344 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
30346         * po/zh_TW.po: Update from translation team.
30348         * login/Makefile (distribute): Remove variable.
30349         * catgets/Makefile: Likewise.
30350         * mach/Makefile: Likewise.
30351         * malloc/Makefile: Likewise.
30352         * misc/Makefile: Likewise.
30353         * iconv/Makefile: Likewise.
30354         * nscd/Makefile: Likewise.
30355         * hurd/Makefile: Likewise.
30356         * manual/Makefile: Likewise.
30357         * locale/Makefile: Likewise.
30358         * intl/Makefile: Likewise.
30359         * conform/Makefile: Likewise.
30360         * nss/Makefile: Likewise.
30361         * time/Makefile: Likewise.
30362         * soft-fp/Makefile: Likewise.
30363         * dirent/Makefile: Likewise.
30364         * gmon/Makefile: Likewise.
30365         * po/Makefile: Likewise.
30366         * rt/Makefile: Likewise.
30367         * socket/Makefile: Likewise.
30368         * math/Makefile: Likewise.
30369         * signal/Makefile: Likewise.
30370         * debug/Makefile: Likewise.
30371         * elf/Makefile: Likewise.
30372         * timezone/Makefile: Likewise.
30373         * stdlib/Makefile: Likewise.
30374         * iconvdata/Makefile: Likewise.
30375         * sunrpc/Makefile: Likewise.
30376         * io/Makefile: Likewise.
30377         * argp/Makefile: Likewise.
30378         * inet/Makefile: Likewise.
30379         * hesiod/Makefile: Likewise.
30380         * grp/Makefile: Likewise.
30381         * csu/Makefile: Likewise.
30382         * wctype/Makefile: Likewise.
30383         * crypt/Makefile: Likewise.
30384         * libio/Makefile: Likewise.
30385         * string/Makefile: Likewise.
30386         * nis/Makefile: Likewise.
30387         * resolv/Makefile: Likewise.
30388         * stdio-common/Makefile: Likewise.
30389         * wcsmbs/Makefile: Likewise.
30390         * dlfcn/Makefile: Likewise.
30391         * posix/Makefile: Likewise.
30393         [BZ #6959]
30394         * timezone/Makefile: Don't install timezone files, just the programs
30395         and scripts.
30397 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30399         * nss/databases.def: Add missing gshadow entry.
30401         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30403 2012-03-06  Marek Polacek  <polacek@redhat.com>
30405         [BZ #13726]
30406         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30407         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30408         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30409         * stdio-common/tst-long-dbl-fphex.c: New file.
30411 2012-03-06  David S. Miller  <davem@davemloft.net>
30413         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30414         (set_obp_int): New function.
30415         (get_obp_int): New function.
30416         (__get_clockfreq_via_dev_openprom): Likewise.
30417         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30418         Avoid unused variable warnings on 'val' and use builtin_expect.
30419         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30420         __builtin_expect.
30421         (INLINE_CLONE_SYSCALL): Likewise.
30423 2012-03-05  David S. Miller  <davem@davemloft.net>
30425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30427 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30431         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30432         only for |x| >= 40.
30433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30435 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30437         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30438         Replace gettimeofday with __vdso_gettimeofday.
30440         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30441         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30442         __vdso_clock_gettime and __vdso_getcpu.
30444         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30445         time with __vdso_time.
30447 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30449         * manual/lang.texi (size_t): Note types to which size_t may be
30450         equivalent with the GNU C Library, but do not describe when
30451         differences between them are significant.
30453 2012-03-05  Andreas Jaeger  <aj@suse.de>
30455         * sysdeps/i386/fpu/libm-test-ulps: Update.
30457 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30459         [BZ #3976]
30460         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30461         (__ieee754_pow): Save and restore rounding mode and use
30462         round-to-nearest for main computations.
30463         * math/libm-test.inc (pow_test_tonearest): New function.
30464         (pow_test_towardzero): Likewise.
30465         (pow_test_downward): Likewise.
30466         (pow_test_upward): Likewise.
30467         (main): Call the new functions.
30468         * sysdeps/i386/fpu/libm-test-ulps: Update.
30469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30471         [BZ #3976]
30472         * math/libm-test.inc (cosh_test_tonearest): New function.
30473         (cosh_test_towardzero): Likewise.
30474         (cosh_test_downward): Likewise.
30475         (cosh_test_upward): Likewise.
30476         (sinh_test_tonearest): Likewise.
30477         (sinh_test_towardzero): Likewise.
30478         (sinh_test_downward): Likewise.
30479         (sinh_test_upward): Likewise.
30480         (main): Call the new functions.
30481         * sysdeps/i386/fpu/libm-test-ulps: Update.
30482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30484 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30486         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30487         default stack guard is set in last bytes.
30488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30490 2012-03-05  Kees Cook  <keescook@chromium.org>
30492         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30494         [BZ #13656]
30495         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30496         possibly allocate from heap instead of stack.
30497         * stdio-common/bug-vfprintf-nargs.c: New file.
30498         * stdio-common/Makefile (tests): Add nargs overflow test.
30500 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30504 2012-03-03  Marek Polacek  <polacek@redhat.com>
30506         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30507         * math/math_private.h: Likewise.
30508         * stdlib/tst-strtod.c: Likewise.
30509         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30510         * sysdeps/x86_64/bits/atomic.h: Likewise.
30512 2012-03-02  David S. Miller  <davem@davemloft.net>
30514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30518         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30519         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30520         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30521         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30523 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30525         [BZ #13792]
30526         * manual/examples/README: New file, says the example source files
30527         can be used under GPL>=2.
30528         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30529         line containing just "*/".
30530         * manual/examples/add.c: Add copyright header (GPL>=2).
30531         * manual/examples/argp-ex1.c: Likewise.
30532         * manual/examples/argp-ex2.c: Likewise.
30533         * manual/examples/argp-ex3.c: Likewise.
30534         * manual/examples/argp-ex4.c: Likewise.
30535         * manual/examples/atexit.c: Likewise.
30536         * manual/examples/db.c: Likewise.
30537         * manual/examples/dir.c: Likewise.
30538         * manual/examples/dir2.c: Likewise.
30539         * manual/examples/execinfo.c: Likewise.
30540         * manual/examples/filecli.c: Likewise.
30541         * manual/examples/filesrv.c: Likewise.
30542         * manual/examples/fmtmsgexpl.c: Likewise.
30543         * manual/examples/genpass.c: Likewise.
30544         * manual/examples/inetcli.c: Likewise.
30545         * manual/examples/inetsrv.c: Likewise.
30546         * manual/examples/isockad.c: Likewise.
30547         * manual/examples/longopt.c: Likewise.
30548         * manual/examples/memopen.c: Likewise.
30549         * manual/examples/memstrm.c: Likewise.
30550         * manual/examples/mkfsock.c: Likewise.
30551         * manual/examples/mkisock.c: Likewise.
30552         * manual/examples/mygetpass.c: Likewise.
30553         * manual/examples/pipe.c: Likewise.
30554         * manual/examples/popen.c: Likewise.
30555         * manual/examples/rprintf.c: Likewise.
30556         * manual/examples/search.c: Likewise.
30557         * manual/examples/select.c: Likewise.
30558         * manual/examples/setjmp.c: Likewise.
30559         * manual/examples/sigh1.c: Likewise.
30560         * manual/examples/sigusr.c: Likewise.
30561         * manual/examples/stpcpy.c: Likewise.
30562         * manual/examples/strdupa.c: Likewise.
30563         * manual/examples/strftim.c: Likewise.
30564         * manual/examples/strncat.c: Likewise.
30565         * manual/examples/subopt.c: Likewise.
30566         * manual/examples/swapcontext.c: Likewise.
30567         * manual/examples/termios.c: Likewise.
30568         * manual/examples/testopt.c: Likewise.
30569         * manual/examples/testpass.c: Likewise.
30570         * manual/examples/timeval_subtract.c: Likewise.
30572         [BZ #13792]
30573         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30574         function to ...
30575         * manual/timeval_subtract.c.texi: ... here, new file.
30577 2012-03-02  David S. Miller  <davem@davemloft.net>
30579         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30581 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30583         [BZ #3976]
30584         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30585         (__sin): Save and restore rounding mode and use round-to-nearest
30586         for all computations.
30587         (__cos): Save and restore rounding mode and use round-to-nearest
30588         for all computations.
30589         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30590         <fenv.h>.
30591         (tan): Save and restore rounding mode and use round-to-nearest for
30592         all computations.
30593         * math/libm-test.inc (cos_test_tonearest): New function.
30594         (cos_test_towardzero): Likewise.
30595         (cos_test_downward): Likewise.
30596         (cos_test_upward): Likewise.
30597         (sin_test_tonearest): Likewise.
30598         (sin_test_towardzero): Likewise.
30599         (sin_test_downward): Likewise.
30600         (sin_test_upward): Likewise.
30601         (tan_test_tonearest): Likewise.
30602         (tan_test_towardzero): Likewise.
30603         (tan_test_downward): Likewise.
30604         (tan_test_upward): Likewise.
30605         (main): Call the new functions.
30606         * sysdeps/i386/fpu/libm-test-ulps: Update.
30607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30609         [BZ #10135]
30610         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30611         small n, then large n, before computing and testing k+n.
30612         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30614         Likewise.
30615         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30616         Likewise.
30617         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30618         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30619         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30620         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30623         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30624         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30625         * math/libm-test.inc (scalbn_test): Add more tests.
30626         (scalbln_test): Likewise.
30628         * manual/filesys.texi (mode_t): Describe constraints on size and
30629         signedness, not exact equivalence to a particular type.
30630         (ino_t): Likewise.
30631         (ino64_t): Likewise.
30632         (dev_t): Likewise.
30633         (nlink_t): Likewise.
30634         (blkcnt_t): Likewise.
30635         (blkcnt64_t): Likewise.
30636         * manual/llio.texi (off_t): Likewise.
30638         [BZ #3976]
30639         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30640         (__ieee754_exp): Save and restore rounding mode and use
30641         round-to-nearest for all computations.
30642         * math/libm-test.inc (exp_test_tonearest): New function.
30643         (exp_test_towardzero): Likewise.
30644         (exp_test_downward): Likewise.
30645         (exp_test_upward): Likewise.
30646         (main): Call the new functions.
30647         * sysdeps/i386/fpu/libm-test-ulps: Update.
30648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30650 2012-03-01  Chris Demetriou  <cgd@google.com>
30652         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30653         have predictable order.
30655 2012-03-01  David S. Miller  <davem@davemloft.net>
30657         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30659         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30660         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30661         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30662         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30664         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30665         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30666         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30668         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30669         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30670         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30671         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30672         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30676         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30677         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30678         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30680         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30681         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30682         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30683         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30684         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30685         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30686         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30687         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30688         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30689         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30690         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30691         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30693         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30694         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30696         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30697         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30698         * sysdeps/sparc/elf/configure: Regenerated.
30700 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30702         * configure.in (AS, LD): Require binutils 2.20 or later.
30703         * configure: Regenerated.
30704         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30705         as required minimum version.
30706         * INSTALL: Regenerated.
30708         [BZ #2541]
30709         [BZ #4108]
30710         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30711         before squaring exponent.
30712         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30713         bottom long double and 27 bits of top long double before squaring
30714         exponent.
30715         * math/libm-test.inc (erfc_test): Add more tests.
30716         * sysdeps/i386/fpu/libm-test-ulps: Update.
30717         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30720 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30722         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30723         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30724         containing bit-fields.
30725         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30726         * soft-fp/single.h (_FP_UNION_S): Likewise.
30727         * soft-fp/double.h (_FP_UNION_D): Likewise.
30729 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30731         [BZ #13786]
30732         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30733         not include ../strcmp.S.
30734         [USE_AS_STRNCASECMP_L]: Likewise.
30735         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30736         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30737         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30738         (__strncasecmp_l_ia32): Define as alias to
30739         __strncasecmp_l_nonascii.
30741         [BZ #5794]
30742         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30743         * sysdeps/i386/fpu/libm-test-ulps: Update.
30744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30746         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30749 2012-02-29  Jeff Law  <law@redhat.com>
30751         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30752         out of bounds read.
30754 2012-02-29  Marek Polacek  <polacek@redhat.com>
30756         [BZ #13706]
30757         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30758         * elf/Makefile: Add rules to run tst-unused-dep.out.
30760 2012-02-28  David S. Miller  <davem@davemloft.net>
30762         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30763         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30764         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30765         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30766         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30767         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30769 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30771         * math/libm-test.inc (llround_test): Move one test from
30772         lround_test.  Use TEST_f_L in moved test.
30773         (lround_test): Move misplaced test to llround_test.  Add testcase
30774         from bug 2561.
30776 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30778         * sysdeps/x86_64/fpu/e_expf.S: New file.
30779         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30781 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30783         [BZ #13637]
30784         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30785         of remain_len that may cause incomplete multi-byte character and
30786         false match.
30787         * posix/bug-regex33.c: New file.
30788         * posix/Makefile (tests): Add bug-regex33.
30790 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30792         * manual/macros.texi: New file.
30793         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30794         * manual/libc.texinfo: Include macros.texi.
30795         * manual/creatute.texi: Likewise.
30796         * manual/install.texi: Likewise.
30797         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30798         @glibcadj{} in references to the GNU C Library.
30799         * manual/charset.texi: Likewise.
30800         * manual/conf.texi: Likewise.
30801         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30802         when not using those macros.
30803         * manual/creature.texi: Likewise.
30804         * manual/crypt.texi: Likewise.
30805         * manual/errno.texi: Likewise.
30806         * manual/filesys.texi: Likewise.
30807         * manual/header.texi: Likewise.
30808         * manual/install.texi: Likewise.
30809         * manual/intro.texi: Likewise.
30810         * manual/io.texi: Likewise.
30811         * manual/job.texi: Likewise.
30812         * manual/lang.texi: Likewise.
30813         * manual/libc.texiinfo: Likewise.
30814         * manual/llio.texi: Likewise.
30815         * manual/locale.texi: Likewise.
30816         * manual/maint.texi: Likewise.
30817         * manual/math.texi: Likewise.
30818         * manual/memory.texi: Likewise.
30819         * manual/message.texi: Likewise.
30820         * manual/nss.texi: Likewise.
30821         * manual/pattern.texi: Likewise.
30822         * manual/process.texi: Likewise.
30823         * manual/resource.texi: Likewise.
30824         * manual/search.texi: Likewise.
30825         * manual/setjmp.texi: Likewise.
30826         * manual/signal.texi: Likewise.
30827         * manual/socket.texi: Likewise.
30828         * manual/startup.texi: Likewise.
30829         * manual/stdio.texi: Likewise.
30830         * manual/string.texi: Likewise.
30831         * manual/sysinfo.texi: Likewise.
30832         * manual/syslog.texi: Likewise.
30833         * manual/terminal.texi: Likewise.
30834         * manual/time.texi: Likewise.
30835         * manual/users.texi: Likewise.
30836         * INSTALL: Regenerated.
30837         * NOTES: Regenerated.
30838         * sysdeps/gnu/errlist.c: Regenerated.
30840 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30842         * include/dirent.h: Include <dirstream.h> before
30843         <dirent/dirent.h>.
30845 2012-02-28  David S. Miller  <davem@davemloft.net>
30847         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30848         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30849         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30850         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30852 2012-02-27  David S. Miller  <davem@davemloft.net>
30854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30856         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30857         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30860         frame pointer instead of stack pointer relative arg slot.
30861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30862         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30863         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30865 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30867         [BZ #3992]
30868         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30870 2012-02-27  David S. Miller  <davem@davemloft.net>
30872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30876         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30877         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30878         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30879         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30881 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30883         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30884         later.  Allow versions 5-9.
30885         * configure: Regenerated.
30886         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30887         required minimum version and 4.6 as recommended version.  Do not
30888         mention bugs in GCC 2.7 and 2.8.
30889         * INSTALL: Regenerated.
30891 2012-02-27  David S. Miller  <davem@davemloft.net>
30893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30897         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30898         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30899         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30900         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30902         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30903         manipulate bits before adding and subtracting TWO112[sx].
30904         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30906 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30908         [BZ #13775]
30909         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30910         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30911         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30912         being in POSIX, because they are in 1003.1-2008.
30914         * rt/tst-aio.c: Include <fcntl.h>.
30915         * rt/tst-aio7.c: Likewise.
30916         * rt/tst-aio64.c: Likewise.
30918         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30920 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30922         * manual/install.texi (--with-headers): Describe headers as
30923         interface headers, not private headers.
30924         (Specific advice for GNU/Linux systems): Describe use of headers
30925         from "make headers_install", not private headers from older
30926         kernels.
30927         * INSTALL: Regenerated.
30928         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30929         Change to 2.6.19.
30930         * sysdeps/unix/sysv/linux/configure: Regenerated.
30932         * manual/llio.texi (fclean): Remove documentation.
30934         * manual/Makefile (libc-texi-generated): New variable.  Include
30935         version.texi.
30936         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30937         $(libc-texi-generated), not duplicated list of files.
30938         (version.texi, stamp-version): New rules.
30939         (realclean): Remove $(libc-texi-generated), not individual files
30940         from that list.  Do not remove dir-add.texinfo.
30941         * manual/libc.texinfo: Comment out uses of edition numbers and
30942         references to printed manual.  Remove last-updated dates.
30943         (EDITION): Comment out.
30944         (ISBN): Likewise.
30945         (VERSION, UPDATED): Remove.
30946         (version.texi): Include.
30948 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30950         * sysdeps/posix/spawni.c: Include <signal.h>.
30951         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30952         * sysdeps/pthread/aio_fsync.c: Likewise.
30954 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30956         * conform/Makefile (tests): Run only when not cross-compiling and
30957         when fast-check is not defined.
30959         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30960         * conform/data/limits.h-data: Fixes for POSIX2008.
30961         * conform/run-conformtest.sh: Run all tests.
30962         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30963         headers.
30964         * include/bits/dlfcn.h: Likewise.
30965         * include/langinfo.h: Likewise.
30966         * include/monetary.h: Likewise.
30967         * include/sys/poll.h: Likewise.
30969         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30970         for __USE_GNU.
30971         * posix/spawn.h: Define __need_sigset_t.
30972         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30973         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30974         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30975         to get sigevent_t only.
30976         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30977         only for __USE_GNU.
30978         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30979         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30980         process_vm_writev only for __USE_GNU.
30981         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30983         * conform/Makefile: For now ignore errors from run-conformtest.
30984         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30985         POSIX to avoid namespace pollution.  Don't prepend headers.
30986         * conform/data/aio.h-data: Fixes for POSIX testing.
30987         * conform/data/fcntl.h-data: Likewise.
30988         * conform/data/glob.h-data: Likewise.
30989         * conform/data/grp.h-data: Likewise.
30990         * conform/data/pthread.h-data: Likewise.
30991         * conform/data/pwd.h-data: Likewise.
30992         * conform/data/signal.h-data: Likewise.
30993         * conform/data/spawn.h-data: Likewise.
30994         * conform/data/stdio.h-data: Likewise.
30995         * conform/data/stdlib.h-data: Likewise.
30996         * conform/data/stropts.h-data: Likewise.
30997         * conform/data/sys/mman.h-data: Likewise.
30998         * conform/data/sys/stat.h-data: Likewise.
30999         * conform/data/sys/types.h-data: Likewise.
31000         * conform/data/sys/wait.h-data: Likewise.
31001         * conform/data/time.h-data: Likewise.
31002         * conform/data/unistd.h-data: Likewise.
31003         * conform/data/utime.h-data: Likewise.
31005         * io/sys/stat.h: fchmod was always in POSIX.
31006         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31007         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31008         * rt/aio.h: Define __need_timespec before including <time.h>.
31009         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31010         struct.  Add forward declaration of pthread_attr_t and use it in
31011         sigevent.
31012         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31013         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31014         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31015         always remove CLK_TCK definition.
31017 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
31019         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31021 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
31023         * conform/run-conformtest.sh: New file.
31024         * conform/Makefile: Run run-conformtest for tests.
31025         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
31026         support.
31028         * conform/data/uchar.h-data: New file.
31029         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31030         * conform/data/arpa/inet.h-data: Likewise.
31031         * conform/data/assert.h-data: Likewise.
31032         * conform/data/complex.h-data: Likewise.
31033         * conform/data/cpio.h-data: Likewise.
31034         * conform/data/ctype.h-data: Likewise.
31035         * conform/data/dirent.h-data: Likewise.
31036         * conform/data/dlfcn.h-data: Likewise.
31037         * conform/data/errno.h-data: Likewise.
31038         * conform/data/fcntl.h-data: Likewise.
31039         * conform/data/float.h-data: Likewise.
31040         * conform/data/fmtmsg.h-data: Likewise.
31041         * conform/data/fnmatch.h-data: Likewise.
31042         * conform/data/ftw.h-data: Likewise.
31043         * conform/data/glob.h-data: Likewise.
31044         * conform/data/grp.h-data: Likewise.
31045         * conform/data/iconv.h-data: Likewise.
31046         * conform/data/inttypes.h-data: Likewise.
31047         * conform/data/langinfo.h-data: Likewise.
31048         * conform/data/libgen.h-data: Likewise.
31049         * conform/data/limits.h-data: Likewise.
31050         * conform/data/locale.h-data: Likewise.
31051         * conform/data/math.h-data: Likewise.
31052         * conform/data/monetary.h-data: Likewise.
31053         * conform/data/mqueue.h-data: Likewise.
31054         * conform/data/ndbm.h-data: Likewise.
31055         * conform/data/net/if.h-data: Likewise.
31056         * conform/data/netdb.h-data: Likewise.
31057         * conform/data/netinet/in.h-data: Likewise.
31058         * conform/data/nl_types.h-data: Likewise.
31059         * conform/data/poll.h-data: Likewise.
31060         * conform/data/pthread.h-data: Likewise.
31061         * conform/data/pwd.h-data: Likewise.
31062         * conform/data/regex.h-data: Likewise.
31063         * conform/data/sched.h-data: Likewise.
31064         * conform/data/search.h-data: Likewise.
31065         * conform/data/semaphore.h-data: Likewise.
31066         * conform/data/setjmp.h-data: Likewise.
31067         * conform/data/signal.h-data: Likewise.
31068         * conform/data/spawn.h-data: Likewise.
31069         * conform/data/stdarg.h-data: Likewise.
31070         * conform/data/stdio.h-data: Likewise.
31071         * conform/data/stdlib.h-data: Likewise.
31072         * conform/data/string.h-data: Likewise.
31073         * conform/data/strings.h-data: Likewise.
31074         * conform/data/stropts.h-data: Likewise.
31075         * conform/data/sys/ipc.h-data: Likewise.
31076         * conform/data/sys/mman.h-data: Likewise.
31077         * conform/data/sys/msg.h-data: Likewise.
31078         * conform/data/sys/resource.h-data: Likewise.
31079         * conform/data/sys/select.h-data: Likewise.
31080         * conform/data/sys/sem.h-data: Likewise.
31081         * conform/data/sys/shm.h-data: Likewise.
31082         * conform/data/sys/socket.h-data: Likewise.
31083         * conform/data/sys/stat.h-data: Likewise.
31084         * conform/data/sys/statvfs.h-data: Likewise.
31085         * conform/data/sys/time.h-data: Likewise.
31086         * conform/data/sys/timeb.h-data: Likewise.
31087         * conform/data/sys/times.h-data: Likewise.
31088         * conform/data/sys/types.h-data: Likewise.
31089         * conform/data/sys/uio.h-data: Likewise.
31090         * conform/data/sys/un.h-data: Likewise.
31091         * conform/data/sys/utsname.h-data: Likewise.
31092         * conform/data/sys/wait.h-data: Likewise.
31093         * conform/data/syslog.h-data: Likewise.
31094         * conform/data/tar.h-data: Likewise.
31095         * conform/data/termios.h-data: Likewise.
31096         * conform/data/utime.h-data: Likewise.
31097         * conform/data/utmpx.h-data: Likewise.
31098         * conform/data/varargs.h-data: Likewise.
31099         * conform/data/wchar.h-data: Likewise.
31100         * conform/data/wctype.h-data: Likewise.
31101         * conform/data/wordexp.h-data: Likewise.
31103         * include/stropts.h: New file.
31104         * include/uchar.h: New file.
31105         * include/aio.h: Changes to allow conformtest.pl to use the headers.
31106         * include/assert.h: Likewise.
31107         * include/ctype.h: Likewise.
31108         * include/dirent.h: Likewise.
31109         * include/dlfcn.h: Likewise.
31110         * include/fcntl.h: Likewise.
31111         * include/fnmatch.h: Likewise.
31112         * include/glob.h: Likewise.
31113         * include/grp.h: Likewise.
31114         * include/libio.h: Likewise.
31115         * include/locale.h: Likewise.
31116         * include/math.h: Likewise.
31117         * include/net/if.h: Likewise.
31118         * include/netdb.h: Likewise.
31119         * include/netinet/in.h: Likewise.
31120         * include/pthread.h: Likewise.
31121         * include/pwd.h: Likewise.
31122         * include/regex.h: Likewise.
31123         * include/sched.h: Likewise.
31124         * include/search.h: Likewise.
31125         * include/setjmp.h: Likewise.
31126         * include/signal.h: Likewise.
31127         * include/stdio.h: Likewise.
31128         * include/stdlib.h: Likewise.
31129         * include/string.h: Likewise.
31130         * include/sys/cdefs.h: Likewise.
31131         * include/sys/mman.h: Likewise.
31132         * include/sys/msg.h: Likewise.
31133         * include/sys/resource.h: Likewise.
31134         * include/sys/select.h: Likewise.
31135         * include/sys/socket.h: Likewise.
31136         * include/sys/stat.h: Likewise.
31137         * include/sys/statvfs.h: Likewise.
31138         * include/sys/time.h: Likewise.
31139         * include/sys/times.h: Likewise.
31140         * include/sys/uio.h: Likewise.
31141         * include/sys/utsname.h: Likewise.
31142         * include/sys/wait.h: Likewise.
31143         * include/termios.h: Likewise.
31144         * include/time.h: Likewise.
31145         * include/ulimit.h: Likewise.
31146         * include/unistd.h: Likewise.
31147         * include/utime.h: Likewise.
31148         * include/wchar.h: Likewise.
31149         * include/wctype.h: Likewise.
31150         * include/wordexp.h: Likewise.
31152         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31154         * time/time.h: TIME_UTC must be a macro.
31155         Make timespec_get available for ISO C11 only as well.
31157 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
31159         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31160         Reported by Peng Haitao <penght@cn.fujitsu.com>.
31162 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31164         * configure.in: Use -o not -a in test for unsupported multi-arch.
31166 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31168         * manual/texinfo.tex: Update to version 2012-01-19.16.
31170 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
31172         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31174 2012-02-24  Roland McGrath  <roland@hack.frob.com>
31176         [BZ #13738]
31177         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31178         * manual/fdl-1.3.texi: New file.
31179         * manual/fdl-1.1.texi: File removed.
31181         [BZ #13738]
31182         * manual/libc.texinfo (FDL_VERSION): New @set.
31183         Use it for mention of FDL in cover text.
31184         (Documentation License): Use it in @include file name.
31186 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31187             Roland McGrath  <roland@hack.frob.com>
31189         [BZ #5461]
31190         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31191         not LONG_LONG_MAX and LONG_LONG_MIN.
31192         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31193         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
31194         name.
31195         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31197 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31199         [BZ #2547]
31200         [BZ #11365]
31201         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31202         manipulate bits before adding and subtracting TWO23[sx].
31203         * math/libm-test.inc (nearbyint_test): Add more tests.
31205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31207         [BZ #2548]
31208         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31209         bits before adding and subtracting TWO23[sx].
31210         * math/libm-test.inc (rint_test): Add more tests.
31211         (rint_test_tonearest): Likewise.
31212         (rint_test_towardzero): Likewise.
31213         (rint_test_downward): Likewise.
31214         (rint_test_upward: Likewise.
31216 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31218         [BZ #10110]
31219         * include/stdc-predef.h: New file.  Extracted from features.h.
31220         * include/features.h: Include stdc-predef.h.
31221         * Makefile (headers): Add stdc-predef.h.
31222         * CONFORMANCE (Compiler limitations): Update.
31224 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
31226         * manual/libc.texinfo (VERSION, UPDATED): Revert.
31228 2012-02-21  David S. Miller  <davem@davemloft.net>
31230         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31231         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31233 2012-02-20  David S. Miller  <davem@davemloft.net>
31235         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31236         using a normal save/restore sequence, rather than allocating a
31237         dummy stack frame just to store a frame pointer and restore.
31238         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31240 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31242         * manual/install.texi: Fix stray word in line-wrapped comment.
31244 2012-02-20  David S. Miller  <davem@davemloft.net>
31246         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31247         both binutils and gcc support GOTDATA.
31249         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31250         "rd %pc" in the PIC register setup sequences.
31252         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31253         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31254         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31255         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31256         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31257         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31258         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31259         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31261         (SYSCALL_ERROR_HANDLER): Likewise.
31262         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31263         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31264         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31265         (SYSCALL_ERROR_HANDLER): Likewise.
31267         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31268         (HAVE_GCC_GOTDATA): New.
31269         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31270         relocation support in both binutils and gcc.
31271         * sysdeps/sparc/elf/configure: Regenerate.
31273         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31274         * sysdeps/sparc/sparc32/elf/configure: Delete.
31275         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31276         * sysdeps/sparc/sparc64/elf/configure: Delete.
31277         * sysdeps/sparc/elf/configure.in: New file.
31278         * sysdeps/sparc/elf/configure: Generate.
31280         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31281         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31282         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31283         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31284         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31286 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31288         * manual/install.texi: Do not mention specific glibc version
31289         numbers.
31290         * manual/libc.texinfo (VERSION, UPDATED): Update.
31291         (@copying): Use @copyright{} and range of years.
31293 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
31295         [BZ #13695]
31296         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31297         [crti.S not in sysdirs] (generated): Do not append.
31298         [crti.S not in sysdirs] (omit-deps): Likewise.
31299         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31300         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31301         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31302         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31303         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31304         Likewise.
31305         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31306         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31307         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31308         * csu/defs.awk: Remove file.
31309         * sysdeps/generic/initfini.c: Likewise.
31310         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31311         variable.
31312         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31313         Likewise.
31315 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31317         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31318         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31319         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31320         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31321         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31322         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31323         <bits/epoll.h>.
31324         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31325         (__EPOLL_PACKED): Define to empty if not defined by
31326         <bits/epoll.h>.
31327         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31329         bits/epoll.h.
31331 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31333         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31334         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31335         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31336         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31337         <bits/timerfd.h>.
31338         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31340         bits/timerfd.h.
31342 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
31344         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31345         in C locale.
31346         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31347         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31348         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31351 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
31353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31354         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31356 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
31358         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31359         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31360         defined.
31361         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31362         Likewise.
31363         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31364         entry for 2.16.
31366 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31368         * math/w_acos.c: Use non-signaling floating-point comparisons.
31369         * math/w_acosf.c: Likewise.
31370         * math/w_acosh.c: Likewise.
31371         * math/w_acoshf.c: Likewise.
31372         * math/w_acoshl.c: Likewise.
31373         * math/w_acosl.c: Likewise.
31374         * math/w_asin.c: Likewise.
31375         * math/w_asinf.c: Likewise.
31376         * math/w_asinl.c: Likewise.
31377         * math/w_atanh.c: Likewise.
31378         * math/w_atanhf.c: Likewise.
31379         * math/w_atanhl.c: Likewise.
31380         * math/w_exp2.c: Likewise.
31381         * math/w_exp2f.c: Likewise.
31382         * math/w_exp2l.c: Likewise.
31383         * math/w_j0.c: Likewise.
31384         * math/w_j0f.c: Likewise.
31385         * math/w_j0l.c: Likewise.
31386         * math/w_j1.c: Likewise.
31387         * math/w_j1f.c: Likewise.
31388         * math/w_j1l.c: Likewise.
31389         * math/w_jn.c: Likewise.
31390         * math/w_jnf.c: Likewise.
31391         * math/w_log.c: Likewise.
31392         * math/w_log10.c: Likewise.
31393         * math/w_log10f.c: Likewise.
31394         * math/w_log10l.c: Likewise.
31395         * math/w_log2.c: Likewise.
31396         * math/w_log2f.c: Likewise.
31397         * math/w_log2l.c: Likewise.
31398         * math/w_logf.c: Likewise.
31399         * math/w_logl.c: Likewise.
31400         * math/w_sqrt.c: Likewise.
31401         * math/w_sqrtf.c: Likewise.
31402         * math/w_sqrtl.c: Likewise.
31403         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31404         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31405         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31406         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31407         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31409 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31411         [BZ #9739]
31412         * manual/string.texi (strnlen): Use correct parameter name in
31413         equivalent expression.
31415 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31417         [BZ #11174]
31418         * manual/users.texi (seteuid): Consistently use neweuid for
31419         argument name.
31421 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31423         [BZ #13704]
31424         * manual/nss.texi (Services in the NSS configuration): Correct
31425         list of services in example configuration file.
31427 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31429         [BZ #11322]
31430         * manual/arith.texi: Remove statements about negative zero
31431         behaving identically to zero.
31433 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31435         [BZ #5993]
31436         * manual/install.texi: Do not document upgrading from libc5.
31438 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31440         [BZ #4596]
31441         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31443 2012-02-18  David S. Miller  <davem@davemloft.net>
31445         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31446         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31447         %o7 across the call.
31448         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31449         instead.
31450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31451         SETUP_PIC_REG_LEAF.
31452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31453         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31454         * sysdeps/sparc/crtn.S: Likewise.
31456 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31458         * aout/Makefile: Remove.
31460 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31462         [BZ #13058]
31463         * manual/examples/argp-ex1.c (main): Format definition in GNU
31464         style.
31465         * manual/examples/argp-ex2.c (main): Likewise.
31466         * manual/examples/argp-ex3.c (main): Likewise.
31467         * manual/examples/argp-ex4.c (main): Likewise.
31468         * manual/examples/longopt.c (main): Use new-style prototype
31469         definition.
31470         * manual/examples/strncat.c (main): Specify return type and use
31471         (void) for arguments.
31472         * manual/examples/subopt.c (main): Use char **argv argument.
31474 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31476         [BZ #5077]
31477         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31478         rounding modes.
31480 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31482         [BZ #6907]
31483         * manual/string.texi (strchr): Change when strchrnul is
31484         recommended.
31486 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31488         [BZ #174]
31489         * manual/locale.texi (setlocale): Document LOCPATH.
31491 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31493         [BZ #10210]
31494         * manual/process.texi (execle): Move @dots{} before last argument.
31496 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31498         [BZ #12047]
31499         * manual/charset.texi (Generic Charset Conversion): Fix typo
31500         (LC_TYPE -> LC_CTYPE).
31502 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31504         [BZ #5805]
31505         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31506         (scalbnf): Likewise.
31507         (scalbnl): Likewise.
31508         (scalbln): Likewise.
31509         (scalblnf): Likewise.
31510         (scalblnl): Likewise.
31511         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31512         (vwarnx): Likewise.
31513         (verr): Likewise.
31514         (verrx): Likewise.
31515         * manual/filesys.texi (telldir): Use braces around return type.
31516         * manual/llio.texi (mmap): Add space after comma.
31517         (mmap64): Likewise.
31518         * manual/math.texi (jn): Use @var{} on parameter names.
31519         (jnf): Likewise.
31520         (jnl): Likewise.
31521         (yn): Likewise.
31522         (ynf): Likewise.
31523         (ynl): Likewise.
31524         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31525         line.
31526         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31527         "...".
31528         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31529         (sched_get_priority_max): Likewise.
31530         * manual/signal.texi (sigvec): Add space after comma.
31531         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31532         names.
31533         (if_indextoname): Likewise.
31534         (if_freenameindex): Likewise.
31535         (sendto): Use ',' instead of '.' in prototype.
31536         * manual/startup.texi (syscall): Use @dots{} instead of literal
31537         "...".
31538         * manual/stdio.texi (__fpending): Separate initial words of
31539         paragraph from @deftypefun line.
31540         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31541         "...".
31542         (vsyslog): Use @var{} on parameter names.
31543         * manual/terminal.texi (stty): Use @var{} on parameter names.
31544         * manual/users.texi (getutmp): Use @var{} on parameter names.
31545         (getutmpx): Likewise.
31547 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31549         [BZ #6884]
31550         * manual/stdio.texi (fopen): Fix typos in description of
31551         ",ccs=STRING".
31553 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31555         [BZ #4026]
31556         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31557         get clock_id definition.
31559 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31561         [BZ #4822]
31562         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31563         (madvise): Cast every argument to void on its own.
31565 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31567         [BZ #9902]
31568         * manual/startup.texi (Exit Status): Fix typo.
31570 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31572         [BZ #10140]
31573         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31574         * manual/examples/argp-ex2.c: Likewise.
31575         * manual/examples/argp-ex3.c: Likewise.
31577 2012-02-16  Richard Henderson  <rth@redhat.com>
31579         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31580         * sysdeps/s390/s390-32/initfini.c: Remove.
31581         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31582         * sysdeps/s390/s390-64/initfini.c: Remove.
31584 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31586         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31587         compiler output for sysdeps/generic/initfini.c.
31588         * sysdeps/sh/elf/initfini.c: Remove file.
31590 2012-02-16  David S. Miller  <davem@davemloft.net>
31592         [BZ #11494]
31593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31595         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31596         * sysdeps/sparc/crti.S: New file.
31597         * sysdeps/sparc/crtn.S: New file.
31598         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31599         * sysdeps/sparc/sparc64/Makefile: Likewise.
31601 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31603         [BZ #3335]
31604         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31606 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31608         [BZ #4822]
31609         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31611         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31612         (write, read, close): Likewise.
31613         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31615 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31617         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31618         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31619         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31620         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31621         <bits/signalfd.h>.
31622         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31623         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31624         bits/signalfd.h.
31626 2012-02-14  Marek Polacek  <polacek@redhat.com>
31628         * sysdeps/x86_64/crti.S: New file.
31629         * sysdeps/x86_64/crtn.S: New file.
31630         * sysdeps/x86_64/elf/initfini.c: Remove file.
31632 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31634         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31635         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31636         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31637         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31638         <bits/inotify.h>.
31639         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31641         bits/inotify.h.
31643 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31645         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31646         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31647         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31648         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31649         <bits/eventfd.h>.
31650         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31652         bits/eventfd.h.
31654 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31656         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31657         __feraiseexcept instead of feraiseexcept.
31659         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31660         nanosleep invocations.
31661         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31662         strings, and add error checking for a nanosleep invocations.
31664 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31666         Replace FSF snail mail address with URLs, as per GNU coding standards.
31667         Most of the snail mail addresses were wrong anyway, and omitting
31668         them makes the source code easier to maintain.  Almost all of the
31669         changes are to license notices and to locale LC_IDENTIFICATION
31670         addresses, except for this one:
31671         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31672         not its snail mail address.
31674 2012-02-09  Richard Henderson  <rth@twiddle.net>
31676         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31677         of kernel-features.h.
31679         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31681 2012-02-08  Marek Polacek  <polacek@redhat.com>
31683         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31684         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31685         * sysdeps/gnu/_G_config.h: Likewise.
31686         * sysdeps/generic/_G_config.h: Likewise.
31688 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31690         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31691         tests.
31692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31694         * sysdeps/powerpc/powerpc32/crti.S: New file.
31695         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31696         * sysdeps/powerpc/powerpc64/crti.S: New file.
31697         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31699         * Makeconfig (have-initfini): Don't set.
31700         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31701         * configure.in (nopic_initfini): Don't substitute.
31702         * config.h.in (HAVE_INITFINI): Don't #undef.
31703         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31704         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31706 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31708         Support crti.S and crtn.S provided directly by architectures.
31709         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31710         [crti.S in sysdirs] (omit-deps): Likewise.
31711         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31712         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31713         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31714         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31715         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31716         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31717         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31718         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31719         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31720         compiler output for sysdeps/generic/initfini.c.
31721         * sysdeps/i386/elf/Makefile: Remove file.
31722         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31724 2012-02-07  Marek Polacek  <polacek@redhat.com>
31726         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31727         * sysdeps/gnu/_G_config.h: Likewise.
31728         * sysdeps/mach/hurd/_G_config.h: Likewise.
31730 2012-02-07  Marek Polacek  <polacek@redhat.com>
31732         * math/Makefile (tests): Add tst-CMPLX2.
31733         * math/tst-CMPLX2.c: New file.
31735 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31737         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31739         * math/libm-test.inc (jn_test): Add missing L suffix.
31741 2012-02-06  Marek Polacek  <polacek@redhat.com>
31743         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31744         * sysdeps/i386/fpu/e_powf.S: Likewise.
31745         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31746         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31747         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31748         * sysdeps/i386/fpu/e_pow.S: Likewise.
31749         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31750         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31751         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31752         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31753         * sysdeps/i386/fpu/e_log2.S: Likewise.
31754         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31755         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31756         * sysdeps/i386/fpu/e_powl.S: Likewise.
31757         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31758         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31759         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31760         * sysdeps/i386/fpu/e_logl.S: Likewise.
31761         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31762         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31763         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31764         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31765         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31766         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31767         * sysdeps/i386/fpu/e_log.S: Likewise.
31768         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31769         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31770         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31771         * sysdeps/i386/fpu/e_logf.S: Likewise.
31772         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31773         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31774         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31775         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31776         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31777         * sysdeps/i386/fpu/e_log10.S: Likewise.
31778         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31779         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31780         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31781         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31782         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31783         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31784         * sysdeps/i386/asm-syntax.h: Likewise.
31785         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31786         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31787         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31788         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31789         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31790         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31791         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31792         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31793         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31794         * sysdeps/powerpc/sysdep.h: Likewise.
31795         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31796         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31798 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31800         [BZ #411]
31801         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31803 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31805         * sysdeps/i386/sysdep.h: Include <features.h>.
31806         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31807         version.
31809 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31811         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31812         Define.
31813         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31814         LOAD_PIC_REG_STR.
31816 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31818         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31819         (SETUP_PIC_REG): Use GET_PC_THUNK.
31820         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31821         macro.
31823 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31825         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31826         for non-PIC compilation.
31827         (SETUP_PIC_REG): Add .p2align directive.
31828         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31829         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31830         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31831         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31832         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31833         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31834         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31835         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31836         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31837         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31838         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31839         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31840         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31841         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31842         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31843         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31844         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31845         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31846         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31847         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31848         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31849         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31850         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31851         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31852         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31853         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31854         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31855         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31856         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31857         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31858         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31859         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31860         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31861         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31862         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31863         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31864         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31865         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31866         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31867         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31868         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31870 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31872         * math/tst-CMPLX.c: Include <stdio.h>.
31874 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31876         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31877         float.
31878         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31879         * sysdeps/sparc/bits/mathdef.h: Likewise.
31881 2012-01-31  Marek Polacek  <polacek@redhat.com>
31883         * libio/libio.h: Don't define _PARAMS.
31884         * locale/programs/config.h: Don't define PARAMS.
31885         * stdlib/strtol_l.c: Likewise.
31886         (__strtol_l): Remove PARAMS from the prototype.
31888 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31890         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31891         names.  Just use the correct names.  Remove unnecessary wrapper
31892         functions.
31893         * malloc/arena.c: Likewise.
31894         * malloc/hooks.c: Likewise.
31896         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31897         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31898         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31900 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31902         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31903         into tail calls.
31904         (update_get_addr): New function.
31905         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31906         GET_ADDR_MODULE parameter.
31908 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31910         * crypt/cert.c: Remove __STDC__ conditionals.
31911         * crypt/crypt-entry.c: Likewise.
31912         * crypt/crypt_util.c: Likewise.
31913         * libio/filedoalloc.c: Likewise.
31914         * libio/fileops.c: Likewise.
31915         * libio/genops.c: Likewise.
31916         * libio/iofclose.c: Likewise.
31917         * libio/iofdopen.c: Likewise.
31918         * libio/iofopen.c: Likewise.
31919         * libio/iofopen64.c: Likewise.
31920         * libio/iogetdelim.c: Likewise.
31921         * libio/iopopen.c: Likewise.
31922         * libio/obprintf.c: Likewise.
31923         * libio/oldfileops.c: Likewise.
31924         * libio/oldiofclose.c: Likewise.
31925         * libio/oldiofdopen.c: Likewise.
31926         * libio/oldiofopen.c: Likewise.
31927         * libio/oldiopopen.c: Likewise.
31928         * libio/wfiledoalloc.c: Likewise.
31929         * libio/wgenops.c: Likewise.
31930         * locale/programs/xmalloc.c: Likewise.
31931         * misc/syslog.c: Likewise.
31932         * stdio-common/xbug.c: Likewise.
31933         * string/memchr.c: Likewise.
31934         * string/memcmp.c: Likewise.
31935         * string/memrchr.c: Likewise.
31936         * string/rawmemchr.c: Likewise.
31937         * sysdeps/posix/getcwd.c: Likewise.
31938         * time/strftime_l.c: Likewise.
31940 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31942         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31943         * config.make.in (config-cflags-sse2avx): Define.
31944         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31945         Fix typo.
31947 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31949         * scripts/config.guess: Update from upstream config git repository.
31950         * scripts/config.sub: Likewise.
31952 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31954         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31955         (EM_NUM): Update.
31956         (R_TILEPRO_*, R_TILEGX_*): New macros.
31958         * scripts/firstversions.awk: Fix bug in version range handling.
31960         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31962         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31964         * include/sys/epoll.h: New file.
31965         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31966         libc_hidden_def.
31968 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31970         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31971         Avoid unnecessary __WORDSIZE == 64 test.
31972         (fmaxf): Use VEX format if possible.
31973         (fmax): Likewise.
31974         (fminf): Likewise.
31975         (fmin): Likewise.
31977         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31978         * math/math_private.h: Remove libc_fegetround* and
31979         libc_fesetround*.
31980         * sysdeps/i386/configure.in: Check for -msse2avx.
31981         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31982         also if SSE2AVX is defined.
31983         Remove libc_fegetround* and libc_fesetround*.
31984         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31985         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31986         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31987         of HAS_YMM_USABLE.
31988         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31989         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31990         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31991         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31992         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31994         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31996 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31998         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31999         size is not set.
32000         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32002 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
32004         [BZ #13618]
32005         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32006         relocation.
32007         * Makeconfig (libm): Define.
32008         * elf/Makefile: Add rules to build and run tst-relsort1.
32009         * elf/tst-relsort1.c: New file.
32010         * elf/tst-relsort1mod1.c: New file.
32011         * elf/tst-relsort1mod2.c: New file.
32013 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
32015         * math/s_ldexp.c: Remove __STDC__ conditionals.
32016         * math/s_ldexpf.c: Likewise.
32017         * math/s_ldexpl.c: Likewise.
32018         * math/s_nextafter.c: Likewise.
32019         * math/s_nexttowardf.c: Likewise.
32020         * math/s_significand.c: Likewise.
32021         * math/s_significandf.c: Likewise.
32022         * math/s_significandl.c: Likewise.
32023         * math/w_jnl.c: Likewise.
32024         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32025         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32026         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32027         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32028         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32029         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32030         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32031         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32032         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32033         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32034         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32035         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32036         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32037         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32038         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32039         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32040         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32041         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32042         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32043         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32044         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32045         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32046         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32047         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32048         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32049         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32050         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32051         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32052         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32053         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32054         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32055         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32056         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32057         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32058         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32059         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32060         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32061         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32062         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32063         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32064         * sysdeps/ieee754/k_standard.c: Likewise.
32065         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32066         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32067         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32068         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32069         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32070         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32071         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32072         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32073         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32074         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32075         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32076         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32077         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32078         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32079         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32080         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32081         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32082         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32083         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32084         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32085         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32086         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32087         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32088         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32089         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32090         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32092         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32093         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32094         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32095         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32096         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32097         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32098         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32099         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32100         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32101         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32102         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32103         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32104         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32105         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32106         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32107         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32108         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32109         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32110         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32111         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32112         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32113         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32114         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32115         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32116         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32117         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32118         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32119         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32120         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32121         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32122         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32123         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32124         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32125         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32126         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32127         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32128         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32129         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32130         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32131         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32132         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32133         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32134         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32135         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32136         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32137         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32138         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32139         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32140         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32141         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32142         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32143         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32144         * sysdeps/ieee754/s_matherr.c: Likewise.
32145         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32146         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32147         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32148         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32150 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32152         * crypt/md5.h: Remove __STDC__ conditionals.
32153         * libio/libioP.h: Likewise.
32154         * locale/programs/config.h: Likewise.
32155         * sysdeps/generic/sysdep.h: Likewise.
32156         * sysdeps/i386/asm-syntax.h: Likewise.
32157         * sysdeps/s390/asm-syntax.h: Likewise.
32158         * sysdeps/unix/sysdep.h: Likewise.
32159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32162 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
32164         * libio/libio.h: Remove __STDC__ conditionals.
32165         * malloc/obstack.h: Likewise.
32166         * math/complex.h: Likewise.
32167         * math/math.h: Likewise.
32168         * sysdeps/generic/_G_config.h: Likewise.
32169         * sysdeps/gnu/_G_config.h: Likewise.
32170         * sysdeps/mach/hurd/_G_config.h: Likewise.
32171         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32172         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32173         * sysdeps/sparc/bits/mathdef.h: Likewise.
32175 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
32177         [BZ #13583]
32178         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32179         Clean up HAS_* macros.
32180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32181         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32182         possible.
32183         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32184         HAS_AVX.
32185         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32186         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32187         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32188         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32189         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32191 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
32193         * elf/tst-unique3.cc (gets): Remove declaration.
32194         * elf/tst-unique3lib.cc (gets): Likewise.
32195         * elf/tst-unique3lib2.cc (gets): Likewise.
32196         * elf/tst-unique4.cc (gets): Likewise.
32198 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
32200         * include/stdio.h: Add C++ protection.  Add gets declarations and
32201         definitions.
32202         * debug/tst-chk1.c: Don't declare gets here.
32203         * stdio-common/tst-gets.c: Likewise.
32205 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32207         * posix/glob: Remove directory.
32209 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
32211         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32213 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
32215         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32216         of the non-standard EPFNOSUPPORT.
32218 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32220         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32221         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32222         ANYWHERE set to 1 only on KERN_NO_SPACE error.
32224 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
32226         * wcsmbs/uchar.h: Test __STDC_VERSION__.
32228 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
32230         * nscd/aicache.c (addhstaiX): Do not cache negative results of
32231         transient errors.
32232         * nscd/grpcache.c (cache_addgr): Likewise.
32233         * nscd/hstcache.c (cache_addhst): Likewise.
32234         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32235         * nscd/pwdcache.c (cache_addpw): Likewise.
32236         * nscd/servicescache.c (cache_addserv): Likewise.
32238 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
32240         * malloc/malloc.c: Various cleanups.
32241         * malloc/hooks.c: Likewise.
32243         * stdlib/Makefile (tests): Add bug-fmtmsg1.
32244         * stdlib/bug-fmtmsg1.c: New file.
32246         * stdlib/fmtmsg.c (init): Add missing unlock.
32247         Patch by Peng Haitao <penght@cn.fujitsu.com>.
32249 2012-01-12  Marek Polacek  <polacek@redhat.com>
32251         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32252         and _GNU_SOURCE.
32254 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32256         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32257         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32258         macro to ensure uniqueness of label name.
32259         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32260         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32262 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
32264         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32266         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32267         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32268         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32269         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32271 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
32273         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32275         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32276         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32277         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32279         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32281         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32282         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32283         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32284         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32286         * math/bits/math-finite.h: Add ldexp support.
32288 2012-01-10  Marek Polacek  <polacek@redhat.com>
32290         * locale/programs/localedef.h (show_archive_content): Add noreturn
32291         attribute.
32293 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
32295         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32297 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32299         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32301         * io/Makefile (headers): Add bits/poll2.h.
32303 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32306         typo #include statement.
32308 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32310         * include/sys/cdefs.h: Define __attribute_alloc_size.
32311         * catgets/gencat.c: Add alloc_size attribute and apply consistently
32312         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32313         * elf/pldd.c: Likewise.
32314         * iconv/iconv_charmap.c: Likewise.
32315         * iconv/iconvconfig.c: Likewise.
32316         * iconv/strtab.c: Likewise.
32317         * locale/programs/locale.c: Likewise.
32318         * locale/programs/localedef.h: Likewise.
32319         * locale/programs/simple-hash.c: Likewise.
32320         * nscd/nscd.h: Likewise.
32321         * nss/makedb.c: Likewise.
32322         * sysdeps/generic/ldconfig.h: Likewise.
32323         * locale/programs/localedef.c: Remove xmalloc prototype.
32324         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32326 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32328         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32329         appropriate.
32331 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
32333         * math/Makefile (tests): Add tst-CMPLX.
32334         * math/tst-CMPLX.c: New file.
32336         * math/complex.h (CMPLXL): Fix typo.
32338         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32339         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32340         GLIBC_2.16.
32341         * debug/tst-chk1.c: Add poll and ppoll tests.
32342         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32343         * include/sys/poll.h: Add hidden proto for ppoll.
32344         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32345         * sysdeps/mach/hurd/ppoll.c: Likewise.
32346         * io/ppoll.c: Likewise.
32347         * debug/poll_chk.c: New file.
32348         * debug/ppoll_chk.c: New file.
32349         * include/bits/poll2.h: New file.
32350         * io/bits/poll2.h: New file.
32352         [BZ #1350]
32353         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32355         * configure.in: static is always set to yes.  Remove.
32356         * config.make.in: Don't set build-static.
32357         * Makeconfig: Remove use of build-static.
32358         * dlfcn/Makefile: Likewise.
32359         * elf/Makefile: Likewise.
32360         * math/Makefile: Likewise.
32361         * misc/Makefile: Likewise.
32362         * nptl/Makefile: Likewise.
32363         * sysdeps/mach/hurd/Makefile: Likewise.
32365         * configure.in: PWD_P is not used anymore.
32366         * config.make.in: Remove PWD_P entry.
32368         * configure.in: Remove last remnants of RANLIB.
32369         No need to check for signed size_t anymore.
32370         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32371         and IA-64.
32372         Remove __builtin_expect test because we require at least gcc 3.4.
32373         * aclocal.m4: Likewise.
32375         * wcsmbs/mbrtoc16.c: Implement using towc function.
32376         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32377         * wcsmbs/wcsmbsload.c: Likewise.
32378         * iconv/gconv_simple.c: Likewise.
32379         * iconv/gconv_int.h: Likewise.
32380         * iconv/gconv_builtin.h: Likewise.
32381         * iconv/iconv_prog.c: Remove CHAR16 handling.
32383         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32385         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32387         * configure.in: Remove --with-elf and --enable-bounded options.
32388         Dont set base_machine for ia64.  More non-ELF conditions removed.
32389         Remove testing and setting of leading underscore information.
32390         * config.make.in (build-bounded): Set to no.
32391         * config.h.in: Remove NO_UNDERSCORES entry.
32392         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32393         them.
32394         * csu/start.c: Remove !NO_UNDERSCORE code.
32395         * locale/localeinfo.h: Likewise.
32396         * sysdeps/generic/machine-gmon.h: Likewise.
32397         * sysdeps/generic/sysdep.h: Likewise.
32398         * sysdeps/i386/sysdep.h: Likewise.
32399         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32400         * sysdeps/mach/sysdep.h: Likewise.
32401         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32402         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32403         * sysdeps/sh/sysdep.h: Likewise.
32404         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32405         * sysdeps/unix/i386/sysdep.S: Likewise.
32406         * sysdeps/unix/sparc/start.c: Likewise.
32407         * sysdeps/unix/sparc/sysdep.S: Likewise.
32408         * sysdeps/unix/sparc/sysdep.h: Likewise.
32409         * sysdeps/unix/start.c: Likewise.
32410         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32411         * sysdeps/x86_64/sysdep.h: Likewise.
32413 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32415         [BZ #13553]
32416         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32417         for non-gcc.
32418         * argp/argp-fmtstream.h: Use const instead __const.
32419         * argp/argp.h: Likewise.
32420         * assert/assert.h: Likewise.
32421         * bits/fenv.h: Likewise.
32422         * bits/sched.h: Likewise.
32423         * bits/sigset.h: Likewise.
32424         * bits/sigthread.h: Likewise.
32425         * catgets/nl_types.h: Likewise.
32426         * conform/data/pthread.h-data: Likewise.
32427         * crypt/crypt-private.h: Likewise.
32428         * crypt/crypt.h: Likewise.
32429         * crypt/crypt_util.c: Likewise.
32430         * ctype/ctype.h: Likewise.
32431         * debug/execinfo.h: Likewise.
32432         * debug/mbsnrtowcs_chk.c: Likewise.
32433         * debug/mbsrtowcs_chk.c: Likewise.
32434         * debug/wcsnrtombs_chk.c: Likewise.
32435         * debug/wcsrtombs_chk.c: Likewise.
32436         * debug/wcstombs_chk.c: Likewise.
32437         * dirent/dirent.h: Likewise.
32438         * dlfcn/dlfcn.h: Likewise.
32439         * elf/neededtest4.c: Likewise.
32440         * grp/grp.h: Likewise.
32441         * gshadow/gshadow.h: Likewise.
32442         * iconv/gconv.h: Likewise.
32443         * iconv/gconv_int.h: Likewise.
32444         * iconv/gconv_simple.c: Likewise.
32445         * iconv/iconv.h: Likewise.
32446         * iconv/loop.c: Likewise.
32447         * iconv/skeleton.c: Likewise.
32448         * include/aio.h: Likewise.
32449         * include/aliases.h: Likewise.
32450         * include/argz.h: Likewise.
32451         * include/arpa/inet.h: Likewise.
32452         * include/assert.h: Likewise.
32453         * include/dirent.h: Likewise.
32454         * include/dlfcn.h: Likewise.
32455         * include/execinfo.h: Likewise.
32456         * include/fcntl.h: Likewise.
32457         * include/fenv.h: Likewise.
32458         * include/glob.h: Likewise.
32459         * include/grp.h: Likewise.
32460         * include/libintl.h: Likewise.
32461         * include/mntent.h: Likewise.
32462         * include/netdb.h: Likewise.
32463         * include/pwd.h: Likewise.
32464         * include/rpc/netdb.h: Likewise.
32465         * include/sched.h: Likewise.
32466         * include/search.h: Likewise.
32467         * include/shadow.h: Likewise.
32468         * include/signal.h: Likewise.
32469         * include/stdio.h: Likewise.
32470         * include/stdlib.h: Likewise.
32471         * include/string.h: Likewise.
32472         * include/sys/socket.h: Likewise.
32473         * include/sys/stat.h: Likewise.
32474         * include/sys/statfs.h: Likewise.
32475         * include/sys/statvfs.h: Likewise.
32476         * include/sys/syslog.h: Likewise.
32477         * include/sys/time.h: Likewise.
32478         * include/sys/uio.h: Likewise.
32479         * include/time.h: Likewise.
32480         * include/unistd.h: Likewise.
32481         * include/utmp.h: Likewise.
32482         * include/wchar.h: Likewise.
32483         * include/wctype.h: Likewise.
32484         * inet/aliases.h: Likewise.
32485         * inet/arpa/inet.h: Likewise.
32486         * inet/netinet/ether.h: Likewise.
32487         * inet/netinet/in.h: Likewise.
32488         * intl/libintl.h: Likewise.
32489         * io/bits/fcntl2.h: Likewise.
32490         * io/fcntl.h: Likewise.
32491         * io/ftw.h: Likewise.
32492         * io/sys/poll.h: Likewise.
32493         * io/sys/stat.h: Likewise.
32494         * io/sys/statfs.h: Likewise.
32495         * io/sys/statvfs.h: Likewise.
32496         * io/utime.h: Likewise.
32497         * libio/bits/stdio.h: Likewise.
32498         * libio/bits/stdio2.h: Likewise.
32499         * libio/libio.h: Likewise.
32500         * libio/libioP.h: Likewise.
32501         * libio/stdio.h: Likewise.
32502         * locale/lc-ctype.c: Likewise.
32503         * locale/locale.h: Likewise.
32504         * login/utmp.h: Likewise.
32505         * malloc/arena.c: Likewise.
32506         * malloc/malloc.c: Likewise.
32507         * malloc/malloc.h: Likewise.
32508         * malloc/mcheck.c: Likewise.
32509         * malloc/mtrace.c: Likewise.
32510         * math/bits/mathcalls.h: Likewise.
32511         * math/fenv.h: Likewise.
32512         * math/math_private.h: Likewise.
32513         * misc/bits/error.h: Likewise.
32514         * misc/bits/syslog.h: Likewise.
32515         * misc/err.h: Likewise.
32516         * misc/error.h: Likewise.
32517         * misc/fstab.h: Likewise.
32518         * misc/mntent.h: Likewise.
32519         * misc/regexp.h: Likewise.
32520         * misc/search.h: Likewise.
32521         * misc/sgtty.h: Likewise.
32522         * misc/sys/mman.h: Likewise.
32523         * misc/sys/syslog.h: Likewise.
32524         * misc/sys/uio.h: Likewise.
32525         * misc/sys/xattr.h: Likewise.
32526         * misc/ttyent.h: Likewise.
32527         * nis/rpcsvc/ypclnt.h: Likewise.
32528         * nss/nss.h: Likewise.
32529         * posix/bits/unistd.h: Likewise.
32530         * posix/fnmatch.h: Likewise.
32531         * posix/glob.h: Likewise.
32532         * posix/sched.h: Likewise.
32533         * posix/spawn.h: Likewise.
32534         * posix/sys/wait.h: Likewise.
32535         * posix/unistd.h: Likewise.
32536         * posix/wordexp.h: Likewise.
32537         * pwd/pwd.h: Likewise.
32538         * resolv/netdb.h: Likewise.
32539         * resource/sys/resource.h: Likewise.
32540         * rt/aio.h: Likewise.
32541         * rt/bits/mqueue2.h: Likewise.
32542         * rt/mqueue.h: Likewise.
32543         * shadow/shadow.h: Likewise.
32544         * signal/signal.h: Likewise.
32545         * socket/send.c: Likewise.
32546         * socket/sendto.c: Likewise.
32547         * socket/sys/socket.h: Likewise.
32548         * stdio-common/printf.h: Likewise.
32549         * stdlib/bits/stdlib.h: Likewise.
32550         * stdlib/fmtmsg.h: Likewise.
32551         * stdlib/monetary.h: Likewise.
32552         * stdlib/stdlib.h: Likewise.
32553         * stdlib/ucontext.h: Likewise.
32554         * streams/stropts.h: Likewise.
32555         * string/argz.h: Likewise.
32556         * string/bits/string2.h: Likewise.
32557         * string/string.h: Likewise.
32558         * string/strings.h: Likewise.
32559         * sunrpc/rpc/auth.h: Likewise.
32560         * sunrpc/rpc/auth_des.h: Likewise.
32561         * sunrpc/rpc/clnt.h: Likewise.
32562         * sunrpc/rpc/netdb.h: Likewise.
32563         * sunrpc/rpc/pmap_clnt.h: Likewise.
32564         * sunrpc/rpc/xdr.h: Likewise.
32565         * sysdeps/generic/inttypes.h: Likewise.
32566         * sysdeps/generic/net/if.h: Likewise.
32567         * sysdeps/generic/sys/swap.h: Likewise.
32568         * sysdeps/gnu/net/if.h: Likewise.
32569         * sysdeps/gnu/utmpx.h: Likewise.
32570         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32571         * sysdeps/i386/i486/bits/string.h: Likewise.
32572         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32573         * sysdeps/s390/bits/string.h: Likewise.
32574         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32575         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32576         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32577         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32578         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32579         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32580         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32581         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32582         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32583         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32584         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32585         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32586         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32587         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32588         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32589         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32590         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32591         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32592         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32594         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32595         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32596         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32597         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32598         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32599         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32600         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32601         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32602         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32603         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32604         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32605         * sysvipc/sys/ipc.h: Likewise.
32606         * sysvipc/sys/msg.h: Likewise.
32607         * sysvipc/sys/sem.h: Likewise.
32608         * sysvipc/sys/shm.h: Likewise.
32609         * termios/termios.h: Likewise.
32610         * time/sys/time.h: Likewise.
32611         * time/time.h: Likewise.
32612         * wcsmbs/bits/wchar2.h: Likewise.
32613         * wcsmbs/uchar.h: Likewise.
32614         * wcsmbs/wchar.h: Likewise.
32615         * wctype/wctype.h: Likewise.
32617         [BZ #13551]
32618         * Makeconfig: Remove all but ELF support including AIX support.
32619         * Makerules: Likewise.
32620         * config.h.in: Likewise.
32621         * config.make.in: Likewise.
32622         * configure: Likewise.
32623         * configure.in: Likewise.
32624         * csu/Makefile: Likewise.
32625         * csu/version.c: Likewise.
32626         * debug/Makefile: Likewise.
32627         * dlfcn/Makefile: Likewise.
32628         * elf/Makefile: Likewise.
32629         * extra-lib.mk: Likewise.
32630         * iconv/Makefile: Likewise.
32631         * include/libc-symbols.h: Likewise.
32632         * include/shlib-compat.h: Likewise.
32633         * resolv/Makefile: Likewise.
32634         * resolv/res_libc.c: Likewise.
32635         * rt/Makefile: Likewise.
32636         * sysdeps/i386/asm-syntax.h: Likewise.
32637         * sysdeps/i386/sysdep.h: Likewise.
32638         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32639         * sysdeps/mach/sysdep.h: Likewise.
32640         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32641         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32642         * sysdeps/s390/asm-syntax.h: Likewise.
32643         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32644         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32645         * sysdeps/sh/sysdep.h: Likewise.
32646         * sysdeps/unix/sparc/sysdep.h: Likewise.
32647         * sysdeps/wordsize-32/divdi3.c: Likewise.
32648         * sysdeps/x86_64/sysdep.h: Likewise.
32650         * argp/Versions: Remove _argp_unlock_xxx.
32652         [BZ #13559]
32653         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32654         * abilist/libBrokenLocale.abilist: Likewise.
32655         * abilist/libanl.abilist: Likewise.
32656         * abilist/libc.abilist: Likewise.
32657         * abilist/libcrypt.abilist: Likewise.
32658         * abilist/libdl.abilist: Likewise.
32659         * abilist/libm.abilist: Likewise.
32660         * abilist/libnsl.abilist: Likewise.
32661         * abilist/libpthread.abilist: Likewise.
32662         * abilist/libresolv.abilist: Likewise.
32663         * abilist/librt.abilist: Likewise.
32664         * abilist/libthread_db.abilist: Likewise.
32665         * abilist/libutil.abilist: Likewise.
32666         * abilist/libnss_db.abilist: New file.
32668         * scripts/abilist.awk: Add support for indirect functions.
32670         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32672         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32674         * shlib-versions: Remove entries for ports architectures.
32676         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32677         files in ports.
32678         * elf/stackguard-macros.h: Remove support for IA-64.
32679         * elf/tst-auditmod1.c: Likewise.
32680         * sysdeps/generic/ldsodefs.h: Likewise.
32682         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32683         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32684         configure files.
32686         [BZ #13552]
32687         * configure.in: Remove --enable-omitfp support.
32688         * FAQ.in: Adjust.
32689         * config.make.in: Likewise.
32690         * Makeconfig: Likewise.
32691         * manual/install.texi: Likewise.
32693         In case anyone cares, the IA-64 architecture could move to ports.
32694         * sysdeps/ia64/*: Removed.
32695         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32696         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32698         [BZ #13555]
32699         * configure.in: Remove entries for unsupported architectures.
32701         [BZ #13533]
32702         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32703         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32704         routines.
32705         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32706         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32707         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32708         fall back to using wcrtomb.
32709         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32710         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32711         renaming.
32712         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32713         * wcsmbs/tst-c16c32-1.c: New file.
32715         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32716         local variable.
32718         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32720         * elf/tst-unique3.cc: Add explicit declaration of gets.
32721         * elf/tst-unique3lib.cc: Likewise.
32722         * elf/tst-unique3lib2.cc: Likewise.
32723         * elf/tst-unique4.cc: Likewise.
32725         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32727 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32729         [BZ #13566]
32730         * assert/assert.h (static_assert): Don't define for C++.
32731         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32732         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32734 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32736         * iconv/loop.c (single loop): Fix assertion in storing of
32737         remaining bytes.
32739         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32741 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32743         * posix/getconf.c: Update copyright year.
32744         * nss/getent.c: Likewise.
32745         * nss/makedb.c: Likewise.
32746         * iconv/iconvconfig.c: Likewise.
32747         * iconv/iconv_prog.c: Likewise.
32748         * elf/ldconfig.c: Likewise.
32749         * elf/pldd.c: Likewise.
32750         * elf/sotruss.ksh: Likewise.
32751         * catgets/gencat.c: Likewise.
32752         * csu/version.c: Likewise.
32753         * elf/ldd.bash.in: Likewise.
32754         * elf/sprof.c (print_version): Likewise.
32755         * locale/programs/locale.c: Likewise.
32756         * locale/programs/localedef.c: Likewise.
32757         * login/programs/pt_chown.c: Likewise.
32758         * nscd/nscd.c (print_version): Likewise.
32759         * debug/xtrace.sh: Likewise.
32760         * malloc/memusage.sh: Likewise.
32761         * malloc/mtrace.pl: Likewise.
32762         * debug/catchsegv.sh: Likewise.
32764 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32766         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32767         pure attribute.
32769 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32771         [BZ #13533]
32772         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32773         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32774         transformations.
32775         * iconv/gconv_int.h: Likewise.
32776         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32777         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32778         from libc for GLIBC_2.16.
32779         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32780         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32781         * wcsmbs/uchar.h: Really define mbstate_t.
32782         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32783         * wcsmbs/c16rtomb.c: New file.
32784         * wcsmbs/mbrtoc16.c: New file.
32785         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32786         for C/POSIX locale.
32787         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32788         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32790         * wcsmbs/wchar.h: Add missing __restrict.
32792 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32794         [BZ #13532]
32795         * time/Makefile (routines): Add timespec_get.
32796         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32797         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32798         timespec for ISO C11.
32799         * time/timespec_get.c: New file.
32800         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32801         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32803         [BZ #13531]
32804         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32805         * stdlib/stdlib.h: Declare aligned_alloc.
32806         * Versions.def: Add GLIBC_2.16 for libc.
32807         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32809         [BZ 13527]
32810         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32811         ISO C11.
32813         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32814         code.
32816         [BZ #13528]
32817         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32819         [BZ #13529]
32820         * assert/assert.h (static_assert): Define.
32822         * version.h: Update for 2.16 development version.
32824         [BZ #13526]
32825         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32826         _ISOC11_SOURCE.
32828         * version.h (RELEASE): Bump for 2.15 release.
32829         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32831         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32832         Patch by Marek Polacek <mpolacek@redhat.com>.
32834         * bits/byteswap.h: Protect long long constants with __extension__.
32835         * sysdeps/i386/bits/byteswap.h: Likewise.
32836         * sysdeps/ia64/bits/byteswap.h: Likewise.
32837         * sysdeps/s390/bits/byteswap.h: Likewise.
32838         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32840 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32842         [BZ #13540]
32843         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32844         destination buffer.
32845         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32847 2011-12-23  Marek Polacek  <polacek@redhat.com>
32849         * elf/dl-addr.c (determine_info): Add inline keyword.
32850         * elf/tst-auditmod4b.c (check_avx): Likewise.
32851         * elf/tst-auditmod6b.c (check_avx): Likewise.
32852         * elf/tst-auditmod6c.c (check_avx): Likewise.
32853         * elf/tst-auditmod7b.c (check_avx): Likewise.
32855 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32857         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32858         !__SSE_MATH__.
32860 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32862         [BZ #13540]
32863         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32864         processing for last bytes.
32866 2011-08-06  Bruno Haible  <bruno@clisp.org>
32868         [BZ #13061]
32869         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32870         U+0385, not to U+1FEE.
32872         [BZ #13062]
32873         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32874         entry for U+00A5 U+0301.
32876 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32878         [BZ #13166]
32879         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32880         buffer for the output is too small.
32882         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32883         optimization.
32885         [BZ #13185]
32886         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32887         SSE flags if possible.
32889 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32891         [BZ #13540]
32892         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32893         processing for last bytes.
32895 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32897         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32898         (syscall-list-default-options, syscall-list-default-condition)
32899         (syscall-list-includes): Define.
32900         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32901         list of ABIs and options and #if conditions for each ABI.  Do not
32902         handle common syscalls between ABIs specially.
32903         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32904         Remove.
32905         (syscall-list-variants, syscall-list-32bit-options)
32906         (syscall-list-32bit-condition, syscall-list-64bit-options)
32907         (syscall-list-64bit-condition): Define.
32908         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32909         (syscall-list-variants, syscall-list-32bit-options)
32910         (syscall-list-32bit-condition, syscall-list-64bit-options)
32911         (syscall-list-64bit-condition): Define.
32912         * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
32918         Remove.
32919         (syscall-list-variants, syscall-list-32bit-options)
32920         (syscall-list-32bit-condition, syscall-list-64bit-options)
32921         (syscall-list-64bit-condition): Define.
32923 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32925         * locale/iso-639.def: Add brx entry.
32927         [BZ #13328]
32928         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32929         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32931         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32932         __feraiseexcept_renamed.
32934 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32936         [BZ #13538]
32937         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32938         EPOLLET with unsigned values.
32939         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32940         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32942         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32943         to large cancellation.
32944         * math/s_cacoshf.c: Likewise.
32945         * math/s_cacoshl.c: Likewise.
32947 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32949         [BZ #13305]
32950         [BZ #12786]
32951         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32952         * math/s_cacoshf.c: Likewise.
32953         * math/s_cacoshl.c: Likewise.
32955 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32957         [BZ #13439]
32958         * iconv/gconv.h: Define __GCONV_SWAP.
32959         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32960         * iconvdata/utf-16.c: Likewise.
32961         * iconvdata/utf-32.c: Likewise.
32963 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32965         [BZ #13524]
32966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32967         numerator after shifting it by one limb.
32969 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32971         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32972         under [__USE_EXTERN_INLINES].
32974 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32976         [BZ #13446]
32977         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32979 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32981         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32982         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32983         optimized code.
32984         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32985         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32986         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32987         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32988         for strncasecmp/strncasecmp_l compilation.
32989         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32990         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32992 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32994         [BZ #13484]
32995         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32996         of __asm__.
32998 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
33000         [BZ #13506]
33001         * time/tzfile.c (__tzfile_read): Check values from file header.
33003 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33005         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33006         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33007         * powerpc/powerpc32/dl-start.S: Likewise.
33008         * powerpc/powerpc32/elf/start.S: Likewise.
33009         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33010         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33011         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33012         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33013         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33014         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33015         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33016         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33017         * powerpc/powerpc32/fpu/s_round.S: Likewise.
33018         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33019         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33020         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33021         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33022         * powerpc/powerpc32/memset.S: Likewise.
33023         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33024         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33025         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33026         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33027         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33028         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33029         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33030         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33031         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33032         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33033         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33034         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33035         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33037 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33039         * math/libm-test.inc: Added more nearbyint tests.
33040         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33041         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33042         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33043         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33045 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
33047         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33048         FD_CLOEXEC.
33050 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33052         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33053         Add wcscpy-ssse3 wcscpy-c.
33054         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33055         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33056         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33057         * sysdeps/x86_64/wcschr.S: New file.
33058         * sysdeps/x86_64/wcsrchr.S: New file.
33059         * string/test-strcmp.c: Remove checking of wcscmp function for
33060         wrong alignments.
33061         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33062         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33063         wcsrchr-sse2 wcsrchr-c.
33064         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33065         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33066         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33067         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33068         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33069         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33070         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33071         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33072         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33073         * wcsmbc/wcschr.c (WCSCHR): New macro.
33075 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33077         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33078         * wcsmbs/test-wcsrchr.c: New file.
33079         * string/test-strrchr.c: Add wcsrchr support.
33080         (WIDE): New macro.
33081         * wcsmbs/test-wcscpy.c: New file.
33082         * string/test-strcpy.c: Add wcscpy support.
33083         (WIDE): New macro.
33085 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
33087         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33088         the inner loop.
33090 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
33092         [BZ #13472]
33093         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33095 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
33097         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33098         Minor optimizations.
33100         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33101         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33102         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33104 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
33106         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33107         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33108         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33109         for gcc to avoid warnings.
33110         * inet/Makefile (tests): Add tst-checks.
33111         * inet/tst-checks.c: New file.
33113         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33114         warning.
33116         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33117         __wmemcmp_sse2.
33119         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33120         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33122         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33124 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
33126         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33127         problem.
33129         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33131 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
33133         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33134         conditional on GCC version.
33135         (__arch_compare_and_exchange_val_8_acq)
33136         (__arch_compare_and_exchange_val_16_acq)
33137         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33138         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33139         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33141 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
33143         * sysdeps/sh/backtrace.c: New file.
33145 2011-12-02  Andreas Schwab  <schwab@redhat.com>
33147         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
33148         parenthesis.
33150 2011-12-01  Andreas Schwab  <schwab@redhat.com>
33152         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33153         falling back to utime.
33155 2011-11-30  Andreas Schwab  <schwab@redhat.com>
33157         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33158         expectations for float.
33160 2011-11-29  Andreas Schwab  <schwab@redhat.com>
33162         * locale/weight.h (findidx): Add parameter len.
33163         * locale/weightwc.h (findidx): Likewise.
33164         * posix/fnmatch_loop.c (FCT): Adjust caller.
33165         * posix/regcomp.c (build_equiv_class): Likewise.
33166         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33167         * posix/regexec.c (check_node_accept_bytes): Likewise.
33168         * string/strcoll_l.c (STRCOLL): Likewise.
33169         * string/strxfrm_l.c (STRXFRM): Likewise.
33171 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
33173         * Makefile.in: Remove CVSOPT handling.
33174         * configure.in: Remove use of AC_REVISION.
33175         * iconvdata/Makefile (distribute): No need to filter out CVS.
33176         * scripts/list-sources.sh: Remove CVS, subversion and monotone
33177         handling.
33179 2011-11-16  Andreas Schwab  <schwab@redhat.com>
33181         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33182         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33183         [USE_AS_STRNCASECMP_L]: Likewise.
33184         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33185         NO_TLS_DIRECT_SEG_REFS.
33186         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33187         Fix argument offsets for non-PIC.
33188         [USE_AS_STRNCASECMP_L]: Likewise.
33189         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33190         NO_TLS_DIRECT_SEG_REFS.
33192 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33194         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33195         O_CLOEXEC.
33196         * locale/loadlocale.c (_nl_load_locale): Likewise.
33198 2011-11-15  Andreas Schwab  <schwab@redhat.com>
33200         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33201         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33202         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33203         (SYSCALL_GETTIME): Set errno on error.
33205         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33206         count references to noai6ai_cached.
33208 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
33210         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33212         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33213         FD_CLOEXEC for /proc/self/maps.
33215         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33216         FD_CLOEXEC for /proc/meminfo.
33218         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33219         gai.conf.
33221         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
33222         FD_CLOEXEC for given file.
33224         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33226         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33227         FD_CLOEXEC for /etc/hosts.
33228         (_gethtent): Likewise.
33230         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33232         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33233         cancellation and set FD_CLOEXEC for /etc/netgroup.
33235         * nss/nss_files/files-key.c (search): Don't allow cancellation when
33236         reading /etc/publickey.
33238         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33239         allow cancellation when reading /etc/group.
33241         * nss/nss_files/files-alias.c (internal_setent): Don't allow
33242         cancellation.
33243         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
33245         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33246         when using data file.
33248         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33250         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33251         (write_nis_obj): Use "c" and "e" in fopen.
33253         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33255         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33257         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33259         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33261         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33262         locale.alias.
33264         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33266         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33268         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33270         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33271         file parsing and set FD_CLOEXEC.
33273 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33275         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33277 2011-11-14  Andreas Schwab  <schwab@redhat.com>
33279         * malloc/arena.c (arena_get2): Don't call reused_arena when
33280         _int_new_arena failed.
33282 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
33284         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33285         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33286         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33287         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33288         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33289         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33290         to compile strcasecmp and strncasecmp.
33291         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33292         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33294         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33296 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
33298         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33299         locale-defines.sym to gen-as-const-headers.
33300         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33301         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33302         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33303         to compile strcasecmp and strncasecmp.
33304         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33305         strcasecmp_l and strncasecmp_l.
33306         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33307         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33308         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33309         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33310         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33311         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33312         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33313         * sysdeps/i386/i686/multiarch/strncase.S: New file.
33314         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33315         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33316         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33318 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
33320         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33321         result of SYSDEP_GETTIME_CPU to retval.
33322         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33323         parameter list to macro.  Remove trailing semicolon.  Adjust users.
33325         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33326         variable.
33328         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33329         mantissa words.
33330         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33332         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33333         from unused variable.
33335         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33336         DWARF definitions.
33337         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33338         for assembling.
33340         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33341         over namespaces.
33343         * sunrpc/rpc_prot.c (rejected): Fix case value.
33345         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33346         unsigned long long int to avoid warnings in shift.
33348         * posix/regex_internal.c (re_string_reconstruct): Actually use result
33349         of use of trans.
33350         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33351         variable tmp.
33353         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33354         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33355         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33357         * nis/nis_table.c (nis_list): Use variable of correct type for
33358         result of __follow_path call.
33360 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33362         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33363         of math functions ceil, trunc, floor, round, and sqrt, when
33364         avaliable on the platform.
33365         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33366         name clash.
33367         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33368         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33369         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33371 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33373         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33374         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33376 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33378         * include/unistd.h: Fix __readlink return type.
33379         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33381 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33383         * stdlib/ucontext.h: Undo last change for makecontext.
33385 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33387         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33389         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33390         * setjmp/setjmp.h: Mark functions as non-leaf.
33391         * setjmp/bits/setjmp2.h: Likewise.
33392         * stdlib/ucontext.h: Likewise.
33394 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33396         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33397         (reused_arena): Don't check arena limit.
33398         (arena_get2): Atomically check arena limit.
33400 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33402         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33403         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33405         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33406         instructions.
33408 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33410         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33411         handler when locking.
33413         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33414         Fix size of allocated buffer.
33416 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33418         [BZ #10103]
33419         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33420         declarations for long double functions.
33421         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33423         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33425 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33427         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33428         installed.
33430         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33431         is disabled.
33433 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33435         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33437 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33439         * include/alloca.h (stackinfo_alloca_round): Define.
33440         (extend_alloca): Use it.
33441         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33442         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33443         here.
33445         * scripts/check-local-headers.sh: Ignore libaudit.h.
33447         * nscd/Makefile (extra-objs): Make recursively expanded.
33449 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33451         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33452         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33454         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33455         * posix/tst-rfc3484-2.c: Likewise.
33456         * posix/tst-rfc3484-3.c: Likewise.
33458         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33459         process_vm_writev.
33460         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33461         process_vm_writev.
33462         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33463         process_vm_writev from libc using GLIBC_2.15 version.
33465         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33467 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33469         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33470         stack usage.
33472 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33474         [BZ #13367]
33475         * nss/getent.c (initgroups_keys): Show error message in case no group
33476         names are given.
33478         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33479         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33480         __bump_nl_timestamp.
33481         * nscd/connections (nscd_init): When host database is served open
33482         netlink socket and request notification about configuration changes.
33483         (main_loop_poll): Track netlink file descriptor and bump timestamp
33484         in case data becomes available.
33485         (main_loop_epoll): Likewise.
33486         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33487         (database_pers_head): Add extra_data fileds.
33488         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33489         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33490         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33491         Adjust caller.
33492         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33493         in6ai data, call __free_in6ai.
33494         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33495         Add -DHAVE_NETLINK.
33496         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33497         interface information.  Reuse previous data if netlink timestamp
33498         is not changed.
33499         (__bump_nl_timestamp): New function.
33500         (__free_in6ai): New function.
33502 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33504         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33505         close_not_cancel_no_status here.
33506         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33508 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33510         [BZ #13276]
33511         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33512         return value.
33514         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33515         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33516         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33518 2011-07-03  Andreas Jaeger  <aj@suse.de>
33520         [BZ #10709]
33521         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33522         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33523         * math/libm-test.inc (sin_test): Add test case.
33525 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33527         [BZ #13337]
33528         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33529         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33531         * elf/chroot_canon.c (chroot_canon): Cleanups.
33533         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33535         [BZ #13335]
33536         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33537         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33539         * string/test-strchr.c: Make usable for strchrnul testing.
33540         * string/test-strchrnul.c: New file.
33541         * string/Makefile (strop-tests): Add strchrnul.
33543         * po/it.po: Update from translation team.
33544         * po/es.po: Likewise.
33546 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33548         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33549         the three constants needed as parameters.  Drop the others.
33550         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33551         __m128i_strloadu_tolower.
33552         Create and initialize variable zero and use it in all the places
33553         where _mm_setzero_si128 was used.
33555         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33556         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33557         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33558         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33559         anymore.
33560         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33561         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33562         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33563         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33564         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33565         __mpranred, __mptan.
33566         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33567         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33568         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33569         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33570         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33571         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33572         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33573         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33574         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33576 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33578         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33579         redefine if SHARED.
33580         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33582         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33583         wide char related routines to wcsmbs subdir.
33585 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33587         [BZ #13344]
33588         * misc/sys/cdefs.h (__THROWNL): Define.
33589         * posix/unistd.h: Use __THREADNL instead of __THREAD
33590         for memory synchronization functions.
33592 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33594         [BZ #13349]
33595         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33596         doesn't exist.
33597         * manual/stdio.texi (Obstack Streams): Node removed.
33599 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33601         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33602         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33603         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33605         * math/math_private.h (math_force_eval): Allow non-addressable
33606         arguments.
33607         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33609 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33611         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33612         file is not needed.
33614         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33615         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33616         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33617         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33618         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33619         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33620         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33621         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33622         Add AVX variants.
33623         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33624         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33625         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33626         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33627         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33628         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33629         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33630         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33631         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33632         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33633         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33634         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33635         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33636         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33637         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33638         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33639         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33640         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33641         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33643         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33644         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33646         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33647         place.  Use VEX encoding when compiling for AVX.
33649 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33651         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33652         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33654         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33656 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33658         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33659         useless if() expression.
33660         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33661         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33662         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33663         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33664         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33665         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33666         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33667         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33668         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33669         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33670         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33671         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33672         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33673         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33674         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33675         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33676         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33677         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33678         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33680         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33682 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33684         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33685         condition.
33686         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33688 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33690         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33691         .text section.  Avoid duplicate constants.
33692         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33693         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33694         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33695         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33696         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33697         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33698         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33699         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33700         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33701         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33702         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33703         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33704         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33705         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33706         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33707         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33708         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33709         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33710         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33711         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33712         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33713         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33714         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33715         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33716         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33717         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33718         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33719         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33720         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33721         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33722         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33723         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33724         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33725         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33726         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33727         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33728         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33729         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33730         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33731         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33732         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33733         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33734         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33735         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33736         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33738 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33740         * sysdeps/x86_64/dla.h: Move to ...
33741         * sysdeps/x86_64/fpu/dla.h: ...here.
33742         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33743         situations.  Use __builtin_fma only for gcc 4.6 and up.
33745         * config.make.in: Add have-mfma4 entry.
33746         * configure.in: Substitute libc_cv_cc_fma4.
33747         * math/Makefile (dbl-only-routines): Add sincostab.
33748         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33749         Use __sincostab not sincos.
33750         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33751         name is a macro.
33752         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33753         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33756         using __copysign.
33757         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33758         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33759         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33760         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33761         and __inv.
33762         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33763         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33764         __copysign.
33765         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33766         define aliases when function name is a macro.
33767         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33768         sysdeps/ieee754/dbl-64/sincos.tbl.
33769         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33770         fma4-enabled routines.
33771         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33772         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33773         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33774         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33775         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33776         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33777         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33778         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33779         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33780         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33781         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33782         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33783         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33784         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33785         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33786         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33787         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33788         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33789         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33790         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33791         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33792         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33793         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33794         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33795         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33796         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33797         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33798         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33799         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33800         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33802         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33803         rename.
33804         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33805         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33806         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33807         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33808         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33809         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33810         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33811         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33813 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33815         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33817 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33819         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33821         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33822         prediction.
33823         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33825         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33826         Remove unused variable magic_bits.
33827         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33829         * string/strnlen.c: Define and use STRNLEN macro.
33830         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33831         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33832         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33833         * wcsmbs/wcslen.c: Define and use WCSLEN.
33834         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33835         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33836         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33837         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33838         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33839         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33840         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33842 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33845         strnlen-sse2-no-bsf.
33846         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33847         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33848         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33849         Add strnlen support.
33850         (USE_AS_STRNLEN): New macro.
33851         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33852         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33853         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33854         * sysdeps/x86_64/wcslen.S: New file.
33856 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33858         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33859         XMM-moves are used for copying on small sizes.
33861 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33863         * wcsmbs/Makefile (strop-tests): Add wcschr.
33864         * wcsmbs/test-wcschr.c: New file.
33865         * string/test-strchr.c: Update.
33866         Add wcschr support.
33867         (WIDE): New macro.
33869 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33871         * wcsmbs/Makefile (strop-tests): Add wcslen.
33872         * wcsmbs/test-wcslen.c: New file.
33873         * string/test-strlen.c: Update.
33874         Add wcslen support.
33875         (WIDE): New macro.
33877 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33879         * po/it.po: Update from translation team.
33881 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33883         * sysdeps/x86_64/wcscmp.S: Update.
33884         Fix wrong comparison semantics.
33885         wcscmp shall use signed comparison not unsigned.
33886         Don't use substraction to avoid overflow bug.
33887         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33888         * wcsmbc/wcscmp.c: Likewise.
33889         * string/test-strcmp.c: Likewise.
33890         Add new tests to check cases with negative values.
33892 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33894         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33895         * sysdeps/x86_64/dla.h: ...here.  New file.
33896         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33897         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33898         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33900         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33901         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33904         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33906 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33908         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33909         __ynl_finite aliases.
33911 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33915         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33916         define DLA_FMA.
33917         [DLA_FMA] (EMULV): Use DLA_FMA.
33918         [DLA_FMA] (MUL12): Use EMULV.
33919         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33920         that are not needed.
33921         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33922         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33923         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33924         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33925         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33926         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33927         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33929 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33931         * math/s_nan.c: Undef __nan.
33932         * math/s_nanf.c: Undef __nanf.
33933         * math/s_nanl.c: Undef __nanl.
33934         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33935         "math_private.h".
33937 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33939         * math/s_catan.c: Add branch predictions.
33940         * math/s_catanf.c: Likewise.
33941         * math/s_catanh.c: Likewise.
33942         * math/s_catanhf.c: Likewise.
33943         * math/s_catanhl.c: Likewise.
33944         * math/s_catanl.c: Likewise.
33945         * math/s_cexp.c: Likewise.
33946         * math/s_cexpf.c: Likewise.
33947         * math/s_cexpl.c: Likewise.
33948         * math/s_clog.c: Likewise.
33949         * math/s_clog10.c: Likewise.
33950         * math/s_clog10f.c: Likewise.
33951         * math/s_clog10l.c: Likewise.
33952         * math/s_clogf.c: Likewise.
33953         * math/s_clogl.c: Likewise.
33954         * math/s_csqrt.c: Likewise.
33955         * math/s_csqrtf.c: Likewise.
33956         * math/s_csqrtl.c: Likewise.
33957         * math/s_ctanf.c: Likewise.
33958         * math/s_ctanh.c: Likewise.
33959         * math/s_ctanhf.c: Likewise.
33960         * math/s_ctanhl.c: Likewise.
33961         * math/s_ctanl.c: Likewise.
33963         * math/math_private.h: Define __nan, __nanf, __nanl.
33964         * math/s_cacosh.c: Include <math_private.h>.
33965         * math/s_cacoshl.c: Likewise.
33966         * math/s_casinh.c: Likewise.
33967         * math/s_casinhf.c: Likewise.
33968         * math/s_casinhl.c: Likewise.
33969         * math/s_ccos.c: Rely entire on ccosh.
33970         * math/s_ccosf.c: Rely entire on ccoshf.
33971         * math/s_ccosl.c: Rely entirely on ccoshl.
33972         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33973         Remove tests for FE_INVALID.
33974         * math/s_ccoshf.c: Likewise.
33975         * math/s_ccoshl.c: Likewise.
33976         * math/s_csin.c: Likewise.
33977         * math/s_csinf.c: Likewise.
33978         * math/s_csinh.c Likewise.
33979         * math/s_csinhf.c: Likewise.
33980         * math/s_csinhl.c: Likewise.
33981         * math/s_csinl.c: Likewise.
33982         * math/s_ctan.c: Likewise.
33983         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33984         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33985         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33987 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33989         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33990         compilation problems.
33992         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33993         __builtin_expect.
33995 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33997         * sysdeps/i386/configure.in: Test for -mfma4 option.
33998         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33999         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34000         COMMON_CPUID_INDEX_80000001.
34001         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34002         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34003         use it if FMA3 is not supported.
34004         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34006         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34007         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34009 2011-10-20  Andreas Schwab  <schwab@redhat.com>
34011         [BZ #12892]
34012         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34013         it would create a cycle with a link time dependency.
34015 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
34017         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34018         instruction.
34019         * string/Makefile (strop-tests): Add rawmemchr.
34020         * string/test-rawmemchr.c: New file.
34022         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34023         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
34024         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
34025         when compiling str{,n}casecmp and when AVX is available.  Hook up
34026         new optimized code in initializers.
34028 2011-10-19  Andreas Schwab  <schwab@redhat.com>
34030         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34031         __feraiseexcept instead of feraiseexcept.
34033 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
34035         * math/math_private.h: Define defaults for libc_fetestexcept and
34036         libc_feupdateenv.
34037         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34038         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34039         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34040         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34041         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34042         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34043         libc_fetestexcept and libc_feupdateenv.
34045         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34046         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34047         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34048         * sysdeps/x86_64/fpu/math_private.h: Define special version of
34049         libc_feholdexcept_setround.
34051         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34052         Add s_nearbyint-c and s_nearbyintf-c.
34053         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34054         nearbyintf inlines.
34055         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34056         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34057         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34058         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34060         * math/math_private.h: Define defaults for libc_fegetround,
34061         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34062         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34063         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34064         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34065         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34066         standard functions.
34067         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34068         Remove comments and hacks for old compiler versions.
34069         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34070         libc_fegetround, libc_fesetround, libc_feholdexcept, and
34071         libc_feholdexceptl.
34073 2011-10-18  Andreas Schwab  <schwab@redhat.com>
34075         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34076         (__feraiseexcept_renamed): Add __NTH.
34077         (feraiseexcept): Add __NTH.  Rename local variables to fix
34078         namespace violations.
34080 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
34082         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34084         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34086         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34087         recently added interfaces.
34088         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34090         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34091         about macro parameter expansion.
34093         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34094         __NO_MATH_INLINES is defined.  Cleanups.
34096         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34097         and __floorf is target has SSE4.1.
34098         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34099         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34100         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34101         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34103         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34104         name.
34105         (floorf): Likewise.
34107         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34109 2011-10-17  Andreas Schwab  <schwab@redhat.com>
34111         * misc/sys/cdefs.h: Fix last change.
34113         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34114         database lookup.
34116 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
34118         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34120         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34121         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34122         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34123         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34124         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34125         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34126         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34127         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34128         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34129         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34130         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34131         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34132         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34133         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34134         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34135         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34136         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34137         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34138         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34139         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34140         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34141         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34143         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34144         ceil, ceilf, floor, floorf.
34146         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34147         Perform IRELATIVE relocations last.
34149         * elf/do-rel.h: Add another parameter nrelative, replacing the
34150         local variable with the same name.  Change name of the function
34151         to end in Rel or Rela (uppercase).
34152         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34153         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
34154         elf_dynamic_do_##reloc function.
34156 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34158         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34159         is sufficient, at least on modern CPUs.
34161         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34163         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34164         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34166         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34167         __expl_finite.
34168         * math/bits/math-finite.h: Add entries for exp.
34169         * math/e_expl.c: Add __*_finite alias.
34170         * sysdeps/i386/fpu/e_exp.S: Likewise.
34171         * sysdeps/i386/fpu/e_expf.S: Likewise.
34172         * sysdeps/i386/fpu/e_expl.c: Likewise.
34173         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34174         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34175         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34176         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34177         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34178         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34179         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34181         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34182         is sufficient, at least on modern CPUs.
34184         * ctype/ctype-info.c (__ctype_init): Define.
34185         * include/ctype.h (__ctype_init): Declare.
34186         (__ctype_b_loc): The variable is always initialized.
34187         (__ctype_toupper_loc): Likewise.
34188         (__ctype_tolower_loc): Likewise.
34189         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34190         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34192 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
34194         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34196         * configure.in: Also look in $cxxmachine/include for C++ system
34197         headers.
34199 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34201         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34202         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34203         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34204         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
34205         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34206         (USE_AS_WMEMCMP): New macro.
34207         Fixing indents.
34208         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34209         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34210         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34211         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34212         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34213         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34214         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34215         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34216         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34217         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34218         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34219         (USE_AS_WMEMCMP): New macro.
34220         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34221         * sysdeps/string/test-memcmp.c: Update.
34222         Fix simple_wmemcmp.
34223         Add new tests.
34224         * wcsmbs/wmemcmp.c: Update.
34225         (WMEMCMP): New macro.
34226         Fix overflow bug.
34228 2011-10-12  Andreas Jaeger  <aj@suse.de>
34230         [BZ #13268]
34231         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34233 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
34235         * libio/iofwide.c (do_length): Avoid warning.
34237         * ctype/ctype.h (__isctype_f): Add missing __THROW.
34239 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
34241         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34243         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34244         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34245         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34246         * sysdeps/i386/i686/fpu/e_log.S: New file.
34247         * sysdeps/i386/i686/fpu/e_logf.S: New file.
34248         * sysdeps/i386/i686/fpu/e_logl.S: New file.
34250         * ctype/ctype.h: Add support for inlined isXXX functions when
34251         compiling C++ code.
34253 2011-10-14  Andreas Schwab  <schwab@redhat.com>
34255         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34257         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34259 2011-10-13  Roland McGrath  <roland@hack.frob.com>
34261         [BZ #13291]
34262         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34264 2011-10-13  Andreas Schwab  <schwab@redhat.com>
34266         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34267         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34268         feraiseexcept.
34270         * sysdeps/x86_64/memrchr.S: Check for zero size.
34272         * string/stratcliff.c: Add memrchr tests.
34274 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34277         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34278         rawmemchr-sse2 rawmemchr-sse2-bsf.
34279         * sysdeps/i386/i686/multiarch/memchr.S: New file.
34280         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34281         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34282         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34283         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34284         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34285         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34286         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34287         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34288         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34289         * string/memrchr.c (MEMRCHR): New macro.
34291 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
34293         Add integration with gcc's -ffinite-math-only and optimize wrapper
34294         functions in libm.
34295         * Versions.def: Define GLIBC_2.15 version for libm.
34296         * math/Makefile (headers): Add bits/math-finite.h.
34297         * math/bits/math-finite.h: New file.
34298         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34299         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34300         * math/e_acoshl.c: Add __*_finite alias.
34301         * math/e_acosl.c: Likewise.
34302         * math/e_asinl.c: Likewise.
34303         * math/e_atan2l.c: Likewise.
34304         * math/e_atanhl.c: Likewise.
34305         * math/e_coshl.c: Likewise.
34306         * math/e_exp10.c: Likewise.
34307         * math/e_exp10f.c: Likewise.
34308         * math/e_exp10l.c: Likewise.
34309         * math/e_exp2l.c: Likewise.
34310         * math/e_fmodl.c: Likewise.
34311         * math/e_gammal_r.c: Likewise.
34312         * math/e_hypotl.c: Likewise.
34313         * math/e_j0l.c: Likewise.
34314         * math/e_j1l.c: Likewise.
34315         * math/e_jnl.c: Likewise.
34316         * math/e_lgammal_r.c: Likewise.
34317         * math/e_log10l.c: Likewise.
34318         * math/e_log2l.c: Likewise.
34319         * math/e_logl.c: Likewise.
34320         * math/e_powl.c: Likewise.
34321         * math/e_sinhl.c: Likewise.
34322         * math/e_sqrtl.c: Likewise.
34323         * math/e_scalb.c: Completely rewritten and optimized.
34324         * math/e_scalbf.c: Likewise.
34325         * math/e_scalbl.c: Likewise.
34326         * math/w_acos.c: Likewise.
34327         * math/w_acosf.c: Likewise.
34328         * math/w_acosl.c: Likewise.
34329         * math/w_acosh.c: Likewise.
34330         * math/w_acoshf.c: Likewise.
34331         * math/w_acoshl.c: Likewise.
34332         * math/w_asin.c: Likewise.
34333         * math/w_asinf.c: Likewise.
34334         * math/w_asinl.c: Likewise.
34335         * math/w_atan2.c: Likewise.
34336         * math/w_atan2f.c: Likewise.
34337         * math/w_atan2l.c: Likewise.
34338         * math/w_atanh.c: Likewise.
34339         * math/w_atanhf.c: Likewise.
34340         * math/w_atanhl.c: Likewise.
34341         * math/w_exp10.c: Likewise.
34342         * math/w_exp10f.c: Likewise.
34343         * math/w_exp10l.c: Likewise.
34344         * math/w_fmod.c: Likewise.
34345         * math/w_fmodf.c: Likewise.
34346         * math/w_fmodl.c: Likewise.
34347         * math/w_j0.c: Likewise.
34348         * math/w_j0f.c: Likewise.
34349         * math/w_j0l.c: Likewise.
34350         * math/w_j1.c: Likewise.
34351         * math/w_j1f.c: Likewise.
34352         * math/w_j1l.c: Likewise.
34353         * math/w_jn.c: Likewise.
34354         * math/w_jnf.c: Likewise.
34355         * math/w_log.c: Likewise.
34356         * math/w_logf.c: Likewise.
34357         * math/w_logl.c: Likewise.
34358         * math/w_log10.c: Likewise.
34359         * math/w_log10f.c: Likewise.
34360         * math/w_log10l.c: Likewise.
34361         * math/w_log2.c: Likewise.
34362         * math/w_log2f.c: Likewise.
34363         * math/w_log2l.c: Likewise.
34364         * math/w_pow.c: Likewise.
34365         * math/w_powf.c: Likewise.
34366         * math/w_powl.c: Likewise.
34367         * math/w_remainder.c: Likewise.
34368         * math/w_remainderf.c: Likewise.
34369         * math/w_remainderl.c: Likewise.
34370         * math/w_scalb.c: Likewise.
34371         * math/w_scalbf.c: Likewise.
34372         * math/w_scalbl.c: Likewise.
34373         * math/w_sqrt.c: Likewise.
34374         * math/w_sqrtf.c: Likewise.
34375         * math/w_sqrtl.c: Likewise.
34376         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34377         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34378         used.
34379         * math/math_private.h: Declare __kernel_standard_f.
34380         * math/w_cosh.c: Remove cruft and optimize a bit.
34381         * math/w_coshf.c: Likewise.
34382         * math/w_coshl.c: Likewise.
34383         * math/w_exp2.c: Likewise.
34384         * math/w_exp2f.c: Likewise.
34385         * math/w_exp2l.c: Likewise.
34386         * math/w_hypot.c: Likewise.
34387         * math/w_hypotf.c: Likewise.
34388         * math/w_hypotl.c: Likewise.
34389         * math/w_lgamma.c: Likewise.
34390         * math/w_lgamma_r.c: Likewise.
34391         * math/w_lgammaf.c: Likewise.
34392         * math/w_lgammaf_r.c: Likewise.
34393         * math/w_lgammal.c: Likewise.
34394         * math/w_lgammal_r.c: Likewise.
34395         * math/w_sinh.c: Likewise.
34396         * math/w_sinhf.c: Likewise.
34397         * math/w_sinhl.c: Likewise.
34398         * math/w_tgamma.c: Likewise.
34399         * math/w_tgammaf.c: Likewise.
34400         * math/w_tgammal.c: Likewise.
34401         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34402         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34403         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34404         Minor optimizations.  Pretty printing.  Remove cruft.
34405         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34406         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34407         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34408         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34409         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34410         * sysdeps/i386/fpu/e_asin.S: Likewise.
34411         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34412         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34413         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34414         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34415         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34416         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34417         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34418         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34419         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34420         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34421         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34422         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34423         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34424         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34425         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34426         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34427         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34428         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34429         * sysdeps/i386/fpu/e_log.S: Likewise.
34430         * sysdeps/i386/fpu/e_log10.S: Likewise.
34431         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34432         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34433         * sysdeps/i386/fpu/e_log2.S: Likewise.
34434         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34435         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34436         * sysdeps/i386/fpu/e_logf.S: Likewise.
34437         * sysdeps/i386/fpu/e_logl.S: Likewise.
34438         * sysdeps/i386/fpu/e_pow.S: Likewise.
34439         * sysdeps/i386/fpu/e_powf.S: Likewise.
34440         * sysdeps/i386/fpu/e_powl.S: Likewise.
34441         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34442         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34443         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34444         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34445         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34446         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34447         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34448         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34449         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34450         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34451         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34452         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34453         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34454         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34455         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34456         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34457         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34458         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34459         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34460         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34461         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34462         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34463         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34464         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34466         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34467         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34468         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34470         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34471         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34472         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34473         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34474         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34475         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34476         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34477         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34478         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34479         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34480         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34481         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34482         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34483         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34484         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34485         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34486         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34487         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34488         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34489         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34490         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34491         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34492         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34493         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34494         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34495         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34496         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34497         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34498         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34499         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34500         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34501         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34502         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34503         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34504         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34505         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34506         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34507         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34508         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34509         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34510         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34511         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34514         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34515         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34516         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34517         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34518         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34519         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34520         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34521         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34522         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34523         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34524         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34525         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34526         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34527         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34528         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34529         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34530         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34531         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34532         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34533         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34534         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34535         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34536         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34537         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34538         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34539         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34540         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34541         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34542         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34543         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34544         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34545         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34546         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34547         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34548         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34549         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34550         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34551         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34552         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34553         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34554         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34555         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34556         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34557         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34558         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34559         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34560         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34561         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34562         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34563         (__isnanf): Likewise.
34564         (__isinf_ns): Likewise.
34565         (__isinf_nsf): Likewise.
34566         (__finite): Likewise.
34567         (__finitef): Likewise.
34568         (__ieee754_sqrt): Define as macro.
34569         (__ieee754_sqrtf): Define as macro.
34570         (__ieee754_sqrtl): Define as macro.
34571         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34572         inlined copy.
34573         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34574         __FINITE_MATH_ONLY__ consistent.
34575         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34577 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34579         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34580         of rawmemchr.
34582         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34584 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34586         * po/ja.po: Update from translation team.
34588 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34590         * locale/programs/locarchive.c (prepare_address_space): New function.
34591         (create_archive, enlarge_archive, open_archive): Use it.
34593         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34594         inside [SHARED], where it is used.
34596         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34598         * nss/getent.c (netgroup_keys): Remove unused variable.
34599         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34601 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34603         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34604         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34606         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34607         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34608         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34609         * math/Makefile (libm-calls): Add s_isinf_ns.
34610         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34611         * math/multc3.c: Likewise.
34612         * math/s_casin.c: Likewise.
34613         * math/s_casinf.c: Likewise.
34614         * math/s_casinl.c: Likewise.
34615         * math/s_ccos.c: Likewise.
34616         * math/s_ccosf.c: Likewise.
34617         * math/s_ccosl.c: Likewise.
34618         * math/s_ctan.c: Likewise.
34619         * math/s_ctanf.c: Likewise.
34620         * math/s_ctanh.c: Likewise.
34621         * math/s_ctanhf.c: Likewise.
34622         * math/s_ctanhl.c: Likewise.
34623         * math/s_ctanl.c: Likewise.
34624         * math/w_fmod.c: Likewise.
34625         * math/w_fmodf.c: Likewise.
34626         * math/w_fmodl.c: Likewise.
34627         * math/w_remainder.c: Likewise.
34628         * math/w_remainderf.c: Likewise.
34629         * math/w_remainderl.c: Likewise.
34630         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34631         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34632         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34634         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34635         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34636         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34637         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34639         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34640         of the number.
34641         * stdio-common/printf_fphex.c: Likewise.
34642         * stdio-common/printf_size.c: Likewise.
34644         * math/e_exp10.c: Include math_private.h using <...> not "...".
34645         * math/e_exp10f.c: Likewise.
34646         * math/e_exp10l.c: Likewise.
34647         * math/e_exp2l.c: Likewise.
34648         * math/e_j0l.c: Likewise.
34649         * math/e_j1l.c: Likewise.
34650         * math/e_jnl.c: Likewise.
34651         * math/e_lgammal_r.c: Likewise.
34652         * math/e_rem_pio2l.c: Likewise.
34653         * math/e_scalb.c: Likewise.
34654         * math/e_scalbf.c: Likewise.
34655         * math/e_scalbl.c: Likewise.
34656         * math/k_cosl.c: Likewise.
34657         * math/k_sinl.c: Likewise.
34658         * math/k_tanl.c: Likewise.
34659         * math/s_cacoshf.c: Likewise.
34660         * math/s_catan.c: Likewise.
34661         * math/s_catanf.c: Likewise.
34662         * math/s_catanh.c: Likewise.
34663         * math/s_catanhf.c: Likewise.
34664         * math/s_catanhl.c: Likewise.
34665         * math/s_catanl.c: Likewise.
34666         * math/s_ccosh.c: Likewise.
34667         * math/s_ccoshf.c: Likewise.
34668         * math/s_ccoshl.c: Likewise.
34669         * math/s_cexp.c: Likewise.
34670         * math/s_cexpf.c: Likewise.
34671         * math/s_cexpl.c: Likewise.
34672         * math/s_clog.c: Likewise.
34673         * math/s_clog10.c: Likewise.
34674         * math/s_clog10f.c: Likewise.
34675         * math/s_clog10l.c: Likewise.
34676         * math/s_clogf.c: Likewise.
34677         * math/s_clogl.c: Likewise.
34678         * math/s_csin.c: Likewise.
34679         * math/s_csinf.c: Likewise.
34680         * math/s_csinh.c: Likewise.
34681         * math/s_csinhf.c: Likewise.
34682         * math/s_csinhl.c: Likewise.
34683         * math/s_csinl.c: Likewise.
34684         * math/s_csqrt.c: Likewise.
34685         * math/s_csqrtf.c: Likewise.
34686         * math/s_csqrtl.c: Likewise.
34687         * math/s_ctan.c: Likewise.
34688         * math/s_ctanf.c: Likewise.
34689         * math/s_ctanh.c: Likewise.
34690         * math/s_ctanhf.c: Likewise.
34691         * math/s_ctanhl.c: Likewise.
34692         * math/s_ctanl.c: Likewise.
34693         * math/s_ldexp.c: Likewise.
34694         * math/s_ldexpf.c: Likewise.
34695         * math/s_ldexpl.c: Likewise.
34696         * math/s_significand.c: Likewise.
34697         * math/s_significandf.c: Likewise.
34698         * math/s_significandl.c: Likewise.
34699         * math/w_acos.c: Likewise.
34700         * math/w_acosf.c: Likewise.
34701         * math/w_acosh.c: Likewise.
34702         * math/w_acoshf.c: Likewise.
34703         * math/w_acoshl.c: Likewise.
34704         * math/w_acosl.c: Likewise.
34705         * math/w_asin.c: Likewise.
34706         * math/w_asinf.c: Likewise.
34707         * math/w_asinl.c: Likewise.
34708         * math/w_atan2.c: Likewise.
34709         * math/w_atan2f.c: Likewise.
34710         * math/w_atan2l.c: Likewise.
34711         * math/w_atanh.c: Likewise.
34712         * math/w_atanhf.c: Likewise.
34713         * math/w_atanhl.c: Likewise.
34714         * math/w_cosh.c: Likewise.
34715         * math/w_coshf.c: Likewise.
34716         * math/w_coshl.c: Likewise.
34717         * math/w_dremf.c: Likewise.
34718         * math/w_exp10.c: Likewise.
34719         * math/w_exp10f.c: Likewise.
34720         * math/w_exp10l.c: Likewise.
34721         * math/w_exp2.c: Likewise.
34722         * math/w_exp2f.c: Likewise.
34723         * math/w_fmod.c: Likewise.
34724         * math/w_fmodf.c: Likewise.
34725         * math/w_fmodl.c: Likewise.
34726         * math/w_hypot.c: Likewise.
34727         * math/w_hypotf.c: Likewise.
34728         * math/w_hypotl.c: Likewise.
34729         * math/w_j0.c: Likewise.
34730         * math/w_j0f.c: Likewise.
34731         * math/w_j0l.c: Likewise.
34732         * math/w_j1.c: Likewise.
34733         * math/w_j1f.c: Likewise.
34734         * math/w_j1l.c: Likewise.
34735         * math/w_jn.c: Likewise.
34736         * math/w_jnf.c: Likewise.
34737         * math/w_jnl.c: Likewise.
34738         * math/w_lgamma.c: Likewise.
34739         * math/w_lgamma_r.c: Likewise.
34740         * math/w_lgammaf.c: Likewise.
34741         * math/w_lgammaf_r.c: Likewise.
34742         * math/w_lgammal.c: Likewise.
34743         * math/w_lgammal_r.c: Likewise.
34744         * math/w_log.c: Likewise.
34745         * math/w_log10.c: Likewise.
34746         * math/w_log10f.c: Likewise.
34747         * math/w_log10l.c: Likewise.
34748         * math/w_log2.c: Likewise.
34749         * math/w_log2f.c: Likewise.
34750         * math/w_log2l.c: Likewise.
34751         * math/w_logf.c: Likewise.
34752         * math/w_logl.c: Likewise.
34753         * math/w_pow.c: Likewise.
34754         * math/w_powf.c: Likewise.
34755         * math/w_powl.c: Likewise.
34756         * math/w_remainder.c: Likewise.
34757         * math/w_remainderf.c: Likewise.
34758         * math/w_remainderl.c: Likewise.
34759         * math/w_scalb.c: Likewise.
34760         * math/w_scalbf.c: Likewise.
34761         * math/w_scalbl.c: Likewise.
34762         * math/w_sinh.c: Likewise.
34763         * math/w_sinhf.c: Likewise.
34764         * math/w_sinhl.c: Likewise.
34765         * math/w_sqrt.c: Likewise.
34766         * math/w_sqrtf.c: Likewise.
34767         * math/w_sqrtl.c: Likewise.
34768         * math/w_tgamma.c: Likewise.
34769         * math/w_tgammaf.c: Likewise.
34770         * math/w_tgammal.c: Likewise.
34772         * po/ja.po: Update from translation team.
34774 2011-09-29  Andreas Jaeger  <aj@suse.de>
34776         [BZ #13179]
34777         * sunrpc/netname.c (netname2host): Fix logic.
34779         [BZ #6779]
34780         [BZ #6783]
34781         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34782         correctly.
34783         * math/w_remainder.c (__remainder): Likewise.
34784         * math/w_remainderf.c (__remainderf): Likewise.
34785         * math/libm-test.inc (remainder_test): Add test cases.
34787 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34789         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34790         sdiv_qrnnd.
34792 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34794         * string/test-memcmp.c: Avoid unncessary #defines.
34795         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34797 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34799         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34800         Use new sse2 version for core i3 - i7 as it's faster
34801         than sse42 version.
34802         (bit_Prefer_PMINUB_for_stringop): New.
34803         * sysdeps/x86_64/rawmemchr.S: Update.
34804         Replace with faster SSE2 version.
34805         * sysdeps/x86_64/memrchr.S: New file.
34806         * sysdeps/x86_64/memchr.S: Update.
34807         Replace with faster SSE2 version.
34809 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34811         * elf/dl-load.c (lose): Add cast to avoid warning.
34813 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34815         * po/ca.po: Update from translation team.
34817         * inet/getnetgrent_r.c: Hook up nscd.
34818         * nscd/Makefile (routines): Add nscd_netgroup.
34819         (nscd-modules): Add netgroupcache.
34820         (CFLAGS-netgroupcache.c): Define.
34821         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34822         (cache_search): Add const to second parameter.
34823         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34824         INNETGR.
34825         (dbs): Add netgrdb entry.
34826         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34827         (verify_persistent_db): Handle netgrdb.
34828         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34829         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34830         GETFDNETGR.
34831         (netgroup_response_header): Define.
34832         (innetgroup_response_header): Define.
34833         (datahead): Add netgroup_response_header and innetgroup_response_header
34834         elements.
34835         * nscd/nscd.conf: Add entries for netgroup cache.
34836         * nscd/nscd.h (dbtype): Add netgrdb.
34837         (_PATH_NSCD_NETGROUP_DB): Define.
34838         (netgroup_iov_disabled): Declare.
34839         (xmalloc, xcalloc, xrealloc): Move declarations here.
34840         (cache_search): Adjust prototype.
34841         Add netgroup-related prototypes.
34842         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34843         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34844         (__nscd_innetgr): Declare.
34845         * nscd/selinux.c (perms): Use access_vector_t as element type and
34846         add netgroup-related initializers.
34847         * nscd/netgroupcache.c: New file.
34848         * nscd/nscd_netgroup.c: New file.
34849         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34850         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34851         For four parameters use innetgr.
34852         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34853         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34854         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34855         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34857         * nscd/connections.c (register_traced_file): Don't register file
34858         for disabled databases.
34860 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34862         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34864         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34865         from tree and freeing node.
34867 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34869         * nss/nsswitch.c (__nss_database_lookup): Handle
34870         nss_parse_service_list out of memory case.
34872 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34874         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34875         out of memory case.
34877 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34879         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34880         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34881         pass it down.
34882         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34883         elf_machine_rela, elf_machine_lazy_rel.
34884         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34885         (ELF_DYNAMIC_DO_REL): Likewise.
34886         (ELF_DYNAMIC_DO_RELA): Likewise.
34887         (ELF_DYNAMIC_RELOCATE): Likewise.
34888         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34889         to ELF_DYNAMIC_DO_REL.
34890         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34891         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34892         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34893         elf_machine_rela.
34894         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34895         skip_ifunc, don't call ifunc function if non-zero.
34896         (elf_machine_rela): Likewise.
34897         (elf_machine_lazy_rel): Likewise.
34898         (elf_machine_lazy_rela): Likewise.
34899         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34900         (elf_machine_lazy_rel): Likewise.
34901         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34902         Likewise.
34903         (elf_machine_lazy_rel): Likewise.
34904         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34905         Likewise.
34906         (elf_machine_lazy_rel): Likewise.
34907         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34908         (elf_machine_lazy_rel): Likewise.
34909         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34910         (elf_machine_lazy_rel): Likewise.
34911         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34912         (elf_machine_lazy_rel): Likewise.
34913         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34914         (elf_machine_lazy_rel): Likewise.
34915         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34916         (elf_machine_lazy_rel): Likewise.
34917         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34918         (elf_machine_lazy_rel): Likewise.
34920 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34922         * nss/nss_files/files-init.c (_nss_files_init): Use static
34923         initialization for all the *_traced_file variables.
34925 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34927         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34929 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34931         [BZ #13226]
34932         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34934 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34936         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34937         Reread the line before reparsing it.
34939 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34941         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34943 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34944             Maxim Kuvyrkov  <maxim@codesourcery.com>
34945             Joseph Myers  <joseph@codesourcery.com>
34947         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34948         if needed for __stack_chk_guard.
34950 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34952         * sysdeps/posix/spawni.c (script_execute): Always define it.
34953         It will be optimized away if unused.
34954         (maybe_script_execute): New function.
34955         (__spawni): Call it.
34957         * Makerules: Don't include tls.make.
34958         (config-tls): Always set to thread.
34959         * tls.make.c: File removed.
34961 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34963         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34964         * config.make.in (CPPFLAGS-config): New substituted variable.
34966 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34968         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34970         [BZ #13192]
34971         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34972         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34974 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34976         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34977         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34978         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34979         (CALL_FAIL): Likewise.
34980         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34981         (CALL_FAIL): Macro removed.
34982         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34984 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34986         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34987         for __FINITE_MATH_ONLY__ == 1.
34989 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34991         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34992         __ieee754_sqrt instead of sqrt.
34993         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34994         __ieee754_sqrtf instead of sqrtf.
34995         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34996         __floorf instead of floorf.
34997         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34998         __floorf, __truncf instead of floorf, truncf.
35000 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
35002         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35004         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35005         __extern_always_inline.
35006         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35007         32-bit.
35009 2011-09-14  Andreas Schwab  <schwab@redhat.com>
35011         * elf/rtld.c (dl_main): Also relocate in dependency order when
35012         doing symbol dependency testing.
35014 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
35016         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35017         Always define `refsym'.
35019 2011-09-13  Andreas Schwab  <schwab@redhat.com>
35021         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35022         (__FD_ELT): Renamed from __FDELT.
35023         * misc/bits/select2.h (__FD_ELT): Likewise.
35024         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35025         __FD_MASK instead of __FDELT, __FDMASK.
35026         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35027         Likewise.
35028         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35029         Likewise.
35031         * elf/Makefile (gen-ldd): Fix pattern.
35033         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35034         (init_tls): Likewise.
35036 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
35038         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35040 2011-09-12  Andreas Schwab  <schwab@redhat.com>
35042         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35043         `struct cmsghdr *' instead of `void *'.
35044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35045         Likewise.
35047 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
35049         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35050         if non-absolute.
35051         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35052         ldd_rewrite_script.
35054 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
35056         * configure.in: Remove --with-tls option.
35057         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35058         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35059         out in case it is missing.
35060         * sysdeps/ia64/elf/configure.in: Likewise.
35061         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35062         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35063         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35064         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35065         * sysdeps/sh/elf/configure.in: Likewise.
35066         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35067         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35068         * sysdeps/x86_64/elf/configure.in: Likewise.
35069         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35070         * sysdeps/mach/hurd/tls.h: Likewise.
35072         [BZ #13067]
35073         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35075         [BZ #13090]
35076         * configure.in: Fix use of AC_INIT.
35078         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35080 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
35082         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35083         __set_errno.
35084         * malloc/hooks.c: Likewise.
35086         [BZ #11929]
35087         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
35088         variables statically.
35089         (narenas): Initialize.
35090         (list_lock): Initialize.
35091         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
35092         initializtion of main_arena and list_lock.  Small cleanups.
35093         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35094         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
35095         Add initializers to main_arena and mp_.
35096         (malloc_state): Remove pagesize member.  Change all users to use
35097         GLRO(dl_pagesize).
35099         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35100         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
35101         is always initialized.
35103         * malloc/malloc.c: Removed unused configurations and dead code.
35104         * malloc/arena.c: Likewise.
35105         * malloc/hooks.c: Likewise.
35106         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35108         * include/tls.h: Removed.  USE___THREAD must always be defined.
35109         * bits/libc-tsd.h: Don't handle !USE___THREAD.
35110         * elf/dl-libc.c: Likewise.
35111         * elf/dl-tsd.c: Likewise.
35112         * include/errno.h: Likewise.
35113         * include/netdb.h: Likewise.
35114         * include/resolv.h: Likewise.
35115         * inet/herrno-loc.c: Likewise.
35116         * inet/herrno.c: Likewise.
35117         * malloc/arena.c: Likewise.
35118         * malloc/hooks.c: Likewise.
35119         * malloc/malloc.c: Likewise.
35120         * resolv/res-state.c: Likewise.
35121         * resolv/res_libc.c: Likewise.
35122         * sysdeps/i386/dl-machine.h: Likewise.
35123         * sysdeps/ia64/dl-machine.h: Likewise.
35124         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35125         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35126         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35127         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35128         * sysdeps/sh/dl-machine.h: Likewise.
35129         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35130         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35131         * sysdeps/unix/i386/sysdep.S: Likewise.
35132         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35133         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35135         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35136         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35138         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35139         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35140         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35141         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35142         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35143         * sysdeps/x86_64/dl-machine.h: Likewise.
35144         * tls.make.c: Likewise.
35146         * configure.in: Remove --with-__thread option.  Make tests for
35147         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35148         tls_model attribute fail if no support is available.  Remove
35149         USE_IN_LIBIO.
35150         * Makeconfig: Adjust for dropped configure option.  All features are
35151         now mandatory.
35152         * Makerules: Likewise.
35153         * Versions.def: Likewise.
35154         * argp/argp-fmtstream.c: Likewise.
35155         * argp/argp-fmtstream.h: Likewise.
35156         * argp/argp-help.c: Likewise.
35157         * assert/assert.c: Likewise.
35158         * config.h.in: Likewise.
35159         * config.make.in: Likewise.
35160         * configure: Likewise.
35161         * configure.in: Likewise.
35162         * csu/Versions: Likewise.
35163         * csu/init.c: Likewise.
35164         * elf/tst-audit2.c: Likewise.
35165         * elf/tst-tls10.c: Likewise.
35166         * elf/tst-tls10.h: Likewise.
35167         * elf/tst-tls11.c: Likewise.
35168         * elf/tst-tls12.c: Likewise.
35169         * elf/tst-tls14.c: Likewise.
35170         * elf/tst-tlsmod11.c: Likewise.
35171         * elf/tst-tlsmod12.c: Likewise.
35172         * elf/tst-tlsmod13.c: Likewise.
35173         * elf/tst-tlsmod13a.c: Likewise.
35174         * elf/tst-tlsmod14a.c: Likewise.
35175         * elf/tst-tlsmod15b.c: Likewise.
35176         * elf/tst-tlsmod16a.c: Likewise.
35177         * elf/tst-tlsmod16b.c: Likewise.
35178         * elf/tst-tlsmod7.c: Likewise.
35179         * elf/tst-tlsmod8.c: Likewise.
35180         * elf/tst-tlsmod9.c: Likewise.
35181         * gmon/gmon.c: Likewise.
35182         * grp/fgetgrent_r.c: Likewise.
35183         * grp/putgrent.c: Likewise.
35184         * hurd/fopenport.c: Likewise.
35185         * include/libc-symbols.h: Likewise.
35186         * include/tls.h: Likewise.
35187         * intl/gettextP.h: Likewise.
35188         * intl/loadinfo.h: Likewise.
35189         * locale/global-locale.c: Likewise.
35190         * locale/localeinfo.h: Likewise.
35191         * mach/devstream.c: Likewise.
35192         * malloc/arena.c: Likewise.
35193         * malloc/set-freeres.c: Likewise.
35194         * misc/err.c: Likewise.
35195         * misc/getttyent.c: Likewise.
35196         * misc/mntent_r.c: Likewise.
35197         * posix/getopt.c: Likewise.
35198         * posix/wordexp.c: Likewise.
35199         * pwd/fgetpwent_r.c: Likewise.
35200         * resolv/Versions: Likewise.
35201         * resolv/res_hconf.c: Likewise.
35202         * shadow/fgetspent_r.c: Likewise.
35203         * shadow/putspent.c: Likewise.
35204         * stdio-common/printf_fphex.c: Likewise.
35205         * stdio-common/tmpfile.c: Likewise.
35206         * stdlib/abort.c: Likewise.
35207         * stdlib/fmtmsg.c: Likewise.
35208         * sunrpc/auth_unix.c: Likewise.
35209         * sunrpc/clnt_perr.c: Likewise.
35210         * sunrpc/clnt_tcp.c: Likewise.
35211         * sunrpc/clnt_udp.c: Likewise.
35212         * sunrpc/clnt_unix.c: Likewise.
35213         * sunrpc/openchild.c: Likewise.
35214         * sunrpc/svc_simple.c: Likewise.
35215         * sunrpc/svc_tcp.c: Likewise.
35216         * sunrpc/svc_udp.c: Likewise.
35217         * sunrpc/svc_unix.c: Likewise.
35218         * sunrpc/xdr.c: Likewise.
35219         * sunrpc/xdr_array.c: Likewise.
35220         * sunrpc/xdr_rec.c: Likewise.
35221         * sunrpc/xdr_ref.c: Likewise.
35222         * sunrpc/xdr_stdio.c: Likewise.
35224 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35226         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35228 2011-07-03  Andreas Jaeger  <aj@suse.de>
35230         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35231         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35232         regenerate with gen-libm-tests.pl.
35234 2010-05-12  Petr Baudis  <pasky@suse.cz>
35236         [BZ #11589]
35237         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35238         around j0() zero points by switching to j1().
35239         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35240         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35241         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35242         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35244 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35246         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35247         instead of 0.
35248         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35249         instead of 0.
35250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35251         Patch in part by Pavel Roskin <proski@gnu.org>.
35253         [BZ #13138]
35254         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35255         realloc.
35256         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
35257         Free memory block if necessary.
35259         [BZ #12847]
35260         * libio/genops.c (INTDEF): For string streams the _lock pointer can
35261         be NULL.  Don't lock in this case.
35263 2011-09-09  Roland McGrath  <roland@hack.frob.com>
35265         * elf/elf.h (ELFOSABI_GNU): New macro.
35266         (ELFOSABI_LINUX): Define to that.
35268 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
35270         * string/strncat.c (strncat): Undef the symbol in case it has been
35271         defined in bits/string.h.
35273 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
35275         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35277         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35278         link map.
35280 2011-08-17  Andreas Jaeger  <aj@suse.de>
35282         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35284 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35285             Ian Lance Taylor  <iant@google.com>
35287         * math/libm-test.inc (lround_test): New testcase.
35288         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35290 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
35292         * Makefile: Remove support for automatic cvs check-ins.
35293         * Makerules: Likewise.
35294         * config.make.in: Likewise.
35295         * configure.in: Likewise.
35296         * intl/Makefile: Likewise.
35297         * locale/Makefile: Likewise.
35298         * po/Makefile: Likewise.
35299         * posix/Makefile: Likewise.
35300         * sysdeps/gnu/Makefile: Likewise.
35301         * sysdeps/mach/hurd/Makefile: Likewise.
35302         * sysdeps/sparc/sparc32/Makefile: Likewise.
35304         [BZ #13118]
35305         * posix/Makefile (bug-regex32-ENV): Define.
35306         Patch by John Stanley <jpsinthemix@verizon.net>.
35308         * misc/Makefile (headers): Add bits/select2.h.
35309         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35310         * misc/bits/select2.h: New file.
35311         * include/bits/select2.h: New file.
35312         * debug/Makefile (routines): Add fdelt_chk.
35313         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35314         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35315         FD_ISSET.
35316         * debug/fdelt_chk.c: New file.
35318         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
35319         * wcsmbs/test-wmemcmp.c: Likewise.
35320         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35321         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35323 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35325         * string/Makefile (strop-tests): Add memcmp.
35326         * string/test-wmemcmp.c: New file.
35327         * string/test-memcmp.c: Add wmemcmp support.
35329 2011-09-08  Roland McGrath  <roland@hack.frob.com>
35331         [BZ #13153]
35332         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35333         2011-07-19 change.
35335         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35336         garbage value in a __mach_port_mod_refs call in the cases of the
35337         task-self and thread-self ports.
35339 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35341         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35343 2011-09-08  Andreas Schwab  <schwab@redhat.com>
35345         * elf/dl-load.c (lose): Check for non-null L.
35347 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35349         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35351         * elf/dl-libc.c (dlerror_run): Pass back error code from
35352         dl_catch_error.
35354         [BZ #13123]
35355         * elf/dl-load.c (lose): Free l_origin if it is valid.
35357         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35358         names.
35359         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35360         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35361         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35362         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35363         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35364         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35366 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35368         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35369         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35370         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35371         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35372         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35373         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35374         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35375         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35376         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35377         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35379 2011-08-15  Alan Modra  <amodra@gmail.com>
35381         [BZ #13092]
35382         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35383         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35384         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35385         ppc_mcount to static-only-routines.
35386         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35387         __mcount_internal.
35388         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35389         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35391 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35393         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35394         for finite and infinity parameters.
35396 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35399         and add nop instructions for throughput optimization.
35400         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35402 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35404         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35405         aligned copy for power7 with vector-scalar instructions.
35406         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35408 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35411         AVX check.
35413 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35415         [BZ #13144]
35416         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35417         last change.
35419 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35421         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35422         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35423         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35424         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35425         clock_gettime.
35427 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35429         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35430         Forgot to demangle the pointer.
35432         * sysdeps/i386/sysdep.h: Define atom_text_section.
35433         * sysdeps/x86_64/sysdep.h: Likewise.
35434         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35435         section with atom_text_section.
35436         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35437         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35438         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35439         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35440         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35442         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35443         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35444         already be defined.  Change to take two parameters and don't assign
35445         result to variable.  Adjust all users.
35446         Define INTERNAL_GETTIME if not already defined.
35447         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35448         call.
35449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35450         HAVE_CLOCK_GETTIME_VSYSCALL.
35451         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35453         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35454         gettimeofday vsyscall, just use time.
35456 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35458         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35459         <errno.h>.
35461 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35463         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35464         syscall on x86-64.
35465         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35466         syscall.
35467         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35468         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35469         syscall if possible.
35471 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35473         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35474         e_ident.  Don't pass to find_mapsXX.
35475         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35477 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35480         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35481         * sysdeps/x86_64/multiarch/strchr.S: Update.
35482         Check bit_slow_BSF bit.
35483         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35484         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35485         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35487 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35489         [BZ #13134]
35490         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35491         before glibc 2.15.
35492         (tryshell): Define.
35493         (__spawni): Change last parameter to be flag.  Test
35494         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35495         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35496         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35497         * posix/spawni.c: Likewise.
35498         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35499         * posix/spawnp.c: Likewise.  Change normal version to use
35500         SPAWN_XFLAGS_USE_PATH.
35501         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35502         SPAWN_XFLAGS_TRY_SHELL.
35504         [BZ #13150]
35505         * posix/glob.h: Remove gcc 1.x support.
35507         [BZ #13068]
35508         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35510 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35513         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35514         strrchr-sse2-bsf
35515         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35516         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35517         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35518         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35519         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35520         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35522 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35524         * sysdeps/x86_64/wcscmp.S: New file.
35526         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35527         wcscmp-c wcscmp-sse2
35528         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35529         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35530         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35531         * wcsmbs/wcscmp.c: Allow renaming.
35533 2011-09-05  David S. Miller  <davem@davemloft.net>
35535         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35536         stack slot, rather than the struct return pointer slot.
35537         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35538         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35540         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35542 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35544         * po/ja.po: Update from translation team.
35546         [BZ #13144]
35547         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35548         kernel in 64-bit binaries.
35550 2011-09-01  David S. Miller  <davem@davemloft.net>
35552         * elf/elf.h (HWCAP_SPARC_*): Move to..
35553         * sysdeps/sparc/sysdep.h: this new file and add new values.
35554         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35555         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35556         _DL_HWCAP_COUNT to 24.
35557         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35558         entries.
35559         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35560         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35561         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35563         instead of magic constants.
35564         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35566 2011-08-31  David S. Miller  <davem@davemloft.net>
35568         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35569         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35570         Reimplement to do errno handling inline.
35571         (SYSCALL_ERROR_HANDLER): New macro.
35572         (__SYSCALL_STRING): Do not do errno handling in asm.
35573         (__CLONE_SYSCALL_STRING): Delete.
35574         (__INTERNAL_SYSCALL_STRING): Delete.
35575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35576         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35577         (PSEUDO): Reimplement to do errno handling inline.
35578         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35579         (SYSCALL_ERROR_HANDLER): New macro.
35580         (__SYSCALL_STRING): Do not do errno handling in asm.
35581         (__CLONE_SYSCALL_STRING): Delete.
35582         (__INTERNAL_SYSCALL_STRING): Delete.
35583         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35584         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35585         i386.
35586         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35587         (inline_syscall*): Add 'err' argument.
35588         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35589         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35590         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35591         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35593         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35594         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35596 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35598         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35600 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35602         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35603         directive.
35605 2011-08-24  David S. Miller  <davem@davemloft.net>
35607         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35609 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35611         * elf/Makefile: Add rules to build and run unload8 test.
35612         * elf/unload8.c: New file.
35613         * elf/unload8mod1.c: New file.
35614         * elf/unload8mod1x.c: New file.
35615         * elf/unload8mod2.c: New file.
35616         * elf/unload8mod3.c: New file.
35618         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35619         it wasn't used.
35621 2011-08-23  David S. Miller  <davem@davemloft.net>
35623         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35624         subtract stack bias.
35625         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35626         %sp not %fp in calculations.
35627         (_JMPBUF_UNWINDS_ADJ): Likewise.
35629         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35630         (aio_suspend): Call it to force an exception region around the
35631         AIO_MISC_WAIT() invocation.
35633 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35635         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35636         backslash.
35638 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35640         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35641         protection macro.
35642         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35643         and <dl-machine.h>.
35644         (Elf64_FuncDesc): Remove.
35646 2011-08-22  David S. Miller  <davem@davemloft.net>
35648         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35649         sigaltstack check, add missing cfi directives.
35650         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35651         missing cfi directives, and sigaltstack handling.
35653 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35655         [BZ #11724]
35656         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35657         object is seen twice.
35658         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35660         * elf/Makefile (distribute): Add tst-initorder2.c.
35661         (tests): Add tst-initorder2.
35662         (modules-names): Add tst-initorder2a tst-initorder2b
35663         tst-initorder2c tst-initorder2d.  Add rules to build them.
35664         ($(objpfx)tst-initorder2.out): New rule.
35665         * elf/tst-initorder2.c: New file.
35666         * elf/tst-initorder2.exp: New file.
35668 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35670         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35672         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35673         dependencies back to end of function.
35675         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35676         $(elfobjdir)/ld.so.
35678 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35680         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35681         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35682         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35683         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35684         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35685         of __vdso_gettimeofday.
35686         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35687         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35688         attribute_hidden.
35689         (_libc_vdso_platform_setup): Remove initialization of
35690         __vdso_gettimeofday and __vdso_time.
35692 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35694         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35695         and fgetc_unlocked.
35696         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35697         getc_unlocked.
35699         * elf/dl-open.c (add_to_global): Report additions to the global scope
35700         for LD_DEBUG=scopes.
35701         (dl_open_worker): Also print scope of newly loaded dependencies.
35702         (_dl_show_scope): Indicate if there is no scope.
35704         [BZ #13114]
35705         * stdio-common/Makefile (tests): Add bug24.
35706         * stdio-common/bug24.c: New file.
35708 2011-08-19  Andreas Jaeger  <aj@suse.de>
35710         [BZ #13114]
35711         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35712         non-existant file when using close-on-exec mode.
35714 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35716         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35717         the very first instruction.
35719         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35720         the CFI state in the end.
35721         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35722         inclusion of dl-trampoline.h.
35723         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35725 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35727         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35728         expectations for long double.
35730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35731         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35733 2011-08-14  David S. Miller  <davem@davemloft.net>
35735         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35736         artificual limit depends upon the system page size.
35738 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35740         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35741         * resolv/Makefile: Define CFLAGS-libresolv.
35743 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35745         * nss/makedb.c (compute_tables): Make variables used in nested
35746         function static.
35748 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35750         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35751         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35752         if buffer was too small.
35754         * elf/pldd.c (main): Attach to all threads in the process.
35755         Rewrite /proc handling to use *at functions.
35757 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35759         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35760         specifies first scope to show.
35761         (dl_open_worker): Update callers.  Move printing scope of new
35762         object to before the relocation.
35763         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35764         * sysdeps/generic/ldsodefs.h: Update declaration.
35766         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35767         string for the scope number.
35769 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35771         * nscd/servicescache.c (cache_addserv): Make sure written is always
35772         initialized.
35774 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35776         * sysdeps/i386/i486/bits/atomic.h
35777         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35778         statement expression, so as to suppress "set but not used" warning.
35779         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35781         * string/strncat.c (STRNCAT): Use prototype definition.
35783         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35784         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35785         -Iprograms here.
35786         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35787         (localedef-modules): Add localedef.
35788         (locale-modules): Add locale.
35790         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35791         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35792         to avoid a warning.
35794 2011-08-14  David S. Miller  <davem@davemloft.net>
35796         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35797         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35799 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35801         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35802         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35803         * elf/rtld.c (dl_main): Set l_name of vDSO.
35804         Call _dl_show_scope when DL_DEBUG_SCOPES.
35805         (process_dl_debug): Recognize scopes flag and also set it for all.
35806         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35807         Declare _dl_show_scope.
35809         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35810         (do_dlopen): Pass caller_dlopen to dl_open.
35811         (__libc_dlopen_mode): Initialize caller_dlopen.
35813         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35814         of libc.  Make tolower call locale-independent.  Optimize a bit by
35815         using isdigit instead of isalnum.
35816         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35818 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35820         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35821         was a dependency or dynamically loaded.
35823 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35825         * intl/l10nflist.c: Allow architecture-specific pop function.
35826         * sysdeps/x86_64/l10nflist.c: New file.
35828         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35829         classification.
35831 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35833         * include/dirent.h: Add libc_hidden_proto for scandirat and
35834         scandirat64.  Don't declare __scandirat64.
35835         * dirent/scandirat.c: Add libc_hidden_def.
35836         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35837         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35839 2011-08-10  David S. Miller  <davem@davemloft.net>
35841         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35842         enum.
35843         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35844         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35847 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35849         * Versions.def [libc]: Add GLIBC_2.15.
35850         * dirent/Makefile (routines): Add scandirat and scandirat64.
35851         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35852         GLIBC_2.15.
35853         * dirent/dirent.h: Declare scandirat and scandirat64.
35854         * dirent/scandirat.c: New file.
35855         * dirent/scandirat64.c: New file.
35856         * sysdeps/wordsize-64/scandirat.c: New file.
35857         * sysdeps/wordsize-64/scandirat64.c: New file.
35858         * dirent/opendir.c: Define opendirat.
35859         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35860         using scandirat.
35861         * dirent/scandir64.c: Adjust for scandir.c change.
35862         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35863         __scandirat64, and __scandir_cancel_handler.
35864         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35865         additional parameter and use openat instead of open (outside of ld.so).
35866         Add new __opendir as wrapper around __opendirat.
35867         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35868         here without requiring old scandirat implementation.
35870 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35872         * dirent/scandir.c (cancel_handler): Renamed to
35873         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35874         defined.  Adjust users.
35875         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35876         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35878 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35880         * string/test-string.h (IMPL): Use __STRING to expand name and then
35881         stringify it.
35883         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35884         of cleanups.
35886 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35888         * string/Makefile: Update.
35889         (strop-tests): Append strncat.
35890         * string/test-wcscmp.c: New file.
35891         New comprehensive test for wcscmp.
35892         * string/test-strcmp.c: Update.
35893         (WIDE): New define.
35895 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35897         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35898         line.
35900 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35903         encoding to ACE if AI_IDN.
35905 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35907         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35908         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35910 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35912         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35913         Fix overflow bug in strncat.
35914         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35916         * string/test-strncat.c: Update.
35917         Add new tests for checking overflow bugs.
35919 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35921         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35922         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35923         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35924         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35925         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35926         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35927         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35928         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35929         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35931         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35932         (USE_AS_STRCAT): Define.
35933         Add strcat and strncat support.
35934         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35936 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35938         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35939         __n bigger than INT_MAX+1.
35940         (__strncmp_g): Likewise.
35942 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35944         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35945         * libio/stido.h: Likewise.
35947         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35948         (AF_NFC): Define.
35949         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35950         (AF_NFC): Define.
35952         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35953         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35954         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35955         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35956         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35958         [BZ #13021]
35959         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35960         installed.
35962         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35963         typo.
35964         (_dl_x86_64_save_sse): Likewise.
35966 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35968         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35969         OSXSAVE.
35970         (_dl_x86_64_save_sse): Likewise.
35972         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35974         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35976 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35979         change.
35980         (_dl_x86_64_save_sse): Use correct AVX check.
35982 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35984         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35985         bug in strncpy/strncat.
35986         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35988 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35990         * string/tester.c (test_strcat): Add tests for different alignments
35991         of source and destination.
35992         (test_strncat): Likewise.
35994 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35996         [BZ #12852]
35997         * posix/glob.c (glob): Check passed in values before using them in
35998         expressions to avoid some overflows.
35999         (glob_in_dir): Likewise.
36001         [BZ #13007]
36002         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36003         check for AVX enablement so that we don't crash with old kernels and
36004         new hardware.
36005         * elf/tst-audit4.c: Add same checks here.
36006         * elf/tst-audit6.c: Likewise.
36008         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36010 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
36012         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36014 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
36016         * po/cs.po: Update from translation team.
36017         * po/bg.po: Likewise.
36019 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
36021         * misc/sys/cdefs.h: Add support for const attribute.
36022         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36023         to gnu_dev_{major,minor,makedev} functions.
36025 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
36027         * intl/dcigettext.c (get_output_charset): Add missing bracket.
36029 2011-07-20  Andreas Schwab  <schwab@redhat.com>
36031         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36032         strlen results.
36034 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36036         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36037         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36038         register in order to avoid conflicts with the soft frame pointer
36039         being held in r11 when necessary.
36040         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36041         (INTERNAL_VSYSCALL_NCS): Likewise.
36043 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
36045         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36046         * elf/dl-fini.c (_dl_fini): Adjust caller.
36047         * elf/dl-close.c (_dl_close_worker): Likewise.
36048         * sysdeps/generic/ldsodefs.h: Adjust declaration.
36050 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36052         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36053         "aux_cache->nlibs < 0".
36055         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36056         in the reload-count case.
36058 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36061         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36062         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36063         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36064         * sysdeps/x86_64/multiarch/strcat.S: New file.
36065         * sysdeps/x86_64/multiarch/strncat.S: New file.
36066         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36067         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36068         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36069         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36070         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36071         (USE_AS_STRCAT): Define.
36072         Add strcat and strncat support.
36073         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36074         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36075         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36076         * string/strncat.c: Update.
36077         (USE_AS_STRNCAT): Define.
36078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36079         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36080         and i7.
36081         * sysdeps/x86_64/multiarch/init-arch.h
36082         (bit_Prefer_PMINUB_for_stringop): New.
36083         (index_Prefer_PMINUB_for_stringop): Likewise.
36084         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36085         bit_Prefer_PMINUB_for_stringop.
36087 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36089         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36090         buffer64.
36091         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36092         of casting of buffer.
36093         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36094         buffer32 and buffer64.
36095         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36096         writes instead of casting of buffer.
36097         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36098         buffer32.
36099         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36100         casting of buffer.
36102 2011-07-19  Andreas Schwab  <schwab@redhat.com>
36104         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36106 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
36108         * nscd/nscd.c (termination_handler): Don't do anything for a database
36109         if it has not yet been initialized.
36111 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36113         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36115 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
36117         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36119 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
36121         * po/nl.po: Update from translation team.
36122         * po/sv.po: Likewise.
36124 2011-07-16  Roland McGrath  <roland@hack.frob.com>
36126         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36127         now disallowed by GCC.
36129         * configure.in (use-default-link): Default to yes if a test -shared
36130         link meets our qualifications.
36131         * configure: Regenerated.
36133         * config.make.in (output-format): New variable.
36134         * configure.in: Check for ld --print-output-format support.
36135         * configure: Regenerated.
36136         * Makerules ($(common-objpfx)format.lds)
36137         [$(output-format) != unknown]: Just use $(output-format),
36138         instead of the linker-script munging.
36140 2011-07-14  Roland McGrath  <roland@hack.frob.com>
36142         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36143         of $(common-objpfx)shlib.lds.
36144         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36146         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36147         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36149         * configure.in (-z relro check): Adjust test code to add a large
36150         writable data section after it.
36151         * configure: Regenerated.
36153 2011-07-11  Roland McGrath  <roland@hack.frob.com>
36155         * configure.in (-z relro check): Fix test code to make the variable
36156         truly const.
36157         * configure: Regenerated.
36159 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
36161         * nscd/nscd.h (struct traced_file): Define.
36162         (struct database_dyn): Remove inotify_descr, reset_res, and filename
36163         elements.  Add traced_files.
36164         (inotify_fd): Declare.
36165         (register_traced_file): Declare.
36166         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36167         (inotify_fd): Export.
36168         (resolv_conf_descr): Remove.
36169         (nscd_init): Move inotify descriptor creation to main.
36170         Don't register files for notification here.
36171         (register_traced_file): New function.
36172         (invalidate_cache): Don't use reset_res to determine whether to call
36173         res_init, go through the list of registered files.
36174         (main_loop_poll): The inotify descriptors are now stored in the
36175         structures for the traced files.
36176         (main_loop_epoll): Likewise
36177         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
36178         to __nss_disable_nscd.
36179         * nscd/cache.c (prune_cache): There is no single inotify descriptor
36180         for a database anymore.  Check the records for all the registered
36181         files instead.
36182         * nss/Makefile (libnss_files-routines): Add files-init.
36183         (libnss_db-routines): Add db-init.
36184         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36185         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36186         * nss/nss_db/db-init.c: New file.
36187         * nss/nss_files/files-init.c: New file.
36188         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
36189         __nss_lookup_function.
36190         (__nss_lookup_function): Call nss_load_library.
36191         (nss_load_all_libraries): New function.
36192         (__nss_disable_nscd): Take parameter with callback function for files
36193         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
36194         used for the cached services.
36195         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36196         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36197         options for features to all the files in nscd.
36199         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36201 2011-07-10  Roland McGrath  <roland@hack.frob.com>
36203         * csu/elf-init.c (__libc_csu_init): Comment typo.
36205 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
36207         * po/pl.po: Update from translation team.
36208         * po/ja.po: Likewise.
36209         * po/ru.po: Likewise.
36210         * po/ko.po: Likewise.
36211         * po/fr.po: Likewise.
36213 2011-07-09  Roland McGrath  <roland@hack.frob.com>
36215         * configure.in (.ctors/.dtors header and trailer check):
36216         Use an empirical test on a built program.
36217         * configure: Regenerated.
36219         * configure.in (-z relro check): Use an empirical test on a built DSO.
36220         Detect, but do not require, on ia64.
36221         * configure: Regenerated.
36223         * configure.in (READELF): Find it with AC_CHECK_TOOL.
36224         Update tests that use readelf to use $READELF instead.
36225         * configure: Regenerated.
36227 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
36229         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36230         if the result is not used.
36232 2011-07-05  Andreas Jaeger  <aj@suse.de>
36234         [BZ#9696]
36235         * stdlib/tst-strtod.c: Add testcase.
36237 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
36239         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36240         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36241         The latter has a higher limit.  Take additional parameter to pass to
36242         the new function.
36243         (__pathconf): Pass file to __statfs_link_max.
36244         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36245         __statfs_link_max.
36246         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36247         __statfs_link_max.
36249         [BZ #12868]
36250         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36251         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36252         Handle Lustre.
36253         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36254         (__statfs_filesize_max): Likewise.
36255         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36257 2011-07-05  Andreas Jaeger  <aj@suse.de>
36259         * resolv/res_comp.c (dn_skipname): Remove unused variable.
36261 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
36263         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36264         `status' variable.
36265         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36266         Likewise.
36268 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
36270         * Makefile (strop-tests): Add strncat.
36271         * string/test-strncat.c: New file.
36273 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
36275         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36277 2011-06-21  Andreas Jaeger  <aj@suse.de>
36279         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36280         Copy rule from iconvdata/Makefile.
36282 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36284         [BZ #12922]
36285         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36286         but no long options are defined, just return 'W'.
36288 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
36290         [BZ #9696]
36291         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36293 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
36295         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36296         netgroups to read.
36297         (innetgr): Likewise.
36299 2011-07-05  Roland McGrath  <roland@hack.frob.com>
36301         * config.make.in (install_root): Default to $(DESTDIR).
36303 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
36305         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36307 2011-07-02  Roland McGrath  <roland@hack.frob.com>
36309         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36311         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36312         containing directory rather than embedding absolute directory names.
36314         * scripts/check-local-headers.sh: Rewritten using awk.
36315         Match by word, not by line.  Print error messages for matches.
36316         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36318         * Makerules [shlib-lds-flags empty]:
36319         ($(common-objpfx)libc_pic.opts): New target.
36320         ($(common-objpfx)libc_pic.os.clean): New target.
36321         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36323         * config.make.in (OBJCOPY): New variable.
36324         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36325         * configure: Regenerated.
36327         * config.make.in (use-default-link): New variable.
36328         * configure.in (use_default_link): Grok --with-default-link to set it.
36329         * configure: Regenerated.
36330         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36331         (shlib-lds, shlib-lds-flags): Define to empty.
36333         * Makerules (shlib-lds): New variable.
36334         (shlib-lds-flags): New variable.
36335         (build-shlib, build-moduile, build-module-asneeded): Use it.
36336         ($(common-objpfx)libc.so): Use $(shlib-lds).
36337         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36338         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36340         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36341         DT_FLAGS/DT_FLAGS_1 with zero flags.
36343         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36344         linker script munging.
36346 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
36348         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36349         as 128-bit value.
36350         * crypt/sha512.c (sha512_process_block): Perform total addition using
36351         128-bit if possible.
36352         (__sha512_finish_ctx): Likewise.
36353         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36354         as 64-bit value.
36355         * crypt/sha256.c (SWAP64): Define.
36356         (sha256_process_block): Perform total addition using 64-bit if
36357         possible.
36358         (__sha256_finish_ctx): Likewise.
36360 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
36362         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
36363         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36364         * nscd/hstcache.c (cache_addhst): Likewise.
36365         * nscd/grpcache.c (cache_addgr): Likewise.
36366         * nscd/aicache.c (addhstaiX): Likewise
36367         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36369 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36371         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
36377 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36379         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36380         domain only when needed.
36382 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36385         is always restored.
36387 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36389         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36390         are re-adding the entry.
36391         * nscd/servicescache.c (cache_addserv): Likewise.
36393 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36395         * sysdeps/generic/dl-irel.h: fix protection against multiple
36396         inclusions.
36397         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36399 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36401         [BZ #12935]
36402         * malloc/memusage.sh: Fix quoting in message.
36403         * debug/xtrace.sh: Likewise.
36405         * configure.in: Remove support for --experimental-malloc option, make
36406         it the default.
36407         * config.make.in: Likewise.
36408         * malloc/Makefile: Likewise.
36410 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36412         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36413         two-byte characters.
36415 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36417         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36418         AC_CACHE_CHECK invocation.
36419         * configure: Regenerated.
36421         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36423 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36425         [BZ #12350]
36426         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36427         bit from old_res_options.
36429         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36431         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36432         value type for setfct.
36434 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36436         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36437         __gettimeofday instead of gettimeofday.
36439 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36441         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36443 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36445         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36447         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36448         info.
36450 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36453         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36454         strcpy-sse2-unaligned strncpy-sse2-unaligned
36455         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36456         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36457         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36458         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36459         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36460         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36461         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36462         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36463         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36464         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36465         (STRCPY): Support SSE2 and SSSE3 versions.
36467 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36469         [BZ #12874]
36470         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36471         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36472         kernels which artificially limit size of requests.
36474 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36476         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36477         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36478         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36479         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36480         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36481         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36482         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36483         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36484         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36485         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36486         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36487         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36488         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36489         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36490         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36492         Enable unaligned load optimization for Intel Core i3, i5 and i7
36493         processors.
36494         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36495         Define.
36496         (index_Fast_Unaligned_Load): Define.
36497         (HAS_FAST_UNALIGNED_LOAD): Define.
36499 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36501         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36503 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36505         [BZ #12907]
36506         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36507         until it is clear that the information is realy needed.
36508         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36510 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36514 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36516         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36517         /sys/devices/system/cpu/online if it is usable.
36519         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36520         reading the information from the /proc filesystem to once a second.
36522 2011-06-21  Andreas Jaeger  <aj@suse.de>
36524         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36525         NULL after inclusion of kernel headers.
36527 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36529         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36530         calls to internal_setent.
36532         [BZ #12885]
36533         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36534         addresses using gethostbyname4_r ignore IPv4 addresses.
36536         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36537         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36539         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36541 2011-06-20  David S. Miller  <davem@davemloft.net>
36543         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36544         inclusions.
36545         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36547         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36548         (elf_irel): Use it.
36549         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36550         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36551         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36552         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36553         * sysdeps/x86_64/dl-irel.h: Likewise.
36555         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36556         * elf/dl-sym.c: Likewise.
36558 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36560         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36561         need to dereference resplen2.
36563 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36565         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36567 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36569         * Makeconfig: Define vardbdir and inst_vardbdir.
36570         * nss/Makefile: Add rules to install db-Makefile.
36572         * nss/nss_db/db-XXX.c: Cleanup.
36574         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36575         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36576         GLIBC_PRIVATE.
36577         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36578         * nss/makedb.c: Implement -g option to specify that value strings
36579         are generated and should not be added to table iterated over for
36580         get*ent calls.
36581         * nss/nss_db/db-initgroups.c: New file.
36583         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36584         interface.
36586         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36587         (internal_getgrouplist): Adjust to name change.
36588         Update use_initgroups_entry if this is not the first call.
36589         * nss/databases.def: Add initgroups entry.
36591         * nss/makedb.c (compute_tables): Check result of multiple hash table
36592         sizes to minimize maximum chain length.
36594 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36596         * Versions.def: Add entry for libnss_db.
36597         * shlib-versions: Likewise.
36598         * nss/Makefile: Add rules to build libnss_db.
36599         * nss/Versions: Add libnss_db information.  Organize libnss_files
36600         entries better.
36601         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36602         makedb progra.  Some minor improvements to generate smaller files.
36603         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36604         here from...
36605         * nss/makedb.c: ...here.
36606         Improve database format to be smaller and require less memory at
36607         runtime.
36608         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36609         db anymore.
36610         * nss/nss_db/db-netgrp.c: Likewise.
36611         * nss/nss_db/db-open.c: Likewise.
36612         * nss/nss_files/flies-XXX.x: Adjust comments.
36613         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36614         * nss/nss_files/files-grp.c: Likewise.
36615         * nss/nss_files/files-hosts.c: Likewise.
36616         * nss/nss_files/files-network.c: Likewise.
36617         * nss/nss_files/files-proto.c: Likewise.
36618         * nss/nss_files/files-pwd.c: Likewise.
36619         * nss/nss_files/files-rpc.c: Likewise.
36620         * nss/nss_files/files-service.c: Likewise.
36621         * nss/nss_files/files-sgrp.c: Likewise.
36622         * nss/nss_files/files-spwd.c: Likewise.
36623         * nss/nss_db/db-alias.c: Removed.
36624         * nss/nss_db/dummy-db.h: Removed.
36626 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36628         * nss/makedb.c: Rewritten to not use database library.
36629         * nss/Makefile: Update to build new makedb program.
36631 2011-06-14  Andreas Jaeger  <aj@suse.de>
36633         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36634         memset declaration.
36636 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36639         tmpbuf.
36641 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36643         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36644         * elf/Makefile ($(objpfx)ld.so): Likewise.
36646         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36647         Don't list ld.so twice in dependencies.
36649         * posix/bug-regex31.c: Include <stdlib.h>.
36651         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36653         * nis/nss_compat/compat-spwd.c
36654         (getspent_next_nss_netgr): Remove unused variable.
36655         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36657         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36658         nonmembers" output to use the right array.
36660         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36662         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36664         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36665         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36666         * catgets/gencat.c (read_input_file): Likewise.
36667         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36669         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36670         variable definition inside #if's controlling its use.
36672         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36674         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36676         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36678         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36679         unreachable code.
36681         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36683         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36684         * configure: Regenerated.
36686         * Makerules: Revert last change.
36687         * elf/Makefile: Likewise.
36689 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36691         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36692         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36693         (reloc-link): Likewise.
36695 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36697         * elf/Makefile: Add rules to build pldd.
36698         * elf/pldd.c: New file.
36699         * elf/pldd-xx.c: New file.
36701 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36703         * version.h: Update for 2.15 development version.
36705 2011-06-07  David S. Miller  <davem@davemloft.net>
36707         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36708         ifuncs.
36709         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36710         elf_machine_lazy_rel): Likewise.
36711         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36712         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36713         elf_machine_lazy_rel): Likewise.
36714         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36715         dl_hwcap via passed in argument.
36716         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36717         Likewise.
36719 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36721         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36723 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36725         [BZ #12849]
36726         * manual/fdl-1.1.texi: New file, verbatim from:
36727         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36728         * manual/lgpl-2.1.texi: New file, verbatim from:
36729         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36730         * manual/Makefile (licenses): New variable, list those new file names.
36731         (texis): Use it.
36732         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36734         * manual/fdl.texi: File removed.
36735         * manual/lesser.texi: File removed.
36736         * manual/libc.texinfo (Copying, Documentation License):
36737         Use new @include file names, put @appendix directive before @include.
36739 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36741         [BZ #12841]
36742         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36743         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36744         (mq_open): Add __NTH.
36746 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36749         Assume Intel Core i3/i5/i7 processor if AVX is available.
36751 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36753         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36754         typo.
36756 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36758         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36759         memory.  Use alloca_account.  Fix memory leak when retrying.
36761 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36763         * version.h (RELEASE): Bump for 2.14 release.
36764         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36766         * config.make.in (RANLIB): Remove entry.
36768 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36770         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36771         (libc.pot): Work around missing support for .ksh extension in xgettext.
36773         [BZ #12684]
36774         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36775         if both request failed.
36776         (send_dg): In case of server errors clear resplen or *resplen2.
36778         [BZ #12454]
36779         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36780         when there are multiple maps.
36781         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36782         (_dl_fini): Remove test here.
36784         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36786 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36788         [BZ #12350]
36789         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36790         bit from old_res_options.
36791         (gaih_inet): Likewise.
36793         [BZ #11099]
36794         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36795         as signed.
36797         * resolv/res_init.c (res_setoptions): Make the code more compact.
36799         [BZ #11558]
36800         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36801         set RES_USEVC.
36803         [BZ #11634]
36804         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36806         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36808         [BZ #11781]
36809         * malloc/malloc.h: Declare malloc hook variables as volatile.
36811         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36812         in last patch.
36814         [BZ #11799]
36815         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36816         raise in the comment.
36817         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36818         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36819         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36821 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36823         [BZ #12811]
36824         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36825         grow the buffers more if it already has to be sufficient.
36826         (build_wcs_upper_buffer): Likewise.
36827         * posix/regexec.c (check_matching): Likewise.
36828         (clean_state_log_if_needed): Likewise.
36829         (extend_buffers): Don't enlarge buffers beyond size of the input
36830         buffer.
36831         Patches mostly by Emil Wojak <emil@wojak.eu>.
36832         * posix/bug-regex32.c: New file.
36833         * posix/Makefile (tests): Add bug-regex32.
36835         * locale/findlocale.c (_nl_find_locale): Return right away if
36836         _nl_explode_name failed.
36837         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36839         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36841         * debug/xtrace.sh: Unify messages.
36842         * malloc/memusage.sh: Likewise.
36844         [BZ #12813]
36845         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36846         time symbol from vDSO.  Substitute with vsyscall if not available.
36847         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36848         __vdso_time.
36850         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36851         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36852         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36853         Add sendmmsg and internal_sendmmsg.
36854         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36855         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36856         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36858         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36859         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36860         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36862 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36864         [BZ #12813]
36865         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36866         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36867         available.
36868         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36869         __vdso_getcpu.
36871         [BZ #12814]
36872         * iconvdata/Makefile (tests): Add bug-iconv9.
36873         * iconvdata/bug-iconv9.c: New file.
36875 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36877         [BZ #12814]
36878         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36880 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36882         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36883         (struct user_regs_struct): Change intcs field back to cs.
36885 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36887         * po/ja.po: Update from translation team.
36889 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36891         [BZ #12795]
36892         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36893         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36895 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36897         * stdlib/longlong.h: Update from GCC.
36899 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36901         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36902         parameter name.
36903         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36904         Add parameter name.
36905         (__sysconf): Pass it down.
36907 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36909         [BZ #12671]
36910         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36911         some situations.
36912         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36913         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36914         add in in __libc_use_alloca calls.  Adjust callers.
36915         (glob): Use malloc in some situations.
36917         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36918         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36919         pltexit.
36921 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36923         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36924         and CLOCK_BOOTTIME_ALARM.
36926         [BZ #12782]
36927         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36928         is returned.
36930         * string/_strerror.c (__strerror_r): Print negative errors as signed
36931         numbers.
36933         [BZ #12777]
36934         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36935         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36936         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36938         * configure.in: Fix typo in redirection and correct removal of test
36939         files in two cases.
36941         [BZ #12788]
36942         * locale/setlocale.c (new_composite_name): Fix test to check for
36943         identical name of all categories.
36945         [BZ #12792]
36946         * libio/filedoalloc.c (local_isatty): New function.
36947         (_IO_file_doallocate): Use local_isatty.
36948         * stdio-common/perror.c (perror): In case a new stream is used
36949         forward the stream error.
36950         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36951         error flag.
36953 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36955         [BZ #11869]
36956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36957         alloca.
36958         * include/alloca.h (extend_alloca_account): Define.
36960         [BZ #11857]
36961         * posix/regex.h: Fix comments with documentation of user-accessible
36962         fields after compilation and describe correct free'ing of pattern
36963         after re_compile_pattern.
36964         Patch by Reuben Thomas <rrt@sc3d.org>.
36966 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36968         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36969         and -mno-altivec to prevent the compiler from using Altivec and/or
36970         VSX instructions when the corresponding registers are not available.
36972 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36974         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36976 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36978         * libio/freopen.c (freopen): Use __dup2, not dup2.
36979         * libio/freopen64.c (freopen64): Likewise.
36981 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36983         [BZ #12775]
36984         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36985         * math/Makefile (tests): Add test-powl.
36986         (CFLAGS-test-powl.c): Define.
36987         * math/test-powl.c: New file.
36989 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36991         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36993 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36995         [BZ #11837]
36996         * iconvdata/gb18030.c: Update to GB18020-2005.
36998 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
37000         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37001         RE_SYNTAX_POSIX_AWK): Update to match recent development.
37002         Patch by Aharon Robbins <arnold@skeeve.com>.
37004         [BZ #11892]
37005         * stdlib/putenv.c (putenv): Don't always create copy of the variable
37006         on the stack.
37008         [BZ #11895]
37009         * misc/pselect.c (__pselect): Handle timeout value errors hidden
37010         through underflows.
37012         [BZ #12766]
37013         * misc/error.c (error_at_line): Ensure file_name and old_file_name
37014         point to strings before performing equality test for error_one_per_line
37015         mode.
37017         [BZ #11697]
37018         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37020         [BZ #11820]
37021         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37022         (struct user_fpregs_struct): Avoid __uint*_t types.
37024         [BZ #6420]
37025         * malloc/mtrace.c (tr_where): Add additional parameter to point to
37026         symbol info.  Use it instead of calling _dl_addr locally.
37027         (lock_and_info): New function.
37028         (tr_freehook): Call lock_and_info and pass symbol info as additional
37029         parameter to tr_where.
37030         (tr_mallochook): Likewise.
37031         (tr_reallochook): Likewise.
37032         (tr_memalignhook): Likewise.
37034         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
37035         used and couldn't be at all thread-safe.
37037 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
37039         * libio/freopen.c (freopen): Don't close old file descriptor
37040         before the new one is opened.  Instead dup the new file descriptor
37041         to the old one after the new stream is created.
37042         * libio/freopen64.c (freopen64): Likewise.
37043         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37044         * libio/fileops.c (_IO_new_file_close_it): Handle new
37045         _IO_FLAGS2_NOCLOSE flag.
37046         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37047         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37048         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37049         _IO_FLAGS2_NOCLOSE flag.
37050         * include/unistd.h: Add hidden_proto for dup3.
37051         Define __have_dup3.
37052         * io/dup3.c: Define hidden symbol.
37053         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37055         [BZ #7101]
37056         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37057         when an incomplete long option is used.
37058         * posix/tst-getopt_long1.c: New file.
37059         * posix/Makefile (tests): Add tst-getopt_long1.
37061         [BZ #10138]
37062         * scripts/config.guess: Update from autoconf-2.68.
37063         * scripts/config.sub: Likewise.
37065         [BZ #10157]
37066         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37067         tests into ...
37068         (has_cpuclock): ...this.  New function.
37069         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37070         macro here based on has_cpuclock code.
37072         [BZ #10149]
37073         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37074         First byte (not low byte) is now always NUL.
37075         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37077         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37078         Use non-cancelable interfaces.
37080         [BZ #9809]
37081         * locale/iso-639.def: Add entry for Sorani.
37083         [BZ #11901]
37084         * include/stdlib.h: Move include protection to the right place.
37085         Define abort_msg_s.  Declare __abort_msg with it.
37086         * stdlib/abort.c (__abort_msg): Adjust type.
37087         * assert/assert.c (__assert_fail_base): New function.  Majority
37088         of code from __assert_fail.  Allocate memory for __abort_msg with
37089         mmap.
37090         (__assert_fail): Now call __assert_fail_base.
37091         * assert/assert-perr.c: Remove bulk of implementation.  Use
37092         __assert_fail_base.
37093         * include/assert.hL Declare __assert_fail_base.
37094         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37095         mmap.
37096         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37098 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
37100         [BZ #11952]
37101         [BZ #12453]
37102         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37103         until all modules are registered in the DTV.
37104         * elf/Makefile: Add rules to build and run tst-tls19.
37105         * elf/tst-tls19.c: New file.
37106         * elf/tst-tls19mod1.c: New file.
37107         * elf/tst-tls19mod2.c: New file.
37108         * elf/tst-tls19mod3.c: New file.
37109         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37111         [BZ #12083]
37112         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37113         correctly.
37115         [BZ #12601]
37116         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37117         two-byte sequence errors.
37118         * iconvdata/Makefile (tests): Add bug-iconv8.
37119         * iconvdata/bug-iconv8.c: New file.
37121         [BZ #12626]
37122         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37123         buf2 definition.
37125         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37127         [BZ #12432]
37128         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37129         (dummy_getcfa): New function.
37130         (init): Get _Unwind_GetCFA address, use dummy if not found.
37131         (backtrace_helper): In recursion check, also check whether CFA changes.
37132         (__backtrace): Completely initialize arg.
37134         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37135         storing incomplete byte sequence in state object.  Avoid testing for
37136         guaranteed too small input if we know there is enough data available.
37138 2011-05-11  Andreas Schwab  <schwab@redhat.com>
37140         * Makeconfig (+link-pie): Indent.
37141         * Rules (binaries-pie): Define if $(have-fpie) and
37142         $(build-shared).
37143         (binaries-shared): Also filter out $(binaries-pie).
37144         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37145         * nscd/Makefile (others-pie): Add nscd.
37146         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37147         ($(objpfx)nscd): Remove command override.
37148         * login/Makefile (others-pie): Add pt_chown.
37149         ($(objpfx)pt_chown): Remove command override.
37150         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37151         remove command overrides.
37153 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
37155         * libio/tst_putwc.c: Fix error messages.
37157         [BZ #12724]
37158         * libio/fileops.c (_IO_new_file_close_it): Always flush when
37159         currently writing and seek to current position when not.
37160         * libio/Makefile (tests): Add bug-fclose1.
37161         * libio/bug-fclose1.c: New file.
37163 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
37165         [BZ #12511]
37166         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37167         don't set DF_1_NODELETE here.
37168         (do_lookup_x): When entering new entry test for copy relocation
37169         and if necessary set DF_1_NODELETE flag.
37170         * elf/tst-unique4.cc: New file.
37171         * elf/tst-unique4.h: New file.
37172         * elf/tst-unique4lib.cc: New file.
37173         * elf/Makefile: Add rules to build and run tst-unique4.
37174         Patch by Piotr Bury <pbury@goahead.com>.
37176 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
37178         [BZ #12052]
37179         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37181         [BZ #12625]
37182         * misc/mntent_r.c (addmntent): Flush the stream after the output
37184         [BZ #12393]
37185         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37186         (is_trusted_path_normalize): Skip initial colon.  Append slash
37187         to empty buffer.  Duplicate is_trusted_path code but allow
37188         constructed patch to be prefix.
37189         (is_dst): Allow $ORIGIN followed by /.
37190         (_dl_dst_substitute): Correct clearing of check_for_trusted.
37191         Correct testing of result of is_trusted_path_normalize
37192         (decompose_rpath): Fix warning.
37194 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
37196         [BZ #11257]
37197         * grp/initgroups.c (internal_getgrouplist): When we found the service
37198         list through the initgroups entry in nsswitch.conf do not always
37199         continue on a successful lookup.  Don't always use the
37200         __nss_group_database value if it is set.
37201         * nss/nsswitch.conf (initgroups): Change action for successful db
37202         lookup to continue for compatibility.
37204 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
37206         [BZ #11532]
37207         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37208         and CP774 modules.
37209         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37210         and CP774 modules.
37211         * iconvdata/tst-tables.sh: Likewise.
37212         * iconvdata/cp770.c: New file.
37213         * iconvdata/cp771.c: New file.
37214         * iconvdata/cp772.c: New file.
37215         * iconvdata/cp773.c: New file.
37216         * iconvdata/cp774.c: New file.
37217         * iconvdata/testdata/CP770: New file.
37218         * iconvdata/testdata/CP770..UTF8: New file.
37219         * iconvdata/testdata/CP771: New file.
37220         * iconvdata/testdata/CP771..UTF8: New file.
37221         * iconvdata/testdata/CP772: New file.
37222         * iconvdata/testdata/CP772..UTF8: New file.
37223         * iconvdata/testdata/CP773: New file.
37224         * iconvdata/testdata/CP773..UTF8: New file.
37225         * iconvdata/testdata/CP774: New file.
37226         * iconvdata/testdata/CP774..UTF8: New file.
37228         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37229         END CHARMAP line.
37230         * iconvdata/gen-8bit-gap.sh: Likewise.
37231         * iconvdata/gen-8bit.sh: Likewise.
37233         * locale/iso-639.def: Add ary entry.
37235         [BZ #11258]
37236         * locale/C-translit.h.in: Add U20A1 transliteration.
37238         [BZ #12178]
37239         * locale/iso-639.def: Add wae entry.
37240         Patch by Kevin Bortis <bortis@translate-wae.ch>.
37242         [BZ #12545]
37243         * locale/programs/localedef.c (construct_output_path): Use ssize_t
37244         for n.
37246         [BZ #12711]
37247         * locale/C-translit.h.in: Add entry for U20B9.
37248         Patch by pravin.d.s@gmail.com.
37250 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
37252         [BZ #12713]
37253         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37254         ENAMETOOLONG use generic getcwd.
37255         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
37256         in rtld.  Use *stat64.
37257         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37258         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37259         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37260         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37261         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37262         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37263         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37264         __fstatat64 macros.
37265         * include/dirent.h: Add libc_hidden_proto for rewinddir.
37266         * dirent/rewinddir.c: Add libc_hidden_def.
37267         * sysdeps/mach/hurd/rewinddir.c: Likewise.
37268         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
37270         * include/dirent.h (__alloc_dir): Add flags parameter.
37271         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37272         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37273         __alloc_dir.
37274         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
37275         from fdopendir if O_CLOEXEC is already set.
37277 2011-03-15  Alan Modra  <amodra@gmail.com>
37279         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37280         l_tls_firstbyte_offset non-zero.  Save padding offset in
37281         l_tls_firstbyte_offset for later use.
37282         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37283         freeing static tls block.
37285 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
37287         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37288         where #ifdef was intended.  The intent is to prevent ARG_MAX from
37289         being defined by the kernel headers.
37291 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
37293         [BZ #12734]
37294         * resolv/resolv.h: Define RES_NOTLDQUERY.
37295         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37296         no-tld-query and set RES_NOTLDQUERY.
37297         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37298         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37299         modern BIND to search name as TLD unless forbidden.
37301 2011-05-07  Petr Baudis  <pasky@suse.cz>
37302             Ulrich Drepper  <drepper@gmail.com>
37304         [BZ #12393]
37305         * elf/dl-load.c (fillin_rpath): Move trusted path check...
37306         (is_trusted_path): ...to here.
37307         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37308         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37309         using is_trusted_path_normalize() in setuid scripts.
37311 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37313         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37314         __BEGIN/__END_DECLS.
37316 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
37318         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37319         NSS_STATUS_NOTFOUND if no record was found.
37321 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37323         * sunrpc/Makefile (headers): Add rpc/netdb.h.
37324         (headers-not-in-tirpc): Remove rpc/netdb.h
37325         * resolv/netdb.h: Revert last change.
37327 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37329         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37330         circular dependency between libgcc.a and libc.a.
37332 2011-05-05  Andreas Schwab  <schwab@redhat.com>
37334         * resolv/netdb.h: Don't include <rpc/netdb.h>.
37335         * nis/Makefile: Don't install rpcsvc/*.
37336         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37337         instead of <rpc/types.h>.
37338         (MAXHOSTNAMELEN): Define.
37340 2011-05-03  Andreas Schwab  <schwab@redhat.com>
37342         * elf/ldconfig.c (add_dir): Don't crash on empty path.
37344 2011-04-28  Maciej Babinski  <mbabinski@google.com>
37346         [BZ #12714]
37347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37348         gethostbyname4_r when IPv6 results are possible.
37350 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
37352         [BZ #12723]
37353         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37354         _PC_PIPE_BUF handling.
37356 2011-04-30  Bruno Haible  <bruno@clisp.org>
37358         [BZ #12717]
37359         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37360         * resolv/netdb.h (getnameinfo): Change type of flags parameter
37361         to 'int'.
37362         * inet/getnameinfo.c (getnameinfo): Likewise.
37364 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37366         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37367         to groups setting in database lookup.
37368         * nss/nsswitch.conf: Add initgroups entry.
37370 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37372         [BZ #12685]
37373         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37374         mode string.
37375         Patch by Eric Blake <eblake@redhat.com>.
37377 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37379         * sunrpc/Makefile (need-export-routines): Add svc_run.
37380         (routines): Remove svc_run.
37381         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37382         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37383         * sunrpc/svc_run.c (svc_run): Likewise.
37384         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37386 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37388         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37389         problem in reallocation in last patch.
37391 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37393         * sunrpc/Makefile: Move inclusion of Rules.
37395 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37397         * nss/nss_files/files-initgroups.c: New file.
37398         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37399         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37400         _nss_files_initgroups_dyn.
37402 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37404         * elf/elf.h (R_ARM_IRELATIVE): Define.
37406 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37408         * po/ru.po: Update from translation team.
37410 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37412         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37413         dependencies.
37415 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37417         [BZ #12653]
37418         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37419         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37420         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37421         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37422         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37424 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37426         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37427         differing bytes.
37428         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37429         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37430         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37432 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37434         [BZ #12420]
37435         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37436         storing it.
37437         * stdlib/bug-getcontext.c: New file.
37438         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37440 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37442         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37443         instructions into .machine "z9-109".
37444         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37445         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37447 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37449         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37450         between environment variables and auxiliary vector.
37452 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37454         * Makefile: Add rules to build linkobj/libc.so.
37455         * include/libc-symbols.h: Define libc_hidden_nolink.
37456         * include/rpc/auth.h: Mark functions which are to be hidden.
37457         * include/rpc/auth_des.h: Likewise.
37458         * include/rpc/auth_unix.h: Likewise.
37459         * include/rpc/clnt.h: Likewise.
37460         * include/rpc/des_crypt.h: Likewise.
37461         * include/rpc/key_prot.h: Likewise.
37462         * include/rpc/pmap_clnt.h: Likewise.
37463         * include/rpc/pmap_prot.h: Likewise.
37464         * include/rpc/pmap_rmt.h: Likewise.
37465         * include/rpc/rpc_msg.h: Likewise.
37466         * include/rpc/svc.h: Likewise.
37467         * include/rpc/svc_auth.h: Likewise.
37468         * include/rpc/xdr.h: Likewise.
37469         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37470         * nss/Makefile: Likewise.
37471         * sunrpc/Makefile: Don't install headers.  Build library with normal
37472         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37473         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37474         for the compat linking library.  Remove use of INTDEF/INTUSE.
37475         * sunrpc/auth_none.c: Likewise.
37476         * sunrpc/auth_unix.c: Likewise.
37477         * sunrpc/authdes_prot.c: Likewise.
37478         * sunrpc/authuxprot.c: Likewise.
37479         * sunrpc/clnt_gen.c: Likewise.
37480         * sunrpc/clnt_perr.c: Likewise.
37481         * sunrpc/clnt_raw.c: Likewise.
37482         * sunrpc/clnt_simp.c: Likewise.
37483         * sunrpc/clnt_tcp.c: Likewise.
37484         * sunrpc/clnt_udp.c: Likewise.
37485         * sunrpc/clnt_unix.c: Likewise.
37486         * sunrpc/des_crypt.c: Likewise.
37487         * sunrpc/des_soft.c: Likewise.
37488         * sunrpc/get_myaddr.c: Likewise.
37489         * sunrpc/key_call.c: Likewise.
37490         * sunrpc/key_prot.c: Likewise.
37491         * sunrpc/netname.c: Likewise.
37492         * sunrpc/pm_getmaps.c: Likewise.
37493         * sunrpc/pm_getport.c: Likewise.
37494         * sunrpc/pmap_clnt.c: Likewise.
37495         * sunrpc/pmap_prot.c: Likewise.
37496         * sunrpc/pmap_prot2.c: Likewise.
37497         * sunrpc/pmap_rmt.c: Likewise.
37498         * sunrpc/publickey.c: Likewise.
37499         * sunrpc/rpc_cmsg.c: Likewise.
37500         * sunrpc/rpc_common.c: Likewise.
37501         * sunrpc/rpc_dtable.c: Likewise.
37502         * sunrpc/rpc_prot.c: Likewise.
37503         * sunrpc/rpc_thread.c: Likewise.
37504         * sunrpc/rtime.c: Likewise.
37505         * sunrpc/svc.c: Likewise.
37506         * sunrpc/svc_auth.c: Likewise.
37507         * sunrpc/svc_authux.c: Likewise.
37508         * sunrpc/svc_raw.c: Likewise.
37509         * sunrpc/svc_run.c: Likewise.
37510         * sunrpc/svc_simple.c: Likewise.
37511         * sunrpc/svc_tcp.c: Likewise.
37512         * sunrpc/svc_udp.c: Likewise.
37513         * sunrpc/svc_unix.c: Likewise.
37514         * sunrpc/svcauth_des.c: Likewise.
37515         * sunrpc/xcrypt.c: Likewise.
37516         * sunrpc/xdr.c: Likewise.
37517         * sunrpc/xdr_array.c: Likewise.
37518         * sunrpc/xdr_float.c: Likewise.
37519         * sunrpc/xdr_intXX_t.c: Likewise.
37520         * sunrpc/xdr_mem.c: Likewise.
37521         * sunrpc/xdr_rec.c: Likewise.
37522         * sunrpc/xdr_ref.c: Likewise.
37523         * sunrpc/xdr_sizeof.c: Likewise.
37524         * sunrpc/xdr_stdio.c: Likewise.
37526 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37528         [BZ #12650]
37529         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37530         * sysdeps/ia64/dl-tls.h: Likewise.
37531         * sysdeps/powerpc/dl-tls.h: Likewise.
37532         * sysdeps/s390/dl-tls.h: Likewise.
37533         * sysdeps/sh/dl-tls.h: Likewise.
37534         * sysdeps/sparc/dl-tls.h: Likewise.
37535         * sysdeps/x86_64/dl-tls.h: Likewise.
37536         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37538 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37540         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37541         rpath element also skip the following colon.
37542         (expand_dynamic_string_token): Add is_path parameter and pass
37543         down to DL_DST_REQUIRED and _dl_dst_substitute.
37544         (decompose_rpath): Call expand_dynamic_string_token with
37545         non-zero is_path.  Ignore empty rpaths.
37546         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37547         with zero is_path.
37549 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37552         Make cancelable.
37554 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37556         [BZ #12655]
37557         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37558         Patch by Filipe David Manana <fdmanana@apache.org>.
37560 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37562         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37563         Maintain aligned stack.
37564         (CHECK_RSP): Remove unused macro.
37566 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37568         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37569         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37571 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37573         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37575         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37577 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37579         [BZ #12518]
37580         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37581         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37582         * sysdeps/x86_64/memmove.c: New file.
37583         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37584         (memcpy): Renamed to ...
37585         (__new_memcpy): This.
37586         (memcpy): Provide GLIBC_2_14 memcpy.
37587         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37588         (memcpy): Provide GLIBC_2_2_5 memcpy.
37590 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37592         [BZ #12631]
37593         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37595 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37597         * misc/syncfs.c: New file.
37598         * misc/Makefile (routines): Add syncfs.
37599         * posix/unistd.h: Declare syncfs.
37600         * sysdeps/unix/syscalls.list: Add syncfs.
37602 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37604         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37605         open_by_handle_at.
37606         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37607         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37611         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37612         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37614 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37616         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37617         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37618         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37619         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37620         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37622         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37624         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37625         sync_file_range.c with -fexceptions.
37626         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37627         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37628         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37629         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37630         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37631         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37632         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37633         sync_file_range as cancellation point
37634         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37635         now a wrapper around __call_sync_file_range with cancellation handling.
37636         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37637         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37638         function name to __call_sync_file_range.
37639         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37640         Add call_sync_file_range.
37642 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37645         bits/timex.h.
37647 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37649         * iconv/iconv.h: Fix typo in comment.
37650         * io/fcntl.h: Likewise.
37651         * libio/stdio.h: Likewise.
37652         * posix/spawn.h: Likewise.
37653         * posix/unistd.h: Likewise.
37654         * stdlib/stdlib.h: Likewise.
37655         * time/time.h: Likewise.
37656         * wcsmbs/wchar.h: Likewise.
37658         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37659         open_by_handle): Add.
37660         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37661         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37662         Augment a few comments.
37663         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37664         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37665         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37666         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37667         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37668         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37669         open_by_handle.
37671         * io/fcntl.h (AT_EMPTY_PATH): Define.
37673 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37675         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37676         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37677         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37678         to...
37679         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37680         * Versions.def: Add GLIBC_2.14.
37681         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37682         Export.
37684 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37686         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37687         round counter.
37688         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37690 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37692         [BZ #12597]
37693         * string/test-strncmp.c (do_page_test): New function.
37694         (check2): Likewise.
37695         (test_main): Call check2.
37696         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37698 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37700         [BZ #12587]
37701         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37702         Handle cache information in CPU leaf 4.
37703         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37705 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37707         [BZ #12583]
37708         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37709         character representation.
37710         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37712 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37714         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37715         END(__isnan) to END(__isnanf) to match function entry point/label
37716         EALIGN(__isnanf,...).
37718 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37720         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37722 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37724         [BZ #12510]
37725         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37726         copy from the symbol referenced in the relocation to initialize the
37727         used variable.
37728         Patch by Piotr Bury <pbury@goahead.com>.
37729         * elf/Makefile: Add rules to build and tst-unique3.
37730         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37731         * elf/tst-unique3.cc: New file.
37732         * elf/tst-unique3.h: New file.
37733         * elf/tst-unique3lib.cc: New file.
37734         * elf/tst-unique3lib2.cc: New file.
37736         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37738 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37740         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37741         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37742         to _start.
37744 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37746         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37747         to-be-loaded object along a path to loader is ld.so.
37749 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37750             Ulrich Drepper  <drepper@gmail.com>
37752         * sysdeps/x86_64/memset.S: After aligning destination, code
37753         branches to different locations depending on the value of
37754         misalignment, when multiarch is enabled. Fix this.
37756 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37758         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37759         Set _x86_64_preferred_memory_instruction for AMD processsors.
37760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37761         Set bit_Prefer_SSE_for_memop for AMD processors.
37763 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37765         * libio/fmemopen.c (fmemopen): Optimize a bit.
37767 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37769         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37771 2011-03-03  Roland McGrath  <roland@redhat.com>
37773         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37775 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37777         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37778         __bzero_ultra1 instead of __memset_ultra1.
37780 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37781             Ulrich Drepper  <drepper@gmail.com>
37783         [BZ #12509]
37784         * include/link.h (struct link_map): Add l_orig_initfini.
37785         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37786         returning unsuccessfully.
37787         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37788         close of a file loaded at startup, restore the original l_initfini
37789         list.
37790         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37791         list, store the pointer.
37792         * elf/Makefile ($(objpfx)noload-mem): New rule.
37793         (noload-ENV): Define.
37794         (tests): Add $(objpfx)noload-mem.
37795         * elf/noload.c: Include <memcheck.h>.
37796         (main): Call mtrace.  Close all opened handles.
37798 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37800         [BZ #12454]
37801         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37802         dependencies are missing.
37804 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37806         Fix __if_freereq crash: Unlike the generic version which uses free,
37807         Hurd needs munmap.
37808         * sysdeps/mach/hurd/ifreq.h: New file.
37810 2011-01-27  Petr Baudis  <pasky@suse.cz>
37811             Ulrich Drepper  <drepper@gmail.com>
37813         [BZ 12445]#
37814         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37815         to extend_alloca().
37816         * stdio-common/bug23.c: New file.
37817         * stdio-common/Makefile (tests): Add bug23.
37819 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37820             Ulrich Drepper  <drepper@gmail.com>
37822         [BZ #12489]
37823         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37824         before performing relro protection.  At old place add assertion
37825         to make sure nothing changed.
37827 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37828             Glauber de Oliveira Costa  <glommer@gmail.com>
37830         * elf/elf.h: Add new ARM TLS relocs.
37832 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37835         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37836         cast from r3.
37837         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37838         'tests' variable.
37839         * sysdeps/wordsize-64/tst-writev.c: New file.
37841 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37843         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37844         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37845         insns in _dl_start to prevent a TOC reference before relocs are
37846         resolved.
37848 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37850         [BZ #12469]
37851         * Makeconfig: Remove RANLIB definition.
37852         * Makerules: Don't use RANLIB.
37853         * aclocal.m4: Remove ranlib test.
37854         * configure.in: No need to check for ranlib.
37855         * elf/rtld-Rules: Don't use RANLIB.
37857 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37859         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37860         protection macro.
37861         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37862         inclusion protection macro.
37864         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37865         SIGRTMIN and SIGRTMAX and print information in that case only when
37866         SIGRTMIN is defined.
37868 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37870         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37871         arginfo fn returning -1.
37873         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37874         and thousands string is zero terminated.
37876 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37878         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37879         sysdeps/unix/sysv/linux/bits/socket.h.
37881 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37883         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37884         (__CPU_COUNT): Remove old macros.
37885         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37886         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37887         (__CPU_ALLOC, __CPU_FREE): Add macros.
37888         (__sched_cpualloc, __sched_cpufree): Add declarations.
37890 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37892         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37893         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37894         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37895         (readdhstai): Return value of addhstaiX call.
37896         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37897         (addgrbyX): Return value returned by cache_addgr.
37898         (readdgrbyname): Return value returned by addgrbyX.
37899         (readdgrbygid): Likewise.
37900         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37901         (addpwbyX): Return value returned by cache_addpw.
37902         (readdpwbyname): Return value returned by addhstbyX.
37903         (readdpwbyuid): Likewise.
37904         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37905         (addservbyX): Return value returned by cache_addserv.
37906         (readdservbyname): Return value returned by addservbyX:
37907         (readdservbyport): Likewise.
37908         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37909         (addhstbyX): Return value returned by cache_addhst.
37910         (readdhstbyname): Return value returned by addhstbyX.
37911         (readdhstbyaddr): Likewise.
37912         (readdhstbynamev6): Likewise.
37913         (readdhstbyaddrv6): Likewise.
37914         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37915         (readdinitgroups): Return value returned by addinitgroupsX.
37916         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37917         (prune_cache): Keep track of timeout value of re-added entries.
37918         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37919         * nscd/nscd.h: Adjust prototypes of readd* functions.
37921 2011-02-04  Roland McGrath  <roland@redhat.com>
37923         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37924         (nis_stats): Likewise.
37925         * nis/nis_modify.c (nis_modify): Likewise.
37926         * nis/nis_remove.c (nis_remove): Likewise.
37927         * nis/nis_add.c (nis_add): Likewise.
37929         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37931         * posix/fnmatch_loop.c: Add some consts.
37933         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37935 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37937         [BZ #12460]
37938         * config.make.in (config-cflags-novzeroupper): Define.
37939         * configure.in: Substitute libc_cv_cc_novzeroupper.
37940         * elf/Makefile (AVX-CFLAGS): Define.
37941         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37942         (CFLAGS-tst-auditmod4a.c): Likewise.
37943         (CFLAGS-tst-auditmod4b.c): Likewise.
37944         (CFLAGS-tst-auditmod6b.c): Likewise.
37945         (CFLAGS-tst-auditmod6c.c): Likewise.
37946         (CFLAGS-tst-auditmod7b.c): Likewise.
37947         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37949 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37951         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37952         function to the callback.
37953         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37955 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37957         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37958         of errno.
37960 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37962         [BZ #11724]
37963         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37964         of constructors.
37965         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37966         of destructors.
37967         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37969         [BZ #11724]
37970         * elf/Makefile: Add rules to build and run new test.
37971         * elf/tst-initorder.c: New file.
37972         * elf/tst-initorder.exp: New file.
37973         * elf/tst-initordera1.c: New file.
37974         * elf/tst-initordera2.c: New file.
37975         * elf/tst-initordera3.c: New file.
37976         * elf/tst-initordera4.c: New file.
37977         * elf/tst-initorderb1.c: New file.
37978         * elf/tst-initorderb2.c: New file.
37979         * elf/tst-order-a1.c: New file.
37980         * elf/tst-order-a2.c: New file.
37981         * elf/tst-order-a3.c: New file.
37982         * elf/tst-order-a4.c: New file.
37983         * elf/tst-order-b1.c: New file.
37984         * elf/tst-order-b2.c: New file.
37985         * elf/tst-order-main.c: New file.
37986         New test case by George Gensure <werkt0@gmail.com>.
37988 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37991         decoding ACE if AI_CANONIDN.
37993 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37995         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37997 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37999         * version.h (RELEASE): Bump for 2.13 release.
38000         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38002         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38004         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38005         MADV_NOHUGEPAGE.
38006         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38007         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38008         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38009         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38010         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38011         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38013         * posix/getconf.c: Update copyright year.
38014         * catgets/gencat.c: Likewise.
38015         * csu/version.c: Likewise.
38016         * debug/catchsegv.sh: Likewise.
38017         * debug/xtrace.sh: Likewise.
38018         * elf/ldconfig.c: Likewise.
38019         * elf/ldd.bash.in: Likewise.
38020         * elf/sprof.c (print_version): Likewise.
38021         * iconv/iconv_prog.c: Likewise.
38022         * iconv/iconvconfig.c: Likewise.
38023         * locale/programs/locale.c: Likewise.
38024         * locale/programs/localedef.c: Likewise.
38025         * malloc/memusage.sh: Likewise.
38026         * malloc/mtrace.pl: Likewise.
38027         * nscd/nscd.c (print_version): Likewise.
38028         * nss/getent.c: Likewise.
38030         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38031         PF_CAIF, and PF_ALG.
38032         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38034 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
38036         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38037         (modules-names): Use them.
38038         (ifunc-test-modules, ifunc-pie-tests): Define.
38039         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38040         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38041         (test-extras): Likewise.
38042         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38043         $(compile-command.c).
38044         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38045         (all-built-dso): Define.
38046         (check-textrel.out, check-execstack.out): Depend on it.
38048         * configure.in: Don't override --enable-multi-arch.
38050 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
38052         [BZ #6812]
38053         * nscd/hstcache.c (tryagain): Define.
38054         (cache_addhst): Return tryagain not notfound for temporary errors.
38055         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38056         failed.
38058 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
38060         [BZ #10563]
38061         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38062         to make the syscall.
38063         * sysdeps/unix/sysv/linux/setgroups.c: New file.
38065         [BZ #12378]
38066         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38067         and fall back to matching as normal character if the string ends before
38068         the matching ']' is found.  This is what POSIX requires.
38069         * posix/testfnm.c: Adjust test result.
38070         * posix/globtest.sh: Adjust test result.  Add new test.
38071         * posix/tst-fnmatch.input: Likewise.
38072         * posix/tst-fnmatch2.c: Add new test.
38074 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
38076         * elf/Makefile (check-execstack): Revert last change.  Depend on
38077         check-execstack.h.
38078         (check-execstack.h): New target.
38079         (generated): Add check-execstack.h.
38080         * elf/check-execstack.c: Include "check-execstack.h".
38081         (main): Revert last change.
38082         (handle_file): Return zero if GNU_STACK is absent and
38083         DEFAULT_STACK_PERMS doesn't include PF_X.
38085 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
38087         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38088         in child fails because the descriptor is already closed.
38089         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38090         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38091         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38093         [BZ #12397]
38094         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38095         syscall.
38097         [BZ #10484]
38098         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38099         temporary buffer used to handle multi lookups locally.
38100         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38102 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38104         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38105         loader is ld.so.
38107 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
38109         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38110         alignment for SSE2.
38112 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
38114         [BZ #12394]
38115         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38116         characters.  When rounding increased number of integer digits recompute
38117         number of groups.
38118         * stdio-common/tst-grouping.c: New file.
38119         * stdio-common/Makefile: Add rules to build and run tst-grouping.
38121 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
38123         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38124         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
38126         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38127         void.
38128         * bits/select.h: Likewise.
38130 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
38132         * po/ja.po: Update from translation team.
38134 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
38136         [BZ #11155]
38137         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38138         implementation just like for lxstat, fxstatat, et al.
38140 2010-12-27  Jim Meyering  <meyering@redhat.com>
38142         [BZ #12348]
38143         * posix/regexec.c (build_trtable): Return failure indication upon
38144         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
38146 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
38148         [BZ #12201]
38149         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38150         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38151         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38152         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38154         [BZ #12207]
38155         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38157         [BZ #12204]
38158         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38159         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38161 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
38163         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38164         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38165         script has SORT_BY_INIT_PRIORITY.
38166         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38167         NO_CTORS_DTORS_SECTIONS is defined.
38168         * elf/soinit.c: Likewise.
38169         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38170         NO_CTORS_DTORS_SECTIONS is defined.
38171         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38172         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38173         * sysdeps/sh/init-first.c: Likewise.
38174         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38176 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
38178         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38179         always use the slow path.
38181 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
38183         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38184         similar rule which adds the sysdep directories to the header search in
38185         order to pick up the correct platform stackinfo.h.
38186         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38187         perform test if it is, otherwise return successfully without testing.
38188         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38189         DEFAULT_STACK_PERMS define in stackinfo.h.
38190         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38191         defined in stackinfo.h.
38192         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38193         DEFAULT_STACK_PERMS defined in stackinfo.h.
38194         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38195         * sysdeps/ia64/stackinfo.h: Likewise.
38196         * sysdeps/s390/stackinfo.h: Likewise.
38197         * sysdeps/sh/stackinfo.h: Likewise.
38198         * sysdeps/sparc/stackinfo.h: Likewise.
38199         * sysdeps/x86_64/stackinfo.h: Likewise.
38200         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38201         PF_X for powerpc64.  Retain PF_X for powerpc32.
38203 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
38205         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38206         accurately.
38207         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38208         GETDENTS_64BIT_ALIGNED.
38210 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
38212         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38214 2010-12-10  Andreas Schwab  <schwab@redhat.com>
38216         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38217         _GNU_SOURCE.
38219         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38220         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38221         Remove __restrict.
38222         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38223         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38225 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
38227         [BZ #11655]
38228         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38229         are initialized.
38231 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
38233         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38235 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
38237         * po/it.po: Update from translation team.
38239 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
38241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38242         unused codes.
38244 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
38246         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38248 2010-11-24  Andreas Schwab  <schwab@redhat.com>
38250         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38251         specially.
38252         (gaih_getanswer_slice): Likewise.
38254 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
38256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38258 2010-05-31  Petr Baudis  <pasky@suse.cz>
38260         [BZ #11149]
38261         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38262         silently even in the chroot mode.
38264 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
38266         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38267         last patch a bit.  Pretty printing
38269 2010-05-31  Petr Baudis <pasky@suse.cz>
38271         [BZ #10085]
38272         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38273         initialization of skip_initgroups_dyn.
38275 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
38277         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38278         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38280 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
38282         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38284 2010-11-11  Andreas Schwab  <schwab@redhat.com>
38286         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38287         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38288         (tst-fnmatch-ENV): Set MALLOC_TRACE.
38289         ($(objpfx)tst-fnmatch-mem): New rule.
38290         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38291         * posix/tst-fnmatch.c (main): Call mtrace.
38293 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
38295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38296         Support Intel processor model 6 and model 0x2c.
38298 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
38300         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38301           signed comparison.
38303 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
38305         [BZ #12205]
38306         * string/test-strncasecmp.c (check_result): New function.
38307         (do_one_test): Use it.
38308         (check1): New function.
38309         (test_main): Use it.
38310         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38311         Support strcasecmp and strncasecmp.
38313 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
38315         [BZ #12194]
38316         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38317         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38319 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38321         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38322         IFUNC support.
38323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38324         memset-x86-64.
38325         * sysdeps/x86_64/multiarch/bzero.S: New file.
38326         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38327         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38328         * sysdeps/x86_64/multiarch/memset.S: New file.
38329         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38331         Set bit_Prefer_SSE_for_memop for Intel processors.
38332         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38333         Define.
38334         (index_Prefer_SSE_for_memop): Define.
38335         (HAS_PREFER_SSE_FOR_MEMOP): Define.
38337 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
38339         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38340         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38342 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
38344         [BZ #12191]
38345         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38346         (__x86_64_raw_data_cache_size_half): Likewise.
38347         (__x86_64_raw_shared_cache_size): Likewise.
38348         (__x86_64_raw_shared_cache_size_half): Likewise.
38350         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38351         (__x86_64_raw_data_cache_size_half): Likewise.
38352         (__x86_64_raw_shared_cache_size): Likewise.
38353         (__x86_64_raw_shared_cache_size_half): Likewise.
38354         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38355         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38356         and __x86_64_raw_shared_cache_size_half.  Round
38357         __x86_64_data_cache_size_half, __x86_64_data_cache_size
38358         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38359         to multiple of 256 bytes.
38361 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
38363         [BZ #12167]
38364         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38365         of inacessible symlinks.  Verify result of symlink before returning it.
38366         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38367         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38369 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38371         * math/math.h (isinf): Fix typo in comment.
38373 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38375         * po/da.po: Update from translation team.
38377 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38379         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38380         is added to the list.
38382 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38383             Ulrich Drepper  <drepper@gmail.com>
38385         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38386         the global list here.  Move code to...
38387         (_dl_add_to_namespace_list): ...here.  New function.
38388         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38389         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38390         * elf/dl-load.c (lose): Don't remove the element from the list.
38391         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38392         (_dl_map_object): Likewise.
38394 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38396         [BZ #12159]
38397         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38398         into all bytes of SSE register.
38399         Patch by Richard Li <richardpku@gmail.com>.
38401 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38403         [BZ #12140]
38404         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38405         perturbing.
38407 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38409         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38410         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38411         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38412         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38414         submachine.
38415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38417 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38419         * include/dlfcn.h (__RTLD_SECURE): Define.
38420         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38421         mode & __RTLD_SECURE instead.
38422         (open_path): Rename preloaded parameter to secure.
38423         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38424         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38425         * elf/dl-deps.c (openaux): Likewise.
38426         * elf/rtld.c (struct map_args): Remove is_preloaded.
38427         (map_doit): Don't use it.
38428         (dl_main): Likewise.
38429         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38430         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38432 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38434         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38435         (sysd-rules-targets): Remove duplicates.
38436         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38437         rtld-%.$o dependency.
38439 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38441         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38442         _dl_map_object do it.
38444 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38446         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38447         fast fma builtins, define the macros in the C99 standard.
38448         (FP_FAST_FMAF): Likewise.
38449         (FP_FAST_FMAL): Likewise.
38450         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38452         * bits/mathdef.h: Update copyright year.
38453         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38455 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38457         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38458         builtins, define the macros in the C99 standard.
38459         (FP_FAST_FMAF): Likewise.
38460         (FP_FAST_FMAL): Likewise.
38461         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38462         multiply/add.
38463         (FP_FAST_FMAF): Likewise.
38465 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38467         [BZ #3268]
38468         * math/libm-test.inc (fma_test): Some new testcases.
38469         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38470         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38471         y and infinite z.  Do multiplication by C already in long double.
38472         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38474         y and infinite z.  Do bitwise or of inexact bit into u.d.
38475         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38476         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38477         * sysdeps/i386/fpu/s_fma.S: Removed.
38478         * sysdeps/i386/fpu/s_fmal.S: Removed.
38480 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38482         [BZ #3268]
38483         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38485         computation is not scheduled after fetestexcept.  Fix value
38486         of minimum denormal long double.
38488 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38490         [BZ #3268]
38491         * math/libm-test.inc (fma_test): Add some more tests.
38492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38493         correctly.
38495 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38497         * scripts/data/localplt-s390-linux-gnu.data: New file.
38498         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38500 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38502         [BZ #3268]
38503         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38504         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38505         instead of dbl-64.
38506         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38507         inlines.
38508         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38510         if one of x and y is very large and the other is subnormal.
38511         * sysdeps/s390/fpu/s_fmaf.c: New file.
38512         * sysdeps/s390/fpu/s_fma.c: New file.
38513         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38514         * sysdeps/powerpc/fpu/s_fma.S: New file.
38515         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38516         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38517         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38519 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38521         [BZ #3268]
38522         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38523         fma tests.
38524         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38525         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38526         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38527         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38528         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38529         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38530         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38532 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38534         [BZ #12078]
38535         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38536         * posix/bug-regex31.input: Add test case.
38538 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38540         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38541         * posix/bug-regex31.input: New file.
38543         [BZ #12078]
38544         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38545         (parse_sub_exp): Fix last change, use postorder.
38547         * posix/bug-regex31.c: New file.
38548         * posix/Makefile: Add rules to build and run bug-regex31.
38550         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38552         [BZ #12078]
38553         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38555         [BZ #12108]
38556         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38557         to have entries in sys_siglist.
38559         [BZ #12093]
38560         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38561         be NULL.
38563 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38565         [BZ #3268]
38566         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38567         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38568         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38569         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38570         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38571         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38572         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38573         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38574         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38575         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38576         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38577         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38578         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38579         * math/ftestexcept.c (fetestexcept): Likewise.
38580         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38581         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38582         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38583         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38584         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38585         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38586         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38588 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38590         [BZ #12107]
38591         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38592         newline.
38594 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38596         * string/bug-strstr1.c: New file.
38597         * string/Makefile: Add rules to build and run bug-strstr1.
38599 2010-10-05  Eric Blake  <eblake@redhat.com>
38601         [BZ #12092]
38602         * string/str-two-way.h (two_way_long_needle): Always clear memory
38603         when skipping input due to the shift table.
38605 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38607         [BZ #12005]
38608         * malloc/mcheck.c: Handle large requests.
38610         [BZ #12077]
38611         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38612         for strncmp and strncasecmp.
38613         * string/stratcliff.c: Add tests for strcmp and strncmp.
38614         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38616 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38618         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38619         __set_fpscr.
38621 2010-09-30  Andreas Jaeger  <aj@suse.de>
38623         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38624         (CGROUP_SUPER_MAGIC): Define.
38625         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38626         Handle btrfs and cgroup file systems.
38627         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38628         Likewise.
38630 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38632         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38633         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38635 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38637         [BZ #12067]
38638         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38639         trying to locate the ELF header.
38641 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38643         [BZ #11611]
38644         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38645         Mask out sign-bit copies when constructing f_fsid.
38647 2010-09-24  Petr Baudis <pasky@suse.cz>
38649         * debug/stack_chk_fail_local.c: Add missing licence exception.
38650         * debug/warning-nop.c: Likewise.
38652 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38654         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38655         implementing getdents64 using getdents syscall, set d_type if
38656         __ASSUME_GETDENTS32_D_TYPE.
38658 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38660         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38661         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38663 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38665         [BZ #12037]
38666         * posix/unistd.h: Undo change of feature selection for ftruncate from
38667         2010-01-11.
38669 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38671         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38672         detection.
38674 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38676         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38677         fanotify_mark.
38678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38680 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38682         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38683         variables after CHECK_SP call.
38684         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38686 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38687             Ulrich Drepper  <drepper@redhat.com>
38689         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38690         re-relocationg ld.so.
38691         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38692         _dl_init_paths call.
38693         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38694         here anymore.
38696 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38698         * resolv/res_init.c (__res_vinit): Count the default server we added.
38700 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38701             Ulrich Drepper  <drepper@redhat.com>
38703         [BZ #11968]
38704         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38705         (____longjmp_chk): Use %ebx for saving value across system call.
38706         Add unwind info.
38708 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38710         * manual/Makefile: Don't mix pattern rules with normal rules.
38712 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38714         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38715         operation.
38716         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38717         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38718         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38719         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38721         Likewise.
38723 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38725         [BZ #11979]
38726         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38727         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38729 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38731         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38732         * sysdeps/x86_64/addmul_1.S: Likewise.
38733         * sysdeps/x86_64/lshift.S: Likewise.
38734         * sysdeps/x86_64/mul_1.S: Likewise.
38735         * sysdeps/x86_64/rshift.S: Likewise.
38736         * sysdeps/x86_64/sub_n.S: Likewise.
38737         * sysdeps/x86_64/submul_1.S: Likewise.
38739 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38741         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38742         Define __sched_param instead of SCHED_* and sched_param when
38743         <bits/sched.h> is included with __need_schedparam defined.
38744         * bits/sched.h [__need_schedparam]
38745         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38746         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38747         (__defined_schedparam): Define to 1.
38748         (__sched_param): New structure, identical to sched_param.
38749         (__need_schedparam): Undefine.
38751 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38753         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38754         (epoll_create1): Declare.
38756         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38758 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38760         [BZ #7066]
38761         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38762         shifting retval into place.
38764 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38766         * nis/rpcsvc/nis.h: Update copyright notice.
38767         * nis/rpcsvc/nis.x: Likewise.
38768         * nis/rpcsvc/nis_callback.h: Likewise.
38769         * nis/rpcsvc/nis_callback.x: Likewise.
38770         * nis/rpcsvc/nis_object.x: Likewise.
38771         * nis/rpcsvc/nis_tags.h: Likewise.
38772         * nis/rpcsvc/yp.h: Likewise.
38773         * nis/rpcsvc/yp.x: Likewise.
38774         * nis/rpcsvc/ypupd.h: Likewise.
38775         * nis/yp_xdr.c: Likewise.
38776         * nis/ypupdate_xdr.c: Likewise.
38778         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38779         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38780         (pmap_getport): Use __libc_rpc_getport.
38781         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38782         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38783         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38785 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38788         fanotify_mark.
38790 2010-08-27  Roland McGrath  <roland@redhat.com>
38792         * sysdeps/i386/i686/multiarch/Makefile
38793         (CFLAGS-varshift.c): New variable.
38795 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38797         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38798         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38800         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38802         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38804 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38806         * sysdeps/x86_64/strlen.S: Unroll the loop.
38807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38808         strlen-sse2 strlen-sse2-bsf.
38809         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38810         __strlen_no_bsf if bit_Slow_BSF is set.
38811         (__strlen_sse42): Removed.
38812         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38813         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38815 2010-08-25  Roland McGrath  <roland@redhat.com>
38817         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38818         * sysdeps/x86_64/multiarch/varshift.c: New file.
38819         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38820         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38821         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38822         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38824 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38827         strlen-sse2 strlen-sse2-bsf.
38828         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38829         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38830         (__strlen_sse2): Removed.
38831         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38832         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38834         bit_Slow_BSF for Atom.
38835         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38836         (index_Slow_BSF): Define.
38837         (HAS_SLOW_BSF): Define.
38839 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38841         [BZ #10851]
38842         * resolv/res_init.c (__res_vinit): When no server address at all
38843         is given default to loopback.
38845 2010-08-24  Roland McGrath  <roland@redhat.com>
38847         * configure.in: Remove config-name.h generation.
38848         * configure: Regenerated.
38849         * config-name.in: File removed.
38850         * scripts/config-uname.sh: New file.
38851         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38852         ($(objdir)config-name.h): New target.
38854         * sunrpc/rpc_parse.h: Avoid nested comment.
38856 2010-08-24  Richard Henderson  <rth@redhat.com>
38857             Ulrich Drepper  <drepper@redhat.com>
38858             H.J. Lu  <hongjiu.lu@intel.com>
38860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38862         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38863         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38864         _mm_alignr_epi8 with _mm_loadu_si128.
38865         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38866         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38867         (__m128i_shift_right): Removed.
38868         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38869         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38870         * sysdeps/x86_64/multiarch/varshift.h: New file.
38871         * sysdeps/x86_64/multiarch/varshift.S: New file.
38873 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38875         * configure.in: Move assembler checks to before sysdep dir checking.
38877 2010-08-20  Petr Baudis  <pasky@suse.cz>
38879         * LICENSES: Sync the sunrpc license.
38881 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38883         * sunrpc/auth_des.c: Update copyright notice once again.
38884         * sunrpc/auth_none.c: Likewise.
38885         * sunrpc/auth_unix.c: Likewise.
38886         * sunrpc/authdes_prot.c: Likewise.
38887         * sunrpc/authuxprot.c: Likewise.
38888         * sunrpc/bindrsvprt.c: Likewise.
38889         * sunrpc/clnt_gen.c: Likewise.
38890         * sunrpc/clnt_perr.c: Likewise.
38891         * sunrpc/clnt_raw.c: Likewise.
38892         * sunrpc/clnt_simp.c: Likewise.
38893         * sunrpc/clnt_tcp.c: Likewise.
38894         * sunrpc/clnt_udp.c: Likewise.
38895         * sunrpc/clnt_unix.c: Likewise.
38896         * sunrpc/des_crypt.c: Likewise.
38897         * sunrpc/des_soft.c: Likewise.
38898         * sunrpc/get_myaddr.c: Likewise.
38899         * sunrpc/getrpcport.c: Likewise.
38900         * sunrpc/key_call.c: Likewise.
38901         * sunrpc/key_prot.c: Likewise.
38902         * sunrpc/openchild.c: Likewise.
38903         * sunrpc/pm_getmaps.c: Likewise.
38904         * sunrpc/pm_getport.c: Likewise.
38905         * sunrpc/pmap_clnt.c: Likewise.
38906         * sunrpc/pmap_prot.c: Likewise.
38907         * sunrpc/pmap_prot2.c: Likewise.
38908         * sunrpc/pmap_rmt.c: Likewise.
38909         * sunrpc/rpc/auth.h: Likewise.
38910         * sunrpc/rpc/auth_unix.h: Likewise.
38911         * sunrpc/rpc/clnt.h: Likewise.
38912         * sunrpc/rpc/des_crypt.h: Likewise.
38913         * sunrpc/rpc/key_prot.h: Likewise.
38914         * sunrpc/rpc/netdb.h: Likewise.
38915         * sunrpc/rpc/pmap_clnt.h: Likewise.
38916         * sunrpc/rpc/pmap_prot.h: Likewise.
38917         * sunrpc/rpc/pmap_rmt.h: Likewise.
38918         * sunrpc/rpc/rpc.h: Likewise.
38919         * sunrpc/rpc/rpc_des.h: Likewise.
38920         * sunrpc/rpc/rpc_msg.h: Likewise.
38921         * sunrpc/rpc/svc.h: Likewise.
38922         * sunrpc/rpc/svc_auth.h: Likewise.
38923         * sunrpc/rpc/types.h: Likewise.
38924         * sunrpc/rpc/xdr.h: Likewise.
38925         * sunrpc/rpc_clntout.c: Likewise.
38926         * sunrpc/rpc_cmsg.c: Likewise.
38927         * sunrpc/rpc_common.c: Likewise.
38928         * sunrpc/rpc_cout.c: Likewise.
38929         * sunrpc/rpc_dtable.c: Likewise.
38930         * sunrpc/rpc_hout.c: Likewise.
38931         * sunrpc/rpc_main.c: Likewise.
38932         * sunrpc/rpc_parse.c: Likewise.
38933         * sunrpc/rpc_parse.h: Likewise.
38934         * sunrpc/rpc_prot.c: Likewise.
38935         * sunrpc/rpc_sample.c: Likewise.
38936         * sunrpc/rpc_scan.c: Likewise.
38937         * sunrpc/rpc_scan.h: Likewise.
38938         * sunrpc/rpc_svcout.c: Likewise.
38939         * sunrpc/rpc_tblout.c: Likewise.
38940         * sunrpc/rpc_util.c: Likewise.
38941         * sunrpc/rpc_util.h: Likewise.
38942         * sunrpc/rpcinfo.c: Likewise.
38943         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38944         * sunrpc/rpcsvc/key_prot.x: Likewise.
38945         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38946         * sunrpc/rpcsvc/mount.x: Likewise.
38947         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38948         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38949         * sunrpc/rpcsvc/rex.x: Likewise.
38950         * sunrpc/rpcsvc/rstat.x: Likewise.
38951         * sunrpc/rpcsvc/rusers.x: Likewise.
38952         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38953         * sunrpc/rpcsvc/spray.x: Likewise.
38954         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38955         * sunrpc/rtime.c: Likewise.
38956         * sunrpc/svc.c: Likewise.
38957         * sunrpc/svc_auth.c: Likewise.
38958         * sunrpc/svc_authux.c: Likewise.
38959         * sunrpc/svc_raw.c: Likewise.
38960         * sunrpc/svc_run.c: Likewise.
38961         * sunrpc/svc_simple.c: Likewise.
38962         * sunrpc/svc_tcp.c: Likewise.
38963         * sunrpc/svc_udp.c: Likewise.
38964         * sunrpc/svc_unix.c: Likewise.
38965         * sunrpc/svcauth_des.c: Likewise.
38966         * sunrpc/xcrypt.c: Likewise.
38967         * sunrpc/xdr.c: Likewise.
38968         * sunrpc/xdr_array.c: Likewise.
38969         * sunrpc/xdr_float.c: Likewise.
38970         * sunrpc/xdr_mem.c: Likewise.
38971         * sunrpc/xdr_rec.c: Likewise.
38972         * sunrpc/xdr_ref.c: Likewise.
38973         * sunrpc/xdr_sizeof.c: Likewise.
38974         * sunrpc/xdr_stdio.c: Likewise.
38976         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38977         handling.
38979 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38981         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38983 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38985         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38986         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38987         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38988         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38989         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38990         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38991         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38992         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38993         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38994         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38995         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38996         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38997         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38998         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39000 2010-07-26  Anton Blanchard  <anton@samba.org>
39002         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39003         * malloc/arena.c (heap_trim): Likewise.
39005 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
39007         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39008         here.  Not...
39009         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39010         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39012 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39014         * sysdeps/i386/elf/Makefile: New file.
39016 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39018         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39019         from fanotify_init.
39020         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39021         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39023 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
39025         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39026         of strncasecmp_l.
39027         * sysdeps/multiarch/strcmp.S: Likewise.
39029 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
39031         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39032         strncase_l-nonascii.
39033         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39034         Add strncase_l-ssse3.
39035         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39036         * sysdeps/x86_64/strcmp.S: Likewise.
39037         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39038         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39039         * sysdeps/x86_64/strncase.S: New file.
39040         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39041         * sysdeps/x86_64/strncase_l.S: New file.
39042         * string/Makefile (strop-tests): Add strncasecmp.
39043         * string/test-strncasecmp.c: New file.
39045         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39046         warning.
39048         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39049         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39051 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
39053         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39055 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
39057         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39058         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39059         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39061 2010-05-01  Alan Modra  <amodra@gmail.com>
39063         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39064         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39065         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39066         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39067         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39068         tidying.  Don't tail-call __sigjmp_save for static lib.
39069         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39070         save location.
39071         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39072         (CALL_MCOUNT): Add eh info, and nop after bl.
39073         (TAIL_CALL_SYSCALL_ERROR): New macro.
39074         (PSEUDO_RET): Use it.
39075         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39076         Correct save location of integer regs and cr.
39077         (_dl_profile_resolve): Correct cr save location.  Delete nops
39078         after bl when SHARED.  Reduce cfi size a little by better
39079         placement of cfi directives.
39080         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39081         make a stack frame.  Instead use parm save area as a temp.
39082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39083         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
39084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39085         Don't make a stack frame for parent, use parm save area.
39086         Increase child stack frame to 112 bytes.  Don't save unused reg,
39087         and adjust reg usage.  Set up cfi on error recovery and
39088         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39090         (__makecontext): Add dummy nop after jump to exit.
39091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39092         Use correct parm save area and cr save, reduce stack frame.
39093         Correct cfi for possible PSEUDO_RET frame setup.
39094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39095         Branch to local label emitted by PSEUDO_RET rather than
39096         __syscall_error.
39098 2010-08-12  Andreas Schwab  <schwab@redhat.com>
39100         [BZ #11904]
39101         * locale/programs/locale.c (print_assignment): New function.
39102         (show_locale_vars): Use it.
39104 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
39106         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39107         field.
39108         (struct statfs64): Likewise.
39109         (_STATFS_F_FLAGS): Define.
39110         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39111         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39112         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39113         (ST_VALID): Define locally.
39114         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39115         __statvfs_getflags, use the provided value.
39116         * sysdeps/unix/sysv/linux/kernel-features.h: Define
39117         __ASSUME_STATFS_F_FLAGS.
39119         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39121         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39122         Add sys/fanotify.h.
39123         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39124         fanotify_mask for GLIBC_2.13.
39125         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39126         fanotify_init and fanotify_mark.
39127         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39128         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39130         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39131         Add prlimit.
39132         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39133         prlimit64 for GLIBC_2.13.
39134         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39135         prlimit64.
39136         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39137         syscall.
39138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39139         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39140         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39141         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39142         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
39143         add prlimit alias.
39144         * sysdeps/unix/sysv/linux/prlimit.c: New file.
39146         [BZ #11903]
39147         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39148         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39150         * nss/Makefile: Add rules to build and run tst-nss-test1.
39151         * shlib-versions: Add entry for libnss_test1.
39152         * nss/nss_test1.c: New file.
39153         * nss/tst-nss-test1.c: New file.
39155         * nss/nsswitch.c (__nss_database_custom): Define new variable.
39156         (__nss_configure_lookup): Set appropriate entry in
39157         __nss_configure_lookup to true.
39158         * nss/nsswitch.h: Define enum with indeces of databases in
39159         databases and __nss_database_custom arrays.  Declare
39160         __nss_database_custom.
39161         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39162         to avoid using nscd when custom rules are installed.
39163         * nss/getXXbyYY_r.c: Likewise.
39164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39166         * nss/nss_files/files-parse.c: Whitespace fixes.
39168 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
39170         [BZ #11883]
39171         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39172         * posix/fnmatch_loop.c: Likewise.
39174 2010-07-17  Andi Kleen  <ak@linux.intel.com>
39176         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39177         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39178         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39179         * Versions.def [GLIBC_2.13]: Add.
39181 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
39183         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39184         Also fail if tpwd after pwuid call is NULL.
39186 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39188         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39189         when converting to ms.
39191 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39193         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39194         EOPNOTSUPP errors with ENOTTY.
39195         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39196         EOPNOTSUPP errors with ENOTTY.
39198 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
39200         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39201         Add strcasecmp_l-ssse3.
39202         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39203         strcasecmp.
39204         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39205         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39206         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39208 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
39210         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39212         * string/Makefile (strop-tests): Add strcasecmp.
39213         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39214         strcasecmp_l-nonascii.
39215         (gen-as-const-headers): Add locale-defines.sym.
39216         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39217         * sysdeps/x86_64/strcasecmp.S: New file.
39218         * sysdeps/x86_64/strcasecmp_l.S: New file.
39219         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39220         * sysdeps/x86_64/locale-defines.sym: New file.
39221         * string/test-strcasecmp.c: New file.
39223         * string/test-strcasestr.c: Test both ends of the range of characters.
39224         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39226 2010-07-29  Roland McGrath  <roland@redhat.com>
39228         [BZ #11856]
39229         * manual/locale.texi (Yes-or-No Questions): Fix example code.
39231 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
39233         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39234         for ld.so.
39236 2010-07-27  Andreas Schwab  <schwab@redhat.com>
39238         * manual/memory.texi (Malloc Tunable Parameters): Document
39239         M_PERTURB.
39241 2010-07-26  Roland McGrath  <roland@redhat.com>
39243         [BZ #11840]
39244         * configure.in (-fgnu89-inline check): Set and substitute
39245         gnu89_inline, not libc_cv_gnu89_inline.
39246         * configure: Regenerated.
39247         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39249 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
39251         * string/test-strnlen.c: New file.
39252         * string/Makefile (strop-tests): Add strnlen.
39253         * string/tester.c (test_strnlen): Add a few more test cases.
39254         * string/tst-strlen.c: Better error reporting.
39256         * sysdeps/x86_64/strnlen.S: New file.
39258 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
39260         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39261         lower-latency instructions.
39263 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
39265         * string/test-strcasestr.c: New file.
39266         * string/test-strstr.c: New file.
39267         * string/Makefile (strop-tests): Add strstr and strcasestr.
39268         * string/str-two-way.h: Don't undefine MAX.
39269         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39271 2010-07-21  Andreas Schwab  <schwab@redhat.com>
39273         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39274         strcasestr-nonascii.
39275         (CFLAGS-strcasestr-nonascii.c): Define.
39276         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39277         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39278         Remove unused attribute.
39280 2010-07-20  Roland McGrath  <roland@redhat.com>
39282         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39283         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
39284         ld.so.cache was broken.  With it, there is no way to disable dsocaps
39285         like LD_HWCAP_MASK can disable hwcaps.
39287 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39289         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39291 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
39293         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39294         call in strcasestr.
39295         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39296         __strcasestr_sse42_nonascii.
39297         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39298         strcasestr-nonascii.c.
39299         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39301 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
39303         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39304         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39305         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39306         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39308 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
39310         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39311         fcntl.
39313 2010-07-06  Andreas Schwab  <schwab@redhat.com>
39315         [BZ #11577]
39316         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39317         dl_signal_cerror.
39319 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
39321         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39322         _PC_PIPE_BUF using F_GETPIPE_SZ.
39324 2010-07-05  Roland McGrath  <roland@redhat.com>
39326         * manual/arith.texi (Rounding Functions): Fix rint description
39327         implicit in round description.
39329 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
39331         * elf/Makefile: Fix linking for a few tests to make recent linker
39332         happy.
39334 2010-06-30  Andreas Schwab  <schwab@redhat.com>
39336         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39337         $(common-objpfx)libc_nonshared.a.
39339 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
39341         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39342         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39343         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39344         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39345         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39346         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39347         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39348         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39363         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39364         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39365         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39366         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39367         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39368         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39369         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39370         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39371         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39372         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39373         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39374         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39390 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39392         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39393         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39394         * string/memmove.c (memmove): Renamed to ...
39395         (MEMMOVE): ...this.  Default to memmove.
39396         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39397         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39398         (END_CHK): Define.
39399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39400         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39401         mempcpy-ssse3-back memmove-ssse3-back.
39402         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39403         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39404         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39405         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39406         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39407         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39408         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39409         * sysdeps/x86_64/multiarch/memmove.c: New file.
39410         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39411         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39412         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39413         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39414         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39415         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39416         Define.
39417         (index_Fast_Copy_Backward): Define.
39418         (HAS_ARCH_FEATURE): Define.
39419         (HAS_FAST_REP_STRING): Define.
39420         (HAS_FAST_COPY_BACKWARD): Define.
39422 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39424         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39425         Restore proper fallback handling.
39427 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39429         [BZ #11701]
39430         * posix/group_member.c (__group_member): Correct checking loop.
39432         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39433         OOM in getpwuid_r correctly.  Return error number when the caller
39434         should return, otherwise -1.
39435         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39436         call returning > 0 value.
39437         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39439 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39441         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39442         libc_nonshared.a from targets in modules-names.
39444 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39446         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39447         requires it.
39449 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39451         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39452         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39453         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39454         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39456 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39458         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39460 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39462         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39463         and F_GETPIPE_SZ.
39464         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39465         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39466         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39468         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39469         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39471 2010-06-14  Roland McGrath  <roland@redhat.com>
39473         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39475 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39477         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39478         __REDIRECT followed by __THROW.
39479         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39480         * posix/getopt.h (getopt): Likewise.
39482 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39484         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39485         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39486         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39487         in AT_FLAGS.
39488         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39489         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39491 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39493         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39495 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39497         [BZ #11640]
39498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39499         Properly check family and model.
39501 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39503         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39505 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39507         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39509 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39511         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39512         symbol reference.
39514 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39516         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39517         symbol reference.
39519 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39521         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39522         and internal_recvmmsg.
39523         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39524         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39525         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39526         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39528         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39529         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39530         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39532 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39534         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39536 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39538         POWER7 optimizations.
39539         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39540         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39542 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39544         * version.h: Update for 2.13 development version.
39546 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39548         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39549         exceptions.  Return 0.
39551 2010-05-07  Roland McGrath  <roland@redhat.com>
39553         * elf/ldconfig.c (main): Add a const.
39555 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39557         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39558         (args_options): Add no-idn option.
39559         (ahosts_keys_int): Add idn_flags to ai_flags.
39560         (parse_option): Handle 'i' option to clear idn_flags.
39562         * malloc/malloc.c (_int_free): Possible race in the most recently
39563         added check.  Only act on the data if no current modification
39564         happened.
39566 See ChangeLog.17 for earlier changes.